Commit 54956fa4 by liuquan

3.1.13

U:订单详情缺少服务诊金显示
U:修复chat页面药方支付跳转判断
U:修改地址选择点击区域范围
parent 84fe61a0
......@@ -53,8 +53,8 @@ image{
border-radius: 4rpx;
}
.picker{
margin-top: 35rpx;
margin-bottom: 35rpx;
padding-top: 35rpx;
padding-bottom: 35rpx;
display: flex;
flex-direction: row;
justify-content:space-between;
......
......@@ -1625,7 +1625,7 @@ Page({
url: '/packageA/drugOrderInfo/drugOrderInfo?scene=' + id + '&isQuick=' + item.isQuick + '&orderId=' + this.data.orderId + '&groupID=' + that.data.groupID,
})
wx.hideLoading();
}else if(res.code == 2){
}else{
wx.hideLoading();
that.setData({
errorToptips: res.msg
......
......@@ -17,7 +17,17 @@ Page({
id: '',
ishow: true,
paySuccess: false,
errshow: false
errshow: false,
items: [
{
name: '不需要',
value: '0'
},{
name: '需要',
value: '1'
},
],
isInvoice:0
},
/**
* 生命周期函数--监听页面加载
......@@ -236,6 +246,15 @@ Page({
}
},
/**
* 是否需要开具纸质发票
* @param {*} e
*/
radioChange: function (e) {
this.setData({
isInvoice: e.detail.value,
})
},
/**
* 调起顺丰电话客服
*/
tel: function () {
......@@ -376,7 +395,8 @@ Page({
isywlx: that.data.list.isywlx,
money: that.data.list.money,
hstr: hstr.toString(),
isgd: 1
isgd: 1,
// rise_need:that.data.isInvoice
}
Service.prescriptionPay(data).then((res) => {
console.log('res1', res);
......
......@@ -98,19 +98,26 @@
<view class="order-num">
<text>服务诊金</text>
<view>
<text style="color:#EC5B68; font-size: 28rpx;">¥ </text>
<text style="color:#EC5B68;font-weight: 700;font-size: 28rpx;">{{list.zj}}</text>
<text style="color:#999999;font-size: 28rpx;">¥ </text>
<text style="font-size: 28rpx;">{{list.zj}}</text>
</view>
</view>
<view class="order-num">
<text>顺丰运费</text>
<view>
<text style=" color:#999999; font-size: 28rpx;">¥ </text>
<text style="color:#999999;font-size: 28rpx;">¥ </text>
<text class="fonw-400" style="font-size: 28rpx;">{{list.freight}}</text>
</view>
</view>
<!-- <view class="order-num">
<text>纸质发票</text>
<radio-group class="radio-group" bindchange="radioChange">
<label class="radio" wx:for="{{items}}" wx:key="key">
<radio value="{{item.value}}" checked="{{item.value==0?true : false}}" color='#1384ff' />{{item.name}}
</label>
</radio-group>
</view> -->
<view class="tys" bindtap="agree">
<view wx:if='{{!agree}}' class="unselected">
</view>
......@@ -156,8 +163,8 @@
</view>
<view class="item-name">
<view class="name">{{item.name}}</view>
<!-- <view class="firm">{{item.firm}}</view>
<view class="norms">{{item.norms}}</view> -->
<!-- <view class="firm">{{item.firm}}</view> -->
<view class="norms">{{item.norms}}</view>
<view class="err_msg">
{{item.msg}}
</view>
......
@import '/components/modal/modal.wxss';
@import '/components/cu-modal.wxss';
page {
width: 750rpx;
padding-bottom: env(safe-area-inset-bottom);
......@@ -11,6 +12,15 @@ checkbox {
transform: scale(.8);
}
radio {
transform: scale(.7);
color: #1384ff;
}
.radio {
font-size: 28rpx;
}
/*checkbox未选中时样式 */
checkbox .wx-checkbox-input {
/* 自定义样式.... */
......@@ -31,6 +41,13 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
color: #fff;
}
.radio-group {
width: 43%;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.wrap {
position: absolute;
width: 100%;
......@@ -218,11 +235,13 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
display: flex;
flex-direction: row;
}
.list1{
.list1 {
padding: 0;
display: flex;
flex-direction: row;
}
.list-item,
.list-item1 {
display: flex;
......@@ -231,18 +250,20 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
padding-bottom: 42rpx;
padding-top: 42rpx;
}
.list-item2
{
.list-item2 {
display: flex;
width: 100%;
}
.br{
.br {
margin: 30rpx;
background-color:#F5F8FB;
background-color: #F5F8FB;
height: 2rpx;
width: 530rpx;
}
.list-item image,
.list-item1 image {
width: 155rpx;
......@@ -278,7 +299,8 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
color: #333333;
font-weight: 600;
}
.errname{
.errname {
width: 400rpx;
font-size: 24rpx;
color: #333333;
......@@ -291,6 +313,7 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
text-overflow: ellipsis;
/*超出部分文字以...显示*/
}
.firm {
font-size: 24rpx;
color: #666666;
......@@ -316,11 +339,12 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
.pirce {
color: #EC5B68;
}
.err_msg{
.err_msg {
color: #EC5B68;
margin-bottom:50rpx;
font-weight: 700;
}
.pirce text:first-child {
font-size: 24rpx;
}
......@@ -335,11 +359,13 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
margin-top: 5rpx;
font-size: 28rpx;
}
.errnumber{
.errnumber {
display: flex;
margin-top: 5rpx;
font-size: 20rpx;
}
.order-list {
border-top: 20rpx solid rgb(242, 242, 242);
}
......@@ -606,19 +632,22 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
width: 650rpx;
height: 104rpx;
}
.err-title{
font-size: 32rpx;
font-weight: 700;
text-align: center;
color: #333333;
margin-bottom: 50rpx;
.err-title {
font-size: 32rpx;
font-weight: 700;
text-align: center;
color: #333333;
margin-bottom: 50rpx;
}
.err-image{
height: 120rpx!important;
width: 120rpx!important;
.err-image {
height: 120rpx !important;
width: 120rpx !important;
}
.err-btn{
margin:0rpx auto;
.err-btn {
margin: 0rpx auto;
margin-top: 30rpx;
width: 510rpx;
height: 66rpx;
......@@ -627,6 +656,7 @@ margin-bottom: 50rpx;
font-size: 26rpx;
border-radius: 33rpx;
}
/* 弹框 */
.shade {
display: block;
......@@ -639,7 +669,8 @@ margin-bottom: 50rpx;
background: rgba(0, 0, 0, 0.3);
z-index: 1001;
}
.modal-title{
.modal-title {
font-size: 32rpx;
font-weight: bold;
}
\ No newline at end of file
......@@ -17,7 +17,17 @@ Page({
id: '',
ishow: true,
paySuccess: false,
errshow: false
errshow: false,
items: [
{
name: '不需要',
value: '0'
},{
name: '需要',
value: '1'
},
],
isInvoice:0
},
/**
* 生命周期函数--监听页面加载
......@@ -215,6 +225,18 @@ Page({
})
}
},
/**
* 是否需要开具纸质发票
* @param {*} e
*/
radioChange: function (e) {
this.setData({
isInvoice: e.detail.value,
})
},
/**
* 拨打电话
*/
tel: function () {
wx.makePhoneCall({
phoneNumber: '95338'
......@@ -341,7 +363,8 @@ Page({
isywlx: that.data.list.isywlx,
money: that.data.list.money,
hstr: hstr.toString(),
isgd: 1
isgd: 1,
// rise_need:that.data.isInvoice
}
Service.prescriptionPay(data).then((res) => {
console.log('res1', res);
......
......@@ -95,8 +95,8 @@
<view class="order-num">
<text>服务诊金</text>
<view>
<text style="color:#EC5B68; font-size: 28rpx;">¥ </text>
<text style="color:#EC5B68;font-weight: 700;font-size: 28rpx;">{{list.zj}}</text>
<text style="color:#999999;font-size: 28rpx;">¥ </text>
<text style="color:#999999;font-size: 28rpx;">{{list.zj}}</text>
</view>
</view>
......@@ -106,8 +106,15 @@
<text style=" color:#999999; font-size: 28rpx;">¥ </text>
<text class="fonw-400" style="font-size: 28rpx;">{{list.freight}}</text>
</view>
</view>
<!-- <view class="order-num">
<text>纸质发票</text>
<radio-group class="radio-group" bindchange="radioChange">
<label class="radio" wx:for="{{items}}" wx:key="key">
<radio value="{{item.value}}" checked="{{item.value==0?true : false}}" color='#1384ff' />{{item.name}}
</label>
</radio-group>
</view> -->
<view class="tys" bindtap="agree">
<view wx:if='{{!agree}}' class="unselected">
</view>
......@@ -152,8 +159,8 @@
</view>
<view class="item-name">
<view class="name">{{item.name}}</view>
<!-- <view class="firm">{{item.firm}}</view>
<view class="norms">{{item.norms}}</view> -->
<!-- <view class="firm">{{item.firm}}</view> -->
<view class="norms">{{item.norms}}</view>
<view class="err_msg">
{{item.msg}}
</view>
......
......@@ -10,7 +10,14 @@ checkbox {
padding-top: 90rpx;
transform: scale(.8);
}
radio {
transform: scale(.7);
color: #1384ff;
}
.radio {
font-size: 28rpx;
}
/*checkbox未选中时样式 */
checkbox .wx-checkbox-input {
/* 自定义样式.... */
......@@ -318,7 +325,6 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
}
.err_msg{
color: #EC5B68;
margin-bottom:50rpx;
font-weight: 700;
}
.pirce text:first-child {
......
......@@ -27,6 +27,7 @@ function getUserSig(user) {
var getUserSigUrl = config.url.getUserSig;
var data = {
"user": user
// "user": "oHhp80fVWvjJn2EYkB5XxhKnVBOo"
}
return wxRequest.getRequest(getUserSigUrl, data);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment