From a1321ff4ad712a1c14595bbb7cb6edfa029eca0b Mon Sep 17 00:00:00 2001
From: zhao_js <349234519@qq.com>
Date: 星期三, 03 一月 2024 15:39:45 +0800
Subject: [PATCH] no message

---
 H5/pages/ad_page/sms_examine.vue |   48 ++++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 42 insertions(+), 6 deletions(-)

diff --git a/H5/pages/ad_page/sms_examine.vue b/H5/pages/ad_page/sms_examine.vue
index bded003..c59bf96 100644
--- a/H5/pages/ad_page/sms_examine.vue
+++ b/H5/pages/ad_page/sms_examine.vue
@@ -1,5 +1,13 @@
 <template>
 	<view class="container" style="height: auto;">
+		<view style="margin: 0.5rem;">
+			<button @click="toTab(1)" class="mini-btn" style="margin-right: 10px;" type="default"
+				size="mini">绱犳潗涓嬭浇</button>
+			<button class="mini-btn" style="background-color: cornflowerblue; margin-right: 10px;" type="primary"
+				size="mini">鐭俊瀹℃牳</button>
+			<button @click="toTab(3)" class="mini-btn" type="default" size="mini">寰俊鏈嬪弸鍦�</button>
+		</view>
+
 		<v-tabs v-model="currentTab" :tabs="tabList" :pills="true" line-height="0" activeColor="#fff"
 			@change="changeTab" pillsColor="#FF928F" :fixed="true"></v-tabs>
 		<cc-pullScroolView class="pullScrollView" ref="pullScroll" :enablePullDown="false" :back-top="false">
@@ -17,7 +25,7 @@
 									<view style="display: flex;">
 										<view class="font-size-sm text-color-assist taskid-show">浠诲姟缂栧彿锛歿{ item.id }}
 										</view>
-										<view style="color: #919293;">澶嶅埗</view>
+										<view @click="copy(item.id)" style="color: #919293;">澶嶅埗</view>
 									</view>
 									<view style="display: flex;">
 										<view class="font-size-sm text-color-assist taskid-show">
@@ -97,8 +105,7 @@
 				curPageNum: 1,
 				pageCount: 10,
 				totalNum: 0,
-				checkType: '',
-				whiteid: "ocUrg6nVVPhn-m6yNPg7igYnB64g"
+				checkType: ''
 			}
 		},
 		onLoad(option) {
@@ -115,16 +122,45 @@
 			}
 		},
 		methods: {
+			toTab(tabtype) {
+				var url = '';
+				switch (tabtype) {
+					case 1:
+						url = '/pages/ad_page/product_sc';
+						break;
+					case 2:
+						url = '/pages/ad_page/sms_examine';
+						break;
+					case 3:
+						url = '/pages/ad_page/wx_pyqset';
+						break;
+				}
+				uni.navigateTo({
+					url: url
+				})
+			},
 			//妫�鏌ョ櫧鍚嶅崟
 			checkId() {
-				 var openId = uni.getStorageSync('smsopenid');
-				if (openId == "" || this.whiteid.indexOf(openId) < 0) {
+				var openId = uni.getStorageSync('smsopenid');
+				var whiteid = comUtils.getAllowdId(status);
+				if (openId == "" || whiteid.indexOf(openId) < 0) {
 					uni.reLaunch({
 						url: '/pages/emptypage/nopermissions'
 					})
 				} else {
 					this.getTemplateData();
-				} 
+				}
+			},
+			copy(taskid) {
+				uni.setClipboardData({
+					data: taskid,
+					success: function() {
+						uni.showToast({
+							title: '澶嶅埗鎴愬姛',
+							icon: 'none'
+						});
+					}
+				});
 			},
 			//瀹℃牳
 			shenhe(record, shStatus) {

--
Gitblit v1.9.3