| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- <template>
- <view class="address-index flex-common-css box-border-box iPhone-bottom bgc-f">
- <Nav title="地址管理"></Nav>
-
-
- <view v-if="list.length !== 0" class="scroll-view-css">
- <EnBlank :customSrc='true'>
- <template v-slot:blankImg>
- <image class="black-custom-img" src="@/static/img/common/no-order.png" mode=""></image>
- </template>
- </EnBlank>
- </view>
- <view v-else class="scroll-view-css box-border-box p-24 ">
- <view class="list-box" v-for="(item,i) in 10" :key="i" @click.stop="to(1,item)">
- <view class=" mb-8 display-flex">
- <view v-if="true" class="list-box-only fs-24 fc-FE9E11 text-align-center">默认</view>
- <view class="fs-34 fw-500 mr-10">重庆工商职业学校3栋1楼503重1重庆工商职业学校3栋1楼503重1</view>
- </view>
- <view class="w-520 fs-26 fc-9 align-items-center">
- <view class="fs-24 fc-9 mr-24">张晓鹏</view>
- <view class="fs-24 fc-9">18883660721</view>
- </view>
-
- <image src="@/static/img/common/edit.png" mode=""></image>
-
- </view>
- </view>
-
- <view class="box-border-box p-24" @click="to(2)">
- <view class="add-box text-align-center fs-34 fc-f">新增地址</view>
- </view>
- </view>
- </template>
- <script>
- import EnBlank from "@/components/en-utils/en-blank/en-blank";
- import tools from "@/service/tools.js";
- export default {
- components:{EnBlank,},
- data(){
- return{
- list:[],
- }
- },
- onShow() {
-
- },
- methods:{
- getList(){
-
- },
-
- to(type,item){
- if(type === 1){
- uni.navigateTo({
- url:"pages/me/address-magen/edit-add?id=" + item.id
- })
- }else{
- uni.navigateTo({
- url:"pages/me/address-magen/edit-add"
- })
- }
- },
- },
- }
- </script>
- <style scoped lang="scss">
- .address-index{
- .w-520{
- width: 570rpx;
- }
- .add-box{
- width: 100%;
- height: 80rpx;
- line-height: 80rpx;
- background-color: #2F80ED;
- border-radius: 200rpx;
-
- }
- .list-box{
- margin-bottom: 24rpx;
- padding-bottom: 24rpx;
- border-bottom: 2rpx solid #F9F9F9;
- position: relative;
-
- image{
- width: 48rpx;
- height: 48rpx;
- position: absolute;
- top: 42rpx;
- right: 40rpx;
- }
- .del-icon{
- position: absolute;
- top: 45rpx;
- right: 0;
- }
- .list-box-only{
- width: 64rpx;
- height: 34rpx;
- line-height: 34rpx;
- border-radius: 8rpx;
- border: 2rpx solid #FE9E11;
- }
- }
-
- }
- </style>
|