cshenfu
2023-05-11 0c3f970af87eeb3e81782f48b7adcfe1a413bba0
change icon url
3个文件已修改
18 ■■■■■ 已修改文件
pages/index/home.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/index.vue 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/vip/vip.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/home.vue
@@ -2,7 +2,7 @@
    <view>
        <view class="margin-top-xl">
            <view v-if="config.site_title" class="flex align-center justify-center flex-direction padding-xl margin-top-lg">
                <image v-if="config.site_title" :src="main_model.icon ? main_model.icon : ''" mode="aspectFill"
                <image v-if="config.site_title" :src="main_model.icon ? `http://ai.shsening.com${main_model.icon}` : ''" mode="aspectFill"
                    style="background-color: #f4f5f6;width: 160rpx;height: 160rpx;" class="round"></image>
                <view class="text-bold text-xxl text-orange padding-tb"> {{ main_model.title ? main_model.title : '专业版' }} </view>
                <view style="width: 650rpx;" class="padding-bottom" v-if="config.home_notice">
@@ -18,6 +18,7 @@
            <button @click="toChat" style="width: 650rpx;height: 100rpx;" class="cu-btn lines-orange text-bold round">
                开始咨询 (余{{num}}次) </button>
        </view>
        <!-- <text>{{ main_model.icon ? `http://ai.shsening.com${main_model.icon}` : '' }}</text> -->
        <!-- <view class="flex justify-center align-center flex-direction padding-top">
            <button @click="toTax" style="width: 650rpx;height: 100rpx;" class="cu-btn lines-orange text-bold round">
                胖智达(智税咨询) </button>
@@ -102,7 +103,8 @@
        data() {
            return {
                showTab: false,
                tabIndex: 0
                tabIndex: 0,
                setting_data:'null'
            }
        },
        computed: {
pages/index/index.vue
@@ -97,6 +97,7 @@
            ...mapState(['config', 'num', 'userInfo'])
        },
        onLoad(op) {
            console.log(op,'op')
            if (op.model) {
                this.now_model = JSON.parse(op.model)
            } else {
pages/vip/vip.vue
@@ -67,6 +67,9 @@
        </view>
        
        <text class="tip">专属AI 1秒响应</text>
        <text >{{ data_content }}</text>
        <text >{{ data_content2 }}</text>
        <text >{{ data_content3 }}</text>
        
        <view class="main-title">
            <text>会员特权</text>
@@ -91,6 +94,9 @@
    export default {
        data() {
            return {
                data_content:'123',
                data_content2:'123',
                data_content3:'123',
                statusBarHeight,
                current: 0,
                rechargeOptions: [],
@@ -139,11 +145,11 @@
                    comb_id: this.rechargeOptions[this.current].comb_id,
                    chanel: chanel
                }).then(async (res) => {
                    alert(res.data)
                    this.data_content = res
                    // #ifdef H5
                    if (/MicroMessenger/i.test(navigator.userAgent)) {
                        wxJsapiPay(res.data, (r) => {
                            alert(r)
                            this.data_content2 = r
                            var msg = r.err_msg ? r.err_msg : r.errMsg;
                            console.log(msg)
                            if (msg == 'get_brand_wcpay_request:ok') {
@@ -152,6 +158,7 @@
                                    content: "权益已开通成功!"
                                })
                                this.$request('/api/Member/checkNum', 'POST').then(re => {
                                    this.data_content3 = re
                                     // 更新数量
                                    this.$store.commit('syncUserNum',re.data.num)
                                })