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
16c065fb
Commit
16c065fb
authored
Apr 18, 2023
by
小耗子
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改步数
parent
917b5924
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
10 deletions
+32
-10
env.js
env.js
+5
-3
manifest.json
manifest.json
+1
-1
pages.json
pages.json
+1
-1
pages/index/index.vue
pages/index/index.vue
+17
-4
shopro/store/modules/user.js
shopro/store/modules/user.js
+8
-1
static/img/run/goodsThing.png
static/img/run/goodsThing.png
+0
-0
No files found.
env.js
View file @
16c065fb
...
...
@@ -3,12 +3,14 @@
*/
// export const BASE_URL = 'http://172.18.0.229:9001' //后台根域名 https://demo.shopro.top
export
const
BASE_URL
=
'
https://wx
cs
.zhonghuihaotai.com
'
//后台根域名 https://demo.shopro.top
export
const
BASE_URL
=
'
https://wx.zhonghuihaotai.com
'
//后台根域名 https://demo.shopro.top
// export const BASE_URL = 'https://wxcs.zhonghuihaotai.com' //后台根域名 https://demo.shopro.top
export
const
API_URL
=
`
${
BASE_URL
}
/api/a1/`
//后台接口域名
export
const
IMG_URL
=
'
http://file.shopro.top
'
//全局网络图片地址变量,css背景图片地址变量在uni.scss
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
=
"
106975910000477
"
;
export
const
COMPANY_ID
=
"
999999998
"
;
\ No newline at end of file
export
const
MALL_ID
=
"
169782111100588
"
;
export
const
COMPANY_ID
=
"
741
"
;
\ No newline at end of file
manifest.json
View file @
16c065fb
...
...
@@ -54,7 +54,7 @@
"quickapp"
:
{},
/*
小程序特有相关
*/
"mp-weixin"
:
{
"appid"
:
"wx
60c6530c49c52ff7
"
,
"appid"
:
"wx
f462b300a28539ec
"
,
"setting"
:
{
"urlCheck"
:
false
,
"minified"
:
false
,
...
...
pages.json
View file @
16c065fb
...
...
@@ -7,7 +7,7 @@
{
"path"
:
"pages/index/index"
,
"style"
:
{
"navigationBarTitleText"
:
"
步数
"
,
"navigationBarTitleText"
:
"
中铁建设集团总部直属工会
"
,
"navigationBarTextStyle"
:
"black"
,
"navigationBarBackgroundColor"
:
"#ffffff"
},
...
...
pages/index/index.vue
View file @
16c065fb
...
...
@@ -57,6 +57,9 @@
</view>
<!--
<image
src=
"../../static/img/run/ranking_btn.png"
class=
"ranking_btn"
mode=
"widthFix"
></image>
-->
<!-- 模块 -->
<view
class=
"noticeTips"
>
<u-notice-bar
:text=
"notice"
speed=
"50"
></u-notice-bar>
</view>
<view
class=
"runDataExplain"
>
<view
class=
"runData-ul sh-flex"
>
<view
...
...
@@ -135,6 +138,7 @@ export default {
tips
:
"
获取
"
,
seconds
:
10
,
checkSessionStatus
:
false
,
notice
:
"
说明:本应用仅向本单位工会内部授权手机号开放使用,首次使用需要授权手机号来进行身份验证。
"
,
iconList
:
[
{
img
:
require
(
"
../../static/img/run/walk-icon1.png
"
),
...
...
@@ -288,7 +292,11 @@ export default {
if
(
name
==
"
特卖专区
"
)
{
this
.
changeTabBar
(
"
商城
"
);
}
else
{
this
.
$u
.
toast
(
"
此功能暂未启用,敬请期待
"
);
uni
.
showToast
({
title
:
"
此功能暂未启用,敬请期待
"
,
duration
:
2000
,
icon
:
'
none
'
});
}
},
runRecord
()
{
...
...
@@ -300,7 +308,9 @@ export default {
this
.
tabBarVal
=
"
步数
"
;
this
.
getAuth
();
},
onReady
()
{},
onReady
()
{
wx
.
clearStorage
();
},
onShareAppMessage
(
res
)
{
return
{
path
:
"
pages/index/index
"
,
...
...
@@ -367,10 +377,13 @@ export default {
font-size
:
20rpx
;
}
}
.noticeTips
{
padding
:
20rpx
;
margin-top
:
20rpx
;
}
.runDataExplain
{
width
:
90%
;
margin
:
2
0px
auto
;
margin
:
1
0px
auto
;
margin-bottom
:
0
;
.runData-ul
{
flex
:
1
;
...
...
shopro/store/modules/user.js
View file @
16c065fb
...
...
@@ -145,7 +145,14 @@ const actions = {
http
(
'
user.register
'
,
state
.
registerInfo
).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
resolve
(
1
);
}
else
{
}
else
if
(
res
.
code
==
3504
){
uni
.
showToast
({
title
:
"
抱歉,本应用仅向本单位工会内部授权手机号开放使用,您的手机号暂未授权!
"
,
duration
:
2000
,
icon
:
'
none
'
});
reject
(
res
.
data
);
}
else
{
uni
.
showToast
({
title
:
res
.
msg
,
duration
:
2000
,
...
...
static/img/run/goodsThing.png
View replaced file @
917b5924
View file @
16c065fb
253 KB
|
W:
|
H:
169 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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