Commit 1111bd6e by chenwq

icon

1 parent b9bda942
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
wx:key="index" wx:key="index"
bindtap="handleClick" bindtap="handleClick"
data-idx="{{index + 1}}"> data-idx="{{index + 1}}">
<view wx:if="{{hasOpenIcon && formData['scene' + (index + 1)] && sceneActive != (index + 1)}}" class="open-icon"> <view wx:if="{{hasOpenIcon && formData['scene' + (index + 1)]}}" class="open-icon">
已开通 已开通
</view> </view>
<image wx:if="{{formData['scene' + (index + 1)]}}" class="scene-img" src="{{IMGURL}}output/caract0{{index + 1}}.png?v={{img_version}}" /> <image wx:if="{{formData['scene' + (index + 1)]}}" class="scene-img" src="{{IMGURL}}output/caract0{{index + 1}}.png?v={{img_version}}" />
......
...@@ -41,14 +41,15 @@ ...@@ -41,14 +41,15 @@
.open-icon { .open-icon {
box-sizing: border-box; box-sizing: border-box;
position: absolute; position: absolute;
left: 0.5rpx; left: -0.5rpx;
top: 0.5rpx; top: -0.5rpx;
width: 56rpx; width: 66rpx;
height: 32rpx; height: 32rpx;
line-height: 24rpx; line-height: 24rpx;
background: #FEEBD6; background: #FEEBD6;
border-radius: 6rpx 0 8rpx 0; border-radius: 6rpx 0 8rpx 0;
font-size: 16rpx; font-size: 18rpx;
font-weight: 600;
color: #EF971E; color: #EF971E;
padding: 4rpx; padding: 4rpx;
} }
...@@ -60,7 +61,6 @@ ...@@ -60,7 +61,6 @@
background-image: linear-gradient(145deg, #F0F7FF 0%, #FFFFFF 73%); background-image: linear-gradient(145deg, #F0F7FF 0%, #FFFFFF 73%);
border: 2rpx solid #3666FE; border: 2rpx solid #3666FE;
box-shadow: 0 4rpx 8rpx 0 rgba(180, 186, 204, 0.32), 0 8rpx 20rpx 0 rgba(180, 186, 204, 0.40); box-shadow: 0 4rpx 8rpx 0 rgba(180, 186, 204, 0.32), 0 8rpx 20rpx 0 rgba(180, 186, 204, 0.40);
} }
.active::after { .active::after {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!