作者 rico

稍微改了一点

... ... @@ -43,19 +43,21 @@
<text>维护包</text>
</view>
<view class="equipment">
<view v-for="(item,index) in care_package_list" class="equipment-wrp">
<label class="radio">
<radio value="11111" /><text>1111</text>
</label>
<checkbox checked="true" />
<image src="../../../static/imgs/app_icon/icon1.png" mode=""></image>
<view>
<text>{{item.package_name}}</text>
<text class="dol">{{item.package_price}}</text>
<radio-group>
<label class="lable" v-for="(item,index) in care_package_list">
<radio :value="item.id" />
<view class="equipment">
<view class="equipment-wrp">
<image src="../../../static/imgs/app_icon/icon1.png" mode=""></image>
<view>
<text>{{item.package_name}}</text>
<text class="dol">{{item.package_price}}</text>
</view>
</view>
</view>
</view>
</label>
</radio-group>
<view class="bottom-wrp">
<text @click="callPhone">联系电话: 11111111111111</text>
... ... @@ -139,6 +141,13 @@
</script>
<style lang="scss" scoped>
.lable{
display: flex;
width: 686rpx;
align-items: center;
margin: 0 auto;
margin-left: 32rpx;
}
.dol::before{
content: '¥';
font-size: 22rpx;
... ... @@ -147,10 +156,6 @@
.equipment{
background-color: white;
border-radius: 16rpx;
width: 686rpx;
margin: 0 auto;
padding-left: 32rpx;
padding-right: 32rpx;
}
.equipment-wrp{
display: flex;
... ... @@ -180,6 +185,9 @@
.bottom-wrp{
width: 686rpx;
text-align: center;
padding-top: 32rpx;
padding-bottom: 32rpx;
margin: 0 auto;
>text{
color: #576B95;
text-decoration: underline;
... ...