This commit is contained in:
zoujiandong 2024-05-08 15:34:52 +08:00
parent d8b7b7b33d
commit 084d30592f
9 changed files with 31 additions and 11 deletions

View File

@ -77,7 +77,7 @@
"pages/checkOrder/checkOrder", "pages/checkOrder/checkOrder",
"pages/checkOrderDetail/checkOrderDetail" "pages/checkOrderDetail/checkOrderDetail"
], ],
"independent": true "independent": false
}, },
{ {
"root": "TUICallKit", "root": "TUICallKit",
@ -100,7 +100,7 @@
"pages/visitList/visitList", "pages/visitList/visitList",
"pages/sickInfo/sickInfo" "pages/sickInfo/sickInfo"
], ],
"independent": true "independent": false
} }
], ],
"preloadRule": { "preloadRule": {

View File

@ -69,12 +69,17 @@ Page({
this.onfresh(); this.onfresh();
}, },
onScroll(event) { onScroll(event) {
let {doctorList}=this.data;
wx.createSelectorQuery().select('#scroller') wx.createSelectorQuery().select('#scroller')
.boundingClientRect((res) => { .boundingClientRect((res) => {
//console.log(event.detail.scrollTop) let H=0;
let H=0; if(event.detail.scrollTop>175){
if(event.detail.scrollTop>=175){ if(doctorList.length<=3){
H=1; H=150;
}else{
H=1;
}
}else{ }else{
H=150 H=150
} }
@ -83,6 +88,7 @@ Page({
// offsetTop: res.top, // offsetTop: res.top,
scrollHeight:H scrollHeight:H
}); });
}).exec(); }).exec();
}, },
transforpage(arr) { transforpage(arr) {

View File

@ -4,7 +4,7 @@
<view class="wraper"> <view class="wraper">
<view class="containexpert" style="{{'height:'+scrollHeight+'px'}}"> <view class="containexpert" style="{{'height:'+scrollHeight+'px'}}" >
<view class="searchbox"> <view class="searchbox">
<input type="text" placeholder="输入姓名或医院查找医生" disabled="{{true}}" bindtap="goSearch" bindconfirm="getIptvalue"/> <input type="text" placeholder="输入姓名或医院查找医生" disabled="{{true}}" bindtap="goSearch" bindconfirm="getIptvalue"/>
<image src="{{img_host+'/ss.png'}}"></image> <image src="{{img_host+'/ss.png'}}"></image>

View File

@ -109,7 +109,7 @@
<image src="{{img_host+'/suifang_on.png'}}" alt="" class="tabbg" wx:if="{{canVisit}}"></image> <image src="{{img_host+'/suifang_on.png'}}" alt="" class="tabbg" wx:if="{{canVisit}}"></image>
<image src="{{img_host+'/suifang_disable.png'}}" alt="" class="tabbg" wx:else></image> <image src="{{img_host+'/suifang_disable.png'}}" alt="" class="tabbg" wx:else></image>
<view class="typebox" > <view class="typebox {{!canVisit?'disable':''}}" >
<view class="name">随访包</view> <view class="name">随访包</view>
<view class="price" wx:if="{{visitPrice}}">¥{{visitPrice}}起</view> <view class="price" wx:if="{{visitPrice}}">¥{{visitPrice}}起</view>
<view class="price" wx:else style="color: #999999;">暂未开通</view> <view class="price" wx:else style="color: #999999;">暂未开通</view>
@ -122,7 +122,7 @@
<view class="tab add" bindtap="switchTab" data-id="2" id="item2"> <view class="tab add" bindtap="switchTab" data-id="2" id="item2">
<image src="{{img_host+'/healthy_on.png'}}" alt="" class="tabbg" wx:if="{{canHealthy}}"></image> <image src="{{img_host+'/healthy_on.png'}}" alt="" class="tabbg" wx:if="{{canHealthy}}"></image>
<image src="{{img_host+'/healthy_disable.png'}}" alt="" class="tabbg" wx:else></image> <image src="{{img_host+'/healthy_disable.png'}}" alt="" class="tabbg" wx:else></image>
<view class="typebox " > <view class="typebox {{!canHealthy?'disable':''}}" >
<view class="name">健康包</view> <view class="name">健康包</view>
<view class="price" wx:if="{{healthyPrice}}">¥{{healthyPrice}}/次</view> <view class="price" wx:if="{{healthyPrice}}">¥{{healthyPrice}}/次</view>
<view class="price" wx:else style="color: #999999;">暂未开通</view> <view class="price" wx:else style="color: #999999;">暂未开通</view>

View File

@ -71,6 +71,11 @@
<view class="dot"></view> <view class="dot"></view>
<view class="desc price">¥{{order_product.logistics_fee}}</view> <view class="desc price">¥{{order_product.logistics_fee}}</view>
</view> </view>
<view class="row">
<view class="name">优惠金额</view>
<view class="dot"></view>
<view class="desc price">-¥{{order_product.discount_amount}}</view>
</view>
<view class="row"> <view class="row">
<view class="name">支付金额</view> <view class="name">支付金额</view>
<view class="dot"></view> <view class="dot"></view>

View File

@ -21,6 +21,7 @@
<view class="range" wx:elif="{{item.application_scope==3}}">使用范围:购药</view> <view class="range" wx:elif="{{item.application_scope==3}}">使用范围:购药</view>
<view class="range" wx:elif="{{item.application_scope==4}}">使用范围:购药</view> <view class="range" wx:elif="{{item.application_scope==4}}">使用范围:购药</view>
<view class="range" wx:elif="{{item.application_scope==5}}">使用范围:购药</view> <view class="range" wx:elif="{{item.application_scope==5}}">使用范围:购药</view>
<view class="range" wx:elif="{{item.application_scope==6}}">使用范围:购药</view>
</view> </view>
<view class="date">有效期:{{item.valid_end_time}}</view> <view class="date">有效期:{{item.valid_end_time}}</view>
</view> </view>
@ -50,6 +51,7 @@
<view class="range" wx:elif="{{item.application_scope==3}}">使用范围:购药</view> <view class="range" wx:elif="{{item.application_scope==3}}">使用范围:购药</view>
<view class="range" wx:elif="{{item.application_scope==4}}">使用范围:购药</view> <view class="range" wx:elif="{{item.application_scope==4}}">使用范围:购药</view>
<view class="range" wx:elif="{{item.application_scope==5}}">使用范围:购药</view> <view class="range" wx:elif="{{item.application_scope==5}}">使用范围:购药</view>
<view class="range" wx:elif="{{item.application_scope==6}}">使用范围:购药</view>
</view> </view>
<!-- <view class="range" wx:if="{{item.application_scope==1}}">使用范围:全场通用</view> <!-- <view class="range" wx:if="{{item.application_scope==1}}">使用范围:全场通用</view>
<view class="range" wx:elif="{{item.application_scope==2}}">使用范围:问诊适用</view> <view class="range" wx:elif="{{item.application_scope==2}}">使用范围:问诊适用</view>
@ -83,7 +85,9 @@
<view class="range" wx:elif="{{item.application_scope==3}}">使用范围:购药</view> <view class="range" wx:elif="{{item.application_scope==3}}">使用范围:购药</view>
<view class="range" wx:elif="{{item.application_scope==4}}">使用范围:购药</view> <view class="range" wx:elif="{{item.application_scope==4}}">使用范围:购药</view>
<view class="range" wx:elif="{{item.application_scope==5}}">使用范围:购药</view> <view class="range" wx:elif="{{item.application_scope==5}}">使用范围:购药</view>
<view class="range" wx:elif="{{item.application_scope==6}}">使用范围:购药</view>
</view> </view>
<!-- <view class="range" wx:if="{{item.application_scope==1}}">使用范围:全场通用</view> <!-- <view class="range" wx:if="{{item.application_scope==1}}">使用范围:全场通用</view>
<view class="range" wx:elif="{{item.application_scope==2}}">使用范围:问诊适用</view> <view class="range" wx:elif="{{item.application_scope==2}}">使用范围:问诊适用</view>
<view class="range" wx:elif="{{item.application_scope==3}}">使用范围:购药</view> <view class="range" wx:elif="{{item.application_scope==3}}">使用范围:购药</view>

View File

@ -66,7 +66,7 @@
<view class="row"> <view class="row">
<view class="name">优惠金额</view> <view class="name">优惠金额</view>
<view class="dot" ></view> <view class="dot" ></view>
<view class="desc price">¥{{order.discount_amount}}</view> <view class="desc price">-¥{{order.discount_amount}}</view>
</view> </view>
<view class="row"> <view class="row">
<view class="name"> 支付金额</view> <view class="name"> 支付金额</view>

View File

@ -28,6 +28,7 @@ Page({
time: '', time: '',
inquiry_no: '', inquiry_no: '',
amount_total: "", amount_total: "",
discount_amount:'',
cannot_use_coupon_reason:'', cannot_use_coupon_reason:'',
coupon_amount_total: 0, coupon_amount_total: 0,
logistics_fee: 0, logistics_fee: 0,
@ -711,7 +712,7 @@ Page({
}) })
} }
console.log(options.inquiry_mode,options.order_type) //console.log(options.inquiry_mode,options.order_type)
}, },
/** /**
* 生命周期函数--监听页面初次渲染完成 * 生命周期函数--监听页面初次渲染完成

View File

@ -42,6 +42,10 @@
<view class="desc nodiscount" wx:elif="{{order_type==3 && !inquiry_type}}">暂不可用</view> <view class="desc nodiscount" wx:elif="{{order_type==3 && !inquiry_type}}">暂不可用</view>
</view> </view>
<view class="row" wx:if="{{order_type==2 && !inquiry_type && discount_amount}}">
<view class="name">优惠金额</view>
<view class="desc nodiscount">-¥{{discount_amount}}</view>
</view>
</view> </view>
<view class="bottom"> <view class="bottom">
<view class="realprice">支付金额:<text class="price">¥{{payment_amount_total}}</text></view> <view class="realprice">支付金额:<text class="price">¥{{payment_amount_total}}</text></view>