Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
XDJK
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wechatminiprogram
XDJK
Commits
54956fa4
Commit
54956fa4
authored
Dec 23, 2020
by
liuquan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3.1.13
U:订单详情缺少服务诊金显示 U:修复chat页面药方支付跳转判断 U:修改地址选择点击区域范围
parent
84fe61a0
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
148 additions
and
52 deletions
+148
-52
packageA/addsite/addsite.wxss
+2
-2
packageA/chat/chat.js
+1
-1
packageA/drugOrderInfo/drugOrderInfo.js
+22
-2
packageA/drugOrderInfo/drugOrderInfo.wxml
+13
-6
packageA/drugOrderInfo/drugOrderInfo.wxss
+65
-33
pages/prescription/order/order.js
+25
-2
pages/prescription/order/order.wxml
+12
-5
pages/prescription/order/order.wxss
+7
-1
utils/service.js
+1
-0
No files found.
packageA/addsite/addsite.wxss
View file @
54956fa4
...
...
@@ -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;
...
...
packageA/chat/chat.js
View file @
54956fa4
...
...
@@ -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
...
...
packageA/drugOrderInfo/drugOrderInfo.js
View file @
54956fa4
...
...
@@ -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
);
...
...
packageA/drugOrderInfo/drugOrderInfo.wxml
View file @
54956fa4
...
...
@@ -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>
...
...
packageA/drugOrderInfo/drugOrderInfo.wxss
View file @
54956fa4
@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%;
...
...
@@ -102,7 +119,7 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
display: flex;
flex-direction: row;
/* align-items: center; */
}
.ml-15 {
...
...
@@ -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{
margin: 30rpx;
background-color:#F5F8FB;
.br {
margin: 30rpx;
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,40 +632,45 @@ 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;
line-height: 66rpx;
width: 510rpx;
height: 66rpx;
line-height: 66rpx;
background-color: #2684ff;
font-size: 26rpx;
border-radius: 33rpx;
}
/* 弹框 */
.shade {
display: block;
position: fixed;
top: 0;
bottom: 0;
left: 0;
display: block;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
height: 100%;
background: rgba(0, 0, 0, 0.3);
z-index: 1001;
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
pages/prescription/order/order.js
View file @
54956fa4
...
...
@@ -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
);
...
...
pages/prescription/order/order.wxml
View file @
54956fa4
...
...
@@ -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>
...
...
pages/prescription/order/order.wxss
View file @
54956fa4
...
...
@@ -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 {
...
...
utils/service.js
View file @
54956fa4
...
...
@@ -27,6 +27,7 @@ function getUserSig(user) {
var
getUserSigUrl
=
config
.
url
.
getUserSig
;
var
data
=
{
"user"
:
user
// "user": "oHhp80fVWvjJn2EYkB5XxhKnVBOo"
}
return
wxRequest
.
getRequest
(
getUserSigUrl
,
data
);
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment