Explorar el Código

全套赏 shareAppMessage

andy hace 1 año
padre
commit
42e2b65e8c
Se han modificado 1 ficheros con 20 adiciones y 1 borrados
  1. 20 1
      pages/drawCard_fullSet/drawCard_fullSet.vue

+ 20 - 1
pages/drawCard_fullSet/drawCard_fullSet.vue

@@ -42,7 +42,11 @@
 					<view class="text">
 						分享福袋有几率提高<span style="color: #63FFF6;">S赏</span>概率
 					</view>
-					<image class="button" :src="$fileUrl() + '/drawCard_fullSet/button1.png'" mode="widthFix"></image>
+					<!-- <image class="button" :src="$fileUrl() + '/drawCard_fullSet/button1.png'" mode="widthFix"></image> -->
+					<button open-type="share" class="share_btn">
+						<image class="button" :src="$fileUrl() + '/drawCard_fullSet/button1.png'" mode="widthFix"></image>
+					</button>
+					
 				</view>
 			</view>
 			<view class="list">
@@ -350,6 +354,21 @@
 </script>
 
 <style scoped lang="scss">
+
+.share_btn {
+	background-color: transparent;
+	border-width: 0 !important;
+	border-radius: 0;
+	overflow: initial;
+	text-align: start;
+	padding: 0;
+	box-shadow: none  !important;
+	-webkit-tap-highlight-color: transparent;
+	&::after {
+		border: none;
+	}
+	
+}
 	.container {
 		background: #9EC8F9;
 		padding-top: 15px;