作者 lihongjuan

1

@@ -92,14 +92,20 @@ App({ @@ -92,14 +92,20 @@ App({
92 // }) 92 // })
93 // reject(res.data) 93 // reject(res.data)
94 wx.showToast({ 94 wx.showToast({
95 - title: res.data.message, 95 + title: '请重新登陆',
96 icon: 'none' 96 icon: 'none'
97 }) 97 })
  98 + wx.setStorageSync("token", '')
  99 + setTimeout(function(){
  100 + console.log(8483489)
  101 + },1500)
  102 + // setTimeout(function(){
  103 + // wx.navigateTo({
  104 + // url: '/pages/index/index',
  105 + // })
  106 + // },1500)
  107 +
98 108
99 - wx.showToast({  
100 - title: res.data.msg,  
101 - icon: 'none'  
102 - })  
103 } else { 109 } else {
104 reject(res) 110 reject(res)
105 } 111 }
1 @font-face {font-family: "iconfont"; 1 @font-face {font-family: "iconfont";
2 - src: url('//at.alicdn.com/t/font_917618_k7suf0xgjkc.eot?t=1548414831956'); /* IE9 */  
3 - src: url('//at.alicdn.com/t/font_917618_k7suf0xgjkc.eot?t=1548414831956#iefix') format('embedded-opentype'), /* IE6-IE8 */  
4 - url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAj0AAsAAAAAEBwAAAinAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCEIAqRbI4IATYCJAMoCxYABCAFhG0HgQsbWQ0jkg9WlOw/HNBjPANypK/qUi3G9RqWbkdBRBouEc1DE3WGZPO5aHU/1RjqiNfx8M+9ev8a+DlACVgwsTFBZjeVC94ClXq8VrTX1QABECz/hzb1H3fEFI8JARp1IrbFmpxU1NlboWLpHImYVJTUhKSGTdJVhZoSAA0QMJa4zf/PBy5uitp5QkconsTu+euzkrZpgXB+DxDc6GQwBhOnvbhM/VoBeyF7o9vr+5/aOkUTCnCASiuUpzQKYAENWIAoEwCMPf42biO034jsP+VqErRGrtljcWAlR7EEPZ749sgqkikvMCbqlDLjyFzyBnR1epoGwKvz9ck/RGRFqsjQnpub+YU4sIecSc3SKZYA6O7yoa5HhjFyNfkjs/Ad9XDsxNus/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PRLKk/YpCOs9HBFqLQAtJUmw2IIOd4W3CFVYACglkDgBC2w4aAE/TZaOAAw4hCOoIYpGM2OrDgOW8BLYLabIBEXM8YZSswPlxbwp5y+C/ASiqt5/QHt+eLzFBgy1h5px+1HUsFSRh/W55UUdvFPt1o0r7XoFsp4SHtQUUhULfiSPWhRXOdRZG+7RsqKYODjJawt1xz8F8iWUmll+8Pic9/kRkKbAsmfEX+qO149SARiisIn/Gq0oRT6d+NJtWzfA3G8FZK8GD5VIhGAXX2Zo5UH7IN6utMxBbSVePh8Mnl2Wb/CyehO7Sl0sayHdfzw2IWxVqyzRkrO+B2NpqqlZKLg96qNlaGNE26mXss2GvbWayUHXYLz4xOzwgC') format('woff2'),  
5 - url('//at.alicdn.com/t/font_917618_k7suf0xgjkc.woff?t=1548414831956') format('woff'),  
6 - url('//at.alicdn.com/t/font_917618_k7suf0xgjkc.ttf?t=1548414831956') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */  
7 - url('//at.alicdn.com/t/font_917618_k7suf0xgjkc.svg?t=1548414831956#iconfont') format('svg'); /* iOS 4.1- */ 2 + src: url('//at.alicdn.com/t/font_917618_xhsacnkpdcf.eot?t=1584621521278'); /* IE9 */
  3 + src: url('//at.alicdn.com/t/font_917618_xhsacnkpdcf.eot?t=1584621521278#iefix') format('embedded-opentype'), /* IE6-IE8 */
  4 + url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAosAAsAAAAAEgwAAAnfAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCENgqVOJEAATYCJAMsCxgABCAFhG0HgRQb9A5RlFBWFtlPTZ6sz935j/cwNswqYwSG68EIAAAAAAAeCjL+19rMN9lTSYg1EWkkQid0jZCgREqjdF5fquf737n8vQ4I8iaJ0OdyPy2nfODn9PTsNGuSnUKhysPHDd/v/wKOugC7CzTuLo+jPA54IAMa0YQGyeahbf6dd+gbaNNWUBOzsJrphRXrZu8Ptob1J4wK3BrXQa3bVf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'),
  6 + url('//at.alicdn.com/t/font_917618_xhsacnkpdcf.ttf?t=1584621521278') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
  7 + url('//at.alicdn.com/t/font_917618_xhsacnkpdcf.svg?t=1584621521278#iconfont') format('svg'); /* iOS 4.1- */
8 } 8 }
9 9
10 .iconfont { 10 .iconfont {
@@ -15,8 +15,12 @@ @@ -15,8 +15,12 @@
15 -moz-osx-font-smoothing: grayscale; 15 -moz-osx-font-smoothing: grayscale;
16 } 16 }
17 17
18 -.icon-chahao:before {  
19 - content: "\e604"; 18 +.icon-weixin:before {
  19 + content: "\e733";
  20 +}
  21 +
  22 +.icon-shanchu:before {
  23 + content: "\e61e";
20 } 24 }
21 25
22 .icon-dianhua:before { 26 .icon-dianhua:before {
@@ -27,10 +31,6 @@ @@ -27,10 +31,6 @@
27 content: "\e627"; 31 content: "\e627";
28 } 32 }
29 33
30 -.icon-xuanzekuanghou:before {  
31 - content: "\e677";  
32 -}  
33 -  
34 .icon-xuanze2:before { 34 .icon-xuanze2:before {
35 content: "\e63b"; 35 content: "\e63b";
36 } 36 }
@@ -39,14 +39,18 @@ @@ -39,14 +39,18 @@
39 content: "\e63d"; 39 content: "\e63d";
40 } 40 }
41 41
42 -.icon-xuanzekuang:before {  
43 - content: "\e64d";  
44 -}  
45 -  
46 -.icon-shanchu:before {  
47 - content: "\e61e"; 42 +.icon-chahao:before {
  43 + content: "\e604";
48 } 44 }
49 45
50 .icon-yixiajia:before { 46 .icon-yixiajia:before {
51 content: "\e718"; 47 content: "\e718";
52 } 48 }
  49 +
  50 +.icon-xuanzekuanghou:before {
  51 + content: "\e677";
  52 +}
  53 +
  54 +.icon-xuanzekuang:before {
  55 + content: "\e64d";
  56 +}
