作者 Rico

维护页正在进行

... ... @@ -43,22 +43,23 @@
<text>维护包</text>
</view>
<view class="bottom-wrp">
<text @click="callPhone">联系电话: 11111111111111</text>
<view>维护</view>
</view>
<view class="equipment">
<view class="equipment-wrp">
<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>{{user_address.consignee}} {{user_address.phone}}</text>
<text>{{user_address.province_name + user_address.city_name + user_address.area_name + user_address.address}}</text>
<text>{{item.package_name}}</text>
<text class="dol">{{item.package_price}}</text>
</view>
</view>
</view>
<view class="bottom-wrp">
<text @click="callPhone">联系电话: 11111111111111</text>
<view>维护</view>
</view>
</block>
... ... @@ -95,7 +96,8 @@
list2:'',
listSelect:['dnkmsqjodjioqw','fjiwjio'],
value_:'',
user_address:''
user_address:'',
care_package_list:''
};
},
methods:{
... ... @@ -129,6 +131,7 @@
request.post('api/aftersale/careView').then(r=>{
if(r.code === 1){
this.user_address = r.data.user_address
this.care_package_list = r.data.care_package_list
}
})
},
... ... @@ -136,6 +139,11 @@
</script>
<style lang="scss" scoped>
.dol::before{
content: '¥';
font-size: 22rpx;
display: inline-block;
}
.equipment{
background-color: white;
border-radius: 16rpx;
... ... @@ -172,11 +180,6 @@
.bottom-wrp{
width: 686rpx;
text-align: center;
position: absolute;
bottom: 64rpx;
// top:50%;
left:50%;
transform:translate(-50%, -50%);
>text{
color: #576B95;
text-decoration: underline;
... ...