Commit 8b842f81 authored by geruidan's avatar geruidan

修改步数首页

parent 4ca72698
......@@ -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%;
}
......
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