浏览代码

分享地址更换

Xiao_123 6 月之前
父节点
当前提交
4f63bc961a
共有 4 个文件被更改,包括 23 次插入7 次删除
  1. 1 1
      pages/index/my.vue
  2. 1 1
      pages/index/position.vue
  3. 20 4
      pages/index/welfare.vue
  4. 1 1
      pagesA/integral/index.vue

+ 1 - 1
pages/index/my.vue

@@ -63,7 +63,7 @@
 			<uni-popup ref="inputDialog" type="dialog">
 				<view class="shareQrCodePopupContent">
 					<view>请前往网页版{{ dialogType ? '门墩儿招聘' : '门墩儿商城' }}</view>
-					<uni-link class="ss-m-t-10" :href="dialogType ? 'http://menduner.citupro.com:7878' : 'http://menduner.citupro.com:7878/mall'" text="点击复制网页地址" color="#00897B" fontSize="16" copyTips="已复制,请在电脑端打开"></uni-link>
+					<uni-link class="ss-m-t-10" :href="dialogType ? 'https://www.menduner.com' : 'https://www.menduner.com/mall'" text="点击复制网页地址" color="#00897B" fontSize="16" copyTips="已复制,请在电脑端打开"></uni-link>
 				</view>
 			</uni-popup>
 		</view>

+ 1 - 1
pages/index/position.vue

@@ -45,7 +45,7 @@
         <uni-popup ref="inputDialog" type="dialog">
           <view class="shareQrCodePopupContent">
             <view class="ss-m-b-10">请前往网页版门墩儿查看</view>
-            <uni-link href="http://menduner.citupro.com:7878" text="点击复制网页地址" color="#00897B" fontSize="16" copyTips="已复制,请在电脑端打开"></uni-link>
+            <uni-link href="https://www.menduner.com" text="点击复制网页地址" color="#00897B" fontSize="16" copyTips="已复制,请在电脑端打开"></uni-link>
           </view>
         </uni-popup>
       </view>

+ 20 - 4
pages/index/welfare.vue

@@ -87,6 +87,13 @@
         </view>
       </scroll-view>
 		</view>
+
+    <uni-popup ref="inputDialog" type="dialog">
+      <view class="shareQrCodePopupContent">
+        <view class="ss-m-b-10">请前往网页版门墩儿商城兑换</view>
+        <uni-link href="https://www.menduner.com/mall" text="点击复制网页地址" color="#00897B" fontSize="16" copyTips="已复制,请在电脑端打开"></uni-link>
+      </view>
+    </uni-popup>
 	</layout-page>
 </template>
 
@@ -105,6 +112,7 @@ import { onShow } from '@dcloudio/uni-app'
 import { userStore } from '@/store/user'
 import { showAuthModal } from '@/hooks/useModal'
 
+const inputDialog = ref()
 const useUserStore = userStore()
 // 设置自定义tabBar选中值
 
@@ -124,10 +132,11 @@ const goodsList = [
   { name: '减压捏捏乐', point: 500, url: 'https://minio.menduner.com/dev/menduner/pinchMusic.png' }
 ]
 const handleClickGoods = () => {
-  uni.showToast({
-    icon: 'none',
-    title: '请前往网页版门墩儿商城兑换'
-  })
+  // uni.showToast({
+  //   icon: 'none',
+  //   title: '请前往网页版门墩儿商城兑换'
+  // })
+  inputDialog.value.open()
 }
 
 // 连续签到天数
@@ -249,6 +258,13 @@ function handleTo (page) {
 </script>
 
 <style scoped lang="scss">
+.shareQrCodePopupContent {
+	width: 75vw;
+	padding: 40rpx;
+	margin-bottom: 20rpx;
+	text-align: center;
+	background-color: #fff;
+}
 .box {
   overflow: hidden;
   height: 100vh;

+ 1 - 1
pagesA/integral/index.vue

@@ -29,7 +29,7 @@
       <uni-popup ref="inputDialog" type="dialog">
         <view class="shareQrCodePopupContent">
           <view class="ss-m-b-10">请前往网页版门墩儿商城查看</view>
-          <uni-link href="http://menduner.citupro.com:7878/mall" text="点击复制网页地址" color="#00897B" fontSize="16" copyTips="已复制,请在电脑端打开"></uni-link>
+          <uni-link href="https://www.menduner.com/mall" text="点击复制网页地址" color="#00897B" fontSize="16" copyTips="已复制,请在电脑端打开"></uni-link>
         </view>
       </uni-popup>
     </view>