From 88e2da5097fdb19a4dfb6cb9477ba48e934aa8fe Mon Sep 17 00:00:00 2001
From: zhaojs <349234519@qq.com>
Date: 星期五, 28 七月 2023 11:23:28 +0800
Subject: [PATCH] no message

---
 pages/takeout/elm.vue |   22 +++++++++++++++-------
 1 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/pages/takeout/elm.vue b/pages/takeout/elm.vue
index 6d57def..bd2c858 100644
--- a/pages/takeout/elm.vue
+++ b/pages/takeout/elm.vue
@@ -34,19 +34,20 @@
 				瑙勫垯璇存槑锛�
 			</view>
 			<view class="richtext-content">
-				1.绾㈠寘闇�鍏堥鍙栨墠鑳藉湪涓嬪崟椤甸潰浣跨敤;
-				2.鍔犻绾㈠寘鍜屽鍗栫孩鍖呬笉鍐茬獊,鍙互鍚屾椂棰嗗彇,鍝釜绾㈠寘澶х敤鍝釜;
-				3.鏃犺楗夸簡涔堟柊鑰佺敤鎴�,澶栧崠绾㈠寘鍜屽姞椁愮孩鍖呮瘡涓墜鏈哄彿姣忓ぉ鍧囧彲棰嗕竴娆�,绾㈠寘閲戦闅忔満鍙戞斁;
+				<view>1.绾㈠寘闇�鍏堥鍙栨墠鑳藉湪涓嬪崟椤甸潰浣跨敤;</view>
+				<view>2.鍔犻绾㈠寘鍜屽鍗栫孩鍖呬笉鍐茬獊,鍙互鍚屾椂棰嗗彇,鍝釜绾㈠寘澶х敤鍝釜;</view>
+				<view>3.鏃犺楗夸簡涔堟柊鑰佺敤鎴�,澶栧崠绾㈠寘鍜屽姞椁愮孩鍖呮瘡涓墜鏈哄彿姣忓ぉ鍧囧彲棰嗕竴娆�,绾㈠寘閲戦闅忔満鍙戞斁;</view>
 			</view>
 		</view>
 	</view>
 </template>
 <script>
 	import './elm.css'
-	import comUtils from '../../common/ComUtils.js'
+	import api from '@/common/tk_api.js'
 	export default {
 		data() {
 			return {
+				api,
 				optionsCurrent:3,
 				qrcode:'',
 				mtInfo:{},
@@ -71,7 +72,7 @@
 					mask:true
 				});
 				var that = this;
-				this.$http.post('/tkapi/api/taoke/ele_act', {
+				this.api.post('/api/taoke/ele_act', {
 					type: this.optionsCurrent
 				}).then(e => {
 					uni.hideLoading();
@@ -94,11 +95,18 @@
 			toMt()
 			{
 				uni.redirectTo({
-					url:'./mt?dfgtoken='+comUtils.getUrlPar('dfgtoken')
+					url:'./mt?dfgtoken='+''
 				})
 			},
 			shareClick() {
-				window.location.href=this.mtInfo.h5;
+				uni.navigateToMiniProgram({
+				  appId: this.mtInfo.we_app_info.app_id,
+				  path: this.mtInfo.we_app_info.page_path,
+				  success(res) {
+				    // 鎵撳紑鎴愬姛
+				  }
+				})
+				// window.location.href=this.mtInfo.h5;
 			},
 			
 		}

--
Gitblit v1.9.3