|
@@ -16,11 +16,11 @@
|
|
|
<view class="option_title">个人资料</view>
|
|
|
<u-icon name="arrow-right" size="20"></u-icon>
|
|
|
</view> -->
|
|
|
- <view class="space_between card_mine_option" @click="changePassword">
|
|
|
+ <view class="space_between card_mine_option frame" @click="changePassword">
|
|
|
<view class="option_title">修改密码</view>
|
|
|
<u-icon name="arrow-right" size="20"></u-icon>
|
|
|
</view>
|
|
|
- <view class="space_between card_mine_option" @click="goAddress">
|
|
|
+ <view class="space_between card_mine_option frame" @click="goAddress">
|
|
|
<view class="option_title">地址管理</view>
|
|
|
<u-icon name="arrow-right" size="20"></u-icon>
|
|
|
</view>
|
|
@@ -28,7 +28,7 @@
|
|
|
<view class="option_title">我的安全检查</view>
|
|
|
<u-icon name="arrow-right" size="20"></u-icon>
|
|
|
</view> -->
|
|
|
- <view class="space_between card_mine_option" @click="goSet">
|
|
|
+ <view class="space_between card_mine_option frame" @click="goSet">
|
|
|
<view class="option_title">系统设置</view>
|
|
|
<u-icon name="arrow-right" size="20"></u-icon>
|
|
|
</view>
|
|
@@ -149,8 +149,26 @@
|
|
|
.card_mine_option {
|
|
|
margin: 40rpx 0rpx;
|
|
|
padding-bottom: 30rpx;
|
|
|
- border-bottom: 2rpx solid transparent;
|
|
|
- border-image: linear-gradient(to bottom, transparent 50%, #e7e6e4 50%) 0 0 100% 0;
|
|
|
+ // border-bottom: 2rpx solid transparent;
|
|
|
+ // border-image: linear-gradient(to bottom, transparent 50%, #e7e6e4 50%) 0 0 100% 0;
|
|
|
+ }
|
|
|
+ .frame {
|
|
|
+ position: relative; //重要
|
|
|
+ }
|
|
|
+
|
|
|
+ .frame::after {
|
|
|
+ position: absolute;
|
|
|
+ content: '';
|
|
|
+ border-bottom: 2rpx solid #e7e6e4;
|
|
|
+ // border-radius: 16rpx;
|
|
|
+ width: 200%;
|
|
|
+ height: 200%;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ transform: scale(0.5);
|
|
|
+ transform-origin: 0 0;
|
|
|
+ pointer-events: none;
|
|
|
+ /* 使伪元素不会阻止鼠标事件 */
|
|
|
}
|
|
|
|
|
|
.option_title {
|