cshenfu
2023-05-15 1362ae2888ca3e13e0d877938543690ac68c1db4
change icon
5个文件已修改
48 ■■■■■ 已修改文件
pages.json 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/home.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/index.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/mine/mine.vue 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/tab/assistant.vue 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages.json
@@ -10,7 +10,7 @@
        {
            "path": "pages/index/home",
            "style": {
                "navigationBarTitleText": "智税咨询",
                "navigationBarTitleText": "ChatFox",
                "enablePullDownRefresh": false,
                "navigationStyle": "custom"
            }
@@ -19,7 +19,7 @@
        {
            "path": "pages/index/index",
            "style": {
                "navigationBarTitleText": "胖大海",
                "navigationBarTitleText": "ChatFox",
                "enablePullDownRefresh": false,
                "navigationStyle": "custom"
            }
pages/index/home.vue
@@ -8,21 +8,12 @@
                <view style="width: calc(100vw - 60rpx);" class="padding-bottom" v-if="config.home_notice">
                    <u-notice-bar :text="config.home_notice" mode="closable"></u-notice-bar>
                </view>
                <view class="cu-card bg-gradual-blue padding radius text-lg"
                    style="line-height: 1.5;text-align: justify;">
                    {{ main_model.description ? main_model.description : '你好,欢迎体验智财小屋!我是人工智能胖大海,并经过至今最新的财税法律方面专门训练,因此我可以回答你在财税领域所有的问题,如您有使用问题,可以查阅个人中心-使用指南!' }}
                </view>
            </view>
        </view>
        <view class="flex justify-center align-center flex-direction">
            <button @click="toChat" style="width: calc(100vw - 60rpx); height: 100rpx;" class="cu-btn lines-cyan 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>
        </view> -->
        <view class="tool padding-top-xl">
            <view class="header">
                <view class="title text-bold">功能特性</view>
pages/index/index.vue
@@ -4,7 +4,7 @@
            <view v-for="(item,index) in arr" :key="index" :id="'message' + item.message_id">
                <view class="body_l" v-if="item.role == 'assistant'">
                    <view class="body_lpic a">
                        <image :src="now_model.icon" mode=""></image>
                        <image :src="`${setting_data.base_url+now_model.icon}`" mode=""></image>
                    </view>
                    <view class="body_box">
                        <!-- <view class="body_lcon pdg" v-html="item.content"></view> -->
@@ -33,7 +33,7 @@
            
            <view class="body_l" v-if="loading" id="loading">
                <view class="body_lpic a">
                    <image :src="now_model.icon" mode=""></image>
                    <image :src="`${setting_data.base_url+now_model.icon}`" mode=""></image>
                </view>
                <view class="body_box ">
                    <view class="body_lcon pdg border_radius_l" style="display: flex;overflow-x: hidden;">
@@ -87,13 +87,14 @@
                typeingText: "",
                typeingId: "",
                now_model: {},
                setting_data:'null'
            }
        },
        computed: {
            ...mapState(['config', 'num', 'userInfo'])
        },
        onLoad(op) {
            console.log(op,'op')
            this.setting_data = setting
            if (op.model) {
                this.now_model = JSON.parse(op.model)
            } else {
pages/mine/mine.vue
@@ -22,7 +22,7 @@
            </view>
        </view>
        <view class="mine-list padding-lr">
            <view @click="toVip" class="flex item align-center">
            <!-- <view @click="toVip" class="flex item align-center">
                <u-icon name="/static/icon/mine-gift.png" size="20"></u-icon>
                <view class="flex align-center justify-between solid-bottom margin-left-sm">
                    <view class="title">开通权益</view>
@@ -31,7 +31,7 @@
                        <u-icon name="arrow-right" color="#848B9E" size="16"></u-icon>
                    </view>
                </view>
            </view>
            </view> -->
            
            <view @click="toVip" class="flex item align-center" v-if="showPay">
                <u-icon name="/static/icon/mine-gift.png" size="20"></u-icon>
@@ -212,8 +212,8 @@
                }
            },
            toVip() {
                uni.redirectTo({
                    url:'../vip/vip'
                uni.navigateTo({
                    url:"/pages/vip/vip"
                })
            },
            toAgreement() {
pages/tab/assistant.vue
@@ -2,21 +2,7 @@
    <view class="container">
        <view class="form">
            <image src="/static/bg_ai_assistant_title.png" class="banner"></image>
            <!-- <u-transition :show="true" mode="slide-left">
                <view class="head">
                    <view class="head-top">
                        aa
                        <view class="head-top-right">
                            <view class="ai-consult">
                                <u-button open-type='contact' color="#FF9900" :plain="true" text="咨询客服"></u-button>
                            </view>
                        </view>
                    </view>
                    <view class="head-bottom">
                        <text class="description">知你困境,解你烦恼,AI帮你写答案;绘声绘色,绘精彩;</text>
                    </view>
                </view>
            </u-transition> -->
        </view>
        <u-transition :show="true" mode="slide-right">
            <view class="tool_list">
@@ -59,7 +45,9 @@
        // },
        data() {
            return {
                setting_data:'null'
                setting_data:'null',
                showTab: false,
                tabIndex: 0
            };
        },
        computed: {