Ver Fonte

代码提交

zhangli há 5 meses atrás
pai
commit
11db05ba29
1 ficheiros alterados com 14 adições e 0 exclusões
  1. 14 0
      pages/index/index.vue

+ 14 - 0
pages/index/index.vue

@@ -63,6 +63,10 @@
 				<view class="video-name">{{item.title}}</view>
 			</view>
 		</view>
+		<view class="section-title">
+			<u-image width="20px" height="10px" :src="sectionIcon"></u-image>
+			<u-section title="星火商城" font-size="32" :show-line="false" @click="gotoShop"></u-section>
+		</view>
 		<u-top-tips ref="uTips"></u-top-tips>
 	</view>
 </template>
@@ -212,6 +216,16 @@
 					url: '/pagesMember/venueMore'
 				});
 			},
+			gotoShop(){
+				uni.navigateToMiniProgram({
+				  appId:'wxc7e230e0411d3c56',
+				  success(res) {
+				    // 打开成功
+				  },
+				  fail() {
+				  }
+				})
+			},
 			//  跳转开通支付
 			// goToPay(site) {
 			// 	uni.navigateTo({