@@ -92,7 +92,7 @@ @@ -92,7 +92,7 @@
92 <view wx:if="{{page_Con.length == 0}}" class='page_none'>暂无数据</view> 92 <view wx:if="{{page_Con.length == 0}}" class='page_none'>暂无数据</view>
93 <block wx:else> 93 <block wx:else>
94 <view class='page_info' wx:for="{{page_Con}}" wx:key="" bindtap='bindDetail' data-activeid='{{item.id}}'> 94 <view class='page_info' wx:for="{{page_Con}}" wx:key="" bindtap='bindDetail' data-activeid='{{item.id}}'>
95 - <view class='page_img'><image src='{{item.list_pic}}'></image></view> 95 + <view class='page_img'><image src='{{item.list_pic}}' ></image></view>
96 <view class='page_title'>{{item.title}}</view> 96 <view class='page_title'>{{item.title}}</view>
97 <view class='page_txt'> 97 <view class='page_txt'>
98 <text wx:if='{{item.cityName}}'>{{item.cityName[0]}} {{item.cityName[1]}}</text> 98 <text wx:if='{{item.cityName}}'>{{item.cityName[0]}} {{item.cityName[1]}}</text>
@@ -353,7 +353,12 @@ button::after { @@ -353,7 +353,12 @@ button::after {
353 } 353 }
354 .month_info{ 354 .month_info{
355 margin:0 20rpx; 355 margin:0 20rpx;
356 - overflow-x: hidden 356 + overflow-x: hidden;
  357 + display:flex;
  358 + flex-direction: column;
  359 + justify-content: center;
  360 + align-items: center
  361 +
357 } 362 }
358 .WxEmojiView{ 363 .WxEmojiView{
359 /* width:700rpx; */ 364 /* width:700rpx; */
@@ -50,6 +50,27 @@ Page({ @@ -50,6 +50,27 @@ Page({
50 50
51 }, 51 },
52 52
  53 + paste(e) {
  54 + console.log(e)
  55 + let word=e.currentTarget.dataset.word
  56 + let that = this
  57 + wx.showToast({
  58 + title: '复制成功',
  59 + })
  60 +
  61 + wx.setClipboardData({
  62 + data:word,
  63 + success: function (res) {
  64 + wx.getClipboardData({
  65 +
  66 + success: function (res) {
  67 + console.log(res.data) // data
  68 + }
  69 + })
  70 + }
  71 + })
  72 + },
  73 +
53 // 获取商品详情接口 74 // 获取商品详情接口
54 getDetail: function(){ 75 getDetail: function(){
55 76
@@ -71,6 +92,10 @@ Page({ @@ -71,6 +92,10 @@ Page({
71 goods_user_id: res.user_id, 92 goods_user_id: res.user_id,
72 off: !res.is_mine 93 off: !res.is_mine
73 }) 94 })
  95 + wx.setNavigationBarTitle({
  96 + title: res.title
  97 + })
  98 +
74 }) 99 })
75 }, 100 },
76 // 写留言 101 // 写留言
@@ -43,9 +43,9 @@ @@ -43,9 +43,9 @@
43 <view class="price_address detail_address">{{goodetail.city}}</view> 43 <view class="price_address detail_address">{{goodetail.city}}</view>
44 <view class="price_address detail_address">{{goodetail.area}}</view> 44 <view class="price_address detail_address">{{goodetail.area}}</view>
45 </view> 45 </view>
46 - <view class="good_address"> 46 + <view class="good_address" bindtap="paste" data-word="{{goodetail.mobile}}">
47 <view class="address_sign"> 47 <view class="address_sign">
48 - <div class="iconfont icon-dianhua"></div> 48 + <div class="iconfont icon-weixin" ></div>
49 </view> 49 </view>
50 <view class="price_address detail_address">{{goodetail.mobile}}</view> 50 <view class="price_address detail_address">{{goodetail.mobile}}</view>
51 </view> 51 </view>
@@ -109,7 +109,12 @@ Page({ @@ -109,7 +109,12 @@ Page({
109 hosname:'', 109 hosname:'',
110 doctorpage:1, 110 doctorpage:1,
111 doctornum:10, 111 doctornum:10,
112 - koubeipage:1 112 + koubeipage:1,
  113 + star1:'',
  114 + star2:'',
  115 + star3:'',
  116 + star4:'',
  117 + explain_pic:[]
113 118
114 119
115 120
@@ -1082,7 +1087,14 @@ Page({ @@ -1082,7 +1087,14 @@ Page({
1082 tips: res.tips, 1087 tips: res.tips,
1083 tipsnum: tipslength, 1088 tipsnum: tipslength,
1084 spend: res.spend, 1089 spend: res.spend,
1085 - hosname:res.title 1090 + hosname:res.title,
  1091 + star1:Number(res.star1),
  1092 + star2:Number(res.star2),
  1093 + star3:Number(res.star3),
  1094 + star4:Number(res.star4),
  1095 + explain_pic: res.explain_pic
  1096 +
  1097 +
1086 1098
1087 }) 1099 })
1088 1100
1 -<import src="../../../wxParse/wxParse.wxml"/> 1 +<import src="../../../wxParse/wxParse.wxml" />
2 2
3 <view class="nav navhead"> 3 <view class="nav navhead">
4 - <view wx:for="{{navbar}}" data-idx="{{index}}" class="nav_item {{currentTab==index ? 'active' : ''}}"  
5 - wx:key="unique" bindtap="navbarTap">{{item}} 4 + <view wx:for="{{navbar}}" data-idx="{{index}}" class="nav_item {{currentTab==index ? 'active' : ''}}" wx:key="unique" bindtap="navbarTap">{{item}}
6 </view> 5 </view>
7 </view> 6 </view>
8 7
@@ -29,6 +28,8 @@ @@ -29,6 +28,8 @@
29 <view class="detail_intro_name"> 28 <view class="detail_intro_name">
30 29
31 <text wx:for="{{info.service_name}}" wx:key="">{{item}}/</text> 30 <text wx:for="{{info.service_name}}" wx:key="">{{item}}/</text>
  31 +
  32 + <text wx:for="{{info.cname}}">{{item}}/</text>
32 <!-- 唐筛/无创DNA/羊水穿刺 33 <!-- 唐筛/无创DNA/羊水穿刺
33 无痛分娩/导乐分娩 --> 34 无痛分娩/导乐分娩 -->
34 35
@@ -147,30 +148,89 @@ @@ -147,30 +148,89 @@
147 <view class="allevel"> 148 <view class="allevel">
148 <view class="allevalname">总体评价</view> 149 <view class="allevalname">总体评价</view>
149 <view class="starlist"> 150 <view class="starlist">
150 - <view class="allevalute_star" wx:for="{{allevalute_star}}" wx:key="unique">  
151 - <image src="{{item}}"></image> 151 + <view class="allevalute_star">
  152 + <image src="http://bronet.ibaby88.cn/bicon18@2x.png" wx:if="{{star1>=1}}"></image>
  153 + <image src="http://bronet.ibaby88.cn/bicon19@2x.png" wx:if="{{star1<1}}"></image>
  154 + <image src="http://bronet.ibaby88.cn/bankexing.png" wx:if="{{star1==0.5}}"></image>
152 </view> 155 </view>
153 156
154 - <view class="allevalute_star" wx:if="{{showstar}}">  
155 - <image src="http://bronet.ibaby88.cn/bankexing.png"></image> 157 + <view class="allevalute_star">
  158 + <image src="http://bronet.ibaby88.cn/bicon18@2x.png" wx:if="{{star1>=2}}"></image>
  159 + <image src="http://bronet.ibaby88.cn/bicon19@2x.png" wx:if="{{star1<2}}"></image>
  160 + <image src="http://bronet.ibaby88.cn/bankexing.png" wx:if="{{star1==1.5}}"></image>
156 </view> 161 </view>
  162 + <view class="allevalute_star">
  163 + <image src="http://bronet.ibaby88.cn/bicon18@2x.png" wx:if="{{star1>=3}}"></image>
  164 + <image src="http://bronet.ibaby88.cn/bicon19@2x.png" wx:if="{{star1<3}}"></image>
  165 + <image src="http://bronet.ibaby88.cn/bankexing.png" wx:if="{{star1==2.5}}"></image>
157 </view> 166 </view>
  167 + <view class="allevalute_star">
  168 + <image src="http://bronet.ibaby88.cn/bicon18@2x.png" wx:if="{{star1>=4}}"></image>
  169 + <image src="http://bronet.ibaby88.cn/bicon19@2x.png" wx:if="{{star1<4}}"></image>
  170 + <image src="http://bronet.ibaby88.cn/bankexing.png" wx:if="{{star1==3.5}}"></image>
158 </view> 171 </view>
159 - <view class="allevelstate">{{allevalutename}}</view> 172 + <view class="allevalute_star">
  173 + <image src="http://bronet.ibaby88.cn/bicon18@2x.png" wx:if="{{star1>=5}}"></image>
  174 + <image src="http://bronet.ibaby88.cn/bicon19@2x.png" wx:if="{{star1<5}}"></image>
  175 + <image src="http://bronet.ibaby88.cn/bankexing.png" wx:if="{{star1==4.5}}"></image>
  176 + </view>
  177 +
  178 +
  179 +
  180 + </view>
  181 + </view>
  182 + <view class="allevelstate" wx:if="{{star1==5}}">无可挑剔,非常满意</view>
  183 + <view class="allevelstate" wx:if="{{star1==4.5||star1==4}}">比较满意,仍可改善</view>
  184 + <view class="allevelstate" wx:if="{{star1==3||star1==3.5}}">一般,还需改善</view>
  185 + <view class="allevelstate" wx:if="{{star1==2||star1==2.5}}">不满意,比较差</view>
  186 + <view class="allevelstate" wx:if="{{star1<=1}}">非常不满意,各方面都很差</view>
160 </view> 187 </view>
161 </view> 188 </view>
162 189
163 <view class="evalute"> 190 <view class="evalute">
164 <view class="allevalute"> 191 <view class="allevalute">
165 <view class="allevel"> 192 <view class="allevel">
166 - <view class="allevalname">医疗水平</view> 193 + <view class="allevalname">医疗水平{{star2}}</view>
167 <view class="starlist"> 194 <view class="starlist">
168 - <view class="hostel_star" wx:for="{{medical_star}}" wx:key="unique">  
169 - <image src="{{item}}"></image> 195 + <view class="hostel_star">
  196 + <image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star2>=1}}"></image>
  197 + <image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star2<1}}"></image>
  198 + <image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star2==0.5}}'></image>
170 </view> 199 </view>
  200 + <view class="hostel_star">
  201 + <image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star2>=2}}"></image>
  202 + <image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star2<2}}"></image>
  203 + <image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star2==1.5}}'></image>
171 </view> 204 </view>
  205 + <view class="hostel_star">
  206 + <image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star2>=3}}"></image>
  207 + <image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star2<3}}"></image>
  208 + <image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star2==2.5}}'></image>
