微信小程序cover-view不支持设置单边的border,可以新增一个元素来模拟边框效果
<cover-view class='dialog-content'>12345上山打老虎!</cover-view>
<cover-view class="dialog-longline"></cover-view>
.dialog-longline {width: 100%;height: 2rpx;background-color:red;
}
微信小程序cover-view不支持设置单边的border,可以新增一个元素来模拟边框效果
<cover-view class='dialog-content'>12345上山打老虎!</cover-view>
<cover-view class="dialog-longline"></cover-view>
.dialog-longline {width: 100%;height: 2rpx;background-color:red;
}