From 1362ae2888ca3e13e0d877938543690ac68c1db4 Mon Sep 17 00:00:00 2001
From: cshenfu <men883234@gmail.com>
Date: 星期一, 15 五月 2023 15:55:50 +0800
Subject: [PATCH] change icon
---
pages/mine/mine.vue | 8 ++++----
pages.json | 4 ++--
pages/index/home.vue | 9 ---------
pages/tab/assistant.vue | 20 ++++----------------
pages/index/index.vue | 7 ++++---
5 files changed, 14 insertions(+), 34 deletions(-)
diff --git a/pages.json b/pages.json
index f95bd6c..709465e 100755
--- a/pages.json
+++ b/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"
}
diff --git a/pages/index/home.vue b/pages/index/home.vue
index 47f5cc1..629d478 100755
--- a/pages/index/home.vue
+++ b/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>
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 5b43f8d..7d7c01e 100755
--- a/pages/index/index.vue
+++ b/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 {
diff --git a/pages/mine/mine.vue b/pages/mine/mine.vue
index 18dfa53..ef62dba 100755
--- a/pages/mine/mine.vue
+++ b/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() {
diff --git a/pages/tab/assistant.vue b/pages/tab/assistant.vue
index 7d54e1a..b0be734 100755
--- a/pages/tab/assistant.vue
+++ b/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甯綘鍐欑瓟妗�;缁樺0缁樿壊锛岀粯绮惧僵;</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: {
--
Gitblit v1.9.1