172 </view> 209 </view>
173 - <view class="allevelstate">{{medicalvalutename}}</view> 210 +
  211 + <view class="hostel_star">
  212 + <image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star2>=4}}"></image>
  213 + <image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star2<4}}"></image>
  214 + <image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star2==3.5}}'></image>
  215 + </view>
  216 + <view class="hostel_star">
  217 + <image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star2>=5}}"></image>
  218 + <image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star2<5}}"></image>
  219 + <image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star2==4.5}}'></image>
  220 + </view>
  221 +
  222 + </view>
  223 +
  224 +
  225 +
  226 +
  227 +
  228 + </view>
  229 + <view class="allevelstate" wx:if="{{star2==5}}">无可挑剔,非常满意</view>
  230 + <view class="allevelstate" wx:if="{{star2==4.5||star2==4}}">比较满意,仍可改善</view>
  231 + <view class="allevelstate" wx:if="{{star2==3||star2==3.5}}">一般,还需改善</view>
  232 + <view class="allevelstate" wx:if="{{star2==2||star2==2.5}}">不满意,比较差</view>
  233 + <view class="allevelstate" wx:if="{{star2<=1}}">非常不满意,各方面都很差</view>
174 </view> 234 </view>
175 </view> 235 </view>
176 236
@@ -179,12 +239,40 @@ @@ -179,12 +239,40 @@
179 <view class="allevel"> 239 <view class="allevel">
180 <view class="allevalname">硬件环境</view> 240 <view class="allevalname">硬件环境</view>
181 <view class="starlist"> 241 <view class="starlist">
182 - <view class="hostel_star" wx:for="{{hardware_star}}" wx:key="unique">  
183 - <image src="{{item}}"></image> 242 + <view class="hostel_star">
  243 + <image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star3>=1}}"></image>
  244 + <image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star3<1}}"></image>
  245 + <image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star3==0.5}}'></image>
184 </view> 246 </view>
  247 + <view class="hostel_star">
  248 + <image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star3>=2}}"></image>
  249 + <image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star3<2}}"></image>
  250 + <image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star3==1.5}}'></image>
185 </view> 251 </view>
  252 + <view class="hostel_star">
  253 + <image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star3>=3}}"></image>
  254 + <image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star3<3}}"></image>
  255 + <image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star3==2.5}}'></image>
186 </view> 256 </view>
187 - <view class="allevelstate">{{hardwareevalutename}}</view> 257 +
  258 + <view class="hostel_star">
  259 + <image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star3>=4}}"></image>
  260 + <image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star3<4}}"></image>
  261 + <image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star3==3.5}}'></image>
  262 + </view>
  263 + <view class="hostel_star">
  264 + <image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star3>=5}}"></image>
  265 + <image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star3<5}}"></image>
  266 + <image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star3==4.5}}'></image>
  267 + </view>
  268 +
  269 + </view>
  270 + </view>
  271 + <view class="allevelstate" wx:if="{{star3==5}}">无可挑剔,非常满意</view>
  272 + <view class="allevelstate" wx:if="{{star3==4.5||star3==4}}">比较满意,仍可改善</view>
  273 + <view class="allevelstate" wx:if="{{star3==3||star1==3.5}}">一般,还需改善</view>
  274 + <view class="allevelstate" wx:if="{{star3==2||star1==2.5}}">不满意,比较差</view>
  275 + <view class="allevelstate" wx:if="{{star3<=1}}">非常不满意,各方面都很差</view>
188 </view> 276 </view>
189 </view> 277 </view>
190 278
@@ -193,12 +281,40 @@ @@ -193,12 +281,40 @@
193 <view class="allevel"> 281 <view class="allevel">
194 <view class="allevalname">医疗服务</view> 282 <view class="allevalname">医疗服务</view>
195 <view class="starlist"> 283 <view class="starlist">
196 - <view class="hostel_star" wx:for="{{service_star}}" wx:key="unique">  
197 - <image src="{{item}}"></image> 284 + <view class="hostel_star">
  285 + <image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star4>=1}}"></image>
  286 + <image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star4<1}}"></image>
  287 + <image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star4==0.5}}'></image>
198 </view> 288 </view>
  289 + <view class="hostel_star">
  290 + <image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star4>=2}}"></image>
  291 + <image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star4<2}}"></image>
  292 + <image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star4==1.5}}'></image>
199 </view> 293 </view>
  294 + <view class="hostel_star">
  295 + <image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star4>=3}}"></image>
  296 + <image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star4<3}}"></image>
  297 + <image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star4==2.5}}'></image>
200 </view> 298 </view>
201 - <view class="allevelstate">{{serviceevalutename}}</view> 299 +
  300 + <view class="hostel_star">
  301 + <image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star4>=4}}"></image>
  302 + <image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star4<4}}"></image>
  303 + <image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star4==3.5}}'></image>
  304 + </view>
  305 + <view class="hostel_star">
  306 + <image src="http://bronet.ibaby88.cn/aicon07@2x.png" wx:if="{{star4>=5}}"></image>
  307 + <image src="http://bronet.ibaby88.cn/aicon08@2x.png" wx:if="{{star4<5}}"></image>
  308 + <image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star4==4.5}}'></image>
  309 + </view>
  310 +
  311 + </view>
  312 + </view>
  313 + <view class="allevelstate" wx:if="{{star4==5}}">无可挑剔,非常满意</view>
  314 + <view class="allevelstate" wx:if="{{star4==4.5||star4==4}}">比较满意,仍可改善</view>
  315 + <view class="allevelstate" wx:if="{{star4==3||star4==3.5}}">一般,还需改善</view>
  316 + <view class="allevelstate" wx:if="{{star4==2||star4==2.5}}">不满意,比较差</view>
  317 + <view class="allevelstate" wx:if="{{star4<=1}}">非常不满意,各方面都很差</view>
202 </view> 318 </view>
203 </view> 319 </view>
204 </view> 320 </view>
@@ -206,8 +322,7 @@ @@ -206,8 +322,7 @@
206 322
207 <!-- 我要点评 --> 323 <!-- 我要点评 -->
208 <view> 324 <view>
209 - <button size="{{defaultSize}}" class="lj_comment" bindtap="mouthreview"  
210 - data-praiseid="{{info.hospital_id}}"> 查看点评 325 + <button size="{{defaultSize}}" class="lj_comment" bindtap="mouthreview" data-praiseid="{{info.hospital_id}}"> 查看点评
211 </button> 326 </button>
212 </view> 327 </view>
213 </view> 328 </view>
@@ -316,6 +431,13 @@ @@ -316,6 +431,13 @@
316 </view> 431 </view>
317 432
318 </view> 433 </view>
  434 +
  435 + <!-- 建档流程图-->
  436 + <view class="dangimg">
  437 + <view class="dangimgitem" wx:for="{{explain_pic}}" wx:key="">
  438 + <image src="{{item}}"></image>
  439 + </view>
  440 + </view>
319 <!-- 建档随笔 --> 441 <!-- 建档随笔 -->
320 442
321 <view class="note"> 443 <view class="note">
@@ -330,8 +452,7 @@ @@ -330,8 +452,7 @@
330 <view class="nodata" wx:if="{{homebuildlist.length==0}}">暂无数据</view> 452 <view class="nodata" wx:if="{{homebuildlist.length==0}}">暂无数据</view>
331 453
332 <view class="homebuildlist" wx:else> 454 <view class="homebuildlist" wx:else>
333 - <view class="essaysitem" bindtap="buildtextdetail" wx:for="{{homebuildlist}}"  
334 - data-id="{{item.archives_id}}" wx:key="" wx:for-index="par"> 455 + <view class="essaysitem" bindtap="buildtextdetail" wx:for="{{homebuildlist}}" data-id="{{item.archives_id}}" wx:key="" wx:for-index="par">
335 <view class="essays_content user_essays_content"> 456 <view class="essays_content user_essays_content">
336 <view class="essays_content_img"> 457 <view class="essays_content_img">
337 <image src="{{item.avatar}}"></image> 458 <image src="{{item.avatar}}"></image>
@@ -346,7 +467,9 @@ @@ -346,7 +467,9 @@
346 <view class="essays_date">{{item.auto_generate}} 预约</view> 467 <view class="essays_date">{{item.auto_generate}} 预约</view>
347 <view class="essays_text"> 468 <view class="essays_text">
348 <view class="guide_text"> 469 <view class="guide_text">
349 - <view class="editword">{{item.content_text}}<text wx:if="{{item.openword}}">{{item.showword?'...':''}}</text></view> 470 + <view class="editword">{{item.content_text}}
  471 + <text wx:if="{{item.openword}}">{{item.showword?'...':''}}</text>
  472 + </view>
