Fix uniapp v2 login and sass compatibility
This commit is contained in:
@@ -15,10 +15,7 @@ class LocalCopyrightService
|
|||||||
{
|
{
|
||||||
public function getCopyright(): array
|
public function getCopyright(): array
|
||||||
{
|
{
|
||||||
$config = SystemConfigService::more([
|
$config = SystemConfigService::more(['copyright', 'copyright_img']);
|
||||||
['copyright', ''],
|
|
||||||
['copyright_img', ''],
|
|
||||||
]);
|
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'copyrightContext' => $config['copyright'] ?? '',
|
'copyrightContext' => $config['copyright'] ?? '',
|
||||||
|
|||||||
@@ -91,13 +91,13 @@
|
|||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
/* #ifdef H5 || APP-PLUS */
|
/* #ifdef H5 || APP-PLUS */
|
||||||
.activity-popup /deep/uni-swiper .uni-swiper-dot{
|
.activity-popup ::v-deep uni-swiper .uni-swiper-dot{
|
||||||
width: 14rpx;
|
width: 14rpx;
|
||||||
height: 14rpx;
|
height: 14rpx;
|
||||||
}
|
}
|
||||||
/* #endif */
|
/* #endif */
|
||||||
/* #ifdef MP-WEIXIN */
|
/* #ifdef MP-WEIXIN */
|
||||||
.activity-popup /deep/.wx-swiper-dot~.wx-swiper-dot {
|
.activity-popup ::v-deep .wx-swiper-dot~.wx-swiper-dot {
|
||||||
width: 10rpx;
|
width: 10rpx;
|
||||||
height: 10rpx;
|
height: 10rpx;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -128,7 +128,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
/deep/ checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
::v-deep checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
||||||
border: 1px solid $primary-admin !important;
|
border: 1px solid $primary-admin !important;
|
||||||
background-color: $primary-admin !important;
|
background-color: $primary-admin !important;
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
|
|||||||
@@ -28,6 +28,23 @@ import {
|
|||||||
} from './../config/cache';
|
} from './../config/cache';
|
||||||
import Routine from '@/libs/routine';
|
import Routine from '@/libs/routine';
|
||||||
|
|
||||||
|
function normalizeRoutineAuthTypes(config = {}) {
|
||||||
|
let types = config.routine_auth_type;
|
||||||
|
if (Array.isArray(types)) return types.map(item => Number(item));
|
||||||
|
if (typeof types === 'string') return types.split(',').map(item => Number(item));
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
|
||||||
|
function isRoutineWechatAuth(config = {}) {
|
||||||
|
const authTypes = normalizeRoutineAuthTypes(config);
|
||||||
|
return Number(config.wechat_auth_switch) === 1 || authTypes.includes(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
function isRoutinePhoneAuth(config = {}) {
|
||||||
|
const authTypes = normalizeRoutineAuthTypes(config);
|
||||||
|
return Number(config.phone_auth_switch) === 1 || authTypes.includes(2);
|
||||||
|
}
|
||||||
|
|
||||||
function prePage() {
|
function prePage() {
|
||||||
let pages = getCurrentPages();
|
let pages = getCurrentPages();
|
||||||
let prePage = pages[pages.length - 1];
|
let prePage = pages[pages.length - 1];
|
||||||
@@ -56,7 +73,7 @@ function _toLogin(push, pathLogin) {
|
|||||||
if (!pathLogin)
|
if (!pathLogin)
|
||||||
pathLogin = '/page/users/login/index'
|
pathLogin = '/page/users/login/index'
|
||||||
Cache.set('login_back_url', path);
|
Cache.set('login_back_url', path);
|
||||||
const BASIC_CONFIG = uni.getStorageSync('BASIC_CONFIG');
|
const BASIC_CONFIG = uni.getStorageSync('BASIC_CONFIG') || {};
|
||||||
// #ifdef H5
|
// #ifdef H5
|
||||||
if (isWeixin() && BASIC_CONFIG.wechat_status) {
|
if (isWeixin() && BASIC_CONFIG.wechat_status) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
@@ -72,7 +89,7 @@ function _toLogin(push, pathLogin) {
|
|||||||
|
|
||||||
// #ifdef MP
|
// #ifdef MP
|
||||||
let url
|
let url
|
||||||
if (!BASIC_CONFIG.wechat_auth_switch) {
|
if (!isRoutineWechatAuth(BASIC_CONFIG) && isRoutinePhoneAuth(BASIC_CONFIG)) {
|
||||||
url = '/pages/users/binding_phone/index?pageType=0'
|
url = '/pages/users/binding_phone/index?pageType=0'
|
||||||
} else {
|
} else {
|
||||||
url = '/pages/users/wechat_login/index'
|
url = '/pages/users/wechat_login/index'
|
||||||
@@ -121,4 +138,4 @@ export function checkLogin() {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name" : "范氏国香",
|
"name" : "芍药居草本",
|
||||||
"appid" : "__UNI__6691FE3",
|
"appid" : "__UNI__518D050",
|
||||||
"description" : "范氏国香商城",
|
"description" : "芍药居草本商城",
|
||||||
"versionName" : "3.5.1",
|
"versionName" : "3.5.1",
|
||||||
"versionCode" : 351,
|
"versionCode" : 351,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
@@ -201,7 +201,7 @@
|
|||||||
"optimization" : {
|
"optimization" : {
|
||||||
"subPackages" : true
|
"subPackages" : true
|
||||||
},
|
},
|
||||||
"appid" : "wx269fc281236ef045"
|
"appid" : "wxaafcb57c19b75f4d"
|
||||||
},
|
},
|
||||||
"mp-alipay" : {
|
"mp-alipay" : {
|
||||||
"usingComponents" : true
|
"usingComponents" : true
|
||||||
|
|||||||
@@ -1192,7 +1192,7 @@
|
|||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 116rpx;
|
height: 116rpx;
|
||||||
/deep/.time{
|
::v-deep .time{
|
||||||
padding-top: 14px;
|
padding-top: 14px;
|
||||||
.styleAll{
|
.styleAll{
|
||||||
background-color: #E93323;
|
background-color: #E93323;
|
||||||
|
|||||||
@@ -1096,7 +1096,7 @@
|
|||||||
color: #fc4141;
|
color: #fc4141;
|
||||||
}
|
}
|
||||||
|
|
||||||
.group-con .wrapper .title .name /deep/.time .styleAll {
|
.group-con .wrapper .title .name ::v-deep .time .styleAll {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-radius: 8rpx;
|
border-radius: 8rpx;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
|
|||||||
@@ -1560,14 +1560,14 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
/deep/uni-video {
|
::v-deep uni-video {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/video {
|
::v-deep video {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
/deep/ .styleAll{
|
::v-deep .styleAll{
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
min-width: 34rpx;
|
min-width: 34rpx;
|
||||||
height: 36rpx;
|
height: 36rpx;
|
||||||
@@ -1578,7 +1578,7 @@
|
|||||||
font-family:'Regular';
|
font-family:'Regular';
|
||||||
padding: 0 2rpx;
|
padding: 0 2rpx;
|
||||||
}
|
}
|
||||||
.seckill-card /deep/ .timeTxt{
|
.seckill-card ::v-deep .timeTxt{
|
||||||
padding: 0 6rpx;
|
padding: 0 6rpx;
|
||||||
}
|
}
|
||||||
.z-99{
|
.z-99{
|
||||||
|
|||||||
@@ -373,7 +373,7 @@
|
|||||||
right: 30rpx;
|
right: 30rpx;
|
||||||
}
|
}
|
||||||
.sel-last {
|
.sel-last {
|
||||||
/deep/.uni-scroll-view{
|
::v-deep .uni-scroll-view{
|
||||||
|
|
||||||
margin-right: -10rpx;
|
margin-right: -10rpx;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -282,7 +282,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
/deep/ .navbar{
|
::v-deep .navbar{
|
||||||
z-index: 90;
|
z-index: 90;
|
||||||
}
|
}
|
||||||
.bg-top{
|
.bg-top{
|
||||||
|
|||||||
@@ -251,7 +251,7 @@
|
|||||||
font-size: 18rpx;
|
font-size: 18rpx;
|
||||||
color: #e93323;
|
color: #e93323;
|
||||||
}
|
}
|
||||||
/deep/ .empty-box{
|
::v-deep .empty-box{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 280px;
|
height: 280px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -330,7 +330,7 @@
|
|||||||
min-height: 0;
|
min-height: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
/deep/.shoppingCart {
|
::v-deep .shoppingCart {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
|||||||
@@ -162,15 +162,15 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
/deep/ checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
::v-deep checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
||||||
border: 1px solid $primary-admin;
|
border: 1px solid $primary-admin;
|
||||||
background-color: $primary-admin;
|
background-color: $primary-admin;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
/deep/checkbox{
|
::v-deep checkbox{
|
||||||
margin-right: 13rpx;
|
margin-right: 13rpx;
|
||||||
}
|
}
|
||||||
/deep/uni-checkbox .uni-checkbox-input{
|
::v-deep uni-checkbox .uni-checkbox-input{
|
||||||
border-radius: 4rpx;
|
border-radius: 4rpx;
|
||||||
width: 28rpx;
|
width: 28rpx;
|
||||||
height: 28rpx;
|
height: 28rpx;
|
||||||
|
|||||||
@@ -413,14 +413,14 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
/deep/checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
::v-deep checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
||||||
border: 1px solid $primary-admin !important;
|
border: 1px solid $primary-admin !important;
|
||||||
background-color: $primary-admin !important;
|
background-color: $primary-admin !important;
|
||||||
}
|
}
|
||||||
/deep/uni-checkbox .uni-checkbox-input{
|
::v-deep uni-checkbox .uni-checkbox-input{
|
||||||
margin-top: -4rpx;
|
margin-top: -4rpx;
|
||||||
}
|
}
|
||||||
/deep/checkbox:not([disabled]) .uni-checkbox-input:hover {
|
::v-deep checkbox:not([disabled]) .uni-checkbox-input:hover {
|
||||||
border-color: #d1d1d1 !important;
|
border-color: #d1d1d1 !important;
|
||||||
}
|
}
|
||||||
.empty-box{
|
.empty-box{
|
||||||
@@ -522,11 +522,11 @@
|
|||||||
.list{
|
.list{
|
||||||
padding-bottom: 20rpx;
|
padding-bottom: 20rpx;
|
||||||
padding: 0 20rpx 20rpx 20rpx;
|
padding: 0 20rpx 20rpx 20rpx;
|
||||||
/deep/uni-checkbox .uni-checkbox-input{
|
::v-deep uni-checkbox .uni-checkbox-input{
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
margin: 0 20rpx 20rpx 0;
|
margin: 0 20rpx 20rpx 0;
|
||||||
}
|
}
|
||||||
/deep/wx-checkbox .wx-checkbox-input{
|
::v-deep wx-checkbox .wx-checkbox-input{
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
margin: 0 20rpx 20rpx 0;
|
margin: 0 20rpx 20rpx 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -221,11 +221,11 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
/deep/checkbox .uni-checkbox-input.uni-checkbox-input-checked {
|
::v-deep checkbox .uni-checkbox-input.uni-checkbox-input-checked {
|
||||||
border: 1px solid $primary-admin !important;
|
border: 1px solid $primary-admin !important;
|
||||||
background-color: $primary-admin !important;
|
background-color: $primary-admin !important;
|
||||||
}
|
}
|
||||||
/deep/checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
::v-deep checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
||||||
border: 1px solid $primary-admin !important;
|
border: 1px solid $primary-admin !important;
|
||||||
background-color: $primary-admin !important;
|
background-color: $primary-admin !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -695,7 +695,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.height-add {
|
.height-add {
|
||||||
height: calc(120rpx+ constant(safe-area-inset-bottom)); ///兼容 IOS<11.2/
|
height: calc(120rpx + constant(safe-area-inset-bottom)); ///兼容 IOS<11.2/
|
||||||
height: calc(120rpx + env(safe-area-inset-bottom)); ///兼容 IOS>11.2/
|
height: calc(120rpx + env(safe-area-inset-bottom)); ///兼容 IOS>11.2/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -582,7 +582,7 @@
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.pos-order-list {
|
.pos-order-list {
|
||||||
/deep/.navbar {
|
::v-deep .navbar {
|
||||||
.content {
|
.content {
|
||||||
background: #F5F5F5 !important;
|
background: #F5F5F5 !important;
|
||||||
}
|
}
|
||||||
@@ -685,7 +685,7 @@
|
|||||||
border-radius: 24rpx;
|
border-radius: 24rpx;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|
||||||
/deep/.time {
|
::v-deep .time {
|
||||||
.title {
|
.title {
|
||||||
color: #FF7E00;
|
color: #FF7E00;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -175,7 +175,7 @@ export default {
|
|||||||
font-family: Regular;
|
font-family: Regular;
|
||||||
color: #FF7E00;
|
color: #FF7E00;
|
||||||
}
|
}
|
||||||
/deep/.uni-input-input{
|
::v-deep .uni-input-input{
|
||||||
padding-right: 10rpx;
|
padding-right: 10rpx;
|
||||||
}
|
}
|
||||||
.placeholder{
|
.placeholder{
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ export default {
|
|||||||
font-family: Regular;
|
font-family: Regular;
|
||||||
color: #FF7E00;
|
color: #FF7E00;
|
||||||
}
|
}
|
||||||
/deep/.uni-input-input{
|
::v-deep .uni-input-input{
|
||||||
padding-right: 10rpx;
|
padding-right: 10rpx;
|
||||||
}
|
}
|
||||||
.placeholder{
|
.placeholder{
|
||||||
|
|||||||
@@ -431,14 +431,14 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
/deep/checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
::v-deep checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
||||||
border: 1px solid $primary-admin !important;
|
border: 1px solid $primary-admin !important;
|
||||||
background-color: $primary-admin !important;
|
background-color: $primary-admin !important;
|
||||||
}
|
}
|
||||||
/deep/checkbox:not([disabled]) .uni-checkbox-input:hover {
|
::v-deep checkbox:not([disabled]) .uni-checkbox-input:hover {
|
||||||
border-color: #d1d1d1 !important;
|
border-color: #d1d1d1 !important;
|
||||||
}
|
}
|
||||||
/deep/.empty-page{
|
::v-deep .empty-page{
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
}
|
}
|
||||||
.accountTitle{
|
.accountTitle{
|
||||||
@@ -507,10 +507,10 @@
|
|||||||
.list{
|
.list{
|
||||||
padding-bottom: 20rpx;
|
padding-bottom: 20rpx;
|
||||||
margin-top: 32rpx;
|
margin-top: 32rpx;
|
||||||
/deep/uni-checkbox .uni-checkbox-input{
|
::v-deep uni-checkbox .uni-checkbox-input{
|
||||||
margin: 0 20rpx 20rpx 0;
|
margin: 0 20rpx 20rpx 0;
|
||||||
}
|
}
|
||||||
/deep/wx-checkbox .wx-checkbox-input{
|
::v-deep wx-checkbox .wx-checkbox-input{
|
||||||
margin: 0 20rpx 20rpx 0;
|
margin: 0 20rpx 20rpx 0;
|
||||||
}
|
}
|
||||||
.item {
|
.item {
|
||||||
@@ -643,7 +643,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|
||||||
/deep/uni-checkbox .uni-checkbox-input{
|
::v-deep uni-checkbox .uni-checkbox-input{
|
||||||
margin-bottom: 6rpx;
|
margin-bottom: 6rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -350,7 +350,7 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
/deep/uni-radio .uni-radio-input.uni-radio-input-checked {
|
::v-deep uni-radio .uni-radio-input.uni-radio-input-checked {
|
||||||
border: 1px solid #FDC383 !important;
|
border: 1px solid #FDC383 !important;
|
||||||
background-color: #FDC383 !important;
|
background-color: #FDC383 !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -382,34 +382,34 @@
|
|||||||
line-height: 40rpx;
|
line-height: 40rpx;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
|
|
||||||
/deep/uni-radio {
|
::v-deep uni-radio {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
margin-right: 14rpx;
|
margin-right: 14rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/uni-radio .uni-radio-input {
|
::v-deep uni-radio .uni-radio-input {
|
||||||
width: 28rpx;
|
width: 28rpx;
|
||||||
height: 28rpx;
|
height: 28rpx;
|
||||||
border: 1px solid #E6993A;
|
border: 1px solid #E6993A;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/uni-radio .uni-radio-input.uni-radio-input-checked {
|
::v-deep uni-radio .uni-radio-input.uni-radio-input-checked {
|
||||||
border: 1px solid #E6993A !important;
|
border: 1px solid #E6993A !important;
|
||||||
background-color: #E6993A !important;
|
background-color: #E6993A !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/.wx-radio-input {
|
::v-deep .wx-radio-input {
|
||||||
width: 29rpx;
|
width: 29rpx;
|
||||||
height: 29rpx;
|
height: 29rpx;
|
||||||
border: 1px solid #CCCCCC;
|
border: 1px solid #CCCCCC;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/.wx-radio-input.wx-radio-input-checked {
|
::v-deep .wx-radio-input.wx-radio-input-checked {
|
||||||
border: 1px solid #E6993A !important;
|
border: 1px solid #E6993A !important;
|
||||||
background-color: #E6993A !important;
|
background-color: #E6993A !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/uni-radio .uni-radio-input.uni-radio-input-checked:before {
|
::v-deep uni-radio .uni-radio-input.uni-radio-input-checked:before {
|
||||||
font-size: 15rpx;
|
font-size: 15rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -974,7 +974,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.recommend /deep/ .fw-500 {
|
.recommend ::v-deep .fw-500 {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.text-gold,.icon-a-ic_CompleteSelect{
|
.text-gold,.icon-a-ic_CompleteSelect{
|
||||||
|
|||||||
@@ -160,7 +160,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
/deep/ .styleAll{
|
::v-deep .styleAll{
|
||||||
padding: 0 6rpx;
|
padding: 0 6rpx;
|
||||||
border: 1rpx solid #DDDDDD;
|
border: 1rpx solid #DDDDDD;
|
||||||
border-radius: 8rpx;
|
border-radius: 8rpx;
|
||||||
|
|||||||
@@ -693,7 +693,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: -10rpx;
|
top: -10rpx;
|
||||||
right: -20rpx;
|
right: -20rpx;
|
||||||
/deep/ .uni-badge--error {
|
::v-deep .uni-badge--error {
|
||||||
background-color: $primary-admin !important;
|
background-color: $primary-admin !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -640,7 +640,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: -10rpx;
|
top: -10rpx;
|
||||||
right: -20rpx;
|
right: -20rpx;
|
||||||
/deep/ .uni-badge--error {
|
::v-deep .uni-badge--error {
|
||||||
background-color: $primary-admin !important;
|
background-color: $primary-admin !important;
|
||||||
}
|
}
|
||||||
.uni-badge {
|
.uni-badge {
|
||||||
|
|||||||
@@ -1142,17 +1142,17 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
/deep/.uni-date-x--border {
|
::v-deep .uni-date-x--border {
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
/deep/.uni-icons {
|
::v-deep .uni-icons {
|
||||||
font-size: 0 !important;
|
font-size: 0 !important;
|
||||||
}
|
}
|
||||||
/deep/.uni-date-x {
|
::v-deep .uni-date-x {
|
||||||
color: #999;
|
color: #999;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
/deep/.uni-date__x-input {
|
::v-deep .uni-date__x-input {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
.height-add {
|
.height-add {
|
||||||
@@ -1160,7 +1160,7 @@ export default {
|
|||||||
height: calc(176rpx + env(safe-area-inset-bottom)); ///兼容 IOS>11.2/
|
height: calc(176rpx + env(safe-area-inset-bottom)); ///兼容 IOS>11.2/
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/uni-checkbox[disabled] .uni-checkbox-input {
|
::v-deep uni-checkbox[disabled] .uni-checkbox-input {
|
||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
}
|
}
|
||||||
.alipaysubmit {
|
.alipaysubmit {
|
||||||
|
|||||||
@@ -782,14 +782,14 @@ page{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// #ifdef APP-PLUS || H5
|
// #ifdef APP-PLUS || H5
|
||||||
/deep/uni-swiper .uni-swiper-dots-horizontal .uni-swiper-dot{
|
::v-deep uni-swiper .uni-swiper-dots-horizontal .uni-swiper-dot{
|
||||||
width: 12rpx;
|
width: 12rpx;
|
||||||
height: 12rpx;
|
height: 12rpx;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
// #endif
|
// #endif
|
||||||
// #ifdef MP
|
// #ifdef MP
|
||||||
swiper /deep/.wx-swiper-dot{
|
swiper ::v-deep .wx-swiper-dot{
|
||||||
width: 12rpx;
|
width: 12rpx;
|
||||||
height: 12rpx;
|
height: 12rpx;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
|||||||
@@ -897,14 +897,14 @@
|
|||||||
color: #e93323;
|
color: #e93323;
|
||||||
}
|
}
|
||||||
// #ifdef APP-PLUS || H5
|
// #ifdef APP-PLUS || H5
|
||||||
.pro-card /deep/uni-swiper .uni-swiper-dots-horizontal .uni-swiper-dot{
|
.pro-card ::v-deep uni-swiper .uni-swiper-dots-horizontal .uni-swiper-dot{
|
||||||
width: 12rpx;
|
width: 12rpx;
|
||||||
height: 12rpx;
|
height: 12rpx;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
// #endif
|
// #endif
|
||||||
// #ifdef MP
|
// #ifdef MP
|
||||||
.pro-card swiper /deep/.wx-swiper-dot{
|
.pro-card swiper ::v-deep .wx-swiper-dot{
|
||||||
width: 12rpx;
|
width: 12rpx;
|
||||||
height: 12rpx;
|
height: 12rpx;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
|||||||
@@ -269,7 +269,7 @@
|
|||||||
padding: 0 30rpx 30rpx 30rpx;
|
padding: 0 30rpx 30rpx 30rpx;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
/deep/p{
|
::v-deep p{
|
||||||
margin-bottom: 8rpx;
|
margin-bottom: 8rpx;
|
||||||
line-height: 60rpx;
|
line-height: 60rpx;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -212,30 +212,30 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// #ifdef APP-PLUS || H5
|
// #ifdef APP-PLUS || H5
|
||||||
.newsList /deep/uni-swiper .uni-swiper-dots-horizontal{
|
.newsList ::v-deep uni-swiper .uni-swiper-dots-horizontal{
|
||||||
bottom: 50rpx;
|
bottom: 50rpx;
|
||||||
}
|
}
|
||||||
.newsList /deep/uni-swiper .uni-swiper-dots-horizontal .uni-swiper-dot{
|
.newsList ::v-deep uni-swiper .uni-swiper-dots-horizontal .uni-swiper-dot{
|
||||||
width: 10rpx;
|
width: 10rpx;
|
||||||
height: 10rpx;
|
height: 10rpx;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
.newsList /deep/uni-swiper .uni-swiper-dots-horizontal .uni-swiper-dot-active{
|
.newsList ::v-deep uni-swiper .uni-swiper-dots-horizontal .uni-swiper-dot-active{
|
||||||
width: 18rpx;
|
width: 18rpx;
|
||||||
height: 10rpx;
|
height: 10rpx;
|
||||||
border-radius: 6rpx;
|
border-radius: 6rpx;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.newsList .swiper /deep/.uni-swiper-dot ~ .uni-swiper-dot {
|
.newsList .swiper ::v-deep .uni-swiper-dot ~ .uni-swiper-dot {
|
||||||
margin-left: 5rpx;
|
margin-left: 5rpx;
|
||||||
}
|
}
|
||||||
// #endif
|
// #endif
|
||||||
// #ifdef MP
|
// #ifdef MP
|
||||||
.newsList /deep/wx-swiper .wx-swiper-dots-horizontal{
|
.newsList ::v-deep wx-swiper .wx-swiper-dots-horizontal{
|
||||||
bottom: 50rpx;
|
bottom: 50rpx;
|
||||||
}
|
}
|
||||||
.newsList .swiper /deep/.wx-swiper-dot~.wx-swiper-dot {
|
.newsList .swiper ::v-deep .wx-swiper-dot~.wx-swiper-dot {
|
||||||
width: 10rpx;
|
width: 10rpx;
|
||||||
height: 10rpx;
|
height: 10rpx;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
|||||||
@@ -449,7 +449,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
/deep/ .styleAll {
|
::v-deep .styleAll {
|
||||||
padding: 0 6rpx;
|
padding: 0 6rpx;
|
||||||
border: 1rpx solid #dddddd;
|
border: 1rpx solid #dddddd;
|
||||||
border-radius: 8rpx;
|
border-radius: 8rpx;
|
||||||
|
|||||||
@@ -111,7 +111,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
/deep/uni-radio .uni-radio-input {
|
::v-deep uni-radio .uni-radio-input {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -751,7 +751,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: -10rpx;
|
top: -10rpx;
|
||||||
right: -20rpx;
|
right: -20rpx;
|
||||||
/deep/ .uni-badge--error {
|
::v-deep .uni-badge--error {
|
||||||
background-color: var(--view-theme) !important;
|
background-color: var(--view-theme) !important;
|
||||||
}
|
}
|
||||||
.uni-badge {
|
.uni-badge {
|
||||||
|
|||||||
@@ -517,7 +517,7 @@
|
|||||||
align-self: flex-start;
|
align-self: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list /deep/ .uni-input-input {
|
.list ::v-deep .uni-input-input {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
color: var(--view-theme);
|
color: var(--view-theme);
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
|||||||
@@ -122,11 +122,11 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
/deep/.splitOrder uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked{
|
::v-deep .splitOrder uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked{
|
||||||
border: 1px solid var(--view-theme)!important;
|
border: 1px solid var(--view-theme)!important;
|
||||||
background-color: var(--view-theme)!important;
|
background-color: var(--view-theme)!important;
|
||||||
}
|
}
|
||||||
/deep/.splitOrder checkbox .wx-checkbox-input.wx-checkbox-input-checked{
|
::v-deep .splitOrder checkbox .wx-checkbox-input.wx-checkbox-input-checked{
|
||||||
border: 1px solid var(--view-theme)!important;
|
border: 1px solid var(--view-theme)!important;
|
||||||
background-color: var(--view-theme)!important;
|
background-color: var(--view-theme)!important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -355,7 +355,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
/deep/ .lucky-wheel .marquee-item {
|
::v-deep .lucky-wheel .marquee-item {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 20rpx !important;
|
font-size: 20rpx !important;
|
||||||
color: #E93323 !important;
|
color: #E93323 !important;
|
||||||
@@ -366,7 +366,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .lottery .marquee-item {
|
::v-deep .lottery .marquee-item {
|
||||||
letter-spacing: 2px;
|
letter-spacing: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -384,7 +384,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .safe-area-inset-bottom {
|
::v-deep .safe-area-inset-bottom {
|
||||||
height: 0;
|
height: 0;
|
||||||
height: constant(safe-area-inset-bottom);
|
height: constant(safe-area-inset-bottom);
|
||||||
height: env(safe-area-inset-bottom);
|
height: env(safe-area-inset-bottom);
|
||||||
|
|||||||
@@ -278,7 +278,7 @@
|
|||||||
background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 49%, rgba(255, 255, 255, 0) 100%);
|
background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 49%, rgba(255, 255, 255, 0) 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/.marquee-item {
|
::v-deep .marquee-item {
|
||||||
font-size: 20rpx;
|
font-size: 20rpx;
|
||||||
color: #E93323;
|
color: #E93323;
|
||||||
|
|
||||||
|
|||||||
@@ -1849,17 +1849,17 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
/deep/.uni-date-x--border {
|
::v-deep .uni-date-x--border {
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
/deep/.uni-icons {
|
::v-deep .uni-icons {
|
||||||
font-size: 0 !important;
|
font-size: 0 !important;
|
||||||
}
|
}
|
||||||
/deep/.uni-date-x {
|
::v-deep .uni-date-x {
|
||||||
color: #999;
|
color: #999;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
/deep/.uni-date__x-input {
|
::v-deep .uni-date__x-input {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
.height-add {
|
.height-add {
|
||||||
@@ -1867,10 +1867,10 @@ export default {
|
|||||||
height: calc(176rpx + env(safe-area-inset-bottom)); ///兼容 IOS>11.2/
|
height: calc(176rpx + env(safe-area-inset-bottom)); ///兼容 IOS>11.2/
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/uni-checkbox[disabled] .uni-checkbox-input {
|
::v-deep uni-checkbox[disabled] .uni-checkbox-input {
|
||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
}
|
}
|
||||||
/deep/ checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
::v-deep checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
||||||
border: 1px solid var(--view-theme) !important;
|
border: 1px solid var(--view-theme) !important;
|
||||||
background-color: var(--view-theme) !important;
|
background-color: var(--view-theme) !important;
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
@@ -1916,7 +1916,7 @@ export default {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
.order-submission /deep/ .gift-message-card {
|
.order-submission ::v-deep .gift-message-card {
|
||||||
margin: 20rpx 20rpx 0 20rpx;
|
margin: 20rpx 20rpx 0 20rpx;
|
||||||
}
|
}
|
||||||
.address {
|
.address {
|
||||||
|
|||||||
@@ -547,7 +547,7 @@ export default {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: -16rpx;
|
top: -16rpx;
|
||||||
right: -30rpx;
|
right: -30rpx;
|
||||||
/deep/ .uni-badge--error {
|
::v-deep .uni-badge--error {
|
||||||
background-color: var(--view-theme) !important;
|
background-color: var(--view-theme) !important;
|
||||||
}
|
}
|
||||||
.uni-badge {
|
.uni-badge {
|
||||||
|
|||||||
@@ -476,7 +476,7 @@
|
|||||||
align-self: flex-start;
|
align-self: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list /deep/ .uni-input-input {
|
.list ::v-deep .uni-input-input {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -332,7 +332,7 @@ page {
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
/deep/uni-scroll-view{
|
::v-deep uni-scroll-view{
|
||||||
padding-bottom: 0!important;
|
padding-bottom: 0!important;
|
||||||
}
|
}
|
||||||
.height-add {
|
.height-add {
|
||||||
|
|||||||
@@ -884,7 +884,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: -10rpx;
|
top: -10rpx;
|
||||||
right: -20rpx;
|
right: -20rpx;
|
||||||
/deep/ .uni-badge--error {
|
::v-deep .uni-badge--error {
|
||||||
background-color: var(--view-theme) !important;
|
background-color: var(--view-theme) !important;
|
||||||
}
|
}
|
||||||
.uni-badge {
|
.uni-badge {
|
||||||
|
|||||||
@@ -821,7 +821,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: -10rpx;
|
top: -10rpx;
|
||||||
right: -20rpx;
|
right: -20rpx;
|
||||||
/deep/ .uni-badge--error {
|
::v-deep .uni-badge--error {
|
||||||
background-color: var(--view-theme) !important;
|
background-color: var(--view-theme) !important;
|
||||||
}
|
}
|
||||||
.uni-badge {
|
.uni-badge {
|
||||||
|
|||||||
@@ -2058,21 +2058,21 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.popup-content /deep/ checkbox .uni-checkbox-input.uni-checkbox-input-checked {
|
.popup-content ::v-deep checkbox .uni-checkbox-input.uni-checkbox-input-checked {
|
||||||
border: 1px solid var(--view-theme) !important;
|
border: 1px solid var(--view-theme) !important;
|
||||||
background-color: var(--view-theme) !important;
|
background-color: var(--view-theme) !important;
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
}
|
}
|
||||||
.popup-content /deep/ checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
.popup-content ::v-deep checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
||||||
border: 1px solid var(--view-theme) !important;
|
border: 1px solid var(--view-theme) !important;
|
||||||
background-color: var(--view-theme) !important;
|
background-color: var(--view-theme) !important;
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
}
|
}
|
||||||
.popup-content /deep/ radio .uni-radio-input.uni-radio-input-checked {
|
.popup-content ::v-deep radio .uni-radio-input.uni-radio-input-checked {
|
||||||
border: 1px solid var(--view-theme) !important;
|
border: 1px solid var(--view-theme) !important;
|
||||||
background-color: var(--view-theme) !important;
|
background-color: var(--view-theme) !important;
|
||||||
}
|
}
|
||||||
.popup-content /deep/ radio .wx-radio-input.wx-radio-input-checked {
|
.popup-content ::v-deep radio .wx-radio-input.wx-radio-input-checked {
|
||||||
border: 1px solid var(--view-theme) !important;
|
border: 1px solid var(--view-theme) !important;
|
||||||
background-color: var(--view-theme) !important;
|
background-color: var(--view-theme) !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -828,15 +828,15 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/.dot0 .uni-swiper-dots-horizontal {
|
::v-deep .dot0 .uni-swiper-dots-horizontal {
|
||||||
left: 10%;
|
left: 10%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/.dot1 .uni-swiper-dots-horizontal {
|
::v-deep .dot1 .uni-swiper-dots-horizontal {
|
||||||
left: 50%;
|
left: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/.dot2 .uni-swiper-dots-horizontal {
|
::v-deep .dot2 .uni-swiper-dots-horizontal {
|
||||||
left: 90%;
|
left: 90%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -92,11 +92,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/uni-video {
|
::v-deep uni-video {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/video {
|
::v-deep video {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -277,27 +277,27 @@
|
|||||||
|
|
||||||
// 圆形指示点
|
// 圆形指示点
|
||||||
&.circular {
|
&.circular {
|
||||||
/deep/.uni-swiper-dot {
|
::v-deep .uni-swiper-dot {
|
||||||
width: 10rpx !important;
|
width: 10rpx !important;
|
||||||
height: 10rpx !important;
|
height: 10rpx !important;
|
||||||
background: rgba(0, 0, 0, .4) !important
|
background: rgba(0, 0, 0, .4) !important
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/.uni-swiper-dot-active {
|
::v-deep .uni-swiper-dot-active {
|
||||||
background: #fff !important
|
background: #fff !important
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 方形指示点
|
// 方形指示点
|
||||||
&.square {
|
&.square {
|
||||||
/deep/.uni-swiper-dot {
|
::v-deep .uni-swiper-dot {
|
||||||
width: 20rpx !important;
|
width: 20rpx !important;
|
||||||
height: 5rpx !important;
|
height: 5rpx !important;
|
||||||
border-radius: 3rpx;
|
border-radius: 3rpx;
|
||||||
background: rgba(0, 0, 0, .4) !important
|
background: rgba(0, 0, 0, .4) !important
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/.uni-swiper-dot-active {
|
::v-deep .uni-swiper-dot-active {
|
||||||
background: #fff !important
|
background: #fff !important
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -125,24 +125,24 @@
|
|||||||
}
|
}
|
||||||
// 圆形指示点
|
// 圆形指示点
|
||||||
&.circular{
|
&.circular{
|
||||||
/deep/.uni-swiper-dot{
|
::v-deep .uni-swiper-dot{
|
||||||
width: 10rpx!important;
|
width: 10rpx!important;
|
||||||
height: 10rpx!important;
|
height: 10rpx!important;
|
||||||
background: rgba(0,0,0,.4)!important
|
background: rgba(0,0,0,.4)!important
|
||||||
}
|
}
|
||||||
/deep/.uni-swiper-dot-active{
|
::v-deep .uni-swiper-dot-active{
|
||||||
background: #fff!important
|
background: #fff!important
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 方形指示点
|
// 方形指示点
|
||||||
&.square{
|
&.square{
|
||||||
/deep/.uni-swiper-dot{
|
::v-deep .uni-swiper-dot{
|
||||||
width: 20rpx!important;
|
width: 20rpx!important;
|
||||||
height: 5rpx!important;
|
height: 5rpx!important;
|
||||||
border-radius: 3rpx;
|
border-radius: 3rpx;
|
||||||
background: rgba(0,0,0,.4)!important
|
background: rgba(0,0,0,.4)!important
|
||||||
}
|
}
|
||||||
/deep/.uni-swiper-dot-active{
|
::v-deep .uni-swiper-dot-active{
|
||||||
background: #fff!important
|
background: #fff!important
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1242,7 +1242,7 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
/deep/ checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
::v-deep checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
||||||
border: 1px solid #2D8CF0 !important;
|
border: 1px solid #2D8CF0 !important;
|
||||||
background-color: #2D8CF0 !important;
|
background-color: #2D8CF0 !important;
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
|
|||||||
@@ -1610,7 +1610,7 @@
|
|||||||
display: block;
|
display: block;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
/deep/.brand-tag{
|
::v-deep .brand-tag{
|
||||||
background-color: $primary-merchant;
|
background-color: $primary-merchant;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -740,7 +740,7 @@
|
|||||||
.pb-box{
|
.pb-box{
|
||||||
padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
|
padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
|
||||||
}
|
}
|
||||||
/deep/.brand-tag{
|
::v-deep .brand-tag{
|
||||||
background-color: $primary-merchant;
|
background-color: $primary-merchant;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -861,7 +861,7 @@
|
|||||||
background: $light-primary-merchant;
|
background: $light-primary-merchant;
|
||||||
border-color: $primary-merchant;
|
border-color: $primary-merchant;
|
||||||
}
|
}
|
||||||
/deep/.brand-tag{
|
::v-deep .brand-tag{
|
||||||
background-color: $primary-merchant;
|
background-color: $primary-merchant;
|
||||||
}
|
}
|
||||||
.pb-box{
|
.pb-box{
|
||||||
|
|||||||
@@ -773,7 +773,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: -10rpx;
|
top: -10rpx;
|
||||||
right: -20rpx;
|
right: -20rpx;
|
||||||
/deep/ .uni-badge--error {
|
::v-deep .uni-badge--error {
|
||||||
background-color: $primary-merchant !important;
|
background-color: $primary-merchant !important;
|
||||||
}
|
}
|
||||||
.uni-badge {
|
.uni-badge {
|
||||||
@@ -791,7 +791,7 @@
|
|||||||
.disabled-btn{
|
.disabled-btn{
|
||||||
color: #DEDEDE;
|
color: #DEDEDE;
|
||||||
}
|
}
|
||||||
/deep/.brand-tag{
|
::v-deep .brand-tag{
|
||||||
background-color: $primary-merchant;
|
background-color: $primary-merchant;
|
||||||
}
|
}
|
||||||
.pb-box{
|
.pb-box{
|
||||||
|
|||||||
@@ -339,7 +339,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: -20rpx;
|
top: -20rpx;
|
||||||
right: 26rpx;
|
right: 26rpx;
|
||||||
/deep/ .uni-badge--error {
|
::v-deep .uni-badge--error {
|
||||||
background-color: $primary-merchant !important;
|
background-color: $primary-merchant !important;
|
||||||
}
|
}
|
||||||
.uni-badge {
|
.uni-badge {
|
||||||
|
|||||||
@@ -1320,7 +1320,7 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
/deep/ checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
::v-deep checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
||||||
border: 1px solid var(--view-theme) !important;
|
border: 1px solid var(--view-theme) !important;
|
||||||
background-color: var(--view-theme) !important;
|
background-color: var(--view-theme) !important;
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ export default {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
/deep/ .bind-phone {
|
::v-deep .bind-phone {
|
||||||
margin-top: 12rpx;
|
margin-top: 12rpx;
|
||||||
background: rgba(255, 255, 255, 0.3);
|
background: rgba(255, 255, 255, 0.3);
|
||||||
border-radius: 30px;
|
border-radius: 30px;
|
||||||
@@ -125,7 +125,7 @@ export default {
|
|||||||
line-height: 28rpx;
|
line-height: 28rpx;
|
||||||
padding: 6rpx 16rpx;
|
padding: 6rpx 16rpx;
|
||||||
}
|
}
|
||||||
/deep/ .tips::before {
|
::v-deep .tips::before {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: -6rpx;
|
bottom: -6rpx;
|
||||||
|
|||||||
@@ -53,14 +53,14 @@ export default {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
// /deep/ .section-content .uni-badge-left-margin {
|
// ::v-deep .section-content .uni-badge-left-margin {
|
||||||
// position: absolute;
|
// position: absolute;
|
||||||
// top: 0rpx;
|
// top: 0rpx;
|
||||||
// right: 44rpx;
|
// right: 44rpx;
|
||||||
// /deep/.uni-badge--error {
|
// ::v-deep .uni-badge--error {
|
||||||
// background-color: #fff !important;
|
// background-color: #fff !important;
|
||||||
// }
|
// }
|
||||||
// /deep/.uni-badge {
|
// ::v-deep .uni-badge {
|
||||||
// color: var(--view-theme);
|
// color: var(--view-theme);
|
||||||
// border: 1px solid var(--view-theme);
|
// border: 1px solid var(--view-theme);
|
||||||
// z-index: 29;
|
// z-index: 29;
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ export default {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: -20rpx;
|
top: -20rpx;
|
||||||
right: 26rpx;
|
right: 26rpx;
|
||||||
/deep/ .uni-badge--error {
|
::v-deep .uni-badge--error {
|
||||||
background-color: var(--view-theme) !important;
|
background-color: var(--view-theme) !important;
|
||||||
}
|
}
|
||||||
.uni-badge {
|
.uni-badge {
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ export default {
|
|||||||
.uni-badge--error {
|
.uni-badge--error {
|
||||||
background-color: #fff !important;
|
background-color: #fff !important;
|
||||||
}
|
}
|
||||||
/deep/ .uni-badge--error {
|
::v-deep .uni-badge--error {
|
||||||
background-color: var(--view-theme) !important;
|
background-color: var(--view-theme) !important;
|
||||||
}
|
}
|
||||||
.uni-badge {
|
.uni-badge {
|
||||||
|
|||||||
@@ -662,7 +662,7 @@ export default {
|
|||||||
height: 98rpx;
|
height: 98rpx;
|
||||||
}
|
}
|
||||||
.user-page {
|
.user-page {
|
||||||
padding-bottom: calc(100rpx+ constant(safe-area-inset-bottom));
|
padding-bottom: calc(100rpx + constant(safe-area-inset-bottom));
|
||||||
padding-bottom: calc(100rpx + env(safe-area-inset-bottom));
|
padding-bottom: calc(100rpx + env(safe-area-inset-bottom));
|
||||||
padding-bottom: 100rpx;
|
padding-bottom: 100rpx;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -505,8 +505,8 @@
|
|||||||
margin: 0rpx 20rpx 0rpx 20rpx;
|
margin: 0rpx 20rpx 0rpx 20rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
/deep/ .uni-input-placeholder,
|
::v-deep .uni-input-placeholder,
|
||||||
/deep/ .uni-input-input{
|
::v-deep .uni-input-input{
|
||||||
color: #bbb;
|
color: #bbb;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -365,7 +365,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
/deep/ checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
::v-deep checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
||||||
border: 1px solid var(--view-theme) !important;
|
border: 1px solid var(--view-theme) !important;
|
||||||
background-color: var(--view-theme) !important;
|
background-color: var(--view-theme) !important;
|
||||||
width: 28rpx;
|
width: 28rpx;
|
||||||
|
|||||||
@@ -640,7 +640,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
/deep/ checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
::v-deep checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
||||||
border: 1px solid var(--view-theme) !important;
|
border: 1px solid var(--view-theme) !important;
|
||||||
background-color: var(--view-theme) !important;
|
background-color: var(--view-theme) !important;
|
||||||
width: 28rpx;
|
width: 28rpx;
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
/deep/ checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
::v-deep checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
||||||
border: 1px solid var(--view-theme) !important;
|
border: 1px solid var(--view-theme) !important;
|
||||||
background-color: var(--view-theme) !important;
|
background-color: var(--view-theme) !important;
|
||||||
width: 28rpx;
|
width: 28rpx;
|
||||||
|
|||||||
@@ -325,7 +325,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
/deep/ checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
::v-deep checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
||||||
border: 1px solid var(--view-theme) !important;
|
border: 1px solid var(--view-theme) !important;
|
||||||
background-color: var(--view-theme) !important;
|
background-color: var(--view-theme) !important;
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
@@ -380,7 +380,7 @@
|
|||||||
margin-right: 20rpx;
|
margin-right: 20rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/checkbox .uni-checkbox-input {
|
::v-deep checkbox .uni-checkbox-input {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -610,7 +610,7 @@
|
|||||||
// radio-group{
|
// radio-group{
|
||||||
// display: flex;
|
// display: flex;
|
||||||
// }
|
// }
|
||||||
/deep/ uni-radio-input{
|
::v-deep uni-radio-input{
|
||||||
margin-right: 12rpx;
|
margin-right: 12rpx;
|
||||||
.uni-radio-input.uni-radio-input-checked:before {
|
.uni-radio-input.uni-radio-input-checked:before {
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
@@ -646,7 +646,7 @@
|
|||||||
input{
|
input{
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
/deep/.uni-input-input{
|
::v-deep .uni-input-input{
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
}
|
}
|
||||||
.picker{
|
.picker{
|
||||||
|
|||||||
@@ -457,7 +457,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/.disabled .uni-radio-input {
|
::v-deep .disabled .uni-radio-input {
|
||||||
background-color: #F8F8F8;
|
background-color: #F8F8F8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -280,7 +280,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
/deep/.recommend{
|
::v-deep .recommend{
|
||||||
padding: 40rpx 20rpx 0 20rpx;
|
padding: 40rpx 20rpx 0 20rpx;
|
||||||
}
|
}
|
||||||
.my-account{
|
.my-account{
|
||||||
|
|||||||
@@ -220,7 +220,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/.uni-switch-input {
|
::v-deep .uni-switch-input {
|
||||||
width: 84rpx;
|
width: 84rpx;
|
||||||
height: 48rpx;
|
height: 48rpx;
|
||||||
margin: -8rpx 0;
|
margin: -8rpx 0;
|
||||||
|
|||||||
@@ -497,12 +497,12 @@
|
|||||||
border-radius: 15rpx;
|
border-radius: 15rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.distribution-posters /deep/.active {
|
.distribution-posters ::v-deep .active {
|
||||||
transform: none;
|
transform: none;
|
||||||
transition: all 0.2s ease-in 0s;
|
transition: all 0.2s ease-in 0s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.distribution-posters /deep/ .quiet {
|
.distribution-posters ::v-deep .quiet {
|
||||||
transform: scale(0.89);
|
transform: scale(0.89);
|
||||||
transition: all 0.2s ease-in 0s;
|
transition: all 0.2s ease-in 0s;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
/deep/uni-radio .uni-radio-input {
|
::v-deep uni-radio .uni-radio-input {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -384,7 +384,7 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
/deep/ checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
::v-deep checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
||||||
border: 1px solid var(--view-theme) !important;
|
border: 1px solid var(--view-theme) !important;
|
||||||
background-color: var(--view-theme) !important;
|
background-color: var(--view-theme) !important;
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
<button hover-class="none" @tap="wechatLogin" class="bg-color btn1">授权登录</button>
|
<button hover-class="none" @tap="wechatLogin" class="bg-color btn1">授权登录</button>
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
<!-- #ifdef MP -->
|
<!-- #ifdef MP -->
|
||||||
<template v-if="configData.wechat_auth_switch">
|
<template v-if="isWechatAuth">
|
||||||
<button hover-class="none" v-if="bindPhone" open-type="getPhoneNumber" @getphonenumber="getphonenumber"
|
<button hover-class="none" v-if="bindPhone" open-type="getPhoneNumber" @getphonenumber="getphonenumber"
|
||||||
class="bg-color btn1">授权登录</button>
|
class="bg-color btn1">授权登录</button>
|
||||||
<button hover-class="none" v-else-if="!bindPhone" @tap="getAuthLogin"
|
<button hover-class="none" v-else-if="!bindPhone" @tap="getAuthLogin"
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
<button v-else hover-class="none" open-type="getUserInfo" @getuserinfo="setUserInfo"
|
<button v-else hover-class="none" open-type="getUserInfo" @getuserinfo="setUserInfo"
|
||||||
class="bg-color btn1">授权登录</button>
|
class="bg-color btn1">授权登录</button>
|
||||||
</template>
|
</template>
|
||||||
<button v-if="configData.phone_auth_switch" hover-class="none" @tap="phoneLogin" class="btn2">手机号登录</button>
|
<button v-if="isPhoneAuth" hover-class="none" @tap="phoneLogin" class="btn2">手机号登录</button>
|
||||||
<button hover-class="none" @tap="cancelLogin" class="btn3">取消登录</button>
|
<button hover-class="none" @tap="cancelLogin" class="btn3">取消登录</button>
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
</view>
|
</view>
|
||||||
@@ -117,7 +117,7 @@
|
|||||||
canUseGetUserProfile: false,
|
canUseGetUserProfile: false,
|
||||||
canGetPrivacySetting: false,
|
canGetPrivacySetting: false,
|
||||||
mp_is_new: this.$Cache.get('MP_VERSION_ISNEW') || false,
|
mp_is_new: this.$Cache.get('MP_VERSION_ISNEW') || false,
|
||||||
configData: this.$Cache.get('BASIC_CONFIG'),
|
configData: this.$Cache.get('BASIC_CONFIG') || {},
|
||||||
imgHost: HTTP_REQUEST_URL,
|
imgHost: HTTP_REQUEST_URL,
|
||||||
loginBg:'',
|
loginBg:'',
|
||||||
protocol: false,
|
protocol: false,
|
||||||
@@ -129,6 +129,26 @@
|
|||||||
editUserModal,
|
editUserModal,
|
||||||
privacyAgreementPopup
|
privacyAgreementPopup
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
routineAuthTypes() {
|
||||||
|
const types = this.configData.routine_auth_type;
|
||||||
|
if (Array.isArray(types)) return types.map(item => Number(item));
|
||||||
|
if (typeof types === 'string') return types.split(',').map(item => Number(item));
|
||||||
|
return [];
|
||||||
|
},
|
||||||
|
hasAuthConfig() {
|
||||||
|
return this.routineAuthTypes.length > 0 ||
|
||||||
|
this.configData.wechat_auth_switch !== undefined ||
|
||||||
|
this.configData.phone_auth_switch !== undefined;
|
||||||
|
},
|
||||||
|
isWechatAuth() {
|
||||||
|
if (!this.hasAuthConfig) return true;
|
||||||
|
return Number(this.configData.wechat_auth_switch) === 1 || this.routineAuthTypes.includes(1);
|
||||||
|
},
|
||||||
|
isPhoneAuth() {
|
||||||
|
return Number(this.configData.phone_auth_switch) === 1 || this.routineAuthTypes.includes(2);
|
||||||
|
}
|
||||||
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
if (uni.getUserProfile) {
|
if (uni.getUserProfile) {
|
||||||
this.canUseGetUserProfile = true
|
this.canUseGetUserProfile = true
|
||||||
@@ -556,7 +576,7 @@
|
|||||||
page {
|
page {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
/deep/ checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
::v-deep checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
||||||
border: 1px solid var(--view-theme) !important;
|
border: 1px solid var(--view-theme) !important;
|
||||||
background-color: var(--view-theme) !important;
|
background-color: var(--view-theme) !important;
|
||||||
width: 28rpx;
|
width: 28rpx;
|
||||||
|
|||||||
@@ -90,3 +90,10 @@ $uni-color-subtitle: #555555; // 二级标题颜色
|
|||||||
$uni-font-size-subtitle:36upx;
|
$uni-font-size-subtitle:36upx;
|
||||||
$uni-color-paragraph: #3F536E; // 文章段落颜色
|
$uni-color-paragraph: #3F536E; // 文章段落颜色
|
||||||
$uni-font-size-paragraph:30upx;
|
$uni-font-size-paragraph:30upx;
|
||||||
|
|
||||||
|
/* 文字基本颜色 */
|
||||||
|
$uni-text-color: #333333; // 基本色
|
||||||
|
$uni-text-color-inverse: #ffffff; // 反色
|
||||||
|
$uni-text-color-grey: #999999; // 辅助灰色
|
||||||
|
$uni-text-color-placeholder: #808080;
|
||||||
|
$uni-text-color-disable: #c0c0c0;
|
||||||
|
|||||||
Reference in New Issue
Block a user