Commit 56b4fc0e by 李嘉林

五粮液uat

parent 09731eb7
...@@ -15,8 +15,11 @@ export default { ...@@ -15,8 +15,11 @@ export default {
console.log(extConfig, "-----------extConfig"); console.log(extConfig, "-----------extConfig");
if (JSON.stringify(extConfig) == "{}") { if (JSON.stringify(extConfig) == "{}") {
let shopItem = { let shopItem = {
// development: { mixid: "ssa", "shopid": 2342}, //五粮液uat
development: { mixid: "antgood", "shopid": 67}, development: { mixid: "antgood", "shopid": 67},
production: { "mixid":"qiyeCT", "shopid": 1045 }, // 道可 // production: { "mixid":"qiyeCT", "shopid": 1045 }, // 道可
// production: { "mixid":"metasense_doctors", "shopid": 1238 }, // 册为医护端
production: { "mixid":"3QqsFT", "shopid": 1337 },
// production: { "mixid":"5I5Dyk", "shopid": 1306 }, // 星期八 // production: { "mixid":"5I5Dyk", "shopid": 1306 }, // 星期八
// production: { "mixid":"RON", "shopid": 1503 }, // 荣恩 // production: { "mixid":"RON", "shopid": 1503 }, // 荣恩
// production: { "mixid":"ant", "shopid": 6 }, // 小工蚁 // production: { "mixid":"ant", "shopid": 6 }, // 小工蚁
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
</template> </template>
<script> <script>
let forUrlAddKey = require("mayi-front-tools/forUrlAddKey").default;
import { import {
getUrlofLink, getUrlofLink,
checkTabbarPage, checkTabbarPage,
...@@ -53,10 +54,10 @@ export default { ...@@ -53,10 +54,10 @@ export default {
if (offlineShopCode) { if (offlineShopCode) {
this.params+=`&offlineShopCode=${offlineShopCode}&offlineShopName=${offlineShopName}` this.params+=`&offlineShopCode=${offlineShopCode}&offlineShopName=${offlineShopName}`
} }
return ( let pageUrl1 = (this.page.startsWith('http://') || this.page.startsWith('https://'))? (this.page + this.params) : this.link+this.page+this.params
this.link + let pageUrl = forUrlAddKey(decodeURIComponent(pageUrl1));
this.page + this.params + this.ss+this.timestamp console.log(pageUrl,'--pageUrl')
); return pageUrl + this.ss + this.timestamp;
} }
}, },
onLoad(options) { onLoad(options) {
......
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