huangsijun
2025-09-22 a78c011de350b188afb03beb2f26a73f35f71986
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<template>
    <div>
        <!--地址-->
        <template v-if="!extract_store.store_id">
            <view class="add-address d-s-c" @click="addAddress()">
                <view class="icon-box mr10"><span class="icon iconfont icon-dizhi1"></span></view>
                <text>请选择自提点</text>
            </view>
        </template>
        <template v-else>
            <view class="address-defalut-wrap">
                <view class="info d-s-s">
                    <text class="state">当前自提点</text>
                    <view class="province-c-a d-s-s flex-1">
                        <text>{{ extract_store.region.province }}</text>
                        <text>{{ extract_store.region.city }}</text>
                        <text>{{ extract_store.region.region }}</text>
                    </view>
                </view>
                <view class="address">
                    <text class="fb gray3">{{ extract_store.store_name }}</text>
                    <view class="icon-box" @click="addAddress()"><span class="icon iconfont icon-jiantou"></span></view>
                </view>
                <view class="user">
                    <text class="name">{{ extract_store.address }}</text>
                    <text class="tel">{{ extract_store.phone }}</text>
                </view>
            </view>
        </template>
        <view class="addree-bottom">
            <view class="stripe" v-for="(item, index) in 10" :key="index">
                <text :class="index % 2 == 0 ? 'red' : 'blue'"></text>
                <text class="white"></text>
            </view>
        </view>
 
        <!--自取人的信息-->
        <view class="buy-checkout vender">
            <view class="group-hd">
                <view class="left"><text class="min-name">提货人信息</text></view>
            </view>
            <view class="item">
                <text class="key">联系人:</text>
                <input type="text" v-model="linkman" class="flex-1 f30" placeholder-class="gray" placeholder="请输入联系人" value="" />
            </view>
            <view class="item">
                <text class="key">联系电话:</text>
                <input type="text" v-model="phone" class="flex-1 f30" placeholder-class="gray" placeholder="请输入联系电话" value="" />
            </view>
        </view>
    </div>
</template>
 
<script>
export default {
    data() {
        return {
            linkman: '',
            phone: ''
        };
    },
    props: ['extract_store', 'last_extract'],
    onLoad() {},
    mounted() {
        this.linkman = this.last_extract.linkman;
        this.phone = this.last_extract.phone;
    },
    methods: {
        /*添加地址*/
        addAddress() {
            let store_id = -1;
            if (this.extract_store.store_id) {
                store_id = this.extract_store.store_id;
            }
            this.gotoPage('/pages/store/address/address?store_id=' + store_id);
        }
    }
};
</script>
 
<style scoped>
    .buy-checkout.vender .item .key{ width: 200rpx;}
</style>