liyaozhi
2025-10-28 1320688354fd168c51cf2e05f29a2253f4ed9c00
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
<template>
    <!--活动规则-->
    <view class="p30">
        <view class="title">
 
        </view>
        <view class="content p30 bg-white f30 lh200 radius8"  v-html="detail">
 
        </view>
    </view>
</template>
 
<script>
    import utils from '@/common/utils.js';
    export default {
        data() {
            return {
                detail: '',
            }
        },
        mounted(){
            uni.showLoading({
                title: '加载中'
            });
            /*获取优惠券列表*/
            this.getData();
        },
        methods: {
            getData(){
                let self = this;
                self._get('plus.sign.sign/getSign', {}, function (res)
                {
                    /*详情内容格式化*/
                    res.data.detail =utils.format_content(res.data.detail);
                    self.detail = res.data.detail;
                    uni.hideLoading();
                });
            }
        }
    }
</script>
 
<style>
 
</style>