فهرست منبع

联系方式优化

shish 1 سال پیش
والد
کامیت
2745d6be6e
1فایلهای تغییر یافته به همراه11 افزوده شده و 3 حذف شده
  1. 11 3
      ghsApp/src/admin/home/workbench.vue

+ 11 - 3
ghsApp/src/admin/home/workbench.vue

@@ -38,8 +38,8 @@
 	<!-- #endif -->
     <view style="width:100vw;height:250upx;display:flex;align-items:center;justify-content:center;position:relative;margin-bottom:170upx;">
 		<button class="admin-button-com big blue" style="width:260upx;" @click="pageTo({url:'/admin/home/login'})">批发店登录</button>
-		<text style="color:green;position:absolute;top:260upx;font-size:40upx;text-decoration: underline;" @click="pageTo({url:'/pagesClient/official/apply'})">批发店注册</text>
-		<text style="color:green;position:absolute;top:380upx;font-size:40upx;text-decoration: underline;" @click.stop="toPhone()">联系官方客服</text>
+		<text style="color:green;position:absolute;top:300upx;font-size:42upx;text-decoration: underline;" @click="pageTo({url:'/pagesClient/official/apply'})">批发店注册</text>
+		<text style="color:green;position:absolute;top:420upx;font-size:42upx;text-decoration: underline;" @click.stop="toPhone()">联系官方</text>
     </view>
 
   </block>
@@ -396,7 +396,15 @@ export default {
 			this.val = total
 		},
 		toPhone(){
-			uni.makePhoneCall({ phoneNumber:'15280215347' })
+			let that = this
+			that.$util.confirmModal({content:'请添加官方客服微信',okText:'复制微信'},() => {
+				uni.setClipboardData({
+					data: '15280215347',
+					success: function() {
+						that.$msg("复制成功")
+					}
+				})
+			})
 		},
 		closeRenew(){
 			this.$refs.renewRef.close()