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
e6c3477a
Commit
e6c3477a
authored
Mar 29, 2023
by
小耗子
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改分享
parent
ae53f900
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
20 deletions
+27
-20
App.vue
App.vue
+15
-15
env.js
env.js
+3
-3
manifest.json
manifest.json
+1
-1
pages/index/index.vue
pages/index/index.vue
+8
-1
No files found.
App.vue
View file @
e6c3477a
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
@import
"uview-ui/index.scss"
;
@import
"uview-ui/index.scss"
;
@import
'@/static/style/common.scss'
;
@import
'@/static/style/common.scss'
;
@import
'@/static/style/total.scss'
;
@import
'@/static/style/total.scss'
;
page
{
page
{
-webkit-overflow-scrolling
:
touch
;
// ios滑动不流畅
-webkit-overflow-scrolling
:
touch
;
// ios滑动不流畅
height
:
100%
;
height
:
100%
;
// background: #f0f0f0;
// background: #f0f0f0;
...
@@ -23,10 +23,10 @@ page {
...
@@ -23,10 +23,10 @@ page {
font-family
:
OPPOSANS
;
font-family
:
OPPOSANS
;
word-break
:
break-all
;
//英文文本不换行
word-break
:
break-all
;
//英文文本不换行
white-space
:
normal
;
white-space
:
normal
;
}
}
// tab图标
// tab图标
.uni-tabbar
.uni-tabbar__icon
{
.uni-tabbar
.uni-tabbar__icon
{
width
:
25px
!
important
;
width
:
25px
!
important
;
height
:
25px
!
important
;
height
:
25px
!
important
;
}
}
</
style
>
</
style
>
env.js
View file @
e6c3477a
...
@@ -3,12 +3,12 @@
...
@@ -3,12 +3,12 @@
*/
*/
// export const BASE_URL = 'http://172.18.0.229:9001' //后台根域名 https://demo.shopro.top
// export const BASE_URL = 'http://172.18.0.229:9001' //后台根域名 https://demo.shopro.top
export
const
BASE_URL
=
'
https://wx.zhonghuihaotai.com
'
//后台根域名 https://demo.shopro.top
export
const
BASE_URL
=
'
https://wx
cs
.zhonghuihaotai.com
'
//后台根域名 https://demo.shopro.top
// export const BASE_URL = 'https://wxcs.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
API_URL
=
`
${
BASE_URL
}
/api/a1/`
//后台接口域名
export
const
IMG_URL
=
'
http://file.shopro.top
'
//全局网络图片地址变量,css背景图片地址变量在uni.scss
export
const
IMG_URL
=
'
http://file.shopro.top
'
//全局网络图片地址变量,css背景图片地址变量在uni.scss
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
=
"
133507311100590
"
;
export
const
MALL_ID
=
"
106975910000477
"
;
export
const
COMPANY_ID
=
"
202203282
"
;
export
const
COMPANY_ID
=
"
999999998
"
;
\ No newline at end of file
\ No newline at end of file
manifest.json
View file @
e6c3477a
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
"appid"
:
"wx60c6530c49c52ff7"
,
"appid"
:
"wx60c6530c49c52ff7"
,
"setting"
:
{
"setting"
:
{
"urlCheck"
:
false
,
"urlCheck"
:
false
,
"minified"
:
tru
e
,
"minified"
:
fals
e
,
"es6"
:
false
"es6"
:
false
},
},
"usingComponents"
:
true
,
"usingComponents"
:
true
,
...
...
pages/index/index.vue
View file @
e6c3477a
...
@@ -95,8 +95,8 @@
...
@@ -95,8 +95,8 @@
let
number
=
await
this
.
getPhoneNumber
(
e
);
let
number
=
await
this
.
getPhoneNumber
(
e
);
let
register
=
await
this
.
registerInfoFn
();
let
register
=
await
this
.
registerInfoFn
();
if
(
register
)
{
//注册成功,再掉获取步数接口
if
(
register
)
{
//注册成功,再掉获取步数接口
this
.
unregistered
=
true
;
let
runData
=
await
this
.
getWeRunDataFn
();
let
runData
=
await
this
.
getWeRunDataFn
();
runData
&&
(
this
.
unregistered
=
true
);
}
}
},
},
async
authAndWeRun
()
{
async
authAndWeRun
()
{
...
@@ -194,6 +194,13 @@
...
@@ -194,6 +194,13 @@
this
.
getAuth
();
this
.
getAuth
();
},
},
onReady
()
{
onReady
()
{
},
onShareAppMessage
(
res
){
return
{
// title: '微信步数',
path
:
'
pages/index/index
'
}
}
}
}
}
</
script
>
</
script
>
...
...
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