Commit 11eba3ac authored by geruidan's avatar geruidan

修改了mallid的背景图

parent 28322c49
...@@ -10,7 +10,9 @@ export const IMG_URL = 'http://file.shopro.top' //全局网络图片地址变量 ...@@ -10,7 +10,9 @@ export const IMG_URL = 'http://file.shopro.top' //全局网络图片地址变量
export const MAP_KEY = '426ebc3f1bbaced***89ee6061a98'; //高德地图开发者Web服务key,逆坐标解析 export const MAP_KEY = '426ebc3f1bbaced***89ee6061a98'; //高德地图开发者Web服务key,逆坐标解析
export const HAS_LIVE = false //后台是否开通直播权限,根据情况在manifest.json中,开启注释相应组件的引入,pages.json中打开直播 export const HAS_LIVE = false //后台是否开通直播权限,根据情况在manifest.json中,开启注释相应组件的引入,pages.json中打开直播
// http://172.18.1.66:9001/api/a1/mall/homePage/mp?code={前端传入的code} // http://172.18.1.66:9001/api/a1/mall/homePage/mp?code={前端传入的code}
export const MALL_ID ="189099911100589"; export const MALL_ID ="133507311100590";
export const COMPANY_ID =""; export const COMPANY_ID ="";
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
"quickapp" : {}, "quickapp" : {},
/* 小程序特有相关 */ /* 小程序特有相关 */
"mp-weixin" : { "mp-weixin" : {
"appid" : "wx91fa336def077983", "appid" : "wx60c6530c49c52ff7",
"setting" : { "setting" : {
"urlCheck" : false, "urlCheck" : false,
"minified" : false, "minified" : false,
......
...@@ -66,15 +66,31 @@ APPsecret:78e7f63bb15c8238c6baef7c393d0050 ...@@ -66,15 +66,31 @@ APPsecret:78e7f63bb15c8238c6baef7c393d0050
``` ```
### 小移商城小程序 ### 小移商城小程序
``` ```
<<<<<<< HEAD
APPID:wxebbbc2cc63e9d74e APPID:wxebbbc2cc63e9d74e
APPsecret:78e7f63bb15c8238c6baef7c393d0050 APPsecret:78e7f63bb15c8238c6baef7c393d0050
企业id:00000775 企业id:00000775
商城id:179480211100680 商城id:179480211100680
=======
APPID:wxbcd69823dff3146e APPID:wxbcd69823dff3146e
appsecrect:b54c621093db1abcecac2882e42abb43 appsecrect:b54c621093db1abcecac2882e42abb43
商城id:101277511100685 商城id:101277511100685
企业id:2023053102 企业id:2023053102
>>>>>>> defaultScreen
```
### 康喜日鲜小程序
```
APPID:wxd309f8271bf6472d
APPsecret:a57b7789d6e50492e33c80b63f950d8e
企业id:00000796
商城id:133309911100709
```
### 康喜生鲜小程序
```
商城:150076611100683 康喜乐嘉
企业:
2023071003 上海燃气
2023053101 康喜生鲜
APPID:wxb46902f9572bfa50
``` ```
\ No newline at end of file
...@@ -9,7 +9,10 @@ ...@@ -9,7 +9,10 @@
</view> </view>
<view class="screen-container"> <view class="screen-container">
<image class="bg" src="../../static/img/screen/screen-bg.png" mode="scaleToFill" /> <!-- 康喜日鲜 -->
<image class="bg" :src="defalutBg" mode="scaleToFill" />
<!-- 康喜生鲜 -->
<!-- <image class="bg" src="https://img.zhonghuihaotai.com/file_20230711101151AaeuQ.png" mode="scaleToFill" /> -->
<!-- :disabled="loading" --> <!-- :disabled="loading" -->
<button @click="enter" class="btn"> <button @click="enter" class="btn">
马上进入 马上进入
...@@ -21,6 +24,9 @@ ...@@ -21,6 +24,9 @@
<script> <script>
import http from '@/shopro/request/index'; import http from '@/shopro/request/index';
import store from '@/shopro/store'; import store from '@/shopro/store';
import {
defalutBg
} from "@/shopro/utils/config.js";
import { import {
mapActions, mapActions,
mapGetters mapGetters
...@@ -31,7 +37,8 @@ ...@@ -31,7 +37,8 @@
unregistered: false, unregistered: false,
checkSessionStatus: false, checkSessionStatus: false,
loading: true, loading: true,
companyId:"" companyId:"" ,
defalutBg:defalutBg
} }
}, },
computed: { computed: {
...@@ -161,7 +168,6 @@ ...@@ -161,7 +168,6 @@
// uni.hideTabBar(); // uni.hideTabBar();
}, },
onReady() { onReady() {
wx.clearStorage(); wx.clearStorage();
if(this.$Route.query.companyId){ if(this.$Route.query.companyId){
this.companyId = this.$Route.query.companyId this.companyId = this.$Route.query.companyId
......
import {
MALL_ID
} from "@/env";
let bgUrl = ""
if(MALL_ID == '133309911100709'){ //康喜日鲜
bgUrl="https://img.zhonghuihaotai.com/file_20230711101314F7CCY.png"
}else if(MALL_ID == '150076611100683'){ //康喜生鲜
bgUrl="https://img.zhonghuihaotai.com/file_20230711101151AaeuQ.png"
}else{//默认
bgUrl="https://img.zhonghuihaotai.com/file_2023071110404202WHI.png"
}
console.log(bgUrl)
export const defalutBg = bgUrl ; //默认开屏页
\ No newline at end of file
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