AA
This commit is contained in:
@@ -13,20 +13,40 @@ Page({
|
||||
itemView: [
|
||||
{
|
||||
icon: "诊前约号",
|
||||
title: "诊前约号"
|
||||
title: "全程陪诊",
|
||||
price:"200",
|
||||
describe:"服务内容:排队 预约 挂号 缴费 取药 记录医嘱"
|
||||
},
|
||||
{
|
||||
icon: "代办买药",
|
||||
title: "代办买药"
|
||||
icon: "诊前约号",
|
||||
title: "诊前约号",
|
||||
price:"20",
|
||||
describe:"服务内容:协助办理完成挂号"
|
||||
},
|
||||
// {
|
||||
// icon: "代办买药",
|
||||
// title: "代办买药",
|
||||
// price:"30",
|
||||
// describe:"服务内容:协助代理买药"
|
||||
// },
|
||||
{
|
||||
icon: "取送结果",
|
||||
title: "代办问诊",
|
||||
price:"50",
|
||||
describe:"服务内容:使用病人或者家属取检查报告化验单向医生问明情况"
|
||||
},
|
||||
{
|
||||
icon: "取送结果",
|
||||
title: "取送结果"
|
||||
title: "取送结果",
|
||||
price:"50",
|
||||
describe:"服务内容:包括给病人或者家属取检查报告化验单等"
|
||||
},
|
||||
{
|
||||
icon: "出入院办理",
|
||||
title: "出入院办理"
|
||||
}
|
||||
// {
|
||||
// icon: "出入院办理",
|
||||
// title: "出入院办理",
|
||||
// price:"100",
|
||||
// describe:"协助办理出入院手续"
|
||||
// }
|
||||
],
|
||||
hospitalData: [
|
||||
{
|
||||
@@ -69,7 +89,16 @@ Page({
|
||||
* 诊前约号、代办买药、取送结果、出入院办理、就医陪诊、园内护理
|
||||
*/
|
||||
itemClick (options) {
|
||||
console.log(options.currentTarget.dataset.id)
|
||||
// console.log(options.currentTarget.dataset.id)
|
||||
|
||||
let item = JSON.stringify(options.currentTarget.dataset.item);
|
||||
// console.log("传递的item" + item);
|
||||
console.log("传递的item" + item);
|
||||
wx.navigateTo({
|
||||
// url: "/pages/peizhen/peizhendetail?servername=" + options.currentTarget.dataset.id,
|
||||
url: "/pages/peizhen/peizhendetail?item=" + item,
|
||||
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</view>
|
||||
<view class="item-view">
|
||||
<block wx:for="{{itemView}}" wx:key="id">
|
||||
<view class="item-list" bindtap="itemClick" data-id="{{item.title}}">
|
||||
<view class="item-list" bindtap="itemClick" data-id="{{item.title}}" data-item="{{item}}">
|
||||
<view class="item-image">
|
||||
<image src="../image/home/{{item.icon}}.png" mode="aspectFit"></image>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user