quanwei
2025-10-29 76ed09d116f484b261d44219de300b79eb2013b3
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
<template>
    <view class="p30">
        <view class="title p30 bg-white f30 lh200 radius8">
              <view>{{ detail.content }}</view>
              <view v-for="(item, index) in img_list" :key="index">
                 <image :src="item.file_path" mode="aspectFit"></image>
              </view>
 
        </view>
    
        </view>
    </view>
</template>
 
<script>
    import utils from '@/common/utils.js';
    export default {
        data() {
            return {
                detail: '',
                img_list:[]
            }
        },
        onLoad(e) {
            /*id*/
            this.upload_id = e.upload_id;
        },
        mounted(){
            uni.showLoading({
                title: '加载中'
            });
            this.getData();
        },
        methods: {
            getData(){
                let self = this;
                let upload_id = self.upload_id;
                self._get('plus.ticket.index/detail', {upload_id: upload_id}, function (res)
                {
                    self.detail= res.data.detail;
                    self.img_list= res.data.detail.image;
                    uni.hideLoading();
                });
            }
        }
    }
</script>
 
<style>
 
</style>