Selaa lähdekoodia

关注公众号

shish 1 vuosi sitten
vanhempi
commit
13b55dae8a
2 muutettua tiedostoa jossa 23 lisäystä ja 2 poistoa
  1. 21 0
      ghsApp/src/admin/home/me.vue
  2. 2 2
      hdApp/src/pagesPurchase/ghsProduct.vue

+ 21 - 0
ghsApp/src/admin/home/me.vue

@@ -106,6 +106,10 @@
               <view class="tui-title">充值记录</view>
             </tui-list-cell>--> 
 
+            <tui-list-cell @click="toViewGzh()" class="line-cell" :hover="false" :arrow="true" >
+              <view class="tui-title">关注公众号</view>
+            </tui-list-cell>
+
             <tui-list-cell @click="pageTo({ url: '/pagesStore/me/cashSet' })" class="line-cell" :hover="false" :arrow="true" >
               <view class="tui-title">提现账号</view>
             </tui-list-cell>
@@ -191,6 +195,17 @@
       </template>
 		</modal-module>
 
+    <uni-popup ref="showGzh" type="center" :animation="false" class="class-popup-style-wx">
+			<view style="width:80vw;background-color: white;border-radius:15upx;padding:35upx 0 35upx 0;">
+        <view style="margin:40upx 0 20upx 0;font-size:34upx;font-weight:bold;width:80vw;text-align:center;">关注公众号</view>
+				<view style="margin:40upx 0 20upx 0;font-size:34upx;font-weight:bold;width:80vw;text-align:center;">长按识别二维码</view>
+				<image :src="`${constant.imgUrl}/code/xhb.jpg`" style="width:50vw;margin:0 auto;" mode="widthFix" show-menu-by-longpress="true"></image>
+				<view style="width:80vw;margin:60upx 0 60upx 0;display:flex;align-items: center; justify-content: center;">
+					<button class="admin-button-com big blue" style="width:260upx;" @click="closeGzh()">关闭</button>
+				</view>
+			</view>
+		</uni-popup>
+
   </view>
 </template>
 <script>
@@ -263,6 +278,12 @@ export default {
     // #endif
   },
   methods: {
+		closeGzh(){
+			this.$refs.showGzh.close()
+		},
+		toViewGzh(){
+			this.$refs.showGzh.open('center')
+		},
     selectShopFn(){
     },
     goRenew(){

+ 2 - 2
hdApp/src/pagesPurchase/ghsProduct.vue

@@ -179,7 +179,7 @@
 
 		<uni-popup ref="showWx" type="center" :animation="false" class="class-popup-style-wx">
 			<view style="width:80vw;background-color: white;border-radius:15upx;padding:35upx 0 35upx 0;">
-				<view style="margin:40upx 0 20upx 0;font-size:34upx;font-weight:bold;width:80vw;text-align:center;">长按识别二维码</view>
+				<view style="margin:40upx 0 20upx 0;font-size:34upx;font-weight:bold;width:80vw;text-align:center;">长按识别二维码</view>
 				<image :src="superWx" style="width:50vw;margin:0 auto;" mode="widthFix" show-menu-by-longpress="true"></image>
 				<view style="margin:30upx 0 30upx 0;font-size:30upx;font-weight:bold;width:80vw;text-align:center;display: flex;align-items: center; justify-content: center;" @click="callUp()">
 					<text style="font-size:34upx;">联系电话:{{ telephone }}</text>
@@ -191,7 +191,7 @@
 			</view>
 		</uni-popup>
 
-		<view v-if="superWx!=''" @click="toViewWx" style="width:200upx;height:84upx;position:fixed;bottom:245upx;right:-34upx;border-radius:40upx;background: rgba(0,0,0,.60);display: flex;align-items: center;">
+		<view v-if="superWx!=''" @click="toViewWx" style="width:200upx;height:84upx;position:fixed;bottom:210upx;right:-34upx;border-radius:40upx;background: rgba(0,0,0,.60);display: flex;align-items: center;">
 			<image :src="`${constant.imgUrl}/mall/wx_code.png`" style="width:74upx;height:74upx;margin-left:8upx;" mode="widthFix"></image>
 			<view style="width:90upx;color:white;margin-left:8upx;">扫码添加微信</view>
 		</view>