调整发布优惠券样式
This commit is contained in:
@@ -140,92 +140,64 @@
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
$box-height: 35px;
|
||||
/* #ifdef APP-NVUE */
|
||||
$box-line-height: 35px;
|
||||
/* #endif */
|
||||
$box-line-height: 26px;
|
||||
$box-width: 35px;
|
||||
|
||||
.uni-numbox {
|
||||
/* #ifndef APP-NVUE */
|
||||
display: flex;
|
||||
/* #endif */
|
||||
flex-direction: row;
|
||||
height: $box-height;
|
||||
line-height: $box-height;
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.uni-cursor-point {
|
||||
/* #ifdef H5 */
|
||||
cursor: pointer;
|
||||
/* #endif */
|
||||
}
|
||||
|
||||
.uni-numbox__value {
|
||||
background-color: $uni-bg-color;
|
||||
width: 50px;
|
||||
height: $box-height;
|
||||
text-align: center;
|
||||
font-size: $uni-font-size-lg;
|
||||
border-width: 1rpx;
|
||||
border-style: solid;
|
||||
border-color: $uni-border-color;
|
||||
border-left-width: 0;
|
||||
border-right-width: 0;
|
||||
}
|
||||
|
||||
.uni-numbox__minus {
|
||||
/* #ifndef APP-NVUE */
|
||||
display: flex;
|
||||
/* #endif */
|
||||
flex-direction: row;
|
||||
<style lang="scss" scoped>
|
||||
$box-height: 50rpx;
|
||||
/* #ifdef APP-NVUE */
|
||||
$box-line-height: 50rpx;
|
||||
/* #endif */
|
||||
$box-line-height: 50rpx;
|
||||
$box-width: 50rpx;
|
||||
|
||||
.uni-numbox {
|
||||
/* #ifndef APP-NVUE */
|
||||
display: flex;
|
||||
/* #endif */
|
||||
flex-direction: row;
|
||||
height: $box-height;
|
||||
line-height: $box-height - 7rpx;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
// width: 120px;
|
||||
}
|
||||
|
||||
.uni-cursor-point {
|
||||
/* #ifdef H5 */
|
||||
cursor: pointer;
|
||||
/* #endif */
|
||||
}
|
||||
|
||||
.uni-numbox__value {
|
||||
background-color: $uni-bg-color;
|
||||
width: 50px;
|
||||
height: $box-height;
|
||||
text-align: center;
|
||||
font-size: $uni-font-size-lg;
|
||||
}
|
||||
|
||||
.uni-numbox__minus {
|
||||
width: $box-width;
|
||||
height: $box-height;
|
||||
// line-height: $box-line-height;
|
||||
// text-align: center;
|
||||
font-size: 20px;
|
||||
color: $uni-text-color;
|
||||
background-color: $uni-bg-color-grey;
|
||||
border-width: 1rpx;
|
||||
border-style: solid;
|
||||
border-color: $uni-border-color;
|
||||
border-top-left-radius: $uni-border-radius-base;
|
||||
border-bottom-left-radius: $uni-border-radius-base;
|
||||
border-right-width: 0;
|
||||
}
|
||||
|
||||
.uni-numbox__plus {
|
||||
/* #ifndef APP-NVUE */
|
||||
display: flex;
|
||||
/* #endif */
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: $box-width;
|
||||
background: $border-color-lg;
|
||||
border-radius: 50%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.uni-numbox__plus {
|
||||
width: $box-width;
|
||||
height: $box-height;
|
||||
border-width: 1rpx;
|
||||
border-style: solid;
|
||||
border-color: $uni-border-color;
|
||||
border-top-right-radius: $uni-border-radius-base;
|
||||
border-bottom-right-radius: $uni-border-radius-base;
|
||||
background-color: $uni-bg-color-grey;
|
||||
border-left-width: 0;
|
||||
}
|
||||
|
||||
.uni-numbox--text {
|
||||
font-size: 20px;
|
||||
color: $uni-text-color;
|
||||
}
|
||||
|
||||
.uni-numbox--disabled {
|
||||
color: $uni-text-color-disable;
|
||||
/* #ifdef H5 */
|
||||
cursor: not-allowed;
|
||||
/* #endif */
|
||||
}
|
||||
background: $border-color-lg;
|
||||
border-radius: 50%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.uni-numbox--text {
|
||||
font-size: 20px;
|
||||
color: $uni-text-color;
|
||||
}
|
||||
|
||||
.uni-numbox--disabled {
|
||||
color: $uni-text-color-disable;
|
||||
/* #ifdef H5 */
|
||||
cursor: not-allowed;
|
||||
/* #endif */
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user