@@ -3,7 +3,7 @@ const { defaultObj, huanLeChengObj } = require("./utils/mouldStyle.js") | |||||
const Http = require("./utils/HttpBasics"); | const Http = require("./utils/HttpBasics"); | ||||
const extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {} | const extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {} | ||||
//无商圈注释 | //无商圈注释 | ||||
var myPluginInterface = requirePlugin('auto-points-plugin') | |||||
// var myPluginInterface = requirePlugin('auto-points-plugin') | |||||
let businessSwitch = extConfig.attr.businessSwitch ? extConfig.attr.businessSwitch : false | let businessSwitch = extConfig.attr.businessSwitch ? extConfig.attr.businessSwitch : false | ||||
App({ | App({ | ||||
@@ -17,7 +17,7 @@ | |||||
}, | }, | ||||
"version": "release" | "version": "release" | ||||
}, | }, | ||||
"mchId": "1604439800", | |||||
"mchId": "1539496451", | |||||
"imgProxy": [ | "imgProxy": [ | ||||
{ | { | ||||
"newUrl": "https://c.malls.iformall.com/img", | "newUrl": "https://c.malls.iformall.com/img", | ||||
@@ -34,12 +34,11 @@ | |||||
], | ], | ||||
"configUrl": "https://c.malls.iformall.com/C/api", | "configUrl": "https://c.malls.iformall.com/C/api", | ||||
"ifStoreApp": "0", | "ifStoreApp": "0", | ||||
"businessSwitch": "1", | |||||
"ifHaveWebSocket": "0", | "ifHaveWebSocket": "0", | ||||
"ifHaveCarModular": "0" | "ifHaveCarModular": "0" | ||||
}, | }, | ||||
"name": "富茂链客生产版", | |||||
"weappId": "wx6a2524a8286d687f", | |||||
"name": "宁乡翡翠湖国际广场", | |||||
"weappId": "wxbe89097584fbbf03", | |||||
"appVersion": "C.5.1.1" | "appVersion": "C.5.1.1" | ||||
}, | }, | ||||
"debug": false, | "debug": false, | ||||
@@ -84,17 +83,7 @@ | |||||
"navigationBarTitleText": "", | "navigationBarTitleText": "", | ||||
"navigationBarBackgroundColor": "#FFFFFF" | "navigationBarBackgroundColor": "#FFFFFF" | ||||
}, | }, | ||||
"plugins": { | |||||
"auto-points-plugin": { | |||||
"version": "1.3.0", | |||||
"provider": "wxfab2bf944bfc4da6" | |||||
}, | |||||
"live-player-plugin": { | |||||
"version": "1.3.5", | |||||
"provider": "wx2b03c6e691cd7370" | |||||
} | |||||
}, | |||||
"extAppid": "wx6a2524a8286d687f", | |||||
"extAppid": "wxbe89097584fbbf03", | |||||
"extEnable": true, | "extEnable": true, | ||||
"permission": { | "permission": { | ||||
"scope.userLocation": { | "scope.userLocation": { | ||||
@@ -132,10 +132,10 @@ | |||||
<view> | <view> | ||||
<text>购买须知</text> | <text>购买须知</text> | ||||
</view> | </view> | ||||
<view wx:if="{{curHtml==''}}"> | |||||
<view wx:if="{{data.contentType==0}}"> | |||||
<text><text class='spot'></text>{{data.remark}}</text> | <text><text class='spot'></text>{{data.remark}}</text> | ||||
</view> | </view> | ||||
<view wx:if="{{curHtml!=''}}"> | |||||
<view wx:if="{{data.contentType==1}}"> | |||||
<rich-text nodes="{{curHtml}}"></rich-text> | <rich-text nodes="{{curHtml}}"></rich-text> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
@@ -133,10 +133,10 @@ | |||||
<view> | <view> | ||||
<text>购买须知</text> | <text>购买须知</text> | ||||
</view> | </view> | ||||
<view wx:if="{{curHtml==''}}"> | |||||
<view wx:if="{{data.contentType==0}}"> | |||||
<text><text class='spot'></text>{{data.remark}}</text> | <text><text class='spot'></text>{{data.remark}}</text> | ||||
</view> | </view> | ||||
<view wx:if="{{curHtml!=''}}"> | |||||
<view wx:if="{{data.contentType==1}}"> | |||||
<rich-text nodes="{{curHtml}}"></rich-text> | <rich-text nodes="{{curHtml}}"></rich-text> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
@@ -311,9 +311,8 @@ Page({ | |||||
}).then(res => { | }).then(res => { | ||||
if (res.code == 200 && res.data.html) { | if (res.code == 200 && res.data.html) { | ||||
this.setData({ | this.setData({ | ||||
curHtml: decodeURI(res.data.html) | |||||
curHtml: decodeURI(res.data.html), | |||||
}) | }) | ||||
console.log(this.data.curHtml, 'curhtml'); | |||||
} | } | ||||
}) | }) | ||||
}, | }, | ||||
@@ -119,10 +119,10 @@ | |||||
<view> | <view> | ||||
<text>购买须知</text> | <text>购买须知</text> | ||||
</view> | </view> | ||||
<view wx:if="{{curHtml==''}}"> | |||||
<view wx:if="{{data.contentType==0}}"> | |||||
<text><text class='spot'></text>{{data.remark}}</text> | <text><text class='spot'></text>{{data.remark}}</text> | ||||
</view> | </view> | ||||
<view wx:if="{{curHtml!==''}}"> | |||||
<view wx:if="{{data.contentType==1}}"> | |||||
<rich-text nodes="{{curHtml}}"></rich-text> | <rich-text nodes="{{curHtml}}"></rich-text> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
@@ -3,8 +3,8 @@ console.log(extConfig, 'extConfig'); | |||||
let ifStoreApp = extConfig.attr.ifStoreApp; | let ifStoreApp = extConfig.attr.ifStoreApp; | ||||
// 无商圈注释 | // 无商圈注释 | ||||
const myPluginInterface = requirePlugin('auto-points-plugin') | |||||
let businessVersion = 1 * extConfig.attr.businessVersion | |||||
// const myPluginInterface = requirePlugin('auto-points-plugin') | |||||
// let businessVersion = 1 * extConfig.attr.businessVersion | |||||
let businessSwitch = 1 * extConfig.attr.businessSwitch ? extConfig.attr.businessSwitch : false | let businessSwitch = 1 * extConfig.attr.businessSwitch ? extConfig.attr.businessSwitch : false | ||||
let mch_id = extConfig.attr.mchId | let mch_id = extConfig.attr.mchId | ||||