350 473
351 474
352 <view class="openword" catchtap='buildoperaword' data-archives_id="{{item.archives_id}}" wx:if="{{item.openword}}" data-showword="{{item.showword}}">{{item.showword?'展开':'收起'}}</view> 475 <view class="openword" catchtap='buildoperaword' data-archives_id="{{item.archives_id}}" wx:if="{{item.openword}}" data-showword="{{item.showword}}">{{item.showword?'展开':'收起'}}</view>
@@ -356,12 +479,12 @@ @@ -356,12 +479,12 @@
356 <view vx:if="item.content_imgs.length!=0"> 479 <view vx:if="item.content_imgs.length!=0">
357 <view class="edit_img small_img" wx:if="{{item.content_imgs.length>1}}"> 480 <view class="edit_img small_img" wx:if="{{item.content_imgs.length>1}}">
358 <view class="edit_small_img" wx:for="{{item.content_imgs}}" wx:key=""> 481 <view class="edit_small_img" wx:for="{{item.content_imgs}}" wx:key="">
359 - <image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewImg" ></image> 482 + <image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewImg"></image>
360 </view> 483 </view>
361 </view> 484 </view>
362 <view class="edit_img" wx:else> 485 <view class="edit_img" wx:else>
363 <view class="edit_big_img" wx:for="{{item.content_imgs}}" wx:key=""> 486 <view class="edit_big_img" wx:for="{{item.content_imgs}}" wx:key="">
364 - <image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewImg" ></image> 487 + <image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewImg"></image>
365 </view> 488 </view>
366 489
367 </view> 490 </view>
@@ -377,7 +500,7 @@ @@ -377,7 +500,7 @@
377 </view> 500 </view>
378 501
379 502
380 - <button class="lj_comment" bindtap="searchmorebuildtext" >查看更多</button> 503 + <button class="lj_comment" bindtap="searchmorebuildtext">查看更多</button>
381 504
382 505
383 </view> 506 </view>
@@ -438,8 +561,7 @@ @@ -438,8 +561,7 @@
438 561
439 </view> 562 </view>
440 <view class="essays_date" wx:if="{{item.is_what==2}}">{{item.auto}}时点评 563 <view class="essays_date" wx:if="{{item.is_what==2}}">{{item.auto}}时点评
441 - <text class="commentdoctorname">{{item.doctor_name}}</text>  
442 - 医生 564 + <text class="commentdoctorname">{{item.doctor_name}}</text> 医生
443 </view> 565 </view>
444 <view class="essays_text"> 566 <view class="essays_text">
445 <view class="guide_text"> 567 <view class="guide_text">
@@ -461,7 +583,7 @@ @@ -461,7 +583,7 @@
461 <view vx:if="item.content_imgs.length!=0"> 583 <view vx:if="item.content_imgs.length!=0">
462 <view class="edit_img small_img" wx:if="{{item.content_imgs.length>1}}"> 584 <view class="edit_img small_img" wx:if="{{item.content_imgs.length>1}}">
463 <view class="edit_small_img" wx:for="{{item.content_imgs}}" wx:key=""> 585 <view class="edit_small_img" wx:for="{{item.content_imgs}}" wx:key="">
464 - <image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewblenImg" ></image> 586 + <image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewblenImg"></image>
465 </view> 587 </view>
466 </view> 588 </view>
467 <view class="edit_img" wx:if="{{item.content_imgs.length==1}}"> 589 <view class="edit_img" wx:if="{{item.content_imgs.length==1}}">
@@ -480,7 +602,7 @@ @@ -480,7 +602,7 @@
480 </view> 602 </view>
481 </view> 603 </view>
482 604
483 - <button class="lj_comment" bindtap="searchblendmore" >查看更多</button> 605 + <button class="lj_comment" bindtap="searchblendmore">查看更多</button>
484 606
485 607
486 </view> 608 </view>
@@ -500,8 +622,7 @@ @@ -500,8 +622,7 @@
500 622
501 <block wx:else> 623 <block wx:else>
502 <view class="homechildlist"> 624 <view class="homechildlist">
503 - <view class="essaysitem" bindtap="childtextdetail" wx:for="{{homechildlist}}"  
504 - data-id="{{item.childbirth_id}} " wx:key="" wx:for-index="par"> 625 + <view class="essaysitem" bindtap="childtextdetail" wx:for="{{homechildlist}}" data-id="{{item.childbirth_id}} " wx:key="" wx:for-index="par">
505 <view class="essays_content user_essays_content"> 626 <view class="essays_content user_essays_content">
506 <view class="essays_content_img"> 627 <view class="essays_content_img">
507 <image src="{{item.avatar}}"></image> 628 <image src="{{item.avatar}}"></image>
@@ -513,12 +634,13 @@ @@ -513,12 +634,13 @@
513 <view class="essays_name">{{item.user_nickname}}</view> 634 <view class="essays_name">{{item.user_nickname}}</view>
514 635
515 </view> 636 </view>
516 - <view class="essays_date">{{item.auto_generate}} {{item.production_type}} {{item.sex}}  
517 - {{item.weight}}斤 637 + <view class="essays_date">{{item.auto_generate}} {{item.production_type}} {{item.sex}} {{item.weight}}斤
518 </view> 638 </view>
519 <view class="essays_text"> 639 <view class="essays_text">
520 <view class="guide_text"> 640 <view class="guide_text">
521 - <view class="editword">{{item.content_text}}<text wx:if="{{item.openword}}">{{item.showword?'...':''}}</text></view> 641 + <view class="editword">{{item.content_text}}
  642 + <text wx:if="{{item.openword}}">{{item.showword?'...':''}}</text>
  643 + </view>
522 644
523 <!-- <view class="buildopen" wx:if="{{item.content_text==80}}"> 645 <!-- <view class="buildopen" wx:if="{{item.content_text==80}}">
524 展开 646 展开
@@ -531,7 +653,7 @@ @@ -531,7 +653,7 @@
531 <view vx:if="item.content_imgs.length!=0"> 653 <view vx:if="item.content_imgs.length!=0">
532 <view class="edit_img small_img" wx:if="{{item.content_imgs.length>1}}"> 654 <view class="edit_img small_img" wx:if="{{item.content_imgs.length>1}}">
533 <view class="edit_small_img" wx:for="{{item.content_imgs}}" wx:key=""> 655 <view class="edit_small_img" wx:for="{{item.content_imgs}}" wx:key="">
534 - <image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewfenImg" ></image> 656 + <image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewfenImg"></image>
535 </view> 657 </view>
536 </view> 658 </view>
537 <view class="edit_img" wx:if="{{item.content_imgs.length==1}}"> 659 <view class="edit_img" wx:if="{{item.content_imgs.length==1}}">
@@ -553,7 +675,7 @@ @@ -553,7 +675,7 @@
553 </view> 675 </view>
554 676
555 </block> 677 </block>
556 - <button class="lj_comment" bindtap="searchmorechildnote" > 678 + <button class="lj_comment" bindtap="searchmorechildnote">
557 查看更多 679 查看更多
558 </button> 680 </button>
559 </view> 681 </view>
@@ -580,7 +702,7 @@ @@ -580,7 +702,7 @@
580 <view class="sign">“</view> 702 <view class="sign">“</view>
581 <view class="hostipal_text"> 703 <view class="hostipal_text">
582 <!-- {{praiseinfo.briefcontent}} --> 704 <!-- {{praiseinfo.briefcontent}} -->
583 - <template is="wxParse" data="{{wxParseData:article.nodes}}"/> 705 + <template is="wxParse" data="{{wxParseData:article.nodes}}" />
584 706
585 </view> 707 </view>
586 <!-- 信息介绍 --> 708 <!-- 信息介绍 -->
@@ -649,7 +771,7 @@ @@ -649,7 +771,7 @@
649 <view class="use_img"> 771 <view class="use_img">
650 <image src="http://bronet.ibaby88.cn/bicon25@2x.png"></image> 772 <image src="http://bronet.ibaby88.cn/bicon25@2x.png"></image>
651 </view> 773 </view>
652 - <view class="use_name">房屋环境</view> 774 + <view class="use_name">病房环境</view>
653 </view> 775 </view>
654 <view class="level" wx:for="{{Inpatient}}" wx:key=""> 776 <view class="level" wx:for="{{Inpatient}}" wx:key="">
655 <view class="process_text">{{item}}</view> 777 <view class="process_text">{{item}}</view>
@@ -787,11 +909,10 @@ @@ -787,11 +909,10 @@
787 909
788 <view class="user_comment" wx:else> 910 <view class="user_comment" wx:else>
789 911
790 - <view class="essaysitem" bindtap="commenthospitaldetail" wx:for="{{hospitalist}}" data-id="{{item.id}}"  
791 - wx:key="" wx:for-index="par"> 912 + <view class="essaysitem" bindtap="commenthospitaldetail" wx:for="{{hospitalist}}" data-id="{{item.id}}" wx:key="" wx:for-index="par">
792 <view class="essays_content user_essays_content"> 913 <view class="essays_content user_essays_content">
793 <view class="essays_content_img"> 914 <view class="essays_content_img">
794 - <image src="{{item.avatar}}" ></image> 915 + <image src="{{item.avatar}}"></image>
795 </view> 916 </view>
796 917
797 918
@@ -802,11 +923,11 @@ @@ -802,11 +923,11 @@
802 </view> 923 </view>
803 <view class="essays_date">{{item.auto_generate}}</view> 924 <view class="essays_date">{{item.auto_generate}}</view>
804 <view class="essays_date" wx:if="{{item.is_what==2}}">{{item.auto}}时点评 925 <view class="essays_date" wx:if="{{item.is_what==2}}">{{item.auto}}时点评
805 - <text class="commentdoctorname">{{item.doctor_name}}</text>  
806 - 医生 926 + <text class="commentdoctorname">{{item.doctor_name}}</text> 医生
807 </view> 927 </view>
808 <view class="essays_text"> 928 <view class="essays_text">
809 - <view class="editword">{{item.content_text}} <text wx:if="{{item.openword}}">{{item.showword?'...':''}}</text> 929 + <view class="editword">{{item.content_text}}
  930 + <text wx:if="{{item.openword}}">{{item.showword?'...':''}}</text>
