48 lines
1.4 KiB
JavaScript
48 lines
1.4 KiB
JavaScript
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' }
|
|
],
|
|
otherServices: [
|
|
{ id: 1, name: '代办问诊', icon: 'heart', iconColor: '#D4A853' },
|
|
{ id: 2, name: '代办买药', icon: 'cart', iconColor: '#D4A853' },
|
|
{ id: 3, name: '代取结果', icon: 'ai-article', iconColor: '#D4A853' },
|
|
]
|
|
},
|
|
|
|
async onLoad() {
|
|
},
|
|
|
|
goToEscort() {
|
|
wx.navigateTo({
|
|
url: '/pages/escort/itemlist'
|
|
});
|
|
},
|
|
|
|
goToVipEscort() {
|
|
wx.navigateTo({
|
|
url: '/pages/escort/itemlist?type=vip'
|
|
});
|
|
},
|
|
|
|
goToServiceList() {
|
|
wx.navigateTo({
|
|
url: '/pages/escort/itemlist'
|
|
});
|
|
},
|
|
|
|
goToAssistDetail(e) {
|
|
const id = e.currentTarget.dataset.id;
|
|
wx.navigateTo({
|
|
url: `/pages/escort/itemlist?assistId=${id}`
|
|
});
|
|
}
|
|
});
|