1.优化首页定位问题

master
杨杰 2 years ago
parent aac6ef4e1e
commit 9ad6909d34
  1. 112
      App.vue
  2. 1996
      pages/tabBar/home/home.vue
  3. 3
      pages/user/positioning/positioning.vue

@ -63,10 +63,12 @@
//
qianzhuCityName: '重庆市',
//
pelletoilList: '',
//
shareNum:0,
pelletoilList: '',
//
shareNum: 0,
//
isSelect: false
},
onLaunch: function() {},
@ -230,7 +232,7 @@
}
}
})
// #endif
},
onHide: function() {}
@ -241,7 +243,7 @@
/*每个页面公共css */
@import "/static/iconfont/font.scss";
@import "/static/iconfont/cart.scss";
@keyframes noticeAnimation {
from {
transform: translateX(100rpx);
@ -252,52 +254,56 @@
transform: translateX(-100%);
}
}
//checkbox 使使mycheck
checkbox.mycheck .wx-checkbox-input,
checkbox.mycheck .uni-checkbox-input {
width: 30rpx !important;
height: 30rpx !important;
background-color: #ffffff !important;
border-radius: 50% !important;
border: solid 1px #cccccc !important;
overflow: hidden;
}
//
checkbox.mycheck .uni-checkbox-input-checked::before,
checkbox.mycheck .wx-checkbox-input-checked::before {
font-size: 38rpx !important; // 30rpx /
// color: #FFCC1E;
}
/* 解决小程序和app滚动条的问题 */
/* #ifdef MP-WEIXIN || APP-PLUS */
::-webkit-scrollbar{
display: none;
}
/* #endif */
/* 解决H5 的问题 */
/* #ifdef H5 */
uni-scroll-view .uni-scroll-view::-webkit-scrollbar {
/* 隐藏滚动条,但依旧具备可以滚动的功能 */
display: none
}
/* #endif */
.cart-num .uni-numbox__minus {
border-top-left-radius: 10px !important;
border-bottom-left-radius: 10px !important;
}
.cart-num .uni-numbox-btns {
background-color: #f6f6f6 !important;
}
.cart-num .uni-numbox__plus{
border-top-right-radius: 10px !important;
border-bottom-right-radius: 10px !important;
}
checkbox.mycheck .wx-checkbox-input,
checkbox.mycheck .uni-checkbox-input {
width: 30rpx !important;
height: 30rpx !important;
background-color: #ffffff !important;
border-radius: 50% !important;
border: solid 1px #cccccc !important;
overflow: hidden;
}
//
checkbox.mycheck .uni-checkbox-input-checked::before,
checkbox.mycheck .wx-checkbox-input-checked::before {
font-size: 38rpx !important; // 30rpx /
// color: #FFCC1E;
}
</style>
/* 解决小程序和app滚动条的问题 */
/* #ifdef MP-WEIXIN || APP-PLUS */
::-webkit-scrollbar {
display: none;
}
/* #endif */
/* 解决H5 的问题 */
/* #ifdef H5 */
uni-scroll-view .uni-scroll-view::-webkit-scrollbar {
/* 隐藏滚动条,但依旧具备可以滚动的功能 */
display: none
}
/* #endif */
.cart-num .uni-numbox__minus {
border-top-left-radius: 10px !important;
border-bottom-left-radius: 10px !important;
}
.cart-num .uni-numbox-btns {
background-color: #f6f6f6 !important;
}
.cart-num .uni-numbox__plus {
border-top-right-radius: 10px !important;
border-bottom-right-radius: 10px !important;
}
</style>

File diff suppressed because one or more lines are too long

@ -110,7 +110,8 @@
app.globalData.cityName = res.return_data.provinceName;
app.globalData.qianzhuCityName = res.return_data.cityName;
app.globalData.cityId = res.return_data.regionId;
app.globalData.companyId = res.return_data.companyId;
app.globalData.companyId = res.return_data.companyId;
app.globalData.isSelect = true;
uni.navigateBack({})
} else {
uni.showToast({

Loading…
Cancel
Save