diff --git a/app.json b/app.json index 4d60dff..50a18df 100644 --- a/app.json +++ b/app.json @@ -15,7 +15,7 @@ }, "tabBar": { "color": "#999999", - "selectedColor": "#D4A853", + "selectedColor": "#2D6A4F", "backgroundColor": "#FFFFFF", "borderStyle": "black", "list": [ @@ -23,19 +23,19 @@ "pagePath": "pages/home/index", "text": "首页", "iconPath": "images/home.png", - "selectedIconPath": "images/home-active.png" + "selectedIconPath": "images/home-green.png" }, { "pagePath": "pages/ai/aichat", "text": "AI客服", "iconPath": "images/ai.png", - "selectedIconPath": "images/ai-active.png" + "selectedIconPath": "images/ai-green.png" }, { "pagePath": "pages/mine/mine", "text": "我的", "iconPath": "images/mine.png", - "selectedIconPath": "images/mine-active.png" + "selectedIconPath": "images/mine-green.png" } ] }, diff --git a/images/ai-green.png b/images/ai-green.png new file mode 100644 index 0000000..1c9a811 Binary files /dev/null and b/images/ai-green.png differ diff --git a/images/ai-w.png b/images/ai-w.png deleted file mode 100644 index f765da2..0000000 Binary files a/images/ai-w.png and /dev/null differ diff --git a/images/ai-active.png b/images/ai-yellow.png similarity index 100% rename from images/ai-active.png rename to images/ai-yellow.png diff --git a/images/call-w.png b/images/call-w.png deleted file mode 100644 index 7a7da54..0000000 Binary files a/images/call-w.png and /dev/null differ diff --git a/images/home-green.png b/images/home-green.png new file mode 100644 index 0000000..246243a Binary files /dev/null and b/images/home-green.png differ diff --git a/images/home-active.png b/images/home-yellow.png similarity index 100% rename from images/home-active.png rename to images/home-yellow.png diff --git a/images/mine-green.png b/images/mine-green.png new file mode 100644 index 0000000..57d8297 Binary files /dev/null and b/images/mine-green.png differ diff --git a/images/mine-active.png b/images/mine-yellow.png similarity index 100% rename from images/mine-active.png rename to images/mine-yellow.png diff --git a/images/team-w.png b/images/team-w.png deleted file mode 100644 index 63c2c49..0000000 Binary files a/images/team-w.png and /dev/null differ diff --git a/images/zixun-w.png b/images/zixun-w.png deleted file mode 100644 index 1f9240f..0000000 Binary files a/images/zixun-w.png and /dev/null differ diff --git a/pages/ai/aichat.wxml b/pages/ai/aichat.wxml index 5cd8430..28ce254 100644 --- a/pages/ai/aichat.wxml +++ b/pages/ai/aichat.wxml @@ -77,7 +77,7 @@ - + diff --git a/pages/home/index.js b/pages/home/index.js index a741024..9390292 100644 --- a/pages/home/index.js +++ b/pages/home/index.js @@ -1,34 +1,34 @@ Page({ data: { assistServices: [ - { id: 1, name: '陪诊', icon: 'user-vip', iconColor: '#2D6A4F' }, - { id: 2, name: '代办问诊', icon: 'chat', iconColor: '#2D6A4F' }, - { id: 3, name: '代办买药', icon: 'cart', iconColor: '#2D6A4F' }, - { id: 4, name: '代取结果', icon: 'file-paste', iconColor: '#2D6A4F' }, - { id: 5, name: '检查预约', icon: 'calendar', iconColor: '#2D6A4F' }, - { id: 6, name: '出入院办理', icon: 'chart-bar', iconColor: '#2D6A4F' }, - { id: 7, name: 'vip陪诊', icon: 'user-star', iconColor: '#2D6A4F' }, - { id: 8, name: '其他服务', icon: 'app', iconColor: '#2D6A4F' } + { id: 1, name: '陪诊', icon: 'heart-filled', iconColor: '#2D6A4F' }, + { id: 2, name: '代办问诊', icon: 'chat-heart-filled', iconColor: '#2D6A4F' }, + { id: 3, name: '代办买药', icon: 'cart-filled', iconColor: '#2D6A4F' }, + { id: 4, name: '代取结果', icon: 'draft-filled', iconColor: '#2D6A4F' }, + { id: 5, name: '检查预约', icon: 'calendar-filled', iconColor: '#2D6A4F' }, + { id: 6, name: '出入院办理', icon: 'bridge', iconColor: '#2D6A4F' }, + { id: 7, name: 'vip陪诊', icon: 'user-vip-filled', iconColor: '#2D6A4F' }, + { id: 8, name: '其他助诊', icon: 'app-filled', iconColor: '#2D6A4F' } ], otherServices: [ - { id: 1, name: '代办问诊', icon: 'heart', iconColor: '#D4A853' }, - { id: 2, name: '代办买药', icon: 'cart', iconColor: '#D4A853' }, - { id: 3, name: '代取结果', icon: 'ai-article', iconColor: '#D4A853' }, + { id: 1, name: '代探望', icon: 'apple', iconColor: '#D4A853' }, + { id: 2, name: '陪诊师入住', icon: 'usergroup', iconColor: '#D4A853' }, + { id: 3, name: '商务合作', icon: 'command', iconColor: '#D4A853' }, ] }, async onLoad() { }, - goToEscort() { - wx.navigateTo({ - url: '/pages/escort/itemlist' + goToAiChat() { + wx.switchTab({ + url: '/pages/ai/aichat' }); }, - goToVipEscort() { - wx.navigateTo({ - url: '/pages/escort/itemlist?type=vip' + goToContact() { + wx.makePhoneCall({ + phoneNumber: '18618162956' }); }, diff --git a/pages/home/index.wxml b/pages/home/index.wxml index 8b8d2ae..eb8b156 100644 --- a/pages/home/index.wxml +++ b/pages/home/index.wxml @@ -2,7 +2,7 @@ @@ -21,14 +21,14 @@ - - + + 客服咨询 AI Customer service - + 联系我们 Contact us anytime @@ -41,7 +41,7 @@ - + 助诊服务 全部 >> @@ -56,4 +56,21 @@ + + + + + + 其他业务 + + + + + + + + {{ item.name }} + + + diff --git a/pages/home/index.wxss b/pages/home/index.wxss index c331056..33052ff 100644 --- a/pages/home/index.wxss +++ b/pages/home/index.wxss @@ -5,7 +5,6 @@ page { .container { min-height: 100vh; - padding-bottom: 40rpx; } /* 顶部导航栏 */ @@ -126,7 +125,7 @@ page { .service-cards { display: flex; gap: 20rpx; - padding: 24rpx 32rpx; + padding: 36rpx 32rpx; /*margin-top: 18rpx;*/ background: #FFFFFF; } @@ -194,7 +193,7 @@ page { .section-icon { margin-right: 12rpx; - color: #2D6A4F; + color: #D4A853; } .section-title { diff --git a/pages/mine/comp_profile/comp_profile.js b/pages/mine/comp_profile/comp_profile.js index 8863658..c83c883 100644 --- a/pages/mine/comp_profile/comp_profile.js +++ b/pages/mine/comp_profile/comp_profile.js @@ -55,7 +55,7 @@ Component({ this.setData({ editData: { - avatar: profile.avatar || '/images/home-active2.png', + avatar: profile.avatar || '/images/home-yellow.png', name: profile.name || '', phone: profile.mobile || '', sex: profile.sex || '', diff --git a/pages/mine/mine.js b/pages/mine/mine.js index 8dbe79e..d932de0 100644 --- a/pages/mine/mine.js +++ b/pages/mine/mine.js @@ -3,7 +3,7 @@ const API = require('../../utils/api.js') Page({ data: { userInfo: { - avatar: '/images/home-active.png', + avatar: '/images/home-green.png', name: '用户', phone: '', sex: '',