810 931
811 <view class="openword kouopenword" catchtap='kouoperaword' data-customer_id="{{item.customer_id}}" wx:if="{{item.openword}}" data-showword="{{item.showword}}">{{item.showword?'展开':'收起'}}</view> 932 <view class="openword kouopenword" catchtap='kouoperaword' data-customer_id="{{item.customer_id}}" wx:if="{{item.openword}}" data-showword="{{item.showword}}">{{item.showword?'展开':'收起'}}</view>
812 </view> 933 </view>
@@ -829,8 +950,7 @@ @@ -829,8 +950,7 @@
829 <view class="user_bottom"> 950 <view class="user_bottom">
830 <view class="user_date">{{item.create_time}}</view> 951 <view class="user_date">{{item.create_time}}</view>
831 <view class="user_lsit_img"> 952 <view class="user_lsit_img">
832 - <view class="startouch" catchtap="hospitalcollect" data-id="{{item.id}}"  
833 - data-type="{{item.is_what}}"> 953 + <view class="startouch" catchtap="hospitalcollect" data-id="{{item.id}}" data-type="{{item.is_what}}">
834 <view class="user_img thumb_star" wx:if="{{item.ifCollect==false}}"> 954 <view class="user_img thumb_star" wx:if="{{item.ifCollect==false}}">
835 <image src="http://bronet.ibaby88.cn/bicon28@2x.png"></image> 955 <image src="http://bronet.ibaby88.cn/bicon28@2x.png"></image>
836 </view> 956 </view>
@@ -840,8 +960,7 @@ @@ -840,8 +960,7 @@
840 </view> 960 </view>
841 961
842 <view class="thumb"> 962 <view class="thumb">
843 - <view class="iscllect" catchtap="hospitaltouchstar" data-id="{{item.id}}"  
844 - data-type="{{item.is_what}}"> 963 + <view class="iscllect" catchtap="hospitaltouchstar" data-id="{{item.id}}" data-type="{{item.is_what}}">
845 <view class="user_img" wx:if="{{item.ifTouch==false}}"> 964 <view class="user_img" wx:if="{{item.ifTouch==false}}">
846 <image src="http://bronet.ibaby88.cn/bicon30@2x.png"></image> 965 <image src="http://bronet.ibaby88.cn/bicon30@2x.png"></image>
847 </view> 966 </view>
@@ -1011,8 +1130,7 @@ @@ -1011,8 +1130,7 @@
1011 <view class="nodata" wx:if="{{buildlist.length==0}}">暂无数据</view> 1130 <view class="nodata" wx:if="{{buildlist.length==0}}">暂无数据</view>
1012 1131
1013 <view class="buildtextlist" wx:else> 1132 <view class="buildtextlist" wx:else>
1014 - <view class="essaysitem" bindtap="buildtextdetail" wx:for="{{buildlist}}" data-id="{{item.archives_id}}"  
1015 - wx:key="" wx:for-index="par"> 1133 + <view class="essaysitem" bindtap="buildtextdetail" wx:for="{{buildlist}}" data-id="{{item.archives_id}}" wx:key="" wx:for-index="par">
1016 <view class="essays_content user_essays_content"> 1134 <view class="essays_content user_essays_content">
1017 <view class="essays_content_img"> 1135 <view class="essays_content_img">
1018 <image src="{{item.avatar}}"></image> 1136 <image src="{{item.avatar}}"></image>
@@ -1022,13 +1140,13 @@ @@ -1022,13 +1140,13 @@
1022 <view class="essays_content_text"> 1140 <view class="essays_content_text">
1023 <view class="user_comment_name"> 1141 <view class="user_comment_name">
1024 <view class="essays_name">{{item.user_nickname}}</view> 1142 <view class="essays_name">{{item.user_nickname}}</view>
1025 - <view class="user_comment_hostpital" data-hosid="{{item.hospital_id}}"  
1026 - catchtap="enterhostail">{{item.hospital_name}} 1143 + <view class="user_comment_hostpital" data-hosid="{{item.hospital_id}}" catchtap="enterhostail">{{item.hospital_name}}
1027 </view> 1144 </view>
1028 </view> 1145 </view>
1029 <view class="essays_date">{{item.auto_generate}} 预约</view> 1146 <view class="essays_date">{{item.auto_generate}} 预约</view>
1030 <view class="essays_text"> 1147 <view class="essays_text">
1031 - <view class="editword">{{item.content_text}}<text wx:if="{{item.openword}}">{{item.showword?'...':''}}</text> 1148 + <view class="editword">{{item.content_text}}
  1149 + <text wx:if="{{item.openword}}">{{item.showword?'...':''}}</text>
1032 1150
1033 1151
1034 <view class="openword kouopenword" catchtap='beioperaword' data-archives_id="{{item.archives_id}}" wx:if="{{item.openword}}" data-showword="{{item.showword}}">{{item.showword?'展开':'收起'}}</view> 1152 <view class="openword kouopenword" catchtap='beioperaword' data-archives_id="{{item.archives_id}}" wx:if="{{item.openword}}" data-showword="{{item.showword}}">{{item.showword?'展开':'收起'}}</view>
@@ -1039,12 +1157,12 @@ @@ -1039,12 +1157,12 @@
1039 <view vx:if="item.content_imgs.length!=0"> 1157 <view vx:if="item.content_imgs.length!=0">
1040 <view class="edit_img small_img" wx:if="{{item.content_imgs.length>1}}"> 1158 <view class="edit_img small_img" wx:if="{{item.content_imgs.length>1}}">
1041 <view class="edit_small_img" wx:for="{{item.content_imgs}}" wx:key=""> 1159 <view class="edit_small_img" wx:for="{{item.content_imgs}}" wx:key="">
1042 - <image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewjianImg" ></image> 1160 + <image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewjianImg"></image>
1043 </view> 1161 </view>
1044 </view> 1162 </view>
1045 <view class="edit_img" wx:else> 1163 <view class="edit_img" wx:else>
1046 <view class="edit_big_img" wx:for="{{item.content_imgs}}" wx:key=""> 1164 <view class="edit_big_img" wx:for="{{item.content_imgs}}" wx:key="">
1047 - <image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewjianImg" ></image> 1165 + <image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewjianImg"></image>
1048 </view> 1166 </view>
1049 1167
1050 </view> 1168 </view>
@@ -1124,8 +1242,7 @@ @@ -1124,8 +1242,7 @@
1124 1242
1125 <view class="nodata" wx:if="{{childbuildlist.length==0}}">暂无数据</view> 1243 <view class="nodata" wx:if="{{childbuildlist.length==0}}">暂无数据</view>
1126 <view class="childtextlist" wx:else> 1244 <view class="childtextlist" wx:else>
1127 - <view class="essaysitem" bindtap="childtail" wx:for="{{childbuildlist}}"  
1128 - data-id="{{item.childbirth_id}} " wx:key="" wx:for-index="par"> 1245 + <view class="essaysitem" bindtap="childtail" wx:for="{{childbuildlist}}" data-id="{{item.childbirth_id}} " wx:key="" wx:for-index="par">
1129 <view class="essays_content user_essays_content"> 1246 <view class="essays_content user_essays_content">
1130 <view class="essays_content_img"> 1247 <view class="essays_content_img">
1131 <image src="{{item.avatar}}"></image> 1248 <image src="{{item.avatar}}"></image>
@@ -1135,15 +1252,14 @@ @@ -1135,15 +1252,14 @@
1135 <view class="essays_content_text"> 1252 <view class="essays_content_text">
1136 <view class="user_comment_name"> 1253 <view class="user_comment_name">
1137 <view class="essays_name">{{item.user_nickname}}</view> 1254 <view class="essays_name">{{item.user_nickname}}</view>
1138 - <view class="user_comment_hostpital" data-hosid="{{item.hospital_id}}"  
1139 - catchtap="enterhostail">{{item.hospital_name}} 1255 + <view class="user_comment_hostpital" data-hosid="{{item.hospital_id}}" catchtap="enterhostail">{{item.hospital_name}}
1140 </view> 1256 </view>
1141 </view> 1257 </view>
1142 - <view class="essays_date">{{item.auto_generate}} {{item.production_type}} {{item.weight}}斤  
1143 - {{item.sex}} 1258 + <view class="essays_date">{{item.auto_generate}} {{item.production_type}} {{item.weight}}斤 {{item.sex}}
1144 </view> 1259 </view>
1145 <view class="essays_text"> 1260 <view class="essays_text">
1146 - <view class="editword">{{item.content_text}}<text wx:if="{{item.openword}}">{{item.showword?'...':''}}</text> 1261 + <view class="editword">{{item.content_text}}
  1262 + <text wx:if="{{item.openword}}">{{item.showword?'...':''}}</text>
