Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mini_own
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
geruidan
mini_own
Commits
11eba3ac
Commit
11eba3ac
authored
Jul 11, 2023
by
geruidan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了mallid的背景图
parent
28322c49
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
45 additions
and
8 deletions
+45
-8
env.js
env.js
+3
-1
manifest.json
manifest.json
+1
-1
md.md
md.md
+19
-3
pages/index/defalutScreen.vue
pages/index/defalutScreen.vue
+9
-3
shopro/utils/config.js
shopro/utils/config.js
+13
-0
static/img/screen/screen-bg.png
static/img/screen/screen-bg.png
+0
-0
No files found.
env.js
View file @
11eba3ac
...
...
@@ -10,7 +10,9 @@ export const IMG_URL = 'http://file.shopro.top' //全局网络图片地址变量
export
const
MAP_KEY
=
'
426ebc3f1bbaced***89ee6061a98
'
;
//高德地图开发者Web服务key,逆坐标解析
export
const
HAS_LIVE
=
false
//后台是否开通直播权限,根据情况在manifest.json中,开启注释相应组件的引入,pages.json中打开直播
// http://172.18.1.66:9001/api/a1/mall/homePage/mp?code={前端传入的code}
export
const
MALL_ID
=
"
1
89099911100589
"
;
export
const
MALL_ID
=
"
1
33507311100590
"
;
export
const
COMPANY_ID
=
""
;
manifest.json
View file @
11eba3ac
...
...
@@ -54,7 +54,7 @@
"quickapp"
:
{},
/*
小程序特有相关
*/
"mp-weixin"
:
{
"appid"
:
"wx
91fa336def077983
"
,
"appid"
:
"wx
60c6530c49c52ff7
"
,
"setting"
:
{
"urlCheck"
:
false
,
"minified"
:
false
,
...
...
md.md
View file @
11eba3ac
...
...
@@ -66,15 +66,31 @@ APPsecret:78e7f63bb15c8238c6baef7c393d0050
```
### 小移商城小程序
```
<<<<<<< HEAD
APPID:wxebbbc2cc63e9d74e
APPsecret:78e7f63bb15c8238c6baef7c393d0050
企业id:00000775
商城id:179480211100680
=======
APPID:wxbcd69823dff3146e
appsecrect:b54c621093db1abcecac2882e42abb43
商城id:101277511100685
企业id:2023053102
>>>>>>> defaultScreen
```
### 康喜日鲜小程序
```
APPID:wxd309f8271bf6472d
APPsecret:a57b7789d6e50492e33c80b63f950d8e
企业id:00000796
商城id:133309911100709
```
### 康喜生鲜小程序
```
商城:150076611100683 康喜乐嘉
企业:
2023071003 上海燃气
2023053101 康喜生鲜
APPID:wxb46902f9572bfa50
```
\ No newline at end of file
pages/index/defalutScreen.vue
View file @
11eba3ac
...
...
@@ -9,7 +9,10 @@
</view>
<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" -->
<button
@
click=
"enter"
class=
"btn"
>
马上进入
...
...
@@ -21,6 +24,9 @@
<
script
>
import
http
from
'
@/shopro/request/index
'
;
import
store
from
'
@/shopro/store
'
;
import
{
defalutBg
}
from
"
@/shopro/utils/config.js
"
;
import
{
mapActions
,
mapGetters
...
...
@@ -31,7 +37,8 @@
unregistered
:
false
,
checkSessionStatus
:
false
,
loading
:
true
,
companyId
:
""
companyId
:
""
,
defalutBg
:
defalutBg
}
},
computed
:
{
...
...
@@ -161,7 +168,6 @@
// uni.hideTabBar();
},
onReady
()
{
wx
.
clearStorage
();
if
(
this
.
$Route
.
query
.
companyId
){
this
.
companyId
=
this
.
$Route
.
query
.
companyId
...
...
shopro/utils/config.js
0 → 100644
View file @
11eba3ac
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
static/img/screen/screen-bg.png
deleted
100644 → 0
View file @
28322c49
454 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment