作者 lihongjuan

1

... ... @@ -2,14 +2,7 @@
"pages": [
"pages/homepage/homepage",
"pages/home/stageofpregnancy/stageofpregnancy",
"pages/index/index",
"pages/home/searchpage/searchpage",
"pages/person/faveritehospital/faveritehostipal",
"pages/processQuery/processQuery",
... ...
... ... @@ -718,7 +718,7 @@ Page({
enterhostail(e) {
wx.setStorageSync('hospitalid', e.currentTarget.dataset.hosid);
wx.navigateTo({
url: '../hometail/hometail',
url: '../hometail/hometail?hospital_id=' + e.currentTarget.dataset.hosid,
})
},
attention: function() {
... ...
... ... @@ -181,7 +181,7 @@ Page({
enterhostail(e) {
wx.setStorageSync('hospitalid', e.currentTarget.dataset.hosid);
wx.navigateTo({
url: '../hometail/hometail',
url: '../hometail/hometail?hospital_id=' + e.currentTarget.dataset.hosid,
})
},
//分享
... ...
... ... @@ -644,7 +644,7 @@ Page({
enterhostail(e) {
wx.setStorageSync('hospitalid', e.currentTarget.dataset.hosid);
wx.navigateTo({
url: '../hometail/hometail',
url: '../hometail/hometail?hospital_id='+ e.currentTarget.dataset.hosid,
})
},
... ...
... ... @@ -186,7 +186,7 @@ Page({
enterhostail(e) {
wx.setStorageSync('hospitalid', e.currentTarget.dataset.hosid);
wx.navigateTo({
url: '../hometail/hometail',
url: '../hometail/hometail?hospital_id=' + e.currentTarget.dataset.hosid,
})
},
//分享
... ...
... ... @@ -326,7 +326,7 @@ Page({
})
setTimeout(function () {
wx.navigateTo({
url: '../hometail/hometail',
url: '../hometail/hometail?hospital_id=' + this.data.personhospitalid,
})
}, 2000)
... ...
... ... @@ -11,7 +11,6 @@ Page({
currentTab: 0,
//医院收藏
hoscollect:false,
//参考花费
spend: [],
//医生列表
... ... @@ -20,7 +19,6 @@ Page({
allevalute_star: [],
//医疗水平
medical_star: [],
//硬件水平
hardware_star: [],
//医疗服务
... ... @@ -177,8 +175,9 @@ Page({
console.log(wx.getStorageSync('hospitalid'))
that.setData({
hostipalid: wx.getStorageSync('hospitalid'),
hospital_address_id: options.hospital_address_id
// hostipalid: wx.getStorageSync('hospitalid'),
hospital_address_id: options.hospital_address_id,
hostipalid:options.hospital_id
})
... ...
... ... @@ -54,17 +54,9 @@
</view>
<view class="predict">预约建档条件</view>
</view>
<view class="condition_list" wx:for="{{condition}}" wx:key="">
<view class="condition_list_item">{{item}}</view>
<!-- <view class="condition_list_item">本院B超胎心胎芽(非急诊)</view>
<view class="condition_list_item">本院B超胎心胎芽(非急诊)</view>
<view class="condition_list_item">本院B超胎心胎芽(非急诊)</view>
<view class="condition_list_item">母子健康档案</view> -->
</view>
</view>
<view class="buildtime">
... ... @@ -183,7 +175,7 @@
<view class="allevelstate" wx:if="{{star1==4.5||star1==4}}">比较满意,仍可改善</view>
<view class="allevelstate" wx:if="{{star1==3||star1==3.5}}">一般,还需改善</view>
<view class="allevelstate" wx:if="{{star1==2||star1==2.5}}">不满意,比较差</view>
<view class="allevelstate" wx:if="{{star1<=1}}">各方面都很差</view>
<view class="allevelstate" wx:if="{{star1<=1}}">评分人数不足</view>
</view>
</view>
... ... @@ -230,7 +222,7 @@
<view class="allevelstate" wx:if="{{star2==4.5||star2==4}}">比较满意,仍可改善</view>
<view class="allevelstate" wx:if="{{star2==3||star2==3.5}}">一般,还需改善</view>
<view class="allevelstate" wx:if="{{star2==2||star2==2.5}}">不满意,比较差</view>
<view class="allevelstate" wx:if="{{star2<=1}}">各方面都很差</view>
<view class="allevelstate" wx:if="{{star2<=1}}">评分人数不足</view>
</view>
</view>
... ... @@ -272,14 +264,14 @@
<view class="allevelstate" wx:if="{{star3==4.5||star3==4}}">比较满意,仍可改善</view>
<view class="allevelstate" wx:if="{{star3==3||star3==3.5}}">一般,还需改善</view>
<view class="allevelstate" wx:if="{{star3==2||star3==2.5}}">不满意,比较差</view>
<view class="allevelstate" wx:if="{{star3<=1}}">各方面都很差</view>
<view class="allevelstate" wx:if="{{star3<=1}}">评分人数不足</view>
</view>
</view>
<view class="evalute">
<view class="allevalute">
<view class="allevel">
<view class="allevalname">医疗服务</view>
<view class="allevalname">服务态度</view>
<view class="starlist">
<view class="hostel_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star4>=1}}"></image>
... ... @@ -314,7 +306,7 @@
<view class="allevelstate" wx:if="{{star4==4.5||star4==4}}">比较满意,仍可改善</view>
<view class="allevelstate" wx:if="{{star4==3||star4==3.5}}">一般,还需改善</view>
<view class="allevelstate" wx:if="{{star4==2||star4==2.5}}">不满意,比较差</view>
<view class="allevelstate" wx:if="{{star4<=1}}">各方面都很差</view>
<view class="allevelstate" wx:if="{{star4<=1}}">评分人数不足</view>
</view>
</view>
</view>
... ... @@ -836,7 +828,7 @@
<view class="use_img">
<image src="http://bronet.ibaby88.cn/bicon11@2x.png"></image>
</view>
<view class="use_name">用户评分</view>
<view class="doctor_name">用户评分</view>
</view>
<view class="evalue_list">
<view class="evalute">
... ... @@ -844,12 +836,42 @@
<view class="allevel">
<view class="allevalname">总体评价</view>
<view class="starlist">
<view class="allevalute_star" wx:for="{{allevalute_star}}" wx:key="unique">
<image src="{{item}}"></image>
<view class="allevalute_star">
<image src="http://bronet.ibaby88.cn/bicon18@2x.png" wx:if="{{star1>=1}}"></image>
<image src="http://bronet.ibaby88.cn/bicon19@2x.png" wx:if="{{star1<1&&star1!=0.5}}"></image>
<image src="http://bronet.ibaby88.cn/bankexing.png" wx:if="{{star1==0.5}}"></image>
</view>
<view class="allevalute_star">
<image src="http://bronet.ibaby88.cn/bicon18@2x.png" wx:if="{{star1>=2}}"></image>
<image src="http://bronet.ibaby88.cn/bicon19@2x.png" wx:if="{{star1<2&&star1!=1.5}}"></image>
<image src="http://bronet.ibaby88.cn/bankexing.png" wx:if="{{star1==1.5}}"></image>
</view>
<view class="allevalute_star">
<image src="http://bronet.ibaby88.cn/bicon18@2x.png" wx:if="{{star1>=3}}"></image>
<image src="http://bronet.ibaby88.cn/bicon19@2x.png" wx:if="{{star1<3&&star1!=2.5}}"></image>
<image src="http://bronet.ibaby88.cn/bankexing.png" wx:if="{{star1==2.5}}"></image>
</view>
<view class="allevalute_star">
<image src="http://bronet.ibaby88.cn/bicon18@2x.png" wx:if="{{star1>=4}}"></image>
<image src="http://bronet.ibaby88.cn/bicon19@2x.png" wx:if="{{star1<4&&star1!=3.5}}"></image>
<image src="http://bronet.ibaby88.cn/bankexing.png" wx:if="{{star1==3.5}}"></image>
</view>
<view class="allevalute_star">
<image src="http://bronet.ibaby88.cn/bicon18@2x.png" wx:if="{{star1>=5}}"></image>
<image src="http://bronet.ibaby88.cn/bicon19@2x.png" wx:if="{{star1<5&&star1!=4.5}}"></image>
<image src="http://bronet.ibaby88.cn/bankexing.png" wx:if="{{star1==4.5}}"></image>
</view>
</view>
</view>
<view class="allevelstate">{{allevalutename}}</view>
<view class="allevelstate" wx:if="{{star1==5}}">无可挑剔,非常满意</view>
<view class="allevelstate" wx:if="{{star1==4.5||star1==4}}">比较满意,仍可改善</view>
<view class="allevelstate" wx:if="{{star1==3||star1==3.5}}">一般,还需改善</view>
<view class="allevelstate" wx:if="{{star1==2||star1==2.5}}">不满意,比较差</view>
<view class="allevelstate" wx:if="{{star1<=1}}">评分人数不足</view>
</view>
</view>
... ... @@ -858,12 +880,45 @@
<view class="allevel">
<view class="allevalname">医疗水平</view>
<view class="starlist">
<view class="hostel_star" wx:for="{{medical_star}}" wx:key="unique">
<image src="{{item}}"></image>
<view class="hostel_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star2>=1}}"></image>
<image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star2<1&&star2!=0.5}}"></image>
<image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star2==0.5}}'></image>
</view>
<view class="hostel_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star2>=2}}"></image>
<image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star2<2&&star2!=1.5}}"></image>
<image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star2==1.5}}'></image>
</view>
<view class="hostel_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star2>=3}}"></image>
<image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star2<3&&star2!=2.5}}"></image>
<image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star2==2.5}}'></image>
</view>
<view class="hostel_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star2>=4}}"></image>
<image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star2<4&&star2!=3.5}}"></image>
<image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star2==3.5}}'></image>
</view>
<view class="allevelstate">{{medicalvalutename}}</view>
<view class="hostel_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star2>=5}}"></image>
<image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star2<5&&star2!=4.5}}"></image>
<image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star2==4.5}}'></image>
</view>
</view>
</view>
<view class="allevelstate" wx:if="{{star2==5}}">无可挑剔,非常满意</view>
<view class="allevelstate" wx:if="{{star2==4.5||star2==4}}">比较满意,仍可改善</view>
<view class="allevelstate" wx:if="{{star2==3||star2==3.5}}">一般,还需改善</view>
<view class="allevelstate" wx:if="{{star2==2||star2==2.5}}">不满意,比较差</view>
<view class="allevelstate" wx:if="{{star2<=1}}">评分人数不足</view>
</view>
</view>
... ... @@ -872,30 +927,93 @@
<view class="allevel">
<view class="allevalname">硬件环境</view>
<view class="starlist">
<view class="hostel_star" wx:for="{{hardware_star}}" wx:key="">
<image src="{{item}}"></image>
<view class="hostel_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star3>=1}}"></image>
<image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star3<1&&star3!=0.5}}"></image>
<image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star3==0.5}}'></image>
</view>
<view class="hostel_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star3>=2}}"></image>
<image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star3<2&&star3!=1.5}}"></image>
<image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star3==1.5}}'></image>
</view>
<view class="hostel_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star3>=3}}"></image>
<image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star3<3&&star3!=2.5}}"></image>
<image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star3==2.5}}'></image>
</view>
<view class="hostel_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star3>=4}}"></image>
<image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star3<4&&star3!=3.5}}"></image>
<image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star3==3.5}}'></image>
</view>
<view class="hostel_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star3>=5}}"></image>
<image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star3<5&&star3!=4.5}}"></image>
<image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star3==4.5}}'></image>
</view>
</view>
</view>
<view class="allevelstate">{{hardwareevalutename}}</view>
<view class="allevelstate" wx:if="{{star3==5}}">无可挑剔,非常满意</view>
<view class="allevelstate" wx:if="{{star3==4.5||star3==4}}">比较满意,仍可改善</view>
<view class="allevelstate" wx:if="{{star3==3||star3==3.5}}">一般,还需改善</view>
<view class="allevelstate" wx:if="{{star3==2||star3==2.5}}">不满意,比较差</view>
<view class="allevelstate" wx:if="{{star3<=1}}">评分人数不足</view>
</view>
</view>
<view class="evalute">
<view class="allevalute">
<view class="allevel">
<view class="allevalname">医疗服务</view>
<view class="allevalname">服务态度</view>
<view class="starlist">
<view class="hostel_star" wx:for="{{service_star}}" wx:key="unique">
<image src="{{item}}"></image>
<view class="hostel_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star4>=1}}"></image>
<image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star4<1&&star4!=0.5}}"></image>
<image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star4==0.5}}'></image>
</view>
<view class="hostel_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star4>=2}}"></image>
<image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star4<2&&star4!=1.5}}"></image>
<image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star4==1.5}}'></image>
</view>
<view class="hostel_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star4>=3}}"></image>
<image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star4<3&&star4!=2.5}}"></image>
<image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star4==2.5}}'></image>
</view>
<view class="allevelstate">{{serviceevalutename}}</view>
<view class="hostel_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star4>=4}}"></image>
<image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star4<4&&star4!=3.5}}"></image>
<image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star4==3.5}}'></image>
</view>
<view class="hostel_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star4>=5}}"></image>
<image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star4<5&&star4!=4.5}}"></image>
<image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star4==4.5}}'></image>
</view>
</view>
</view>
<view class="allevelstate" wx:if="{{star4==5}}">无可挑剔,非常满意</view>
<view class="allevelstate" wx:if="{{star4==4.5||star4==4}}">比较满意,仍可改善</view>
<view class="allevelstate" wx:if="{{star4==3||star4==3.5}}">一般,还需改善</view>
<view class="allevelstate" wx:if="{{star4==2||star4==2.5}}">不满意,比较差</view>
<view class="allevelstate" wx:if="{{star4<=1}}">评分人数不足</view>
</view>
</view>
</view>
<!-- 我要点评 -->
<view>
<button size="{{defaultSize}}" class="lj_comment" bindtap="mouthreview" data-praiseid="{{info.hospital_id}}"> 查看点评
</button>
</view>
</view>
<!--用户评论-->
<view class="user_comment">
<view class="use use_comment">
... ...
... ... @@ -132,7 +132,7 @@ Page({
}else if(starid3==3){
that.setData({
star3:3,
star3name:'一般,还需改善'
star3name:'一般,还需改善'
})
}else if(starid3==4){
that.setData({
... ...
... ... @@ -92,7 +92,7 @@
<view class="evalute">
<view class="allevalute">
<view class="allevel">
<view class="allevalname" >医疗服务</view>
<view class="allevalname" >服务态度</view>
<view class="starlist">
<view class="hostel_star" bindtap="star4" data-id="1">
<image src="{{star4>=1?'http://bronet.ibaby88.cn/aicon07@2x.png':'http://bronet.ibaby88.cn/aicon08@2x.png'}}"></image>
... ...
... ... @@ -631,7 +631,7 @@ Page({
wx.setStorageSync('hospitalid', e.currentTarget.dataset.hospitalid);
wx.navigateTo({
url: '../home/hometail/hometail?hospital_address_id=' + this.data.hospital_address_id
url: '../home/hometail/hometail?hospital_address_id=' + this.data.hospital_address_id + '&hospital_id=' + e.currentTarget.dataset.hospitalid
})
}
... ...
... ... @@ -49,7 +49,7 @@ Page({
wx.setStorageSync('hospitalid', e.currentTarget.dataset.hospitalid);
wx.navigateTo({
url: '../../home/hometail/hometail',
url: '../../home/hometail/hometail?hospital_id=' + e.currentTarget.dataset.hospitalid,
})
},
/**
... ...