zhaoxing
2023-05-11 ac65fb87fa3f2e0cd551019cd6cb8de753eebce8
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<template>
    <view>
        <view class="margin-top-xl">
            <view v-if="config.site_title" class="flex align-center justify-center flex-direction padding margin-top-lg">
                <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-cyan padding-tb"> {{ main_model.title ? main_model.title : '专业版' }} </view>
                <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>
            </view>
            <u-transition :show="true" mode="slide-up">
                <view class="grid">
                    <view class="item">
                        <view class="icon">
                            <u-icon size="28"
                                name="https://img.alicdn.com/imgextra/i1/2064565174/O1CN01v7Y9311o5k2r5Rwaq_!!2064565174.png">
                            </u-icon>
                        </view>
                        <view class="title">AI回答</view>
                        <view class="desc">浩繁法条直取答案</view>
                    </view>
                    <view class="item">
                        <view class="icon">
                            <u-icon size="28"
                                name="https://img.alicdn.com/imgextra/i1/2064565174/O1CN01H200mY1o5k2ythU1B_!!2064565174.png">
                            </u-icon>
                        </view>
                        <view class="title">智能答案</view>
                        <view class="desc">免去千篇一律</view>
                    </view>
                    <view class="item">
                        <view class="icon">
                            <u-icon size="28"
                                name="https://img.alicdn.com/imgextra/i1/2064565174/O1CN01FDSoxG1o5k2xjTHUD_!!2064565174.png">
                            </u-icon>
                        </view>
                        <view class="title">精准定位</view>
                        <view class="desc">免去繁琐搜索</view>
                    </view>
                    <view class="item">
                        <view class="icon">
                            <u-icon size="28"
                                name="https://img.alicdn.com/imgextra/i4/2064565174/O1CN01UP4ksa1o5k2rDpdOP_!!2064565174.png">
                            </u-icon>
                        </view>
                        <view class="title">引导提示</view>
                        <view class="desc">AI发散思维</view>
                    </view>
                    <view class="item">
                        <view class="icon">
                            <u-icon size="28"
                                name="https://img.alicdn.com/imgextra/i2/2064565174/O1CN01Oep4C01o5k2zlWs2q_!!2064565174.png">
                            </u-icon>
                        </view>
                        <view class="title">安全限制</view>
                        <view class="desc">道德逻辑自洽</view>
                    </view>
                    <view class="item">
                        <view class="icon">
                            <u-icon size="28"
                                name="https://img.alicdn.com/imgextra/i1/2064565174/O1CN01onUFC01o5k2uPHOqj_!!2064565174.png">
                            </u-icon>
                        </view>
                        <view class="title">在线工具</view>
                        <view class="desc">无需下载软件</view>
                    </view>
                </view>
            </u-transition>
        </view>
        <view class="padding-tb" v-if="config.copyright">
            <u-loadmore :line="true" status="loadmore" :loadmoreText="config.copyright" color="#909399"></u-loadmore>
        </view>
        <m-tabbar v-if="showTab" fixed fill :current="tabIndex" :tabbar="tabbar"></m-tabbar>
    </view>
</template>
 
<script>
    import {
        mapState
    } from 'vuex';
    import mixin from "@/mixin/checkLoaded";
    export default {
        mixins: [mixin],
        data() {
            return {
                showTab: false,
                tabIndex: 0,
                setting_data:'null'
            }
        },
        computed: {
            ...mapState(['config', 'num', 'userInfo', 'token', 'main_model', 'tabbar'])
        },
        onLoad(op) {
            this.getTabIndex()
            // #ifdef MP-WEIXIN || MP-JD
            uni.hideHomeButton()
            // #endif
        },
        onShareAppMessage() {
            console.log('转发+1')
        },
        methods: {
            getTabIndex() {
                let list = this.tabbar.list;
                for (var i = 0; i < list.length; i++) {
                    if (list[i].pagePath == '/pages/index/home') {
                        this.tabIndex = i
                        this.showTab = true
                    }
                }
            },
            toChat() {
                uni.navigateTo({
                    url: "./index?model=" + JSON.stringify(this.main_model)
                })
            },
            toTax() {
                uni.showModal({
                    content: "待开放,模型训练中..."
                })
            }
        }
    }
</script>
<style>
    /*每个页面公共css */
    @import url("@/static/style/color-ui.css");
</style>
 
<style lang="scss">
    .tool {
        width: calc(100vw - 60rpx);
        margin: 15rpx auto;
 
        .header {
            .title {
                margin-bottom: 30rpx;
            }
        }
 
        .grid {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: space-between;
 
            .item {
                width: calc(calc(100vw - 60rpx - 30rpx) / 3);
                display: flex;
                flex-direction: column;
                align-items: center;
                background-color: #30324f;
                margin: 12rpx 0rpx;
                padding: 30rpx 0rpx;
                border-radius: 10rpx;
 
                .title {
                    color: #fff;
                    font-size: 28rpx;
                    margin-top: 15rpx;
                }
 
                .desc {
                    color: #93949d;
                    font-size: 24rpx;
                }
            }
        }
    }
</style>