Commit 5c005e5d by 李嘉林

优化

parent 328d5c65
...@@ -28,6 +28,7 @@ module.exports = merge(prodEnv, {//zjgyl ...@@ -28,6 +28,7 @@ module.exports = merge(prodEnv, {//zjgyl
POSTHOG_HOST: '"https://posthog.mayi118.com"', POSTHOG_HOST: '"https://posthog.mayi118.com"',
MANALYTICS_HOST: '"http://bi.xinhuabest.com/log/xinhua.gif"', MANALYTICS_HOST: '"http://bi.xinhuabest.com/log/xinhua.gif"',
AREA_JSON: '"https://new-xhyx.obs.cidc-rp-2005.joint.cmecloud.cn/product/json/f7746156-6329-4130-b724-eda06215ddea.json"', AREA_JSON: '"https://new-xhyx.obs.cidc-rp-2005.joint.cmecloud.cn/product/json/f7746156-6329-4130-b724-eda06215ddea.json"',
SHOP_LOGO: '"https://new-xhyx.obs.cidc-rp-2005.joint.cmecloud.cn/product/png/dca9f433-bf71-4c0c-bf7a-bc7efbce311d.png"'
// IMG_DOMAIN: '"http://cdn.mayi888.com"', // IMG_DOMAIN: '"http://cdn.mayi888.com"',
}) })
...@@ -113,7 +113,7 @@ export default { ...@@ -113,7 +113,7 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
font-size: 13px; font-size: 1em;
font-family: "PingFangSC-Medium, PingFang SC"; font-family: "PingFangSC-Medium, PingFang SC";
} }
} }
......
...@@ -23,7 +23,9 @@ export default { ...@@ -23,7 +23,9 @@ export default {
computed: { computed: {
shopLogo() { shopLogo() {
let logoUrl = ""; let logoUrl = "";
if (wx.getStorageSync("logoUrl")) { if (process.env.SHOP_LOGO) {
logoUrl = process.env.SHOP_LOGO;
} else if (wx.getStorageSync("logoUrl")) {
logoUrl = wx.getStorageSync("logoUrl"); logoUrl = wx.getStorageSync("logoUrl");
} else { } else {
logoUrl = app.globalData && app.globalData.shopInfo && app.globalData.shopInfo.logoUrl; logoUrl = app.globalData && app.globalData.shopInfo && app.globalData.shopInfo.logoUrl;
......
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