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
8b842f81
Commit
8b842f81
authored
Apr 16, 2023
by
geruidan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改步数首页
parent
4ca72698
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
21 deletions
+8
-21
pages/index/index.vue
pages/index/index.vue
+8
-21
No files found.
pages/index/index.vue
View file @
8b842f81
...
...
@@ -129,21 +129,18 @@ export default {
loading
:
true
,
unregistered
:
true
,
tabBarVal
:
"
步数
"
,
registerPopup
:
true
,
form
:
{
name
:
"
xxx
"
,
},
registerPopup
:
true
,
tips
:
"
获取
"
,
seconds
:
10
,
checkSessionStatus
:
false
,
iconList
:
[
{
img
:
require
(
"
../../static/img/run/tabbar_shop1.png
"
),
name
:
"
新闻公告
"
,
name
:
"
icon1
"
,
},
{
img
:
require
(
"
../../static/img/run/tabbar_shop1.png
"
),
name
:
"
活动投票
"
,
name
:
"
icon2
"
,
},
{
img
:
require
(
"
../../static/img/run/tabbar_shop1.png
"
),
...
...
@@ -238,8 +235,7 @@ export default {
this
.
loading
=
false
;
uni
.
login
({
success
:
function
(
info
)
{
//调用code
console
.
log
(
"
code000000000000000000000000==========
"
,
info
.
code
);
//调用code
that
.
$store
.
commit
(
"
wxCode
"
,
info
.
code
);
//按钮切换全选。
let
userInfo
=
that
.
getUserInfo
(
info
.
code
);
userInfo
.
then
((
res
)
=>
{
...
...
@@ -299,33 +295,24 @@ export default {
},
onHide
()
{},
onShow
()
{
this
.
tabBarVal
=
"
步数
"
;
console
.
log
(
"
步数。。。。
"
);
// uni.hideTabBar();
this
.
tabBarVal
=
"
步数
"
;
this
.
getAuth
();
},
onReady
()
{},
onShareAppMessage
(
res
)
{
return
{
// title: '微信步数',
return
{
path
:
"
pages/index/index
"
,
};
},
};
</
script
>
<
style
lang=
"scss"
scoped
>
// .load::v-deep .vue-ref{
// z-index: 1;
// }
<
style
lang=
"scss"
scoped
>
.we-run-page
{
background-color
:
#fff
;
.contant
{
height
:
calc
(
100%
-
100px
-
env
(
safe-area-inset-bottom
));
box-sizing
:
border-box
;
// position: relative;
box-sizing
:
border-box
;
.bg
{
width
:
100%
;
}
...
...
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