1147 <view class="openword kouopenword" catchtap='fenoperaword' data-childbirth_id="{{item.childbirth_id}}" wx:if="{{item.openword}}" data-showword="{{item.showword}}">{{item.showword?'展开':'收起'}}</view> 1263 <view class="openword kouopenword" catchtap='fenoperaword' data-childbirth_id="{{item.childbirth_id}}" wx:if="{{item.openword}}" data-showword="{{item.showword}}">{{item.showword?'展开':'收起'}}</view>
1148 1264
1149 </view> 1265 </view>
@@ -1151,12 +1267,12 @@ @@ -1151,12 +1267,12 @@
1151 <view vx:if="item.content_imgs.length!=0"> 1267 <view vx:if="item.content_imgs.length!=0">
1152 <view class="edit_img small_img" wx:if="{{item.content_imgs.length>1}}"> 1268 <view class="edit_img small_img" wx:if="{{item.content_imgs.length>1}}">
1153 <view class="edit_small_img" wx:for="{{item.content_imgs}}" wx:key=""> 1269 <view class="edit_small_img" wx:for="{{item.content_imgs}}" wx:key="">
1154 - <image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewfenmianImg" ></image> 1270 + <image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewfenmianImg"></image>
1155 </view> 1271 </view>
1156 </view> 1272 </view>
1157 <view class="edit_img" wx:if="{{item.content_imgs.length==1}}"> 1273 <view class="edit_img" wx:if="{{item.content_imgs.length==1}}">
1158 <view class="edit_big_img" wx:for="{{item.content_imgs}}" wx:key=""> 1274 <view class="edit_big_img" wx:for="{{item.content_imgs}}" wx:key="">
1159 - <image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewfenmianImg" ></image> 1275 + <image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewfenmianImg"></image>
1160 </view> 1276 </view>
1161 </view> 1277 </view>
1162 </view> 1278 </view>
@@ -861,3 +861,9 @@ font-size:28rpx; @@ -861,3 +861,9 @@ font-size:28rpx;
861 .doctorcontentlist{ 861 .doctorcontentlist{
862 padding-bottom:100rpx; 862 padding-bottom:100rpx;
863 } 863 }
  864 +.dangimgitem{
  865 + width:686rpx;
  866 + height:500rpx;
  867 + font-size: 0;
  868 + margin:10rpx auto 0;
  869 +}
