作者 lihongjuan

1

... ... @@ -92,14 +92,20 @@ App({
// })
// reject(res.data)
wx.showToast({
title: res.data.message,
title: '请重新登陆',
icon: 'none'
})
wx.setStorageSync("token", '')
setTimeout(function(){
console.log(8483489)
},1500)
// setTimeout(function(){
// wx.navigateTo({
// url: '/pages/index/index',
// })
// },1500)
wx.showToast({
title: res.data.msg,
icon: 'none'
})
} else {
reject(res)
}
... ...
@font-face {font-family: "iconfont";
src: url('//at.alicdn.com/t/font_917618_k7suf0xgjkc.eot?t=1548414831956'); /* IE9 */
src: url('//at.alicdn.com/t/font_917618_k7suf0xgjkc.eot?t=1548414831956#iefix') format('embedded-opentype'), /* IE6-IE8 */
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/phnYDCelof4Djz54EuUrMD6cypjYkRPDPRS/8FLZQqlSq4hKVG8h/SlqSEww0tCeHqpCR8vKcH3khGJXgoi2UtJFHipiPVecr45mRqI2+0HTEi/ALJPSTptTjUyIUxD58TF3j87A3FGmOvbsxAXCyc7O7a9PeLkEDxuQ/d3drG15TiwWRg2U68nDQZKpyO0Wny6SsZKUe5h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z8F8iWUmll+8Pic9/kRkKbAsmfEX+qO149SARiisIn/Gq0oRT6d+NJtWzfA3G8FZK8GD5VIhGAXX2Zo5UH7IN6utMxBbSVePh8Mnl2Wb/CyehO7Sl0sayHdfzw2IWxVqyzRkrO+B2NpqqlZKLg96qNlaGNE26mXss2GvbWayUHXYLz4xOzwgC') format('woff2'),
url('//at.alicdn.com/t/font_917618_k7suf0xgjkc.woff?t=1548414831956') format('woff'),
url('//at.alicdn.com/t/font_917618_k7suf0xgjkc.ttf?t=1548414831956') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
url('//at.alicdn.com/t/font_917618_k7suf0xgjkc.svg?t=1548414831956#iconfont') format('svg'); /* iOS 4.1- */
src: url('//at.alicdn.com/t/font_917618_xhsacnkpdcf.eot?t=1584621521278'); /* IE9 */
src: url('//at.alicdn.com/t/font_917618_xhsacnkpdcf.eot?t=1584621521278#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAosAAsAAAAAEgwAAAnfAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCENgqVOJEAATYCJAMsCxgABCAFhG0HgRQb9A5RlFBWFtlPTZ6sz935j/cwNswqYwSG68EIAAAAAAAeCjL+19rMN9lTSYg1EWkkQid0jZCgREqjdF5fquf737n8vQ4I8iaJ0OdyPy2nfODn9PTsNGuSnUKhysPHDd/v/wKOugC7CzTuLo+jPA54IAMa0YQGyeahbf6dd+gbaNNWUBOzsJrphRXrZu8Ptob1J4wK3BrXQa3bVf+4X6siWl1CpYbt/7N328GGDxNNd+kyhEImpP8RsSTeIFQIRUOjJFomRWyYM0dlYlB1pvJbjgYCgrFB0rJ9eAllFDYSfU5NoVBWy6FGfMllmp4tq8FXaLnmOfUA8JK+Pf/GwwGCTvCaV8dWBlYf+PksPyaP9tgGNKcTAHw1QAKWAJRv+vSyNyBc+8vC4HIL0FZH35d56tkQu8asOCKOijOfrXhO/wpI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zS9Jzsqd1/pd6c23Oce+sFSUxKzNDqiq1A4uAy5t05TFR2ENHQW7u2uLlaizky8XikXfzQYfc9dbPOv1jdi3x3kOlX7/+uU+UH9ZU0lQYfiKZv+qPYyrhES+hmBdvOk82ZXWyt/OlLLn9py+OJu7eZx4A+VUL4z6hhwpH03//J8LVta6ueLmpVb02meiZSKycUkVgeTrkq9LVRbfTHVmtSuVy/f4JebNaWPs2cqqG3jdwtlwt2G6TozkurxESECD0evbJA8fT5H3GJX+TfZWSlwATdT5khoW8FB5/lrHUavG/jPQnXfdRveWVsL5ZXI8ptluIGCohWL+8HpY2f/UbHcun4OobZgg+RFvKB4ZHX2yl00MQK8DSLa/7pKyW1STI1TR+pGCNQPY5ToGC41KkFq2AgeN+ZLBoZ/uowSNjeQALbhBJVbeRQuEdJBwfQcHxI1Jr+zYYeIaMDK6jcY/RTNxUbHhIA8yQdJ5oTNg8yA8qsr7nqIQm9UjnrnSNnq8Jm4wNj+7adtBG7xTr+JEyHgSccE9YZNusgaYpiOMJHVkwrKLVmR8Z4fN1h5mwoMIxD6KCOHYGkZZPr2EEG585UNF6/XNIETJR3siU6/TXkMenzZ8YM2xUYbtDbNWUtzLYF1GMC0hwJBztESzENglkSrNAOP2L6RATGKYe0OiYN0KWuJYMX95kfd8EX9+0fKkxBCUVNQ0tHT0DIxPMhVpOs0t9ldpMDUszGrWTQlqaC2vtAo6lHuMlFSVMpSJEWV7PqB7Qmi4w4rmKKsLKajYA') format('woff2'),
url('//at.alicdn.com/t/font_917618_xhsacnkpdcf.woff?t=1584621521278') format('woff'),
url('//at.alicdn.com/t/font_917618_xhsacnkpdcf.ttf?t=1584621521278') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
url('//at.alicdn.com/t/font_917618_xhsacnkpdcf.svg?t=1584621521278#iconfont') format('svg'); /* iOS 4.1- */
}
.iconfont {
... ... @@ -15,8 +15,12 @@
-moz-osx-font-smoothing: grayscale;
}
.icon-chahao:before {
content: "\e604";
.icon-weixin:before {
content: "\e733";
}
.icon-shanchu:before {
content: "\e61e";
}
.icon-dianhua:before {
... ... @@ -27,10 +31,6 @@
content: "\e627";
}
.icon-xuanzekuanghou:before {
content: "\e677";
}
.icon-xuanze2:before {
content: "\e63b";
}
... ... @@ -39,14 +39,18 @@
content: "\e63d";
}
.icon-xuanzekuang:before {
content: "\e64d";
}
.icon-shanchu:before {
content: "\e61e";
.icon-chahao:before {
content: "\e604";
}
.icon-yixiajia:before {
content: "\e718";
}
.icon-xuanzekuanghou:before {
content: "\e677";
}
.icon-xuanzekuang:before {
content: "\e64d";
}
... ...
... ... @@ -92,7 +92,7 @@
<view wx:if="{{page_Con.length == 0}}" class='page_none'>暂无数据</view>
<block wx:else>
<view class='page_info' wx:for="{{page_Con}}" wx:key="" bindtap='bindDetail' data-activeid='{{item.id}}'>
<view class='page_img'><image src='{{item.list_pic}}'></image></view>
<view class='page_img'><image src='{{item.list_pic}}' ></image></view>
<view class='page_title'>{{item.title}}</view>
<view class='page_txt'>
<text wx:if='{{item.cityName}}'>{{item.cityName[0]}} {{item.cityName[1]}}</text>
... ...
... ... @@ -353,7 +353,12 @@ button::after {
}
.month_info{
margin:0 20rpx;
overflow-x: hidden
overflow-x: hidden;
display:flex;
flex-direction: column;
justify-content: center;
align-items: center
}
.WxEmojiView{
/* width:700rpx; */
... ...
... ... @@ -50,6 +50,27 @@ Page({
},
paste(e) {
console.log(e)
let word=e.currentTarget.dataset.word
let that = this
wx.showToast({
title: '复制成功',
})
wx.setClipboardData({
data:word,
success: function (res) {
wx.getClipboardData({
success: function (res) {
console.log(res.data) // data
}
})
}
})
},
// 获取商品详情接口
getDetail: function(){
... ... @@ -71,6 +92,10 @@ Page({
goods_user_id: res.user_id,
off: !res.is_mine
})
wx.setNavigationBarTitle({
title: res.title
})
})
},
// 写留言
... ...
... ... @@ -43,9 +43,9 @@
<view class="price_address detail_address">{{goodetail.city}}</view>
<view class="price_address detail_address">{{goodetail.area}}</view>
</view>
<view class="good_address">
<view class="good_address" bindtap="paste" data-word="{{goodetail.mobile}}">
<view class="address_sign">
<div class="iconfont icon-dianhua"></div>
<div class="iconfont icon-weixin" ></div>
</view>
<view class="price_address detail_address">{{goodetail.mobile}}</view>
</view>
... ...
... ... @@ -109,7 +109,12 @@ Page({
hosname:'',
doctorpage:1,
doctornum:10,
koubeipage:1
koubeipage:1,
star1:'',
star2:'',
star3:'',
star4:'',
explain_pic:[]
... ... @@ -1082,7 +1087,14 @@ Page({
tips: res.tips,
tipsnum: tipslength,
spend: res.spend,
hosname:res.title
hosname:res.title,
star1:Number(res.star1),
star2:Number(res.star2),
star3:Number(res.star3),
star4:Number(res.star4),
explain_pic: res.explain_pic
})
... ...
<import src="../../../wxParse/wxParse.wxml"/>
<import src="../../../wxParse/wxParse.wxml" />
<view class="nav navhead">
<view wx:for="{{navbar}}" data-idx="{{index}}" class="nav_item {{currentTab==index ? 'active' : ''}}"
wx:key="unique" bindtap="navbarTap">{{item}}
<view wx:for="{{navbar}}" data-idx="{{index}}" class="nav_item {{currentTab==index ? 'active' : ''}}" wx:key="unique" bindtap="navbarTap">{{item}}
</view>
</view>
... ... @@ -29,6 +28,8 @@
<view class="detail_intro_name">
<text wx:for="{{info.service_name}}" wx:key="">{{item}}/</text>
<text wx:for="{{info.cname}}">{{item}}/</text>
<!-- 唐筛/无创DNA/羊水穿刺
无痛分娩/导乐分娩 -->
... ... @@ -147,30 +148,89 @@
<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}}"></image>
<image src="http://bronet.ibaby88.cn/bankexing.png" wx:if="{{star1==0.5}}"></image>
</view>
<view class="allevalute_star" wx:if="{{showstar}}">
<image src="http://bronet.ibaby88.cn/bankexing.png"></image>
<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}}"></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}}"></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}}"></image>
<image src="http://bronet.ibaby88.cn/bankexing.png" wx:if="{{star1==3.5}}"></image>
</view>
<view class="allevelstate">{{allevalutename}}</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}}"></image>
<image src="http://bronet.ibaby88.cn/bankexing.png" wx:if="{{star1==4.5}}"></image>
</view>
</view>
</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>
<view class="evalute">
<view class="allevalute">
<view class="allevel">
<view class="allevalname">医疗水平</view>
<view class="allevalname">医疗水平{{star2}}</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}}"></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}}"></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}}"></image>
<image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star2==2.5}}'></image>
</view>
<view class="allevelstate">{{medicalvalutename}}</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}}"></image>
<image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star2==3.5}}'></image>
</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}}"></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>
... ... @@ -179,12 +239,40 @@
<view class="allevel">
<view class="allevalname">硬件环境</view>
<view class="starlist">
<view class="hostel_star" wx:for="{{hardware_star}}" wx:key="unique">
<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}}"></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}}"></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}}"></image>
<image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star3==2.5}}'></image>
</view>
<view class="allevelstate">{{hardwareevalutename}}</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}}"></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}}"></image>
<image src="http://bronet.ibaby88.cn/pingban.png" wx:if='{{star3==4.5}}'></image>
</view>
</view>
</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||star1==3.5}}">一般,还需改善</view>
<view class="allevelstate" wx:if="{{star3==2||star1==2.5}}">不满意,比较差</view>
<view class="allevelstate" wx:if="{{star3<=1}}">非常不满意,各方面都很差</view>
</view>
</view>
... ... @@ -193,12 +281,40 @@
<view class="allevel">
<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}}"></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}}"></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}}"></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}}"></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}}"></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>
... ... @@ -206,8 +322,7 @@
<!-- 我要点评 -->
<view>
<button size="{{defaultSize}}" class="lj_comment" bindtap="mouthreview"
data-praiseid="{{info.hospital_id}}"> 查看点评
<button size="{{defaultSize}}" class="lj_comment" bindtap="mouthreview" data-praiseid="{{info.hospital_id}}"> 查看点评
</button>
</view>
</view>
... ... @@ -316,6 +431,13 @@
</view>
</view>
<!-- 建档流程图-->
<view class="dangimg">
<view class="dangimgitem" wx:for="{{explain_pic}}" wx:key="">
<image src="{{item}}"></image>
</view>
</view>
<!-- 建档随笔 -->
<view class="note">
... ... @@ -330,8 +452,7 @@
<view class="nodata" wx:if="{{homebuildlist.length==0}}">暂无数据</view>
<view class="homebuildlist" wx:else>
<view class="essaysitem" bindtap="buildtextdetail" wx:for="{{homebuildlist}}"
data-id="{{item.archives_id}}" wx:key="" wx:for-index="par">
<view class="essaysitem" bindtap="buildtextdetail" wx:for="{{homebuildlist}}" data-id="{{item.archives_id}}" wx:key="" wx:for-index="par">
<view class="essays_content user_essays_content">
<view class="essays_content_img">
<image src="{{item.avatar}}"></image>
... ... @@ -346,7 +467,9 @@
<view class="essays_date">{{item.auto_generate}} 预约</view>
<view class="essays_text">
<view class="guide_text">
<view class="editword">{{item.content_text}}<text wx:if="{{item.openword}}">{{item.showword?'...':''}}</text></view>
<view class="editword">{{item.content_text}}
<text wx:if="{{item.openword}}">{{item.showword?'...':''}}</text>
</view>
<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 @@
<view vx:if="item.content_imgs.length!=0">
<view class="edit_img small_img" wx:if="{{item.content_imgs.length>1}}">
<view class="edit_small_img" wx:for="{{item.content_imgs}}" wx:key="">
<image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewImg" ></image>
<image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewImg"></image>
</view>
</view>
<view class="edit_img" wx:else>
<view class="edit_big_img" wx:for="{{item.content_imgs}}" wx:key="">
<image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewImg" ></image>
<image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewImg"></image>
</view>
</view>
... ... @@ -377,7 +500,7 @@
</view>
<button class="lj_comment" bindtap="searchmorebuildtext" >查看更多</button>
<button class="lj_comment" bindtap="searchmorebuildtext">查看更多</button>
</view>
... ... @@ -438,8 +561,7 @@
</view>
<view class="essays_date" wx:if="{{item.is_what==2}}">{{item.auto}}时点评
<text class="commentdoctorname">{{item.doctor_name}}</text>
医生
<text class="commentdoctorname">{{item.doctor_name}}</text> 医生
</view>
<view class="essays_text">
<view class="guide_text">
... ... @@ -461,7 +583,7 @@
<view vx:if="item.content_imgs.length!=0">
<view class="edit_img small_img" wx:if="{{item.content_imgs.length>1}}">
<view class="edit_small_img" wx:for="{{item.content_imgs}}" wx:key="">
<image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewblenImg" ></image>
<image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewblenImg"></image>
</view>
</view>
<view class="edit_img" wx:if="{{item.content_imgs.length==1}}">
... ... @@ -480,7 +602,7 @@
</view>
</view>
<button class="lj_comment" bindtap="searchblendmore" >查看更多</button>
<button class="lj_comment" bindtap="searchblendmore">查看更多</button>
</view>
... ... @@ -500,8 +622,7 @@
<block wx:else>
<view class="homechildlist">
<view class="essaysitem" bindtap="childtextdetail" wx:for="{{homechildlist}}"
data-id="{{item.childbirth_id}} " wx:key="" wx:for-index="par">
<view class="essaysitem" bindtap="childtextdetail" wx:for="{{homechildlist}}" data-id="{{item.childbirth_id}} " wx:key="" wx:for-index="par">
<view class="essays_content user_essays_content">
<view class="essays_content_img">
<image src="{{item.avatar}}"></image>
... ... @@ -513,12 +634,13 @@
<view class="essays_name">{{item.user_nickname}}</view>
</view>
<view class="essays_date">{{item.auto_generate}} {{item.production_type}} {{item.sex}}
{{item.weight}}斤
<view class="essays_date">{{item.auto_generate}} {{item.production_type}} {{item.sex}} {{item.weight}}斤
</view>
<view class="essays_text">
<view class="guide_text">
<view class="editword">{{item.content_text}}<text wx:if="{{item.openword}}">{{item.showword?'...':''}}</text></view>
<view class="editword">{{item.content_text}}
<text wx:if="{{item.openword}}">{{item.showword?'...':''}}</text>
</view>
<!-- <view class="buildopen" wx:if="{{item.content_text==80}}">
展开
... ... @@ -531,7 +653,7 @@
<view vx:if="item.content_imgs.length!=0">
<view class="edit_img small_img" wx:if="{{item.content_imgs.length>1}}">
<view class="edit_small_img" wx:for="{{item.content_imgs}}" wx:key="">
<image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewfenImg" ></image>
<image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewfenImg"></image>
</view>
</view>
<view class="edit_img" wx:if="{{item.content_imgs.length==1}}">
... ... @@ -553,7 +675,7 @@
</view>
</block>
<button class="lj_comment" bindtap="searchmorechildnote" >
<button class="lj_comment" bindtap="searchmorechildnote">
查看更多
</button>
</view>
... ... @@ -580,7 +702,7 @@
<view class="sign">“</view>
<view class="hostipal_text">
<!-- {{praiseinfo.briefcontent}} -->
<template is="wxParse" data="{{wxParseData:article.nodes}}"/>
<template is="wxParse" data="{{wxParseData:article.nodes}}" />
</view>
<!-- 信息介绍 -->
... ... @@ -649,7 +771,7 @@
<view class="use_img">
<image src="http://bronet.ibaby88.cn/bicon25@2x.png"></image>
</view>
<view class="use_name">房屋环境</view>
<view class="use_name">病房环境</view>
</view>
<view class="level" wx:for="{{Inpatient}}" wx:key="">
<view class="process_text">{{item}}</view>
... ... @@ -787,11 +909,10 @@
<view class="user_comment" wx:else>
<view class="essaysitem" bindtap="commenthospitaldetail" wx:for="{{hospitalist}}" data-id="{{item.id}}"
wx:key="" wx:for-index="par">
<view class="essaysitem" bindtap="commenthospitaldetail" wx:for="{{hospitalist}}" data-id="{{item.id}}" wx:key="" wx:for-index="par">
<view class="essays_content user_essays_content">
<view class="essays_content_img">
<image src="{{item.avatar}}" ></image>
<image src="{{item.avatar}}"></image>
</view>
... ... @@ -802,11 +923,11 @@
</view>
<view class="essays_date">{{item.auto_generate}}</view>
<view class="essays_date" wx:if="{{item.is_what==2}}">{{item.auto}}时点评
<text class="commentdoctorname">{{item.doctor_name}}</text>
医生
<text class="commentdoctorname">{{item.doctor_name}}</text> 医生
</view>
<view class="essays_text">
<view class="editword">{{item.content_text}} <text wx:if="{{item.openword}}">{{item.showword?'...':''}}</text>
<view class="editword">{{item.content_text}}
<text wx:if="{{item.openword}}">{{item.showword?'...':''}}</text>
<view class="openword kouopenword" catchtap='kouoperaword' data-customer_id="{{item.customer_id}}" wx:if="{{item.openword}}" data-showword="{{item.showword}}">{{item.showword?'展开':'收起'}}</view>
</view>
... ... @@ -829,8 +950,7 @@
<view class="user_bottom">
<view class="user_date">{{item.create_time}}</view>
<view class="user_lsit_img">
<view class="startouch" catchtap="hospitalcollect" data-id="{{item.id}}"
data-type="{{item.is_what}}">
<view class="startouch" catchtap="hospitalcollect" data-id="{{item.id}}" data-type="{{item.is_what}}">
<view class="user_img thumb_star" wx:if="{{item.ifCollect==false}}">
<image src="http://bronet.ibaby88.cn/bicon28@2x.png"></image>
</view>
... ... @@ -840,8 +960,7 @@
</view>
<view class="thumb">
<view class="iscllect" catchtap="hospitaltouchstar" data-id="{{item.id}}"
data-type="{{item.is_what}}">
<view class="iscllect" catchtap="hospitaltouchstar" data-id="{{item.id}}" data-type="{{item.is_what}}">
<view class="user_img" wx:if="{{item.ifTouch==false}}">
<image src="http://bronet.ibaby88.cn/bicon30@2x.png"></image>
</view>
... ... @@ -1011,8 +1130,7 @@
<view class="nodata" wx:if="{{buildlist.length==0}}">暂无数据</view>
<view class="buildtextlist" wx:else>
<view class="essaysitem" bindtap="buildtextdetail" wx:for="{{buildlist}}" data-id="{{item.archives_id}}"
wx:key="" wx:for-index="par">
<view class="essaysitem" bindtap="buildtextdetail" wx:for="{{buildlist}}" data-id="{{item.archives_id}}" wx:key="" wx:for-index="par">
<view class="essays_content user_essays_content">
<view class="essays_content_img">
<image src="{{item.avatar}}"></image>
... ... @@ -1022,13 +1140,13 @@
<view class="essays_content_text">
<view class="user_comment_name">
<view class="essays_name">{{item.user_nickname}}</view>
<view class="user_comment_hostpital" data-hosid="{{item.hospital_id}}"
catchtap="enterhostail">{{item.hospital_name}}
<view class="user_comment_hostpital" data-hosid="{{item.hospital_id}}" catchtap="enterhostail">{{item.hospital_name}}
</view>
</view>
<view class="essays_date">{{item.auto_generate}} 预约</view>
<view class="essays_text">
<view class="editword">{{item.content_text}}<text wx:if="{{item.openword}}">{{item.showword?'...':''}}</text>
<view class="editword">{{item.content_text}}
<text wx:if="{{item.openword}}">{{item.showword?'...':''}}</text>
<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 @@
<view vx:if="item.content_imgs.length!=0">
<view class="edit_img small_img" wx:if="{{item.content_imgs.length>1}}">
<view class="edit_small_img" wx:for="{{item.content_imgs}}" wx:key="">
<image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewjianImg" ></image>
<image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewjianImg"></image>
</view>
</view>
<view class="edit_img" wx:else>
<view class="edit_big_img" wx:for="{{item.content_imgs}}" wx:key="">
<image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewjianImg" ></image>
<image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewjianImg"></image>
</view>
</view>
... ... @@ -1124,8 +1242,7 @@
<view class="nodata" wx:if="{{childbuildlist.length==0}}">暂无数据</view>
<view class="childtextlist" wx:else>
<view class="essaysitem" bindtap="childtail" wx:for="{{childbuildlist}}"
data-id="{{item.childbirth_id}} " wx:key="" wx:for-index="par">
<view class="essaysitem" bindtap="childtail" wx:for="{{childbuildlist}}" data-id="{{item.childbirth_id}} " wx:key="" wx:for-index="par">
<view class="essays_content user_essays_content">
<view class="essays_content_img">
<image src="{{item.avatar}}"></image>
... ... @@ -1135,15 +1252,14 @@
<view class="essays_content_text">
<view class="user_comment_name">
<view class="essays_name">{{item.user_nickname}}</view>
<view class="user_comment_hostpital" data-hosid="{{item.hospital_id}}"
catchtap="enterhostail">{{item.hospital_name}}
<view class="user_comment_hostpital" data-hosid="{{item.hospital_id}}" catchtap="enterhostail">{{item.hospital_name}}
</view>
</view>
<view class="essays_date">{{item.auto_generate}} {{item.production_type}} {{item.weight}}斤
{{item.sex}}
<view class="essays_date">{{item.auto_generate}} {{item.production_type}} {{item.weight}}斤 {{item.sex}}
</view>
<view class="essays_text">
<view class="editword">{{item.content_text}}<text wx:if="{{item.openword}}">{{item.showword?'...':''}}</text>
<view class="editword">{{item.content_text}}
<text wx:if="{{item.openword}}">{{item.showword?'...':''}}</text>
<view class="openword kouopenword" catchtap='fenoperaword' data-childbirth_id="{{item.childbirth_id}}" wx:if="{{item.openword}}" data-showword="{{item.showword}}">{{item.showword?'展开':'收起'}}</view>
</view>
... ... @@ -1151,12 +1267,12 @@
<view vx:if="item.content_imgs.length!=0">
<view class="edit_img small_img" wx:if="{{item.content_imgs.length>1}}">
<view class="edit_small_img" wx:for="{{item.content_imgs}}" wx:key="">
<image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewfenmianImg" ></image>
<image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewfenmianImg"></image>
</view>
</view>
<view class="edit_img" wx:if="{{item.content_imgs.length==1}}">
<view class="edit_big_img" wx:for="{{item.content_imgs}}" wx:key="">
<image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewfenmianImg" ></image>
<image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewfenmianImg"></image>
</view>
</view>
</view>
... ...
... ... @@ -861,3 +861,9 @@ font-size:28rpx;
.doctorcontentlist{
padding-bottom:100rpx;
}
.dangimgitem{
width:686rpx;
height:500rpx;
font-size: 0;
margin:10rpx auto 0;
}
\ No newline at end of file
... ...
... ... @@ -16,10 +16,10 @@ Page({
star2:1,
star3:1,
star4:1,
star1name:'不满意',
star2name:'不佳',
star3name:'不佳',
star4name:'不佳',
star1name:'各方面都很差',
star2name:'各方面都很差',
star3name:'各方面都很差',
star4name:'各方面都很差',
select: false,
if_anonymous:0,
doctorcomment:'',
... ... @@ -57,27 +57,27 @@ Page({
if(starid1==1){
that.setData({
star1:1,
star1name:'不满意'
star1name:'各方面都很差'
})
}else if(starid1==2){
that.setData({
star1:2,
star1name:'一般'
star1name:'不满意,比较差'
})
}else if(starid1==3){
that.setData({
star1:3,
star1name:'不错'
star1name:'一般,还需改善'
})
}else if(starid1==4){
that.setData({
star1:4,
star1name:'满意'
star1name:'比较满意,仍可改善'
})
}else if(starid1==5){
that.setData({
star1:5,
star1name:'超赞'
star1name:'无可挑剔,非常满意'
})
}
... ... @@ -89,27 +89,27 @@ Page({
if(starid2==1){
that.setData({
star2:1,
star2name:'不佳'
star2name:'各方面都很差'
})
}else if(starid2==2){
that.setData({
star2:2,
star2name:'一般'
star2name:'不满意,比较差'
})
}else if(starid2==3){
that.setData({
star2:3,
star2name:'不错'
star2name:'一般,还需改善'
})
}else if(starid2==4){
that.setData({
star2:4,
star2name:'满意'
star2name:'比较满意,仍可改善'
})
}else if(starid2==5){
that.setData({
star2:5,
star2name:'超棒'
star2name:'无可挑剔,非常满意'
})
}
... ... @@ -122,27 +122,27 @@ Page({
if(starid3==1){
that.setData({
star3:1,
star3name:'不佳'
star3name:'各方面都很差'
})
}else if(starid3==2){
that.setData({
star3:2,
star3name:'一般'
star3name:'不满意,比较差'
})
}else if(starid3==3){
that.setData({
star3:3,
star3name:'不错'
star3name:'—一般,还需改善'
})
}else if(starid3==4){
that.setData({
star3:4,
star3name:'满意'
star3name:'比较满意,仍可改善'
})
}else if(starid3==5){
that.setData({
star3:5,
star3name:'超棒'
star3name:'无可挑剔,非常满意'
})
}
... ... @@ -155,27 +155,27 @@ Page({
if(starid4==1){
that.setData({
star4:1,
star4name:'不佳'
star4name:'各方面都很差'
})
}else if(starid4==2){
that.setData({
star4:2,
star4name:'一般'
star4name:'不满意,比较差'
})
}else if(starid4==3){
that.setData({
star4:3,
star4name:'不错'
star4name:'一般,还需改善'
})
}else if(starid4==4){
that.setData({
star4:4,
star4name:'满意'
star4name:'比较满意,仍可改善'
})
}else if(starid4==5){
that.setData({
star4:5,
star4name:'超棒'
star4name:'无可挑剔,非常满意'
})
}
... ...
... ... @@ -92,15 +92,18 @@ Page({
});
return false;
}else if (that.data.phone != '') {
var reg = /^[1][3,4,5,6,,7,8,9][0-9]{9}$/;
if (!reg.test(that.data.phone)) {
wx.showToast({
title: '请输入正确的手机号',
icon: 'none'
})
// var reg = /^[1][3,4,5,6,,7,8,9][0-9]{9}$/;
// if (!reg.test(that.data.phone)) {
// wx.showToast({
// title: '请输入正确的手机号',
// icon: 'none'
// })
return false
} else if (that.data.classify[that.data.classify_index].goods_cate_id == 0) {
// return false
// } else
if (that.data.classify[that.data.classify_index].goods_cate_id == 0) {
wx.showToast({
title: '请选择分类',
icon: 'none'
... ...
... ... @@ -41,9 +41,9 @@
</view>
</view>
<view class="commentlist-doctor user_place">
<view class="commentlist_name entername">手机号</view>
<view class="commentlist_name entername">微信号</view>
<view class="commentlist_right enter_right">
<input class="commentlsit_date" type="text" placeholder="请输入手机号" bindinput='getPhone'/>
<input class="commentlsit_date" type="text" placeholder="请输入微信号" bindinput='getPhone'/>
</view>
</view>
</view>
... ...
... ... @@ -85,13 +85,13 @@ Page({
hostipallist: [],
muitiple: [{
mulid: '',
name: '综合排序'
name: '人气排序'
}, {
mulid: 1,
name: '距离'
name: '距离排序'
}, {
mulid: 2,
name: '口碑'
name: '口碑排序'
}],
multiple_index: 0,
status: '',
... ... @@ -381,7 +381,7 @@ Page({
console.log(res)
let newarr = {
search_hospital_id: '',
name: '全部'
name: ' 医院分类'
};
res.unshift(newarr);
console.log(res)
... ... @@ -417,7 +417,7 @@ Page({
console.log(res)
let newarr = {
service_id: '',
name: '全部'
name: ' 全北京'
};
res.unshift(newarr);
console.log(res)
... ... @@ -584,6 +584,7 @@ Page({
entertail: function(e) {
let token = wx.getStorageSync("token");
if (token == '') {
wx.showToast({
title: '请先登录',
... ... @@ -614,6 +615,7 @@ Page({
title: '请先登录',
icon: 'none'
})
wx.clearStorage("token")
setTimeout(function() {
wx.navigateTo({
url: '/pages/index/index',
... ...
page{
overflow-x: hidden
page {
overflow-x: hidden;
}
.parterner{
overflow-x: hidden
.parterner {
overflow-x: hidden;
}
.parthead{
width:750rpx;
height:360rpx;
.parthead {
width: 750rpx;
height: 360rpx;
font-size: 0;
border-bottom:16rpx solid #FCF8F7
border-bottom: 16rpx solid #fcf8f7;
}
.parthead image{
width:100%;
height:100%;
.parthead image {
width: 100%;
height: 100%;
}
.part_kind_item{
.part_kind_item {
/* height:80rpx; */
display:flex;
display: flex;
justify-content: space-between;
line-height: 80rpx;
padding: 0;
border-bottom:1rpx solid #f5f5f5;
color:#292525;
border-bottom: 1rpx solid #f5f5f5;
color: #292525;
font-size: 30rpx;
font-weight: bold;
flex-wrap: wrap
flex-wrap: wrap;
}
.iten_type{
width:91rpx;
.iten_type {
width: 176rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: center;
padding: 0 80rpx;
padding: 0 20rpx;
}
.part_kind_list{
border-bottom:16rpx solid #FCF8F7
.part_kind_list {
border-bottom: 16rpx solid #fcf8f7;
}
.nearsupport{
width:750rpx;
height:80rpx;
.nearsupport {
width: 750rpx;
height: 80rpx;
padding: 0 37rpx;
line-height: 80rpx;
color:#292525;
color: #292525;
font-size: 26rpx;
font-weight: bold;
}
.nearsupport_item{
display:flex;
.nearsupport_item {
display: flex;
align-content: center;
padding: 16rpx 32rpx;
}
.support_item_img{
width:180rpx;
height:180rpx;
.support_item_img {
width: 193rpx;
height: 193rpx;
font-size: 0;
flex:0 0 auto;
flex: 0 0 auto;
}
.support_item_img image{
width:100%;
height:100%;
.support_item_img image {
width: 100%;
height: 100%;
}
.support_item_name{
color:#000;
font-size: 32rpx;
width:465rpx;
.support_item_name {
color: #000;
font-size: 30rpx;
width: 465rpx;
height: 87rpx;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-top: 0!important;
}
.item_price_box1{
color:#292525;
font-size:34rpx;
font-weight: bold
.support_item_price{
margin-top: 0!important;
}
.item_price_box2{
color:#A89997;
font-size:30rpx;
margin-left:22rpx;
.item_price_box1 {
color: #292525;
font-size: 32rpx;
font-weight: bold;
}
.item_price_box2 {
color: #a89997;
font-size: 30rpx;
margin-left: 22rpx;
text-decoration: line-through;
}
.support_meter{
.support_meter {
display: inline-block;
height:32rpx;
background:rgba(255,194,153,1);
border-radius:3rpx;
color:#fff;
height: 32rpx;
background: rgba(255, 194, 153, 1);
border-radius: 3rpx;
color: #fff;
font-size: 24rpx;
text-align: center;
padding: 6rpx 12rpx;
}
.support_item_content{
margin-left:32rpx;
flex:1;
margin-top:0!important
}
.support_item_price,.support_meter,.support_item_name{
margin-top:15rpx;
.support_item_content {
margin-left: 32rpx;
flex: 1;
}
.support_item_price, .support_meter, .support_item_name {
margin-top: 15rpx;
}
/*轮播图*/
.slide-image{
width:686rpx;
margin: 0 auto;
height:100%;
.slide-image {
width: 686rpx;
margin: 0 auto;
height: 100%;
}
.swiper_image,.swiper_item_img{
width:686rpx;
height:360rpx;
margin:0 auto;
.swiper_image, .swiper_item_img {
width: 686rpx;
height: 360rpx;
margin: 0 auto;
}
.swiper_image{
.swiper_image {
margin-top: 36rpx;
}
.user_comment{
.user_comment {
padding-bottom: 100rpx;
}
.swiper_image{
position:relative;
.swiper_image {
position: relative;
}
.dots{
.dots {
/* width: 156rpx; */
height: 36rpx;
flex-direction: row;
position: absolute;
left: 0;
right:0;
display:flex;
right: 0;
display: flex;
justify-content: center;
bottom: 12rpx;
}
/*未选中时的小圆点样式 */
.dot{
.dot {
width: 16rpx;
height: 16rpx;
border-radius: 50%;
margin-right: 26rpx;
background-color:#fff;
background-color: #fff;
}
/*选中以后的小圆点样式 */
.active{
.active {
width: 36rpx;
height: 16rpx;
border-radius:8rpx;
border-radius: 8rpx;
background-color: #fff;
}
... ...
... ... @@ -30,7 +30,10 @@ Page({
seconds: '',
secretary: false,
wxtary: '',
edit_img:[]
edit_img:[],
title:'',
name:'',
type:''
// disable:false
},
... ... @@ -41,7 +44,9 @@ Page({
var that = this;
let compareId = options.compareId;
that.setData({
compareId: compareId
compareId: compareId,
name:options.name,
type:options.type
})
// 获取经纬度
wx.getLocation({
... ... @@ -71,6 +76,9 @@ Page({
}
app.post(url, params).then((res) => {
console.log(res)
that.setData({
title: res.compare.title
})
wx.setNavigationBarTitle({
title: res.compare.title //页面切换,更换页面标题
})
... ... @@ -319,6 +327,32 @@ Page({
* 用户点击右上角分享
*/
onShareAppMessage: function () {
return {
title: that.data.title, // 转发后 所显示的title
// path: '/pages/home/buildtextdetail/buildtextdetail?buildid='+buildid+'&gettoken='+newtoken, // 相对的路径
path: '/pages/partneritem/afterchildbirthrecover/afterchildbirthrecover?compareId=' +this.data.compareId,//建档攻略分享1
// path:'',
success: (res) => { // 成功后要做的事情
console.log(res)
// console.log(res.shareTickets[0])
// console.log
// wx.getShareInfo({
// shareTicket: res.shareTickets[0],
// success: (res)=> {
// that.setData({
// isShow:true
// })
// console.log(that.setData.isShow)
// },
// fail: function (res) { console.log(res) },
// complete: function (res) { console.log(res) }
// })
},
fail: function (res) {
// 分享失败
console.log(res)
}
}
}
})
... ...
... ... @@ -5,7 +5,8 @@
/* @import '../../../wxParse/wxParse.wxss'; */
.swiper_image,.swiper_item_img{
height:750rpx;
width:750rpx;
height:500rpx;
}
.user_comment{
padding-bottom: 100rpx;
... ... @@ -20,7 +21,7 @@
.price{
display:flex;
align-items: center;
width:500rpx;
width:432rpx;
height:95rpx;
background:linear-gradient(90deg,rgba(253,135,121,1),rgba(252,171,162,1));
... ...
... ... @@ -14,6 +14,7 @@
height: 120rpx;
border-radius: 50%;
margin: 0 auto;
font-size: 0
}
.cen_img image{
width: 100%;
... ...