浏览代码

hdApp/src/pagesPurchase/ghsProduct.vue -- 多余代码删除

shizhongqi 2 月之前
父节点
当前提交
d96d0da484
共有 1 个文件被更改,包括 0 次插入33 次删除
  1. 0 33
      hdApp/src/pagesPurchase/ghsProduct.vue

+ 0 - 33
hdApp/src/pagesPurchase/ghsProduct.vue

@@ -1,4 +1,3 @@
-<!--姜枫 2021.04.11-->
 <template>
 	<view class="billing_box_bg">
 		<view class="c_header" :class="myClass">
@@ -226,7 +225,6 @@ import { COMMODITY_TYPE } from "@/utils/declare";
 import productMins from "@/mixins/cgProduct";
 import { getGhsDataApi, ghsInfo,visitMall,getClassRemind,hasClassRemind } from "@/api/ghs";
 import SelPopup from "@/components/sel-popup.vue";
-import { getWeixinId } from "@/api/invite";
 import AppActivilyCoupon from "@/components/module/app-activily-coupon";
 import { mapGetters } from "vuex";
 export default {
@@ -670,11 +668,6 @@ export default {
 					}
 				}
 			})
-
-			getWeixinId().then(res => {
-				this.getappIdList = res.data
-			})
-
 		},
 		visitMall(ghsId){
 			//访客记录
@@ -710,32 +703,6 @@ export default {
 
 			})
 		},
-		goToMall(){
-			// #ifdef MP-WEIXIN
-			let self = this
-			let url = 'pages/item/item'
-			let lsShopId = self.ghsInfo.lsShopId ? self.ghsInfo.lsShopId : 0
-			if(lsShopId == 0){
-				this.$msg('系统异常')
-				return false
-			}
-			console.log(url + '?account=' + lsShopId)
-			uni.showLoading({mask:true})
-			uni.navigateToMiniProgram({
-				appId: this.getappIdList.mall.miniAppId,
-				path: url + '?account=' + lsShopId,
-				//develop 开发版 trial 体验版 release 正式版
-				envVersion: process.env.NODE_ENV === 'development' ? 'develop' : 'release',
-				extraData: {},
-				success (res) {
-					uni.hideLoading()
-				}
-			})
-			// #endif
-			// #ifdef APP-PLUS
-			this.$msg('开发中...')
-			// #endif
-		},
 		goToCg() {
 			this.$util.pageTo({ url: "/pagesClient/official/apply",query:{ghsShopAdminId:this.ghsShopAdminId,hdShopAdminId:this.hdShopAdminId,fromGhsId:this.fromGhsId},type:2})
 		},