Przeglądaj źródła

Merge remote-tracking branch 'origin/2025北京诚祥App' into 2025北京诚祥App

wangxy 1 miesiąc temu
rodzic
commit
ef56457ddc
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4 4
      pages/admin/Hetong/sanfangHetong.vue

+ 4 - 4
pages/admin/Hetong/sanfangHetong.vue

@@ -45,7 +45,7 @@
 									<view @click="handleDelete(item)" class="del-btn-box">
 										<icon class="del-btn"></icon>
 									</view>
-									<button type="default" class="phone-green-btn ht-head-btn" @click="tuisong">推送</button>
+									<button type="default" class="phone-green-btn ht-head-btn" @click="tuisong(item)">推送</button>
 									<button type="default" class="phone-green-btn ht-head-btn"
 										@click.stop="handlePreview(item)">预览</button>
 									<button type="default" class="phone-white-btn ht-head-btn"
@@ -163,7 +163,7 @@
 		searchDialogRef.value.handleShow();
 	}
 
-	function tuisong(){
+	function tuisong(data){
 		
 		if (!plus.runtime.isApplicationExist({
 				pname: 'com.tencent.mm'
@@ -184,8 +184,8 @@
 		    title: '欢迎体验uniapp12312',
 		    miniProgram: {
 		        id: 'gh_fa5889151e7d',
-		        path: 'pages/Login/clientIndex?from=appcx',
-		        type: 2,
+		        path: 'pages/Login/clientIndex?from=appcx&id='+data.id,
+		        type: 2, //暂时用体验版
 		        webUrl: 'http://uniapp.dcloud.io'
 		    },
 		    success: ret => {