Commit 285a4fa8 by liuquan

no message

parent 107cfc10
......@@ -40,7 +40,8 @@
"logistics/logistics",
"patientList/patientList",
"chattingRecords/chattingRecords",
"beBeingService/beBeingService"
"beBeingService/beBeingService",
"productOrderInfo/productOrderInfo"
]
},
{
......
......@@ -50,6 +50,7 @@ Component({
if (e.detail.userInfo) {
wx.showLoading({
title: '正在登录',
mask:true,
})
app.getUserInfo(function (cb) {
if (!Util.isEmpty(cb)) {
......
......@@ -179,7 +179,9 @@ Page({
},
//知情同意书
zqtys: function (e) {
wx.showLoading();
wx.showLoading({
mask:true,
});
wx.navigateTo({
url: '/packageA/consent/consent'
})
......@@ -195,7 +197,7 @@ Page({
},
//更换用户
changeUser: function () {
wx.showLoading();
wx.showLoading({mask:true,});
if (this.data.ServicePay_datas.counsel == 20) {
wx.navigateTo({
url: '/packageA/selectUser/selectUser?type=1'
......
......@@ -876,7 +876,7 @@ Page({
* 聊天记录
*/
chatLog: Util.debouce(function () {
wx.showLoading();
wx.showLoading({mask:true,});
wx.navigateTo({
url: '/packageA/chattingRecords/chattingRecords?id=' + this.data.orderId + '&doctorimage=' + this.data.doctorimage,
})
......@@ -1082,6 +1082,7 @@ Page({
*
* *********JSON解析两次的**********
* Prescription 处方药方
* RecommendedProducts 推荐产品
* UserDrug 医生推荐
* Checkup 心理体检
* report 量表报告
......@@ -1094,7 +1095,7 @@ Page({
if (type == 'InitiateEndService' || type == 'NeverEndService' || type == 'EndOfService' || type == 'reminder' || type == 'reminder2' || type == 'followUp' || type == 'UserInfo' || type == 'LaunchVideo' || type == 'closeVideo' || type == 'hangUpVideo' || type == 'groupTips') {
item.payload.description = item.payload.data.content;
item.payload.data = item.payload.data.type;
} else if (type == 'Prescription' || type == 'UserDrug' || type == 'Checkup' || type == 'report') {
} else if (type == 'Prescription' || type == 'UserDrug' || type == 'Checkup' || type == 'report'||type=='RecommendedProducts') {
item.payload.description = JSON.parse(item.payload.data.content);
item.payload.data = item.payload.data.type;
}
......@@ -1482,7 +1483,7 @@ Page({
* 查看报告
*/
lookReport: Util.debouce(function (e) {
wx.showLoading();
wx.showLoading({mask:true});
let that = this;
let src = e.currentTarget.dataset.src;
let is_type = e.currentTarget.dataset.istype;
......@@ -1509,7 +1510,7 @@ Page({
}, 1000, true),
/**心理体检 */
getCheckup: Util.debouce(function (e) {
wx.showLoading();
wx.showLoading({mask:true});
let that = this;
let data = {}
let code=1;
......@@ -1615,7 +1616,7 @@ Page({
* @param {} e
*/
viewRecipe: Util.debouce(function (e) {
wx.showLoading();
wx.showLoading({mask:true});
let item = e.currentTarget.dataset.item;
console.log("item", item)
wx.navigateTo({
......@@ -1636,7 +1637,7 @@ Page({
* payid 支付ID
*/
buyDrug: Util.debouce(function (e) {
wx.showLoading();
wx.showLoading({mask:true});
let that = this;
let item = e.currentTarget.dataset.item;
// isQuick 开药方式 0-正常开药,1-二维码,2-快速开药
......
......@@ -119,7 +119,7 @@
<view class="issue-title row" bindtap="issue" data-index="1">1.关于发货时间以及物流配送<text
class="{{index==1?'cuIcon-fold':'cuIcon-unfold'}} lg text-gray"></text></view>
<view class="{{index==1?'issue-content':'hide'}}">
<view>①药品当天16点前支付药费,当天即可发货,下午16点后支付一般在第二天发货;</view>
<view>①药品当天16点前支付药费,当天即可发货,下午19点后支付一般在第二天发货;</view>
<view>②快递采用顺丰配送, 1-3天即可到达。具体派送时间,请自行留意或联系派件员;</view>
<view>③您可以在“小懂健康”公众号【我的医生-药品订单】或 “小懂健康”小程序【我的-药品订单】查询物流信息;</view>
<view>④请确保预留的联系方式通话畅通,以免因派送失败耽误用药。</view>
......
......@@ -92,7 +92,7 @@ Page({
},
// 处方笺
getPrescribe: function (id, patient_unionid) {
wx.showLoading();
wx.showLoading({mask:true});
let that = this
if (that.data.paySuccess) {
wx.hideLoading();
......@@ -137,7 +137,7 @@ Page({
},
// 快速开药
getQuick: function (quickid, patient_unionid) {
wx.showLoading();
wx.showLoading({mask:true});
var that = this
if (that.data.paySuccess) {
wx.hideLoading();
......@@ -227,7 +227,7 @@ Page({
* @param {Object} e 事件绑定值
*/
myDetails: function (e) {
wx.showLoading();
wx.showLoading({mask:true});
var that = this;
if (wx.getStorageSync('data').unionid == undefined) {
that.login.showLogin();
......@@ -267,7 +267,7 @@ Page({
* 知情同意书
*/
goConsent: function () {
wx.showLoading()
wx.showLoading({mask:true})
wx.navigateTo({
url: '/packageA/consent/consent'
})
......@@ -277,7 +277,7 @@ Page({
* 同意知情同意书
*/
agree: function () {
wx.showLoading();
wx.showLoading({mask:true});
var that = this;
var agree = that.data.agree ? false : true;
that.setData({
......@@ -289,7 +289,7 @@ Page({
*选择地址
*/
gosite() {
wx.showLoading()
wx.showLoading({mask:true})
wx.navigateTo({
url: '/packageA/site/site',
})
......
......@@ -25,7 +25,7 @@
<view class="sf-top">
<view class="sf-title">
<image class="sf-img" src="/images/sf.png"></image>
<text class="size-0 ml-15">顺丰配送 16:00前下单当日发货。平台承诺100%正品,假一罚十。</text>
<text class="size-0 ml-15">顺丰配送 19:00前下单当日发货。平台承诺100%正品,假一罚十。</text>
</view>
</view>
</view>
......
{
"navigationBarTitleText": "确认订单",
"usingComponents": {
"modal": "/components/modal/modal",
"login": "/components/login/login",
"answer":"/components/answer/answer"
}
}
\ No newline at end of file
<view class="wrap">
<view class="header" bindtap="gosite" wx:if='{{receiveAddress==""}}'>
<view class="dz">请选择收货地址</view>
<image src="/images/arrow@2x.png"></image>
</view>
<view class="header" bindtap="gosite" wx:else>
<view class="dz">
<view class="po-re">
<text class="uname">收货人:</text>
<text class="usname">{{receiveAddress.name}}</text>
<view>{{tel}}</view>
</view>
<view class="site-dz">
<text class="shouhdz">收货地址:</text>
<text class="site">{{receiveAddress.take_over}}{{receiveAddress.detail_address}}</text>
</view>
</view>
<image src="/images/arrow@2x.png"></image>
</view>
<image class="fengexian" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAu4AAAAGCAYAAACclRsMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjM5NDEyRTJFMzBBNTExRTc4NkZEOEFCRjFBNDU5NTE4IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjM5NDEyRTJGMzBBNTExRTc4NkZEOEFCRjFBNDU5NTE4Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6Mzk0MTJFMkMzMEE1MTFFNzg2RkQ4QUJGMUE0NTk1MTgiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6Mzk0MTJFMkQzMEE1MTFFNzg2RkQ4QUJGMUE0NTk1MTgiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4gFPAsAAACi0lEQVR42uyaWytEURiG97hAOeR061CIO5G/gZSEUE7JIYr8CMKNHKJBIZSSH+AvkJTIhcNfQGbc8K5mJ5q99l4z3/j2NvOtem9m1to91ve9b2vtEYqchz8t87EH9f/8IHIedZpXAl1AldbfjzgmNYrKGgPJ9b1vDTde6xXrJVThO6tzjX+OUpu1nIF1FxrQfamp+68pNmsVA+sh1EPogWKblaNfD6BeQg9wsu5DfYQekByQHJAckByQHEjDHNDU3Xe/a2qclF+yEph7B40bzAtB20xmcGTSFM53rgSGYt1hMuktNJYC1nIm1kniM7aYzHsPjRKfEWbq1/sU9ECY0VtUVskByQHJAckByYHMyYGg+j0pv5ge3CNQN/RqcPOagNoYNsiRyWUEhsvgdj0FtTKxdkFvhNv1NNTCwPoOdbqxGrxhUeHZwcD6Ye/rC6EHFGt7IFi9e2CCiTXq5S2DHpAckByQHJAckBxIwxzQ1N13v2tqnLS3TQ/us1bsdb5XAZugJYtnxDG5FM53rgRMqlgXmFhnoCuCSZuheUbWa0JQNzD2wJwV+wk22R5Qf8wyY79eEHpAsS4GwVsGPSA5IDkgOSA5IDmQhjmgqbvvftfUmORtk4P7KbRmMK8AOoKyGTbIkUlTON+5EhiF0DET6wm0TmQ9YmTdIKzPs1lzGVjPoBXC+nwr9j9yOUysq4T1BYyspylglRyQHJAckByQHMiMHPDd75pDO9nbXgf3R2jI8OalNrKWYYMcmVxGYLgMbteKtYaJdcSV1ft2vQlVM7A+QMNuEwzesKhAqmdgfYYGoU/CM1TQ1/0T1nUm1icvbxn0gOSA5IDkgOSA5EAa5oCm7kH1O9nbXwIMALoZYR4r6iuTAAAAAElFTkSuQmCC"></image>
<view class="sf">
<view class="sf-top">
<view class="sf-title">
<image class="sf-img" src="/images/sf.png"></image>
<text class="size-0 ml-15">顺丰配送 19:00前下单当日发货。平台承诺100%正品,假一罚十。</text>
</view>
</view>
</view>
<view class="hzxx" wx:if="{{ishow}}" bindtap='myDetails' data-src="/packageA/selectUser/selectUser">
<text>患者信息</text>
<view class="hz-info">
<text>{{item==""||item==null?'请补充患者信息':item.name}}</text>
<image class="more" src="/images/more.png"></image>
</view>
</view>
<view class="line" wx:if='{{list.prescription.length>0}}'>
<text>推荐产品</text>
</view>
<block wx:for="{{list.prescription}}" wx:key="index">
<view class="list">
<view class="list-item">
<view class="image">
<image src="{{item.picture}}"></image>
</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="pirce">
<text>¥</text>
<text>{{item.drugPrice}}</text>
</view>
</view>
<view class="number">x {{item.num}}</view>
</view>
</view>
</block>
<view wx:if='{{list.healthcare.length>0}}' class="line">
<text>医生推荐</text>
</view>
<block wx:for="{{list.healthcare}}" wx:key="index" wx:for-index="index">
<view class="list">
<checkbox data-index="{{index}}" checked="{{item.checked}}" bindtap="updataRadio" color='#1384ff' />
<view class="list-item1">
<view class="image">
<image src="{{item.picture}}"></image>
</view>
<view class="item-name">
<view class="name" style="width:395rpx;">{{item.name}}</view>
<view class="firm" style="width:395rpx;">{{item.firm}}</view>
<view class="norms" style="width:395rpx;">{{item.norms}}</view>
<view class="pirce">
<text>¥</text>
<text>{{item.price}}</text>
</view>
</view>
<view class="number">x {{item.num}}</view>
</view>
</view>
</block>
<!-- 订单编号 -->
<view class="order-list">
<!-- <view class="order-num">
<text>下单时间</text>
<text style="font-size:28rpx;">{{list.create_time}}</text>
</view> -->
<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.drug_money}}</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;">{{list.zj}}</text>
</view>
</view>
<view class="order-num">
<text>顺丰运费</text>
<view>
<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>
<view wx:if='{{agree}}' class="selected">
<image src="/images/on2x.png"></image>
</view>
<text class="tys-text">我已阅读并接受</text>
<text class="zqtys" catchtap="goConsent">《知情同意书》</text>
</view>
<view class="tsy">根据药品实际仓储位置,您的订单可能分开发货</view>
<view class="tsy">遇到任何问题请拨打客服电话:<text bindtap='dial' data-tel='4001199218' style="color:#2684ff;">4001199218</text></view>
<view class="user-logo">
<image src="/images/xdjklogo.png"></image>
</view>
<view wx:if="{{iPhoneX}}" class="height"></view>
</view>
<!-- 微信支付 -->
<view class="three-wrap" style="height:{{iPhoneX?160:100}}rpx;">
<view class="flex-zf">
<view class="jg">
<text>合计:</text>
<text class="text">¥ </text>
<text>{{list.money}}</text>
</view>
<view wx:if='{{!agree||!isBtnAsh}}' class="qzf1">立即支付</view>
<view wx:if='{{agree&&isBtnAsh}}' class="qzf" bindtap="applyPay">立即支付</view>
</view>
</view>
<!-- <view class="btn" bindtap="applyPay">微信支付</view> -->
</view>
<view class="cu-modal {{errshow?'show':''}} shade" bindtap='hideModal' catchtouchmove="true">
<view class='cu-dialog' catchtap style="width:650rpx;border-radius: 20rpx !important;">
<view class='modal-top'>
<view class='modal-title'>{{errmsg}}</view>
</view>
<view class='modal-body' style="margin:0">
<block wx:for="{{errList}}" wx:key='key'>
<view class="list1">
<view class="list-item" style="padding-top:0;">
<view class="image">
<image src="{{item.picture}}"></image>
</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="err_msg">
{{item.msg}}
</view>
</view>
<!-- <view class="number">x {{item.num}}</view> -->
</view>
</view>
</block>
</view>
<view class='modal-footer'>
<text class='sure width-100' catchtap='hideModal'>返回</text>
</view>
</view>
</view>
<login id='login' showClose='{{showClose}}' bind:refreshEvent="_refreshEvent">
</login>
<answer id='answer'></answer>
\ No newline at end of file
@import '/components/modal/modal.wxss';
@import '/components/cu-modal.wxss';
page {
width: 750rpx;
padding-bottom: env(safe-area-inset-bottom);
background: rgb(242, 242, 242)
}
checkbox {
padding-top: 90rpx;
transform: scale(.8);
}
radio {
transform: scale(.7);
color: #1384ff;
}
.radio {
font-size: 28rpx;
}
/*checkbox未选中时样式 */
checkbox .wx-checkbox-input {
/* 自定义样式.... */
border-radius: 50%;
}
/* 选中后的 背景样式 (红色背景 无边框 可根据UI需求自己修改) */
checkbox .wx-checkbox-input.wx-checkbox-input-checked {
/* border: none; */
border-radius: 50%;
background-color: #2684ff;
}
/* 选中后的 对勾样式 (白色对勾 可根据UI需求自己修改) */
checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
font-size: 36rpx;
color: #fff;
}
.wrap {
position: absolute;
width: 100%;
top: 0;
left: 0;
background: #fff;
}
.header {
display: flex;
align-items: center;
height: 140rpx;
padding: 0 30rpx;
}
.header image:first-child {
width: 22rpx;
height: 28rpx;
}
.dz {
margin-left: 16rpx;
font-weight: 700;
font-size: 34rpx;
letter-spacing: 2rpx;
}
.po-re {
position: relative;
}
.po-re view {
position: absolute;
right: 0;
top: 0;
font-size: 26rpx;
color: #000;
font-weight: 400;
margin-top: 7rpx;
}
.site {
display: block;
width: 479rpx;
color: #000;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
font-size: 26rpx;
font-weight: 400;
}
.sf {
margin-top: 30rpx;
padding: 0 30rpx 25rpx 30rpx;
font-size: 28rpx;
border-bottom: 1rpx solid #F5F8FB;
}
.sf-top {
display: flex;
justify-content: space-between;
}
.sf-title {
display: flex;
flex-direction: row;
/* align-items: center; */
}
.ml-15 {
font-size: 28rpx;
margin-left: 15rpx;
}
.size-0 {
color: #777;
max-width: 638rpx;
}
.size-1 {
color: #569efc;
}
.sf-img {
margin-top: 8rpx;
width: 32rpx;
height: 32rpx;
}
.tel-img {
width: 38rpx;
height: 38rpx;
}
.hzxx {
display: flex;
justify-content: space-between;
padding: 35rpx 30rpx;
font-size: 34rpx;
}
.line {
border-top: 20rpx solid rgb(242, 242, 242);
border-bottom: 1rpx solid rgb(242, 242, 242);
padding: 30rpx 0;
}
.line text {
margin-left: 30rpx;
font-size: 30rpx;
color: #666;
}
.hz-info {
display: flex;
align-items: center;
}
.hz-info text {
margin-right: 15rpx;
font-size: 30rpx;
color: #999999;
width: 400rpx;
text-align: right;
}
.more {
width: 15rpx;
height: 25rpx;
}
.shouhdz {
font-size: 26rpx;
color: #666666;
font-weight: 400;
width: 145rpx;
display: inline-block;
}
.site-dz {
display: flex;
align-items: center;
margin-top: 15rpx;
}
.user {
padding-top: 10rpx;
}
.uname {
width: 145rpx;
font-size: 26rpx;
font-weight: 400;
color: #666666;
display: inline-block;
}
.usname {
font-size: 26rpx;
font-weight: 400;
color: #000;
}
.uphone {
font-size: 26rpx;
color: #666666;
padding-left: 32rpx;
}
.header image:last-child {
width: 10rpx;
height: 20rpx;
position: absolute;
right: 0;
margin-right: 30rpx;
}
.list {
padding: 0 30rpx;
display: flex;
flex-direction: row;
}
.list1{
padding: 0;
display: flex;
flex-direction: row;
}
.list-item,
.list-item1 {
display: flex;
width: 100%;
border-bottom: 2rpx solid #F5F8FB;
padding-bottom: 42rpx;
padding-top: 42rpx;
}
.list-item2
{
display: flex;
width: 100%;
}
.br{
margin: 30rpx;
background-color:#F5F8FB;
height: 2rpx;
width: 530rpx;
}
.list-item image,
.list-item1 image {
width: 155rpx;
height: 155rpx;
}
.list-item1 {
margin-left: 20rpx;
width: 630rpx;
}
.image {
padding: 2.5rpx;
border: 1rpx solid rgb(241, 241, 241);
}
.item-name {
display: flex;
flex-direction: column;
justify-content: space-between;
padding-left: 18rpx;
width: 455rpx;
overflow: hidden;
/*超出部分隐藏*/
white-space: nowrap;
/*不换行*/
text-overflow: ellipsis;
/*超出部分文字以...显示*/
}
.name {
font-size: 32rpx;
color: #333333;
font-weight: 600;
}
.errname{
width: 400rpx;
font-size: 24rpx;
color: #333333;
font-weight: 400;
text-align: left;
overflow: hidden;
/*超出部分隐藏*/
white-space: nowrap;
/*不换行*/
text-overflow: ellipsis;
/*超出部分文字以...显示*/
}
.firm {
font-size: 24rpx;
color: #666666;
overflow: hidden;
/*超出部分隐藏*/
white-space: nowrap;
/*不换行*/
text-overflow: ellipsis;
/*超出部分文字以...显示*/
}
.norms {
font-size: 24rpx;
color: #666666;
overflow: hidden;
/*超出部分隐藏*/
white-space: nowrap;
/*不换行*/
text-overflow: ellipsis;
/*超出部分文字以...显示*/
}
.pirce {
color: #EC5B68;
}
.err_msg{
color: #EC5B68;
font-weight: 700;
}
.pirce text:first-child {
font-size: 24rpx;
}
.pirce text:last-child {
font-size: 32rpx;
font-weight: 700;
}
.number {
display: flex;
margin-top: 5rpx;
font-size: 28rpx;
}
.errnumber{
display: flex;
margin-top: 5rpx;
font-size: 20rpx;
}
.order-list {
border-top: 20rpx solid rgb(242, 242, 242);
}
.order-num {
display: flex;
justify-content: space-between;
border-bottom: 2rpx solid #F5F8FB;
padding: 35rpx 30rpx;
font-size: 34rpx;
}
.orders-num {
display: flex;
justify-content: space-between;
padding: 35rpx 30rpx;
font-size: 34rpx;
}
.order-num text:first-child {
color: #000;
}
.fonw-400 {
font-weight: 400;
}
.order-num text:last-child {
color: #999999;
}
.red {
color: #EC5B68;
}
.btn {
width: 690rpx;
height: 90rpx;
background: #2684FF;
line-height: 90rpx;
text-align: center;
color: #fff;
font-size: 32rpx;
margin-bottom: 30rpx;
margin-left: 30rpx;
letter-spacing: 2rpx;
border-radius: 4rpx;
position: absolute;
bottom: 30rpx;
}
.three-wrap {
width: 100%;
background: #fff;
z-index: 1000;
position: fixed;
bottom: 0;
left: 0;
}
.tys {
font-size: 26rpx;
line-height: 42rpx;
padding: 30rpx 0 20rpx 30rpx;
flex-direction: row;
/* background: rgb(242, 242, 242); */
}
.tsy {
font-size: 26rpx;
line-height: 42rpx;
padding-left: 30rpx;
/* padding-bottom: 150rpx; */
flex-direction: row;
/* background: rgb(242, 242, 242); */
color: rgb(177, 177, 177);
}
.unselected {
border-radius: 50%;
height: 30rpx;
width: 30rpx;
border: 1rpx solid #ccc;
margin: 5rpx;
margin-right: 10rpx;
display: block;
float: left;
/* 自定义样式.... */
}
.selected image {
border-radius: 50%;
height: 32rpx;
width: 32rpx;
margin: 5rpx;
margin-right: 10rpx;
display: block;
float: left;
/* 自定义样式.... */
}
.tys-text {
color: #999;
font-size: 26rpx;
}
.zqtys {
color: #2684FF;
z-index: 100;
}
.flex-zf {
display: flex;
justify-content: space-between;
border-top: 1rpx solid #F5F8FB;
}
.jg {
width: 50%;
height: 100rpx;
line-height: 100rpx;
font-size: 28rpx;
padding-left: 30rpx;
color: #999;
}
.text {
margin-left: 20rpx;
color: #EC5B68;
}
.jg text:last-child {
color: #EC5B68;
font-weight: 700;
font-size: 36rpx;
}
.qzf {
width: 50%;
height: 100rpx;
background: #2684ff;
color: #fff;
line-height: 100rpx;
text-align: center;
font-size: 34rpx;
font-weight: 700;
}
.qzf1 {
width: 50%;
height: 100rpx;
background: #ccc;
color: #fff;
line-height: 100rpx;
text-align: center;
font-size: 34rpx;
font-weight: 700;
}
.height {
width: 100%;
height: 50rpx;
background: rgb(242, 242, 242);
}
.fengexian {
width: 100%;
height: 6rpx;
display: block;
border-bottom: 20rpx solid rgb(242, 242, 242);
}
/* 登录 */
/* 登录 */
.login-wrap {
width: 100%;
height: 100%;
position: fixed;
z-index: 9999;
background: rgba(0, 0, 0, .4);
bottom: 0;
}
.cu-modal {
width: 100%;
background: #fff;
position: absolute;
border-radius: 15rpx 15rpx 0 0;
bottom: 0;
left: 0;
z-index: 10000;
text-align: center;
height: 540rpx;
}
.login-content {
width: 100%;
height: 480rpx;
background: #ffffff;
position: absolute;
bottom: 0;
left: 0;
text-align: center;
}
.login-close {
position: absolute;
right: 15rpx;
top: 15rpx;
width: 40rpx;
height: 40rpx;
padding: 10rpx;
font-size: 40rpx;
color: #000000;
font-weight: 800;
}
.login-title {
font-size: 50rpx;
font-weight: bold;
color: #000000;
letter-spacing: 2rpx;
margin-top: 84rpx;
margin-bottom: 50rpx;
}
.login-text {
width: 620rpx;
font-size: 32rpx;
margin: 0 auto;
font-weight: 400;
text-align: left;
color: #555;
line-height: 46rpx;
letter-spacing: 2rpx;
}
.login-btn {
width: 620rpx;
height: 88rpx;
line-height: 88rpx;
background: #2684ff;
border-radius: 10rpx;
margin: 0 auto;
margin-top: 50rpx;
}
.cu-dialog {
min-height: 480rpx;
border-radius: 10rpx 10rpx 0 0 !important;
}
.user-logo {
display: flex;
justify-content: center;
width: 100%;
padding-bottom: 220rpx;
margin-top: 100rpx;
}
.user-logo image {
width: 650rpx;
height: 104rpx;
}
.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-btn{
margin:0rpx auto;
margin-top: 30rpx;
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;
right: 0;
height: 100%;
background: rgba(0, 0, 0, 0.3);
z-index: 1001;
}
.modal-title{
font-size: 32rpx;
font-weight: bold;
}
\ No newline at end of file
......@@ -132,7 +132,10 @@ Page({
});
},
next:Util.debouce(function (e){
wx.showLoading();
wx.showLoading({
mask:true,
title:'加载中'
});
var that = this;
if (Util.isEmpty(that.data.item)) {
wx.showModal({
......
......@@ -53,7 +53,7 @@ Page({
}, 1000, true),
//重新购买
repurchase: function () {
wx.showLoading();
wx.showLoading({mask:true});
var op_openid = '';
var data = {};
data.unionid = this.data.info.consultant_unionid;
......
......@@ -18,7 +18,7 @@ Page({
},
goback(e){
wx.showLoading();
wx.showLoading({mask:true});
console.log(e)
var data={
addressId:e.currentTarget.dataset.item.id,
......@@ -32,7 +32,7 @@ Page({
wx.hideLoading();
},
addsite(e){
wx.showLoading();
wx.showLoading({mask:true});
let item = JSON.stringify(e.currentTarget.dataset.item);
if (e.currentTarget.dataset.num == 0){
wx.navigateTo({
......
......@@ -51,6 +51,7 @@ Page({
data.g_id = this.data.gid;
wx.showLoading({
title: '正在提交',
mask:true
})
data.email = this.data.email;
if (this.data.gid.length < 1 || this.data.email.length < 1){
......
......@@ -21,6 +21,7 @@ Page({
onLoad: function (options) {
wx.showLoading({
title: '加载中',
mask:true
})
let that = this;
let gid = options.gid;
......@@ -109,8 +110,9 @@ Page({
/* 查看发票 */
vieTicket() {
let that = this;
wx: wx.showLoading({
wx.showLoading({
title: '加载中',
mask:true
})
let gid = this.data.gid;
Service.seeInvoice(gid).then((res)=>{
......
......@@ -68,6 +68,7 @@ Page({
let gid = that.data.gid
wx.showLoading({
title: '正在提交',
mask:true
})
Service.sendEmail(gid).then(()=>{
wx.navigateTo({
......
......@@ -172,7 +172,7 @@ Page({
//去聊天页面
goChat: Util.debouce(function (e) {
// console.log(e);
wx.showLoading();
wx.showLoading({mask:true});
let item = e.currentTarget.dataset.item;
var datas = {};
var user = wx.getStorageSync('user');
......
......@@ -261,6 +261,7 @@ Page({
console.log("次数")
wx.showLoading({
title: '正在上传',
mask:true
})
var startTime = wx.getStorageSync('startTime');
var timeArr = wx.getStorageSync('timeArr');
......
......@@ -230,6 +230,7 @@ Page({
}, 5000)
wx.showLoading({
title: '上传中...',
mask:true
})
wx.request({
method: 'POST',
......
......@@ -488,6 +488,7 @@ Page({
// }, 7000)
wx.showLoading({
title: '上传中...',
mask:true
})
wx.request({
method: 'POST',
......
......@@ -543,6 +543,7 @@ Page({
})
wx.showLoading({
title: '上传中...',
mask:true
})
var startTime = wx.getStorageSync('startTime');
var timeArr = wx.getStorageSync('timeArr');
......
......@@ -207,7 +207,7 @@ Page({
})
},
goIntro() {
wx.showLoading();
wx.showLoading({mask:true});
var that = this;
wx.navigateTo({
url: '/pages/doctorIntro/doctorIntro?t_unionid=' + that.data.t_unionid + '&t_unitid=' + that.data.t_unitid + '&t_openid=' + that.data.t_openid,
......
......@@ -75,7 +75,7 @@ Page({
},
///特色门诊
site: function (e) {
wx.showLoading()
wx.showLoading({mask:true})
var that = this
if (e.currentTarget.dataset.door) {
that.nav('door', e.currentTarget.dataset.door)
......@@ -104,7 +104,7 @@ Page({
},
//医生详情
doctorInfo: function (e) {
wx.showLoading()
wx.showLoading({mask:true})
//医生详情页
wx.navigateTo({
url: '/pages/docuterInfo/docuterInfo?t_unionid=' + e.currentTarget.dataset.unionid + '&t_unitid=' + e.currentTarget.dataset.unitid + '&t_openid=' + e.currentTarget.dataset.openid,
......
......@@ -291,6 +291,7 @@ Page({
});
wx.showLoading({
title: '正在加载',
mask:true
});
},
onShow: function () {
......@@ -703,7 +704,7 @@ Page({
upPayBtn: Util.debouce(function () {
var payInfo = wx.getStorageSync('payInfo')
wx.showLoading({
title: '',
mask:true
})
var that = this;
if (that.data.btnFlag) {
......@@ -1246,6 +1247,7 @@ Page({
}, 5000)
wx.showLoading({
title: '请稍后',
mask:true
})
// 改变按钮状态
this.setData({
......@@ -1894,6 +1896,7 @@ Page({
var urlt = Api.HOST + 'appIteration.php?s=Home/stinfo';
wx.showLoading({
title: '正在上传',
mask:true
})
var uploadData = setTimeout(function () {
wx.hideLoading()
......@@ -2015,6 +2018,7 @@ Page({
var urlt = Api.HOST + 'appIteration.php?s=Home/stinfo';
wx.showLoading({
title: '正在上传',
mask:true
})
var uploadData = setTimeout(function () {
wx.hideLoading()
......
......@@ -45,6 +45,7 @@ Page({
var loadPhoto = setTimeout(function(){
wx.showLoading({
title: '加载中...',
mask:true
})
},1000)
// 咨询师的openID 和时间
......@@ -234,6 +235,7 @@ Page({
}, 5000)
wx.showLoading({
title: '请稍后',
mask:true
})
this.setData({ payInfo: false })
Api.fetchPost(urlt, data, (err, res) => {
......
......@@ -22,7 +22,7 @@
<view class="sf-top">
<view class="sf-title">
<image class="sf-img" src="/images/sf.png"></image>
<text class="size-0 ml-15">顺丰配送 16:00前下单当日发货。平台承诺100%正品,假一罚十。</text>
<text class="size-0 ml-15">顺丰配送 19:00前下单当日发货。平台承诺100%正品,假一罚十。</text>
</view>
</view>
</view>
......
......@@ -500,7 +500,7 @@ Page({
},
//详情
doctorInfo: function (e) {
wx.showLoading();
wx.showLoading({mask:true});
wx.navigateTo({
url: '/pages/docuterInfo/docuterInfo?t_unionid=' + e.currentTarget.dataset.unionid + '&t_unitid=' + e.currentTarget.dataset.unitid + '&t_openid=' + e.currentTarget.dataset.openid,
})
......
......@@ -124,6 +124,12 @@
"pathName": "packageA/logistics/logistics",
"query": "id=978&num=SF1334982552976&tel=17801017172&ordernumber=20210106215421&img=https://www.xiaodongai.com/xiaodongai/ceshi/Uploads/Drug/2020-04-11/5e916ffe83129.jpg&status=3&address={\"id\":7343,\"openid\":\"oYQX40BtoLUP4sbDt8iKxO-CcQ74\",\"unionid\":\"oHhp80YULOSNxEltQNTTkRqjzNrI\",\"name\":\"小孔5\",\"phone\":\"17801017172\",\"take_over\":\"北京市北京市通州区\",\"detail_address\":\"北京市北京市通州区小懂科技\",\"create_time\":\"1610531672\",\"update_time\":null,\"status\":0,\"is_default\":0,\"province\":\"北京市\",\"city\":\"北京市\",\"area\":\"通州区\"}&com=",
"scene": 1014
},
{
"name": "packageA/productOrderInfo/productOrderInfo",
"pathName": "packageA/productOrderInfo/productOrderInfo",
"query": "scene=33610",
"scene": null
}
]
}
......
......@@ -74,10 +74,10 @@ const url = {
drogOrderDetail:HOST + "wechatIteration.php?s=/Drugorder/prescription_order_detail",//药品订单详情
/**end */
/**公共 begin*/
isReport: HOST + "wechatIteration.php?s=/Inquisition/check_istype", //检测是否允许查看报告
forcedUpdate: HOST + 'wechatIteration.php?s=/Public/wechatVer', //强制更新
getWxUserPhone: HOST + "wechatIteration.php?s=/InquiryUser/getUserPhone", //微信授权获取用户手机号
getCode: HOST + "wechatIteration.php?s=/Home/getCode", //获取验证码
isReport:HOST + "wechatIteration.php?s=/Inquisition/check_istype", //检测是否允许查看报告
forcedUpdate:HOST + 'wechatIteration.php?s=/Public/wechatVer', //强制更新
getWxUserPhone:HOST + "wechatIteration.php?s=/InquiryUser/getUserPhone", //微信授权获取用户手机号
getCode:HOST + "wechatIteration.php?s=/Home/getCode", //获取验证码
checkCard:HOST_yiyuan+'Idcard/checkCard',//验证身份证与姓名
/**end */
/**量表 */
......
......@@ -600,6 +600,10 @@ function drogOrderDetail(param) {
var drogOrderDetailUrl = config.url.drogOrderDetail;
return wxRequest.postRequest(drogOrderDetailUrl, param);
}
/**
* 是否答题
* @param {*} param
*/
function getIsAnswer(param){
var getIsAnswerUrl = config.url.getIsAnswer;
return wxRequest.postRequest(getIsAnswerUrl, param);
......
......@@ -117,6 +117,7 @@ function KICKED_OUT(event){
if (res.confirm) {
wx.showLoading({
title: '正在登录',
mask:true
})
getApp().getUserInfo(function (cb) {
if (!Util.isEmpty(cb)) {
......
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