Commit bf0227c1 authored by Mac's avatar Mac

小程序登录token失效 处理修改 商品详情富文本 组件新增判断

parent 3c2f121d
......@@ -55,7 +55,7 @@
"sdkConfigs" : {
"share" : {
"weixin" : {
"appid" : "wxcf0727a7c78b501e",
"appid" : "wxacd9f8cc3480d29e",
"UniversalLinks" : ""
}
}
......@@ -66,7 +66,7 @@
"quickapp" : {},
/* 小程序特有相关 */
"mp-weixin" : {
"appid" : "wxcf0727a7c78b501e",
"appid" : "wxacd9f8cc3480d29e",
"setting" : {
"urlCheck" : false,
"minified" : false
......
......@@ -304,8 +304,9 @@
</view>
<u-divider :margin-top="20" :margin-bottom="20" bg-color="transparent">商品详情</u-divider>
<view class="details">
<!-- <h-parse :content="detailContent" @navigate="clickDescription"></h-parse> -->
<rich-text :nodes="detailContent"></rich-text>
<h-parse v-if="AppletID!=5" :content="detailContent" @navigate="clickDescription"></h-parse>
<!-- 甲鹤等于5 -->
<rich-text v-if="AppletID==5" :nodes="detailContent"></rich-text>
</view>
<template v-if="setting.is_show_korea==1">
<view style="width:100%;height:1px;border-top:1px solid #FFFFFF;margin:20px 0;"></view>
......@@ -458,7 +459,8 @@ export default {
},
compentList:[] ,//评论列表
compentTotal:0,
curren:1
curren:1,
AppletID:0,//小程序id
};
},
components: {
......@@ -472,6 +474,7 @@ export default {
hParse
},
onLoad(option) {
this.opTionObj = option;
console.log(option, "option");
......@@ -600,6 +603,8 @@ export default {
setTimeout(() => {
this.initImages();
}, 3000);
let basedata =uni.getStorageSync("basedata")?uni.getStorageSync("basedata"):'';
this.AppletID = basedata.home_pages.id?basedata.home_pages.id:0;
},
methods: {
clickDescription(e) {
......
......@@ -59,7 +59,7 @@ export default {
let u = uni.getStorageSync("mall_UserInfo");
if (u) {
this.getLogin_t(u)
typeof failed == "function" && failed(res.data);
// typeof failed == "function" && failed(res.data);
}
} else if (res.data.resultCode != 1) {
if (res.data.message != '') {
......@@ -120,7 +120,7 @@ export default {
// 获取小程序APPID
Vue.prototype.GetMiniAppId = function() {
let appObj = {};
let appType = 7;
let appType = 1;
switch (appType) {
case 1: //赞羊
appObj = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment