1
xuxueyang
2024-07-31 fba19090a86a4821fd70c301a5a0cd1e4b7f3244
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
<template>
    <view class="shop-detail">
        <view v-if="dto.id">
            <!-- 图片+2个icon -->
            <view>
                
            </view>
 
        </view>
    </view>
</template>
 
<script>
    export default {
        data() {
            return {
                dto: {
 
                },
                id: ''
            };
        },
        async onLoad(options) {
            this.id = options.id || ''
            await this.init()
 
        },
        async onPullDownRefresh() {
            await this.init()
            uni.stopPullDownRefresh()
        },
        methods: {
            async init() {
                this.$message.showLoading()
                const {
                    data
                } = await this.$http.request('get', '/api/customer/flower/list/view' + this.id, {
 
                })
 
                this.$message.hideLoading()
                this.dto = {
                    ...data
                }
                
            },
        }
    }
</script>
 
<style lang="scss" scoped>
    .shop-detail{
        
    }
 
</style>