Commit 961c9861 authored by jyx's avatar jyx

代码优化

parent f497badd
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
{{item.oldPrice}} {{item.oldPrice}}
</view> </view>
<view class="origin row" v-if='item.oldPrice'> <view class="origin2 row" v-if='item.oldPrice'>
{{item.remarks }} {{item.remarks }}
</view> </view>
...@@ -270,7 +270,15 @@ ...@@ -270,7 +270,15 @@
text-decoration: line-through; text-decoration: line-through;
} }
.origin2 {
font-size: 22rpx;
text-align: center;
color: #676666;
}
.label { .label {
margin-top: -4rpx;
margin-left: -4rpx;
border-radius: 20rpx 0 20rpx 0; border-radius: 20rpx 0 20rpx 0;
width: 80%; width: 80%;
background: linear-gradient(90deg, #FC4F3B, #FBCB7A); background: linear-gradient(90deg, #FC4F3B, #FBCB7A);
...@@ -286,6 +294,9 @@ ...@@ -286,6 +294,9 @@
} }
.label2 { .label2 {
margin-bottom: -4rpx;
margin-left: -4rpx;
margin-right: -4rpx;
width: 100%; width: 100%;
border-radius: 0 0 20rpx 20rpx; border-radius: 0 0 20rpx 20rpx;
background-color: #FC4F3B; background-color: #FC4F3B;
......
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