@@ -16,10 +16,10 @@ Page({ @@ -16,10 +16,10 @@ Page({
16 star2:1, 16 star2:1,
17 star3:1, 17 star3:1,
18 star4:1, 18 star4:1,
19 - star1name:'不满意',  
20 - star2name:'不佳',  
21 - star3name:'不佳',  
22 - star4name:'不佳', 19 + star1name:'各方面都很差',
  20 + star2name:'各方面都很差',
  21 + star3name:'各方面都很差',
  22 + star4name:'各方面都很差',
23 select: false, 23 select: false,
24 if_anonymous:0, 24 if_anonymous:0,
25 doctorcomment:'', 25 doctorcomment:'',
@@ -57,27 +57,27 @@ Page({ @@ -57,27 +57,27 @@ Page({
57 if(starid1==1){ 57 if(starid1==1){
58 that.setData({ 58 that.setData({
59 star1:1, 59 star1:1,
60 - star1name:'不满意' 60 + star1name:'各方面都很差'
61 }) 61 })
62 }else if(starid1==2){ 62 }else if(starid1==2){
63 that.setData({ 63 that.setData({
64 star1:2, 64 star1:2,
65 - star1name:'一般' 65 + star1name:'不满意,比较差'
66 }) 66 })
67 }else if(starid1==3){ 67 }else if(starid1==3){
68 that.setData({ 68 that.setData({
69 star1:3, 69 star1:3,
70 - star1name:'不错' 70 + star1name:'一般,还需改善'
71 }) 71 })
72 }else if(starid1==4){ 72 }else if(starid1==4){
73 that.setData({ 73 that.setData({
74 star1:4, 74 star1:4,
75 - star1name:'满意' 75 + star1name:'比较满意,仍可改善'
76 }) 76 })
77 }else if(starid1==5){ 77 }else if(starid1==5){
78 that.setData({ 78 that.setData({
79 star1:5, 79 star1:5,
80 - star1name:'超赞' 80 + star1name:'无可挑剔,非常满意'
81 }) 81 })
82 } 82 }
83 83
@@ -89,27 +89,27 @@ Page({ @@ -89,27 +89,27 @@ Page({
89 if(starid2==1){ 89 if(starid2==1){
90 that.setData({ 90 that.setData({
91 star2:1, 91 star2:1,
92 - star2name:'不佳' 92 + star2name:'各方面都很差'
93 }) 93 })
94 }else if(starid2==2){ 94 }else if(starid2==2){
95 that.setData({ 95 that.setData({
96 star2:2, 96 star2:2,
97 - star2name:'一般' 97 + star2name:'不满意,比较差'
98 }) 98 })
99 }else if(starid2==3){ 99 }else if(starid2==3){
100 that.setData({ 100 that.setData({
101 star2:3, 101 star2:3,
102 - star2name:'不错' 102 + star2name:'一般,还需改善'
103 }) 103 })
104 }else if(starid2==4){ 104 }else if(starid2==4){
105 that.setData({ 105 that.setData({
106 star2:4, 106 star2:4,
107 - star2name:'满意' 107 + star2name:'比较满意,仍可改善'
108 }) 108 })
109 }else if(starid2==5){ 109 }else if(starid2==5){
110 that.setData({ 110 that.setData({
111 star2:5, 111 star2:5,
112 - star2name:'超棒' 112 + star2name:'无可挑剔,非常满意'
113 }) 113 })
114 } 114 }
115 115
@@ -122,27 +122,27 @@ Page({ @@ -122,27 +122,27 @@ Page({
122 if(starid3==1){ 122 if(starid3==1){
123 that.setData({ 123 that.setData({
124 star3:1, 124 star3:1,
125 - star3name:'不佳' 125 + star3name:'各方面都很差'
126 }) 126 })
127 }else if(starid3==2){ 127 }else if(starid3==2){
128 that.setData({ 128 that.setData({
129 star3:2, 129 star3:2,
130 - star3name:'一般' 130 + star3name:'不满意,比较差'
131 }) 131 })
132 }else if(starid3==3){ 132 }else if(starid3==3){
133 that.setData({ 133 that.setData({
134 star3:3, 134 star3:3,
135 - star3name:'不错' 135 + star3name:'—一般,还需改善'
136 }) 136 })
137 }else if(starid3==4){ 137 }else if(starid3==4){
138 that.setData({ 138 that.setData({
139 star3:4, 139 star3:4,
140 - star3name:'满意' 140 + star3name:'比较满意,仍可改善'
141 }) 141 })
142 }else if(starid3==5){ 142 }else if(starid3==5){
143 that.setData({ 143 that.setData({
144 star3:5, 144 star3:5,
145 - star3name:'超棒' 145 + star3name:'无可挑剔,非常满意'
146 }) 146 })
147 } 147 }
148 148
@@ -155,27 +155,27 @@ Page({ @@ -155,27 +155,27 @@ Page({
155 if(starid4==1){ 155 if(starid4==1){
156 that.setData({ 156 that.setData({
157 star4:1, 157 star4:1,
158 - star4name:'不佳' 158 + star4name:'各方面都很差'
159 }) 159 })
160 }else if(starid4==2){ 160 }else if(starid4==2){
161 that.setData({ 161 that.setData({
162 star4:2, 162 star4:2,
163 - star4name:'一般' 163 + star4name:'不满意,比较差'
164 }) 164 })
165 }else if(starid4==3){ 165 }else if(starid4==3){
166 that.setData({ 166 that.setData({
167 star4:3, 167 star4:3,
168 - star4name:'不错' 168 + star4name:'一般,还需改善'
169 }) 169 })
170 }else if(starid4==4){ 170 }else if(starid4==4){
171 that.setData({ 171 that.setData({
172 star4:4, 172 star4:4,
173 - star4name:'满意' 173 + star4name:'比较满意,仍可改善'
174 }) 174 })
175 }else if(starid4==5){ 175 }else if(starid4==5){
176 that.setData({ 176 that.setData({
177 star4:5, 177 star4:5,
178 - star4name:'超棒' 178 + star4name:'无可挑剔,非常满意'
179 }) 179 })
180 } 180 }
181 181
@@ -92,15 +92,18 @@ Page({ @@ -92,15 +92,18 @@ Page({
92 }); 92 });
93 return false; 93 return false;
94 }else if (that.data.phone != '') { 94 }else if (that.data.phone != '') {
95 - var reg = /^[1][3,4,5,6,,7,8,9][0-9]{9}$/;  
96 - if (!reg.test(that.data.phone)) {  
97 - wx.showToast({  
98 - title: '请输入正确的手机号',  
99 - icon: 'none'  
100 - }) 95 + // var reg = /^[1][3,4,5,6,,7,8,9][0-9]{9}$/;
  96 + // if (!reg.test(that.data.phone)) {
  97 + // wx.showToast({
  98 + // title: '请输入正确的手机号',
  99 + // icon: 'none'
  100 + // })
101 101
102 - return false  
103 - } else if (that.data.classify[that.data.classify_index].goods_cate_id == 0) { 102 + // return false
  103 + // } else
  104 +
  105 +
  106 + if (that.data.classify[that.data.classify_index].goods_cate_id == 0) {
104 wx.showToast({ 107 wx.showToast({
105 title: '请选择分类', 108 title: '请选择分类',
106 icon: 'none' 109 icon: 'none'
@@ -41,9 +41,9 @@ @@ -41,9 +41,9 @@
41 </view> 41 </view>
42 </view> 42 </view>
43 <view class="commentlist-doctor user_place"> 43 <view class="commentlist-doctor user_place">
44 - <view class="commentlist_name entername">手机号</view> 44 + <view class="commentlist_name entername">微信号</view>
45 <view class="commentlist_right enter_right"> 45 <view class="commentlist_right enter_right">
46 - <input class="commentlsit_date" type="text" placeholder="请输入手机号" bindinput='getPhone'/> 46 + <input class="commentlsit_date" type="text" placeholder="请输入微信号" bindinput='getPhone'/>
47 </view> 47 </view>
48 </view> 48 </view>
49 </view> 49 </view>
@@ -85,13 +85,13 @@ Page({ @@ -85,13 +85,13 @@ Page({
85 hostipallist: [], 85 hostipallist: [],
86 muitiple: [{ 86 muitiple: [{
87 mulid: '', 87 mulid: '',
88 - name: '综合排序' 88 + name: '人气排序'
89 }, { 89 }, {
90 mulid: 1, 90 mulid: 1,
91 - name: '距离' 91 + name: '距离排序'
92 }, { 92 }, {
93 mulid: 2, 93 mulid: 2,
94 - name: '口碑' 94 + name: '口碑排序'
95 }], 95 }],
96 multiple_index: 0, 96 multiple_index: 0,
97 status: '', 97 status: '',
@@ -381,7 +381,7 @@ Page({ @@ -381,7 +381,7 @@ Page({
381 console.log(res) 381 console.log(res)
382 let newarr = { 382 let newarr = {
383 search_hospital_id: '', 383 search_hospital_id: '',
384 - name: '全部' 384 + name: ' 医院分类'
385 }; 385 };
386 res.unshift(newarr); 386 res.unshift(newarr);
387 console.log(res) 387 console.log(res)
@@ -417,7 +417,7 @@ Page({ @@ -417,7 +417,7 @@ Page({
417 console.log(res) 417 console.log(res)
418 let newarr = { 418 let newarr = {
419 service_id: '', 419 service_id: '',
420 - name: '全部' 420 + name: ' 全北京'
421 }; 421 };
422 res.unshift(newarr); 422 res.unshift(newarr);
423 console.log(res) 423 console.log(res)
@@ -584,6 +584,7 @@ Page({ @@ -584,6 +584,7 @@ Page({
584 entertail: function(e) { 584 entertail: function(e) {
585 585
586 let token = wx.getStorageSync("token"); 586 let token = wx.getStorageSync("token");
  587 +
587 if (token == '') { 588 if (token == '') {
588 wx.showToast({ 589 wx.showToast({
589 title: '请先登录', 590 title: '请先登录',
@@ -614,6 +615,7 @@ Page({ @@ -614,6 +615,7 @@ Page({
614 title: '请先登录', 615 title: '请先登录',
615 icon: 'none' 616 icon: 'none'
616 }) 617 })
  618 + wx.clearStorage("token")
617 setTimeout(function() { 619 setTimeout(function() {
618 wx.navigateTo({ 620 wx.navigateTo({
619 url: '/pages/index/index', 621 url: '/pages/index/index',
1 -page{  
2 - overflow-x: hidden 1 +page {
  2 + overflow-x: hidden;
3 } 3 }
4 -.parterner{  
5 - overflow-x: hidden 4 +
  5 +.parterner {
  6 + overflow-x: hidden;
6 } 7 }
7 8
8 -.parthead{  
9 - width:750rpx;  
10 - height:360rpx; 9 +.parthead {
  10 + width: 750rpx;
  11 + height: 360rpx;
11 font-size: 0; 12 font-size: 0;
12 - border-bottom:16rpx solid #FCF8F7 13 + border-bottom: 16rpx solid #fcf8f7;
13 } 14 }
14 -.parthead image{  
15 - width:100%;  
16 - height:100%; 15 +
  16 +.parthead image {
  17 + width: 100%;
  18 + height: 100%;
17 } 19 }
18 -.part_kind_item{ 20 +
  21 +.part_kind_item {
19 /* height:80rpx; */ 22 /* height:80rpx; */
20 - display:flex; 23 + display: flex;
21 justify-content: space-between; 24 justify-content: space-between;
22 line-height: 80rpx; 25 line-height: 80rpx;
23 padding: 0; 26 padding: 0;
24 - border-bottom:1rpx solid #f5f5f5;  
25 - color:#292525; 27 + border-bottom: 1rpx solid #f5f5f5;
  28 + color: #292525;
26 font-size: 30rpx; 29 font-size: 30rpx;
27 font-weight: bold; 30 font-weight: bold;
28 - flex-wrap: wrap 31 + flex-wrap: wrap;
29 } 32 }
30 -.iten_type{  
31 - width:91rpx; 33 +
  34 +.iten_type {
  35 + width: 176rpx;
32 overflow: hidden; 36 overflow: hidden;
33 text-overflow: ellipsis; 37 text-overflow: ellipsis;
34 white-space: nowrap; 38 white-space: nowrap;
35 text-align: center; 39 text-align: center;
36 - padding: 0 80rpx; 40 + padding: 0 20rpx;
37 } 41 }
38 -.part_kind_list{  
39 - border-bottom:16rpx solid #FCF8F7 42 +
  43 +.part_kind_list {
  44 + border-bottom: 16rpx solid #fcf8f7;
40 } 45 }
41 -.nearsupport{  
42 - width:750rpx;  
43 - height:80rpx; 46 +
  47 +.nearsupport {
  48 + width: 750rpx;
  49 + height: 80rpx;
44 padding: 0 37rpx; 50 padding: 0 37rpx;
45 line-height: 80rpx; 51 line-height: 80rpx;
46 - color:#292525; 52 + color: #292525;
47 font-size: 26rpx; 53 font-size: 26rpx;
48 font-weight: bold; 54 font-weight: bold;
49 } 55 }
50 -.nearsupport_item{  
51 - display:flex; 56 +
  57 +.nearsupport_item {
  58 + display: flex;
52 align-content: center; 59 align-content: center;
53 padding: 16rpx 32rpx; 60 padding: 16rpx 32rpx;
54 } 61 }
55 -.support_item_img{  
56 - width:180rpx;  
57 - height:180rpx; 62 +
  63 +.support_item_img {
  64 + width: 193rpx;
  65 + height: 193rpx;
58 font-size: 0; 66 font-size: 0;
59 - flex:0 0 auto; 67 + flex: 0 0 auto;
60 } 68 }
61 -.support_item_img image{  
62 - width:100%;  
63 - height:100%; 69 +
  70 +.support_item_img image {
  71 + width: 100%;
  72 + height: 100%;
64 } 73 }
65 -.support_item_name{  
66 - color:#000;  
67 - font-size: 32rpx;  
68 - width:465rpx; 74 +
  75 +.support_item_name {
  76 + color: #000;
  77 + font-size: 30rpx;
  78 + width: 465rpx;
  79 + height: 87rpx;
  80 + display: -webkit-box;
  81 + -webkit-box-orient: vertical;
  82 + -webkit-line-clamp: 2;
69 overflow: hidden; 83 overflow: hidden;
70 - text-overflow: ellipsis;  
71 - white-space: nowrap; 84 + margin-top: 0!important;
72 } 85 }
73 -.item_price_box1{  
74 - color:#292525;  
75 - font-size:34rpx;  
76 - font-weight: bold 86 +.support_item_price{
  87 + margin-top: 0!important;
77 } 88 }
78 -.item_price_box2{  
79 - color:#A89997;  
80 - font-size:30rpx;  
81 - margin-left:22rpx; 89 +.item_price_box1 {
  90 + color: #292525;
  91 + font-size: 32rpx;
  92 + font-weight: bold;
  93 +}
  94 +
  95 +.item_price_box2 {
  96 + color: #a89997;
  97 + font-size: 30rpx;
  98 + margin-left: 22rpx;
82 text-decoration: line-through; 99 text-decoration: line-through;
83 } 100 }
84 -.support_meter{ 101 +
  102 +.support_meter {
85 display: inline-block; 103 display: inline-block;
86 - height:32rpx;  
87 - background:rgba(255,194,153,1);  
88 - border-radius:3rpx;  
89 - color:#fff; 104 + height: 32rpx;
  105 + background: rgba(255, 194, 153, 1);
  106 + border-radius: 3rpx;
  107 + color: #fff;
90 font-size: 24rpx; 108 font-size: 24rpx;
91 text-align: center; 109 text-align: center;
92 padding: 6rpx 12rpx; 110 padding: 6rpx 12rpx;
93 -  
94 -}  
95 -.support_item_content{  
96 - margin-left:32rpx;  
97 - flex:1; 111 + margin-top:0!important
98 } 112 }
99 -.support_item_price,.support_meter,.support_item_name{  
100 - margin-top:15rpx; 113 +
  114 +.support_item_content {
  115 + margin-left: 32rpx;
  116 + flex: 1;
101 } 117 }
102 118
  119 +.support_item_price, .support_meter, .support_item_name {
  120 + margin-top: 15rpx;
  121 +}
103 122
104 /*轮播图*/ 123 /*轮播图*/
105 -.slide-image{  
106 - width:686rpx;  
107 - margin: 0 auto;  
108 124
109 - height:100%; 125 +.slide-image {
  126 + width: 686rpx;
  127 + margin: 0 auto;
  128 + height: 100%;
110 } 129 }
111 -.swiper_image,.swiper_item_img{  
112 - width:686rpx;  
113 - height:360rpx;  
114 - margin:0 auto;  
115 130
  131 +.swiper_image, .swiper_item_img {
  132 + width: 686rpx;
  133 + height: 360rpx;
  134 + margin: 0 auto;
116 } 135 }
117 -.swiper_image{ 136 +
  137 +.swiper_image {
118 margin-top: 36rpx; 138 margin-top: 36rpx;
119 } 139 }
120 -.user_comment{ 140 +
  141 +.user_comment {
121 padding-bottom: 100rpx; 142 padding-bottom: 100rpx;
122 } 143 }
123 -.swiper_image{  
124 - position:relative; 144 +
  145 +.swiper_image {
  146 + position: relative;
125 } 147 }
126 -.dots{ 148 +
  149 +.dots {
127 /* width: 156rpx; */ 150 /* width: 156rpx; */
128 height: 36rpx; 151 height: 36rpx;
129 -  
130 flex-direction: row; 152 flex-direction: row;
131 position: absolute; 153 position: absolute;
132 left: 0; 154 left: 0;
133 - right:0;  
134 - display:flex; 155 + right: 0;
  156 + display: flex;
135 justify-content: center; 157 justify-content: center;
136 bottom: 12rpx; 158 bottom: 12rpx;
137 } 159 }
  160 +
138 /*未选中时的小圆点样式 */ 161 /*未选中时的小圆点样式 */
139 -.dot{ 162 +
  163 +.dot {
140 width: 16rpx; 164 width: 16rpx;
141 height: 16rpx; 165 height: 16rpx;
142 border-radius: 50%; 166 border-radius: 50%;
143 margin-right: 26rpx; 167 margin-right: 26rpx;
144 - background-color:#fff; 168 + background-color: #fff;
145 } 169 }
  170 +
146 /*选中以后的小圆点样式 */ 171 /*选中以后的小圆点样式 */
147 -.active{ 172 +
  173 +.active {
148 width: 36rpx; 174 width: 36rpx;
149 height: 16rpx; 175 height: 16rpx;
150 - border-radius:8rpx; 176 + border-radius: 8rpx;
151 background-color: #fff; 177 background-color: #fff;
152 } 178 }
@@ -30,7 +30,10 @@ Page({ @@ -30,7 +30,10 @@ Page({
30 seconds: '', 30 seconds: '',
31 secretary: false, 31 secretary: false,
32 wxtary: '', 32 wxtary: '',
33 - edit_img:[] 33 + edit_img:[],
  34 + title:'',
  35 + name:'',
  36 + type:''
34 // disable:false 37 // disable:false
35 }, 38 },
36 39
@@ -41,7 +44,9 @@ Page({ @@ -41,7 +44,9 @@ Page({
41 var that = this; 44 var that = this;
42 let compareId = options.compareId; 45 let compareId = options.compareId;
43 that.setData({ 46 that.setData({
44 - compareId: compareId 47 + compareId: compareId,
  48 + name:options.name,
  49 + type:options.type
45 }) 50 })
46 // 获取经纬度 51 // 获取经纬度
47 wx.getLocation({ 52 wx.getLocation({
@@ -71,6 +76,9 @@ Page({ @@ -71,6 +76,9 @@ Page({
71 } 76 }
72 app.post(url, params).then((res) => { 77 app.post(url, params).then((res) => {
73 console.log(res) 78 console.log(res)
  79 + that.setData({
  80 + title: res.compare.title
  81 + })
74 wx.setNavigationBarTitle({ 82 wx.setNavigationBarTitle({
75 title: res.compare.title //页面切换,更换页面标题 83 title: res.compare.title //页面切换,更换页面标题
76 }) 84 })
@@ -319,6 +327,32 @@ Page({ @@ -319,6 +327,32 @@ Page({
319 * 用户点击右上角分享 327 * 用户点击右上角分享
320 */ 328 */
321 onShareAppMessage: function () { 329 onShareAppMessage: function () {
  330 + return {
  331 + title: that.data.title, // 转发后 所显示的title
  332 + // path: '/pages/home/buildtextdetail/buildtextdetail?buildid='+buildid+'&gettoken='+newtoken, // 相对的路径
  333 + path: '/pages/partneritem/afterchildbirthrecover/afterchildbirthrecover?compareId=' +this.data.compareId,//建档攻略分享1
  334 + // path:'',
  335 + success: (res) => { // 成功后要做的事情
  336 + console.log(res)
  337 + // console.log(res.shareTickets[0])
  338 + // console.log
322 339
  340 + // wx.getShareInfo({
  341 + // shareTicket: res.shareTickets[0],
  342 + // success: (res)=> {
  343 + // that.setData({
  344 + // isShow:true
  345 + // })
  346 + // console.log(that.setData.isShow)
  347 + // },
  348 + // fail: function (res) { console.log(res) },
  349 + // complete: function (res) { console.log(res) }
  350 + // })
  351 + },
  352 + fail: function (res) {
  353 + // 分享失败
  354 + console.log(res)
  355 + }
  356 + }
323 } 357 }
324 }) 358 })
@@ -5,7 +5,8 @@ @@ -5,7 +5,8 @@
5 /* @import '../../../wxParse/wxParse.wxss'; */ 5 /* @import '../../../wxParse/wxParse.wxss'; */
6 6
7 .swiper_image,.swiper_item_img{ 7 .swiper_image,.swiper_item_img{
8 - height:750rpx; 8 + width:750rpx;
  9 + height:500rpx;
9 } 10 }
10 .user_comment{ 11 .user_comment{
11 padding-bottom: 100rpx; 12 padding-bottom: 100rpx;
@@ -20,7 +21,7 @@ @@ -20,7 +21,7 @@
20 .price{ 21 .price{
21 display:flex; 22 display:flex;
22 align-items: center; 23 align-items: center;
23 - width:500rpx; 24 + width:432rpx;
24 height:95rpx; 25 height:95rpx;
25 26
26 background:linear-gradient(90deg,rgba(253,135,121,1),rgba(252,171,162,1)); 27 background:linear-gradient(90deg,rgba(253,135,121,1),rgba(252,171,162,1));
@@ -14,6 +14,7 @@ @@ -14,6 +14,7 @@
14 height: 120rpx; 14 height: 120rpx;
15 border-radius: 50%; 15 border-radius: 50%;
16 margin: 0 auto; 16 margin: 0 auto;
  17 + font-size: 0
17 } 18 }
18 .cen_img image{ 19 .cen_img image{
19 width: 100%; 20 width: 100%;