|
|
@ -63,10 +63,12 @@ |
|
|
|
//千猪名称 |
|
|
|
//千猪名称 |
|
|
|
qianzhuCityName: '重庆市', |
|
|
|
qianzhuCityName: '重庆市', |
|
|
|
//团油数据 |
|
|
|
//团油数据 |
|
|
|
pelletoilList: '', |
|
|
|
pelletoilList: '', |
|
|
|
//分享领取次数 |
|
|
|
//分享领取次数 |
|
|
|
shareNum:0, |
|
|
|
shareNum: 0, |
|
|
|
|
|
|
|
//是否查询数据 |
|
|
|
|
|
|
|
isSelect: false |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
onLaunch: function() {}, |
|
|
|
onLaunch: function() {}, |
|
|
@ -230,7 +232,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
// #endif |
|
|
|
// #endif |
|
|
|
}, |
|
|
|
}, |
|
|
|
onHide: function() {} |
|
|
|
onHide: function() {} |
|
|
@ -241,7 +243,7 @@ |
|
|
|
/*每个页面公共css */ |
|
|
|
/*每个页面公共css */ |
|
|
|
@import "/static/iconfont/font.scss"; |
|
|
|
@import "/static/iconfont/font.scss"; |
|
|
|
@import "/static/iconfont/cart.scss"; |
|
|
|
@import "/static/iconfont/cart.scss"; |
|
|
|
|
|
|
|
|
|
|
|
@keyframes noticeAnimation { |
|
|
|
@keyframes noticeAnimation { |
|
|
|
from { |
|
|
|
from { |
|
|
|
transform: translateX(100rpx); |
|
|
|
transform: translateX(100rpx); |
|
|
@ -252,52 +254,56 @@ |
|
|
|
transform: translateX(-100%); |
|
|
|
transform: translateX(-100%); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//自定义checkbox的样式( 元素使用的时候就是使用类名:mycheck) |
|
|
|
//自定义checkbox的样式( 元素使用的时候就是使用类名:mycheck) |
|
|
|
checkbox.mycheck .wx-checkbox-input, |
|
|
|
checkbox.mycheck .wx-checkbox-input, |
|
|
|
checkbox.mycheck .uni-checkbox-input { |
|
|
|
checkbox.mycheck .uni-checkbox-input { |
|
|
|
width: 30rpx !important; |
|
|
|
width: 30rpx !important; |
|
|
|
height: 30rpx !important; |
|
|
|
height: 30rpx !important; |
|
|
|
background-color: #ffffff !important; |
|
|
|
background-color: #ffffff !important; |
|
|
|
border-radius: 50% !important; |
|
|
|
border-radius: 50% !important; |
|
|
|
border: solid 1px #cccccc !important; |
|
|
|
border: solid 1px #cccccc !important; |
|
|
|
overflow: hidden; |
|
|
|
overflow: hidden; |
|
|
|
} |
|
|
|
} |
|
|
|
// 选中后的 对勾样式 |
|
|
|
|
|
|
|
checkbox.mycheck .uni-checkbox-input-checked::before, |
|
|
|
// 选中后的 对勾样式 |
|
|
|
checkbox.mycheck .wx-checkbox-input-checked::before { |
|
|
|
checkbox.mycheck .uni-checkbox-input-checked::before, |
|
|
|
font-size: 38rpx !important; // 对勾大小 30rpx / |
|
|
|
checkbox.mycheck .wx-checkbox-input-checked::before { |
|
|
|
// color: #FFCC1E; |
|
|
|
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; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</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> |