Commit 93fdd8c8 by liuquan

合并分支 'liuquan' 到 'XDJK-master'

Liuquan

查看合并请求 !2
parents ad357a9a 825c8cd0
......@@ -164,8 +164,7 @@
<view class="doctor-unit">{{item.payload.description.work_unit}}</view>
</view>
</view>
<view class="Report-text">我已为您开具量表,请点击下方按钮或在我
的-我的报告,开始检测</view>
<view class="Report-text">我已为您开具量表,请点击下方按钮或在我的-我的报告,开始检测</view>
<view class="scale">
<view class="scale-title">量表名称:</view>
<view>
......
const Service = require('../../utils/service.js');
const {debouce} = require('../../utils/util.js');//防抖函数
const {
debouce
} = require('../../utils/util.js'); //防抖函数
const Util = require('../../utils/util.js');
Page({
......@@ -13,7 +15,7 @@ Page({
winH: null,
},
showview: false,
list:[]
list: []
},
/**
......@@ -45,7 +47,7 @@ Page({
}, 1500);
},
//删除订单
deleBtn:debouce(function (e) {
deleBtn: debouce(function (e) {
var that = this
wx.showModal({
content: '是否确认删除订单',
......@@ -64,40 +66,40 @@ Page({
})
that.getList(that.data.nav)
}
}).catch((Error)=> {
}).catch((Error) => {
console.warn('error:', Error); // 获取会话资料失败的相关信息
});
}
}
})
},1000,true),
}, 1000, true),
//获取列表
getList: function (status) {
var that = this
var data = {
// unionid:'oHhp80XTpjf-JKvU94VEztv3aLhc',
// unionid:'oHhp80RDG97XDPoJR9vjCi3XfzJM',
unionid: wx.getStorageSync('data').unionid,
status: status
};
Service.buyDrugList(data).then((res) => {
console.log("getList",res)
console.log("getList", res)
if (res.code == 1) {
that.setData({
list: res.data,
showview: true
})
}else{
} else {
that.setData({
list: [],
showview: true
})
wx.showToast({
title:res.msg,
title: res.msg,
})
}
}).catch(function (Error) {
console.warn('error:', Error); // 获取会话资料失败的相关信息
});
console.warn('error:', Error); // 获取会话资料失败的相关信息
});
},
//选择topTab页
nav: function (e) {
......@@ -109,7 +111,7 @@ Page({
_this.getList(e.currentTarget.dataset.index)
},
//确认收货
confirmReceipt:debouce(function (e) {
confirmReceipt: debouce(function (e) {
let that = this
let data = {
unionid: wx.getStorageSync('data').unionid,
......@@ -120,7 +122,7 @@ Page({
success(ress) {
if (ress.confirm) {
Service.confirmReceipt(data).then((res) => {
console.log("confirmReceipt",res)
console.log("confirmReceipt", res)
wx.showToast({
title: res.msg,
})
......@@ -131,7 +133,7 @@ Page({
}
}
})
},1000,true),
}, 1000, true),
// 查看物流-待发货
// goLogistics1: function (e) {
// console.log(1,e.currentTarget.dataset.id)
......@@ -139,51 +141,63 @@ Page({
// url: e.currentTarget.dataset.src +'?img=' + e.currentTarget.dataset.img + '&status=' + e.currentTarget.dataset.status + '&num=' + e.currentTarget.dataset.num + '&tel=' + e.currentTarget.dataset.tel + '&ordernumber=' + e.currentTarget.dataset.ordernumber+'&com='+e.currentTarget.dataset.com +'&address='+JSON.stringify(e.currentTarget.dataset.address),
// })
// },
/**
*修改地址-待发货2
*/
editAddress:debouce(function(e){
wx.navigateTo({
url: '/packageA/addsite/addsite?item=' +JSON.stringify(e.currentTarget.dataset.address)+'&ordernumber='+e.currentTarget.dataset.ordernumber+'&type=1',
/**
*修改地址-待发货2
*/
editAddress: debouce(function (e) {
Service.isEditAddress({
ordernumber: e.currentTarget.dataset.ordernumber
}).then((res) => {
if (res.code == 1) {
wx.navigateTo({
url: '/packageA/addsite/addsite?item=' + JSON.stringify(e.currentTarget.dataset.address) + '&ordernumber=' + e.currentTarget.dataset.ordernumber + '&type=1',
})
}else{
wx.showToast({
title: res.msg,
icon: 'success',
mask: true
})
}
})
},1000,true),
/**
}, 1000, true),
/**
* 订单详情-待发货2,已发货3,已完成4
*/
goOrderDetail:debouce(function(e){
goOrderDetail: debouce(function (e) {
wx.navigateTo({
url: '/packageA/drugOrderDetail/drugOrderDetail?id=' + e.currentTarget.dataset.id,
})
},1000,true),
}, 1000, true),
//查看物流-待收货+已完成
goLogistics:debouce(function (e) {
goLogistics: debouce(function (e) {
wx.navigateTo({
url: e.currentTarget.dataset.src + "?num=" + e.currentTarget.dataset.num + '&tel=' + e.currentTarget.dataset.tel + '&ordernumber=' + e.currentTarget.dataset.ordernumber + '&img=' + e.currentTarget.dataset.img + '&status=' + e.currentTarget.dataset.status+'&com='+e.currentTarget.dataset.com+'&address='+JSON.stringify(e.currentTarget.dataset.address),
url: e.currentTarget.dataset.src + "?num=" + e.currentTarget.dataset.num + '&tel=' + e.currentTarget.dataset.tel + '&ordernumber=' + e.currentTarget.dataset.ordernumber + '&img=' + e.currentTarget.dataset.img + '&status=' + e.currentTarget.dataset.status + '&com=' + e.currentTarget.dataset.com + '&address=' + JSON.stringify(e.currentTarget.dataset.address),
})
},1000,true),
}, 1000, true),
/**
* 立即支付
*/
goPay:debouce(function (e) {
let that = this;
let data = {
prescription: e.currentTarget.dataset.id ,
patient_unionid: wx.getStorageSync('data').unionid,
isquick:e.currentTarget.dataset.isquick
}
Service.getPayStatus(data).then((res) => {
if (res.code == 1) {
goPay: debouce(function (e) {
let that = this;
let data = {
prescription: e.currentTarget.dataset.id,
patient_unionid: wx.getStorageSync('data').unionid,
isquick: e.currentTarget.dataset.isquick
}
Service.getPayStatus(data).then((res) => {
if (res.code == 1) {
that.onShow();
} else if (res.code == -1) {
} else if (res.code == -1) {
wx.navigateTo({
url: '/packageA/drugOrderInfo/drugOrderInfo?scene=' + e.currentTarget.dataset.id + "&isQuick=" + e.currentTarget.dataset.isquick,
})
}else if(res.code == 2){
} else if (res.code == 2) {
wx.showToast({
title: res.msg,
icon: 'none'
})
}
})
},1000,true),
}
})
}, 1000, true),
})
\ No newline at end of file
......@@ -47,7 +47,7 @@
<view class="zj flex">
<text>共 {{item.total}} 件商品 实付款: </text>
<text class="red">¥{{item.money}}</text>
<text>(含运费¥12.00)</text>
<text>(含运费¥{{item.freight}})</text>
</view>
<view class="dele flex">
<view class="delebtn" bindtap="deleBtn" data-ordernumber="{{item.ordernumber}}" wx:if="{{item.status==1 || item.status==4 || item.status==5||item.status==7}}">删除订单</view>
......
......@@ -134,11 +134,25 @@ Page({
/**
*修改地址-待发货2
*/
editAddress:Util.debouce(function(e){
wx.navigateTo({
url: '/packageA/addsite/addsite?item=' +JSON.stringify(e.currentTarget.dataset.address)+'&ordernumber='+e.currentTarget.dataset.ordernumber,
editAddress:Util.debouce(function (e) {
Service.isEditAddress({
ordernumber: e.currentTarget.dataset.ordernumber
}).then((res) => {
if (res.code == 1) {
wx.navigateTo({
url: '/packageA/addsite/addsite?item=' +JSON.stringify(e.currentTarget.dataset.address)+'&ordernumber='+e.currentTarget.dataset.ordernumber,
})
}else{
wx.showToast({
title: res.msg,
icon: 'success',
mask: true
})
}
})
},1000,true),
}, 1000, true),
/**
* 查看处方
* type 0 处方 1 用药建议
......
......@@ -108,7 +108,7 @@
<view class="ordertitle">订单详情</view>
<view class="row ordernumber">
<view>订单编号:<text style="color:#333;">{{item.ordernumber}}</text></view>
<view class="copy" bindtap="copy" data-c="C20191202000152">复制订单</view>
<view class="copy" bindtap="copy" data-c="{{item.ordernumber}}">复制订单</view>
</view>
<view>支付时间:{{item.create_time}}</view>
</view>
......
......@@ -93,7 +93,6 @@
<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>
......
......@@ -35,6 +35,7 @@ Page({
mobileTail: options.tel.substring(options.tel.length - 4),
})
}
console.log("options",options)
var list = options.num.split(',')
var comlist = options.com.split(',')
that.setData({
......
<!--
此文件为开发者工具生成,生成时间: 2021/1/8 下午1:11:28
使用方法:
在 C:\Users\moyu\Desktop\XDJKMiniProgramSVN\XDJK\pages\docuterInfo\docuterInfo.wxml 引入模板
```
<import src="docuterInfo.skeleton.wxml"/>
<template is="skeleton" wx-if="{{loading}}" />
```
在 C:\Users\moyu\Desktop\XDJKMiniProgramSVN\XDJK\pages\docuterInfo\docuterInfo.wxss 中引入样式
```
@import "./docuterInfo.skeleton.wxss";
```
更多详细信息可以参考文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/skeleton.html
-->
<template name="skeleton">
<view class="sk-container">
<view class="user-fenxiang">
<button class="user-btn sk-button sk-pseudo sk-pseudo-circle" hover-class="none" open-type="share">
<image class="user-fenxiang-img sk-image"></image>
</button>
</view>
<view class="user">
<view class="userInfo" style="border: none;">
<image class="user-header sk-image" mode="aspectFill"></image>
<view class="info">
<view class="userInfo-a">
<view class="user-name sk-transparent sk-text--6-2500-507 sk-text">史哲</view>
<view class="user-docuter sk-transparent sk-text-14-2857-643 sk-text">
主任医师</view>
</view>
<view class="hospital sk-transparent sk-text-0-0000-152 sk-text">航空总医院</view>
</view>
</view>
<view class="user-con sk-transparent sk-text-16-6667-222 sk-text">擅长:脑血管病,偏头痛</view>
<view class="user-intro sk-transparent">医生简介
<image class="user-intro-img sk-image"></image>
</view>
</view>
<view class="user-job">
<view class="user-job-tab">
<view class="tab-con Selected" data-item="[object Object]" style="border: none;">
<view class="tab-top-img">
<image class="tab-top-img sk-image" mode="aspectFit"></image>
</view>
<view class="job-tab-text sk-transparent sk-text-14-2857-49 sk-text" style="background-position-x: 50%;">心理体检</view>
<view class="job-tab-price sk-transparent">
<text class="sk-transparent sk-opacity">¥</text>150</view>
<image class="Selected-img sk-image" mode="aspectFit"></image>
</view>
<view class="tab-con noSelected" data-item="[object Object]" style="border: none;">
<view class="tab-top-img">
<image class="tab-top-img sk-image" mode="aspectFit"></image>
</view>
<view class="job-tab-text sk-transparent sk-text-14-2857-825 sk-text" style="background-position-x: 50%;">心理咨询</view>
<view class="job-tab-price sk-transparent">
<text class="sk-transparent sk-opacity">¥</text>200</view>
</view>
</view>
<view class="user-job-tab">
<view class="tab-con noSelected" data-item="[object Object]" style="border: none;">
<view class="tab-top-img">
<image class="tab-top-img sk-image" mode="aspectFit"></image>
</view>
<view class="job-tab-text sk-transparent sk-text-14-2857-701 sk-text" style="background-position-x: 50%;">单次问诊</view>
<view class="job-tab-price sk-transparent">
<text class="sk-transparent sk-opacity">¥</text>100</view>
</view>
<view class="tab-con opacity noSelected" style="border: none;">
<view class="tab-top-img">
<image class="tab-top-img sk-image" mode="aspectFit"></image>
</view>
<view class="job-tab-text sk-transparent sk-text-14-2857-276 sk-text" style="background-position-x: 50%;">电话倾诉</view>
<view class="job-tab-no sk-transparent sk-text-6-6667-342 sk-text" style="background-position-x: 50%;">暂未开通</view>
</view>
</view>
<view class="user-job-tab">
<view class="tab-con noSelected" data-item="[object Object]" style="border: none;">
<view class="tab-top-img">
<image class="tab-top-img sk-image" mode="aspectFit"></image>
</view>
<view class="job-tab-text sk-transparent sk-text-14-2857-842 sk-text" style="background-position-x: 50%;">复诊开药</view>
<view class="job-tab-price sk-transparent">
<text class="sk-transparent sk-opacity">¥</text>10</view>
</view>
<view class="tab-con noSelected" data-item="[object Object]" style="border: none;">
<view class="tab-top-img">
<image class="tab-top-img sk-image" mode="aspectFit"></image>
</view>
<view class="job-tab-text sk-transparent sk-text-14-2857-473 sk-text" style="background-position-x: 50%;">私人医生</view>
<view class="job-tab-price sk-transparent">
<text class="sk-transparent sk-opacity">¥</text>1000</view>
</view>
</view>
</view>
<view class="user-service1" style="border: none;">
<view class="service-title sk-transparent sk-text--3-1250-843 sk-text">服务流程</view>
<view class="service-flow">
<view>
<view class="service-img service-zfgm">
<image class="service-zfgm sk-image"></image>
</view>
<view class="service-text sk-transparent sk-text-14-2857-505 sk-text">支付购买</view>
</view>
<view>
<image class="service-next sk-image"></image>
</view>
<view>
<view class="service-img service-yskjc">
<image class="service-yskjc sk-image"></image>
</view>
<view class="service-text sk-transparent sk-text-14-2857-187 sk-text">医生开检查</view>
</view>
<view>
<image class="service-next sk-image"></image>
</view>
<view>
<view class="service-img service-wcjc">
<image class="service-wcjc sk-image"></image>
</view>
<view class="service-text sk-transparent sk-text-14-2857-626 sk-text">完成检查</view>
</view>
<view>
<image class="service-next sk-image"></image>
</view>
<view>
<view class="service-img service-jdbg">
<image class="service-jdbg sk-image"></image>
</view>
<view class="service-text sk-transparent sk-text-14-2857-127 sk-text">解读报告</view>
</view>
</view>
</view>
<view class="user-service" style="margin-bottom: 80px; border: none;">
<view class="service-title sk-transparent sk-text--3-1250-690 sk-text">服务说明</view>
<view class="list-con sk-transparent sk-text-22-2222-635 sk-text">
1. 通过本服务的检测,您可以了解您的心理健康状况或者心理特征、性格特点等;
</view>
<view class="list-con sk-transparent sk-text-22-2222-437 sk-text">
2. 采用的是包括解放军301医院、北京大学第一医院、清华大学长庚医院、武汉大学人民医院、中国医科大学第一附属医院等全国500余家大型医疗机构临床使用的检测工具,确保检测的准确性;
</view>
</view>
<view class="my-docuter-btn" style="margin-bottom: 30px; border: none;">
<view class="sk-transparent">
<text style="color:#999;font-size:14px;font-weight:400;" class="sk-transparent sk-text-36-0000-834 sk-text">价格:</text>
<text style="font-size:14px;font-weight:400;" class="sk-transparent sk-opacity">¥</text>150
</view>
<view>
<button class="sk-transparent sk-button sk-pseudo sk-pseudo-circle">购买服务</button>
</view>
</view>
<view class="my-docuter-iPhoneX"></view>
</view>
</template>
\ No newline at end of file
/*
此文件为开发者工具生成,生成时间: 2021/1/8 下午1:11:28
在 C:\Users\moyu\Desktop\XDJKMiniProgramSVN\XDJK\pages\docuterInfo\docuterInfo.wxss 中引入样式
```
@import "./docuterInfo.skeleton.wxss";
```
更多详细信息可以参考文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/skeleton.html
*/
.sk-transparent {
color: transparent !important;
}
.sk-text--6-2500-507 {
background-image: linear-gradient(transparent -6.2500%, #EEEEEE 0%, #EEEEEE 106.2500%, transparent 0%) !important;
background-size: 100% 32.0000rpx;
position: relative !important;
}
.sk-text {
background-origin: content-box !important;
background-clip: content-box !important;
background-color: transparent !important;
color: transparent !important;
background-repeat: repeat-y !important;
}
.sk-text-14-2857-643 {
background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
background-size: 100% 39.2000rpx;
position: relative !important;
}
.sk-text-0-0000-152 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 28.0000rpx;
position: relative !important;
}
.sk-text-16-6667-222 {
background-image: linear-gradient(transparent 16.6667%, #EEEEEE 0%, #EEEEEE 83.3333%, transparent 0%) !important;
background-size: 100% 42.0000rpx;
position: relative !important;
}
.sk-text-14-2857-49 {
background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
background-size: 100% 42.0000rpx;
position: relative !important;
}
.sk-opacity {
opacity: 0 !important;
}
.sk-text-14-2857-825 {
background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
background-size: 100% 42.0000rpx;
position: relative !important;
}
.sk-text-14-2857-701 {
background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
background-size: 100% 42.0000rpx;
position: relative !important;
}
.sk-text-14-2857-276 {
background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
background-size: 100% 42.0000rpx;
position: relative !important;
}
.sk-text-6-6667-342 {
background-image: linear-gradient(transparent 6.6667%, #EEEEEE 0%, #EEEEEE 93.3333%, transparent 0%) !important;
background-size: 100% 30.0000rpx;
position: relative !important;
}
.sk-text-14-2857-842 {
background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
background-size: 100% 42.0000rpx;
position: relative !important;
}
.sk-text-14-2857-473 {
background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
background-size: 100% 42.0000rpx;
position: relative !important;
}
.sk-text--3-1250-843 {
background-image: linear-gradient(transparent -3.1250%, #EEEEEE 0%, #EEEEEE 103.1250%, transparent 0%) !important;
background-size: 100% 32.0000rpx;
position: relative !important;
}
.sk-text-14-2857-505 {
background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
background-size: 100% 36.4000rpx;
position: relative !important;
}
.sk-text-14-2857-187 {
background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
background-size: 100% 36.4000rpx;
position: relative !important;
}
.sk-text-14-2857-626 {
background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
background-size: 100% 36.4000rpx;
position: relative !important;
}
.sk-text-14-2857-127 {
background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
background-size: 100% 36.4000rpx;
position: relative !important;
}
.sk-text--3-1250-690 {
background-image: linear-gradient(transparent -3.1250%, #EEEEEE 0%, #EEEEEE 103.1250%, transparent 0%) !important;
background-size: 100% 32.0000rpx;
position: relative !important;
}
.sk-text-22-2222-635 {
background-image: linear-gradient(transparent 22.2222%, #EEEEEE 0%, #EEEEEE 77.7778%, transparent 0%) !important;
background-size: 100% 54.0000rpx;
position: relative !important;
}
.sk-text-22-2222-437 {
background-image: linear-gradient(transparent 22.2222%, #EEEEEE 0%, #EEEEEE 77.7778%, transparent 0%) !important;
background-size: 100% 54.0000rpx;
position: relative !important;
}
.sk-text-36-0000-834 {
background-image: linear-gradient(transparent 36.0000%, #EEEEEE 0%, #EEEEEE 64.0000%, transparent 0%) !important;
background-size: 100% 100.0000rpx;
position: relative !important;
}
.sk-button {
color: #EFEFEF !important;
background: #EFEFEF !important;
border: none !important;
box-shadow: none !important;
}
.sk-image {
background: #EFEFEF !important;
}
.sk-pseudo::before, .sk-pseudo::after {
background: #EFEFEF !important;
background-image: none !important;
color: transparent !important;
border-color: transparent !important;
}
.sk-pseudo-rect::before, .sk-pseudo-rect::after {
border-radius: 0 !important;
}
.sk-pseudo-circle::before, .sk-pseudo-circle::after {
border-radius: 50% !important;
}
.sk-container {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: hidden;
background-color: transparent;
}
<!--
此文件为开发者工具生成,生成时间: 2021/1/8 下午1:10:55
使用方法:
在 C:\Users\moyu\Desktop\XDJKMiniProgramSVN\XDJK\pages\index\index.wxml 引入模板
```
<import src="index.skeleton.wxml"/>
<template is="skeleton" wx-if="{{loading}}" />
```
在 C:\Users\moyu\Desktop\XDJKMiniProgramSVN\XDJK\pages\index\index.wxss 中引入样式
```
@import "./index.skeleton.wxss";
```
更多详细信息可以参考文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/skeleton.html
-->
<template name="skeleton">
<view class="sk-container"></view>
</template>
\ No newline at end of file
/*
此文件为开发者工具生成,生成时间: 2021/1/8 下午1:10:55
在 C:\Users\moyu\Desktop\XDJKMiniProgramSVN\XDJK\pages\index\index.wxss 中引入样式
```
@import "./index.skeleton.wxss";
```
更多详细信息可以参考文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/skeleton.html
*/
.sk-container {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: hidden;
background-color: transparent;
}
......@@ -264,7 +264,9 @@ Page({
menudBtn: '',
inquiry: '', //1二维码,2聊天页面心理体检
inquiry_id: '', //心理体检量表ID
viewrice: true //判断是否显示量表价格
viewrice: true, //判断是否显示量表价格
dropDown:8,//多少条显示展开折叠数
animDropDown:{},//动效
},
onLoad: function (options) {
var that = this;
......@@ -586,7 +588,25 @@ Page({
that.loadItem(_json);
})
},
/**
* 量表数量超过dropdown数量显示'展开'/'收起'
* @param {*} e
*/
dropdown(e){
console.log(e.currentTarget.dataset.dropdown);
let dropDown= e.currentTarget.dataset.dropdown;
this.setData({
dropDown:dropDown
})
// //点击弹出
// if (dropDown==8) {
// //缩回动画
// this.popp();
// } else {
// //弹出动画
// this.takeback();
// }
},
positionNational: function (a, e) {
var arr = a;
for (var i = 0; i < arr.length; i++) {
......@@ -1925,6 +1945,31 @@ Page({
}
})
},
// //弹出动画
// popp: function () {
// //plus顺时针旋转
// var animationInput = wx.createAnimation({
// duration: 500,
// timingFunction: 'linear'
// })
// animationInput.height(0).step();
// this.setData({
// animDropDown: animationInput.export(),
// })
// },
// //收回动画
// takeback: function () {
// //plus逆时针旋转
// var animationInput = wx.createAnimation({
// duration: 500,
// timingFunction: 'linear'
// })
// animationInput.height(0).step();
// this.setData({
// animDropDown: animationInput.export(),
// })
// },
//登陆后组件回调方法刷新当前页面
_refreshEvent() {
console.log("刷新");
......
......@@ -84,7 +84,8 @@
</view>
<!--单位 -->
<view class="partyone">单位
<input type='text' placeholder='请输入您的单位名称' bindinput="inputChangeUnit" value='{{unitName}}' bindblur="solUnit"></input>
<input type='text' placeholder='请输入您的单位名称' bindinput="inputChangeUnit" value='{{unitName}}'
bindblur="solUnit"></input>
</view>
<!--是否独生子女 -->
<view class="partyone">是否独生子女
......@@ -98,7 +99,8 @@
<view class="partyone">婚恋状况
<radio-group class="radio-group" bindchange="radioChangeMarriage">
<label class="radio" wx:for="{{marriageArr}}" wx:key="key">
<radio value="{{item.name}}" checked="{{item.name==marriage?true : false}}" color='#1384ff' />{{item.value}}
<radio value="{{item.name}}" checked="{{item.name==marriage?true : false}}" color='#1384ff' />
{{item.value}}
</label>
</radio-group>
</view>
......@@ -117,7 +119,8 @@
<view class="partyone">家庭所在地
<radio-group class="radio-group" bindchange="radioChangeHousehold">
<label class="radio" wx:for="{{householdArr}}" wx:key="key">
<radio value="{{item.name}}" checked="{{item.name==household?true : false}}" color='#1384ff' />{{item.value}}
<radio value="{{item.name}}" checked="{{item.name==household?true : false}}" color='#1384ff' />
{{item.value}}
</label>
</radio-group>
</view>
......@@ -130,7 +133,8 @@
<view class='con-box-con'>
<radio-group class="radio-group-four" bindchange="radioChangeRela">
<label class="radio" wx:for="{{relationshipArr}}" wx:key="key">
<radio value="{{item.name}}" checked="{{item.name==relation?true : false}}" color='#1384ff' />{{item.value}}
<radio value="{{item.name}}" checked="{{item.name==relation?true : false}}" color='#1384ff' />
{{item.value}}
</label>
</radio-group>
</view>
......@@ -140,7 +144,8 @@
<view class='con-box-con clearfix'>
<radio-group class="radio-group-four radio-group-five-short" bindchange="radioChangeFatherEdu">
<label class="radio" wx:for="{{matherEduArr}}" wx:key="key">
<radio value="{{item.name}}" checked="{{item.name==fatherEdu?true : false}}" color='#1384ff' />{{item.value}}
<radio value="{{item.name}}" checked="{{item.name==fatherEdu?true : false}}" color='#1384ff' />
{{item.value}}
</label>
</radio-group>
</view>
......@@ -150,7 +155,8 @@
<view class='con-box-con clearfix'>
<radio-group class="radio-group-four radio-group-five-short" bindchange="radioChangeMatherEdu">
<label class="radio" wx:for="{{matherEduArr}}" wx:key="key">
<radio value="{{item.name}}" checked="{{item.name==matherEdu?true : false}}" color='#1384ff' />{{item.value}}
<radio value="{{item.name}}" checked="{{item.name==matherEdu?true : false}}" color='#1384ff' />
{{item.value}}
</label>
</radio-group>
</view>
......@@ -164,7 +170,8 @@
<view class='con-box-con'>
<radio-group class="radio-group-four radio-group-two" bindchange="radioChangeChild">
<label class="radio" wx:for="{{childhoodArr}}" wx:key="key">
<radio value="{{item.name}}" checked="{{item.name==childhood?true : false}}" color='#1384ff' />{{item.value}}
<radio value="{{item.name}}" checked="{{item.name==childhood?true : false}}" color='#1384ff' />
{{item.value}}
</label>
</radio-group>
</view>
......@@ -174,7 +181,8 @@
<view class='con-box-con'>
<radio-group class="radio-group-four radio-group-three" bindchange="radioChangeChildStu">
<label class="radio" wx:for="{{childstudyArr}}" wx:key="key">
<radio value="{{item.name}}" checked="{{item.name==childstudy?true : false}}" color='#1384ff' />{{item.value}}
<radio value="{{item.name}}" checked="{{item.name==childstudy?true : false}}" color='#1384ff' />
{{item.value}}
</label>
</radio-group>
</view>
......@@ -184,7 +192,8 @@
<view class='con-box-con'>
<radio-group class="radio-group-four radio-group-four-short" bindchange="radioChangeChildSty">
<label class="radio" wx:for="{{childstyleArr}}" wx:key="key">
<radio value="{{item.name}}" checked="{{item.name==childstyle?true : false}}" color='#1384ff' />{{item.value}}
<radio value="{{item.name}}" checked="{{item.name==childstyle?true : false}}" color='#1384ff' />
{{item.value}}
</label>
</radio-group>
</view>
......@@ -208,7 +217,8 @@
<view class='con-box-con'>
<radio-group class="radio-group-four radio-group-three" bindchange="radioChangeDif">
<label class="radio" wx:for="{{difficultArr}}" wx:key="key">
<radio value="{{item.name}}" checked="{{item.name==difficult?true : false}}" color='#1384ff' />{{item.value}}
<radio value="{{item.name}}" checked="{{item.name==difficult?true : false}}" color='#1384ff' />
{{item.value}}
</label>
</radio-group>
</view>
......@@ -263,7 +273,8 @@
<!--入伍时间 -->
<view class="partyone">入伍时间
<view class="section">
<picker mode="date" value="{{jointime}}" start="{{startTime}}" end="{{retiretime}}" bindchange="bindDateChange1">
<picker mode="date" value="{{jointime}}" start="{{startTime}}" end="{{retiretime}}"
bindchange="bindDateChange1">
<view class="">
{{jointime}}
<!-- <image src="../../images/down.png"></image> -->
......@@ -274,7 +285,8 @@
<!--退伍时间 -->
<view class="partyone">退伍时间
<view class="section">
<picker mode="date" value="{{retiretime}}" start="{{jointime}}" end="{{endTime}}" bindchange="bindDateChange2">
<picker mode="date" value="{{retiretime}}" start="{{jointime}}" end="{{endTime}}"
bindchange="bindDateChange2">
<view class="">
{{retiretime}}
<!-- <image src="../../images/down.png"></image> -->
......@@ -342,7 +354,8 @@
<view class="partyone1">家庭所在地
<radio-group class="radio-group" bindchange="radioChangeHousehold">
<label class="radio" wx:for="{{householdArr}}" wx:key="key">
<radio value="{{item.name}}" checked="{{item.name==household?true : false}}" color='#1384ff' />{{item.value}}
<radio value="{{item.name}}" checked="{{item.name==household?true : false}}" color='#1384ff' />
{{item.value}}
</label>
</radio-group>
</view>
......@@ -354,23 +367,32 @@
<block wx:if='{{payModal}}'>
<view class="continer">
<view class="box">
<i class="b-close" bindtap='closePay'>
<!-- <i class="b-close" bindtap='closePay'>
<image src='../../images/X@2x.png'></image>
</i>
</i> -->
<text class="cuIcon-close b-close" bindtap='closePay'></text>
<view class="b-title">
<text class='b-t-i'>¥</text>{{up_money}}
</view>
<view class="b-content">
<view class="c-title">检测内容:</view>
<view class="c-list">
<view class="c-list {{dropDown==8?'c-list1':'c-list2'}}" animation="{{animDropDown}}">
<block wx:for='{{measure_name}}' wx:for-item='item' wx:for-index='index' wx:key='*this'>
<view class="l-item">
<view class="l-item" wx:if="{{index<dropDown}}">
<i></i>
<view class="item-name">{{item}}</view>
<view wx:if="{{viewrice}}" class="item-viewrice">¥{{uo_price[index]}}</view>
</view>
</block>
</view>
<view class="dropDown" bindtap="dropdown" data-dropdown="{{measure_name.length}}"
wx:if="{{measure_name.length>8&&dropDown!=measure_name.length}}">
<text class="cuIcon-unfold"></text>
展开(共{{measure_name.length}}项)</view>
<view class="dropDown" bindtap="dropdown" data-dropdown="8"
wx:if="{{measure_name.length>8&&dropDown==measure_name.length}}">
<text class="cuIcon-fold"></text>
收起(共{{measure_name.length}}项)</view>
</view>
<button class="b-btn" form-type="submit" bindtap='upPayBtn'>去支付</button>
</view>
......
/* @import '../../common/common.wxss'; */
@import '/components/icon.wxss';
page {
width: 750rpx;
padding:0;
padding: 0;
margin: 0;
}
radio{ transform:scale(.8);color: #1384ff; }
/* .checkbox{ zoom:80%;} */
radio {
transform: scale(.8);
color: #1384ff;
}
/* .checkbox{ zoom:80%;} */
.content {
width: 94%;
padding: 0 3%;
......@@ -28,6 +35,7 @@ radio{ transform:scale(.8);color: #1384ff; }
float: right;
/* margin-top: 30rpx; */
}
.section {
width: 70%;
float: right;
......@@ -52,6 +60,7 @@ radio{ transform:scale(.8);color: #1384ff; }
width: 70%;
float: right;
}
.radio-group1 {
width: 60%;
float: right;
......@@ -73,6 +82,7 @@ label {
font-size: 34rpx;
border-radius: 10rpx;
}
.footer1 {
position: fixed;
bottom: 0;
......@@ -91,6 +101,7 @@ label {
border-radius: none;
/* border-radius: 10rpx; */
}
/* 答题 */
.content>.top {
......@@ -139,6 +150,7 @@ label {
color: #3c3c3c;
border-bottom: 0.5rpx solid #f0f2f5;
}
.content1 .partyone1 {
width: 100%;
height: 100rpx;
......@@ -147,6 +159,7 @@ label {
color: #3c3c3c;
border-bottom: none;
}
.content1 .partyone2 {
width: 100%;
height: 100rpx;
......@@ -155,6 +168,7 @@ label {
color: #3c3c3c;
border-bottom: 0.5rpx solid #f0f2f5;
}
.content1 .partyone:nth-child(9) {
border-bottom: none;
}
......@@ -228,59 +242,73 @@ label {
font-size: 30rpx;
color: #3c3c3c;
}
.con-box-con partyone{
.con-box-con partyone {
margin-top: 30rpx;
width: 100%;
width: 100%;
height: 100rpx;
line-height: 100rpx;
font-size: 30rpx;
color: #3c3c3c;
}
.con-box-con .partyone image {
height: 20rpx;
width: 20rpx;
float: right;
}
.radio-group-four{
.radio-group-four {
margin-left: 22rpx;
}
.radio-group-four label{
.radio-group-four label {
margin-right: 90rpx;
}
.radio-group-two label{
.radio-group-two label {
margin-right: 100rpx;
}
.radio-group-three label{
.radio-group-three label {
margin-right: 40rpx;
}
.radio-group-four-short label{
.radio-group-four-short label {
margin-right: 2rpx;
}
.radio-group-five label{
.radio-group-five label {
display: block;
}
.radio-group-five-short label{
.radio-group-five-short label {
display: inline-block;
width: 300rpx;
margin-right: 0;
margin-right: 0;
}
.radio-group-four label radio{
.radio-group-four label radio {
margin-top: 30rpx;
}
.con-box-con-left{
.con-box-con-left {
width: 48%;
margin-top: 30rpx;
float: left;
}
.con-box-con-left text{
.con-box-con-left text {
float: left;
}
.con-box-con-left .section{
.con-box-con-left .section {
width: 78%;
float: left;
}
/*复选框 */
.checkbox{
.checkbox {
display: block;
width: 698rpx;
margin-top: 40rpx;
......@@ -289,8 +317,10 @@ label {
/* pay支付model */
font-face {
font-family: fontP; /*这里是说明调用来的字体名字*/
src: url('https://www.xiaodongai.com/xiaodongai/kongtian/Public/yanzheng/DINPro-Regular.otf'); /*这里是字体文件路径*/
font-family: fontP;
/*这里是说明调用来的字体名字*/
src: url('https://www.xiaodongai.com/xiaodongai/kongtian/Public/yanzheng/DINPro-Regular.otf');
/*这里是字体文件路径*/
}
.continer {
......@@ -299,13 +329,13 @@ font-face {
position: fixed;
top: 0;
background: #f9f9f9;
overflow: hidden;
overflow: auto
}
.box {
position: relative;
width: 670rpx;
margin:20rpx 0rpx 20rpx 40rpx;
margin: 20rpx 0rpx 120rpx 40rpx;
border-radius: 25rpx;
background: #fff;
}
......@@ -315,14 +345,19 @@ font-face {
position: absolute;
top: 0rpx;
right: 0rpx;
width: 50rpx;
height: 50rpx;
width: 60rpx;
height: 60rpx;
line-height: 60rpx;
text-align: center;
font-weight: bold;
/* border: 1px solid red; */
}
.b-close image{
.b-close image {
width: 18rpx;
height: 18rpx;
}
.b-title {
width: 100%;
height: 200rpx;
......@@ -334,10 +369,13 @@ font-face {
border-bottom: 1rpx solid #cecece;
text-align: center;
}
.b-t-i{
.b-t-i {
font-size: 48rpx;
}
.item-viewrice,.item-name {
.item-viewrice,
.item-name {
float: right;
font-style: normal;
font-family: fontP;
......@@ -367,14 +405,35 @@ font-face {
padding: 0 40rpx 0 60rpx;
margin: 13rpx 0 0;
box-sizing: border-box;
transition:max-height 2s;
/* max-height: 0rpx; */
overflow: hidden;
}
.c-list1 {
/* transition:max-height 2s; */
max-height: 464rpx;
}
.c-list2 {
/* transition:max-height 2s; */
max-height: 4640rpx;
}
.dropDown {
padding: 40rpx 20rpx 0 20rpx;
text-align: center;
color: #999;
font-size: small;
}
.l-item {
position: relative;
width: 100%;
height: 58rpx;
min-height: 58rpx;
line-height: 58rpx;
box-sizing: border-box;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.l-item i {
......@@ -390,27 +449,47 @@ font-face {
}
.item-name {
position: absolute;
/* position: absolute;
top: 50%;
left: 30rpx;
transform: translateY(-50%);
line-height: 50rpx;
left: 30rpx; */
/* transform: translateY(-50%);
line-height: 1.2; */
padding-left: 20rpx;
font-family: fontP;
font-size: 28rpx;
color: #333;
text-align: left;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.item-price {
position: absolute;
/* position: absolute;
top: 50%;
right: 0;
right: 0; */
transform: translateY(-50%);
line-height: 50rpx;
font-family: fontP;
font-size: 28rpx;
color: #1384ff;
text-align: left;
white-space: nowrap;
/* overflow: hidden;
text-overflow: ellipsis; */
}
/* .scale-item view:nth-child(2) {
text-align: left;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.scale-item view:last-child {
text-align: left;
white-space: nowrap;
} */
.b-btn {
width: 100%;
height: 100rpx;
......@@ -420,8 +499,8 @@ font-face {
font-size: 34rpx;
color: #fff;
text-align: center;
border-top-left-radius: 0rpx;
border-top-left-radius: 0rpx;
border-top-right-radius: 0rpx;
border-bottom-right-radius: 25rpx;
border-bottom-left-radius: 25rpx;
}
}
\ No newline at end of file
......@@ -7,7 +7,7 @@ Page({
reportRedD: false, //报告红点展示
reportRedNum: 0, //未作报告数量
disabled:true,//防止重复点击
version:'3.1.5',
version:'3.1.6',
isShow:false,
showClose:true,
},
......
<!--
此文件为开发者工具生成,生成时间: 2021/1/8 下午1:10:46
使用方法:
在 C:\Users\moyu\Desktop\XDJKMiniProgramSVN\XDJK\pages\search\search.wxml 引入模板
```
<import src="search.skeleton.wxml"/>
<template is="skeleton" wx-if="{{loading}}" />
```
在 C:\Users\moyu\Desktop\XDJKMiniProgramSVN\XDJK\pages\search\search.wxss 中引入样式
```
@import "./search.skeleton.wxss";
```
更多详细信息可以参考文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/skeleton.html
-->
<template name="skeleton">
<view class="sk-container">
<view class="top">
<view class="seek">
<image class="seek-btn sk-image"></image>
<view class="seek-input sk-image" data-type="0" placeholder="请输入疾病或医生姓名搜索" placeholder-class="placeholdercss" type="text" value="true"></view>
</view>
<view class="filter" style="border: none;">
<view class="filter-nav" data-id="1">
<view class="city sk-transparent sk-text-0-0000-554 sk-text" style="background-position-x: 50%;">全国</view>
<image class="filter-img sk-image"></image>
</view>
<view class="I"></view>
<view class="filter-nav" data-id="2">
<view class="picker sk-transparent">
常见问题
<image class="filter-img sk-image"></image>
</view>
</view>
<view class="I"></view>
<view class="filter-nav" data-id="3">
<view class="picker sk-transparent">
筛选
<image class="filter-img sk-image"></image>
</view>
</view>
</view>
</view>
<view class="content1">
<view class="flex user" data-openid="undefined" data-unionid="oHhp80SW15dUogrcVkNTynfUDQgc" data-unitid="15571" style="border: none;">
<image data-errorindex="0" mode="aspectFill" class="sk-image" style="border: none;"></image>
<view>
<view>
<text class="user-name sk-transparent sk-text-0-0000-105 sk-text">史哲</text>
<text class="user-zc sk-transparent sk-text-0-0000-707 sk-text">主任医师</text>
</view>
<view class="user-dz sk-transparent sk-text-0-0000-700 sk-text">航空总医院</view>
<view class="user-tc sk-transparent sk-text-17-5000-923 sk-text">擅长:脑血管病,偏头痛</view>
<view class="flex user-jg">
<view>
<text class="sk-transparent sk-text-0-0000-704 sk-text">单次问诊</text>
<text class="sk-transparent sk-text-0-0000-879 sk-text"> ¥100</text>
</view>
<view class="xlzx">
<text class="sk-transparent sk-text-0-0000-982 sk-text">复诊开药</text>
<text class="sk-transparent sk-text-0-0000-733 sk-text"> ¥10</text>
</view>
</view>
</view>
</view>
<view class="flex user" data-openid="undefined" data-unionid="oHhp80blqD7NQNFR22-pr7wqweUw" data-unitid="15517" style="border: none;">
<image data-errorindex="1" mode="aspectFill" class="sk-image" style="border: none;"></image>
<view>
<view>
<text class="user-name sk-transparent sk-text-0-0000-582 sk-text">顾平</text>
<text class="user-zc sk-transparent sk-text-0-0000-73 sk-text">主任医师</text>
</view>
<view class="user-dz sk-transparent sk-text-0-0000-149 sk-text">河北医科大学第一医院</view>
<view class="user-tc sk-transparent sk-text-17-5000-275 sk-text">擅长:失眠,帕金森病,痴呆,焦虑抑郁,植物神经功能紊乱</view>
<view class="flex user-jg">
<view>
<text class="sk-transparent sk-text-0-0000-123 sk-text">单次问诊</text>
<text class="sk-transparent sk-text-0-0000-101 sk-text"> ¥100</text>
</view>
<view class="xlzx">
<text class="sk-transparent sk-text-0-0000-153 sk-text">复诊开药</text>
<text class="sk-transparent sk-text-0-0000-259 sk-text"> ¥10</text>
</view>
</view>
</view>
</view>
<view class="flex user" data-openid="undefined" data-unionid="oHhp80SLfxgaRkcviToB7ByMLfao" data-unitid="15510" style="border: none;">
<image data-errorindex="2" mode="aspectFill" class="sk-image" style="border: none;"></image>
<view>
<view>
<text class="user-name sk-transparent sk-text-0-0000-743 sk-text">苑振云</text>
<text class="user-zc sk-transparent sk-text-0-0000-207 sk-text">主任医师</text>
</view>
<view class="user-dz sk-transparent sk-text-0-0000-865 sk-text">河北医科大学第一医院</view>
<view class="user-tc sk-transparent sk-text-17-5000-857 sk-text">擅长:脑血管病,睡眠障碍,焦虑状态,痴呆,帕金森病,癫痫</view>
<view class="flex user-jg">
<view>
<text class="sk-transparent sk-text-0-0000-722 sk-text">单次问诊</text>
<text class="sk-transparent sk-text-0-0000-802 sk-text"> ¥100</text>
</view>
<view class="xlzx">
<text class="sk-transparent sk-text-0-0000-622 sk-text">复诊开药</text>
<text class="sk-transparent sk-text-0-0000-348 sk-text"> ¥10</text>
</view>
</view>
</view>
</view>
<view class="flex user" data-openid="undefined" data-unionid="oHhp80cBs55YqFkyFzjmJNil6STM" data-unitid="14582" style="border: none;">
<image data-errorindex="3" mode="aspectFill" class="sk-image" style="border: none;"></image>
<view>
<view>
<text class="user-name sk-transparent sk-text-0-0000-508 sk-text">吉中孚</text>
<text class="user-zc sk-transparent sk-text-0-0000-452 sk-text">主任医师</text>
</view>
<view class="user-dz sk-transparent sk-text-0-0000-731 sk-text">北京回龙观医院</view>
<view class="user-tc sk-transparent sk-text-17-5000-805 sk-text">擅长:抑郁症,焦虑症,双相障碍,强迫症,精神分裂症等诊断与治疗。</view>
<view class="flex user-jg">
<view>
<text class="sk-transparent sk-text-0-0000-993 sk-text">单次问诊</text>
<text class="sk-transparent sk-text-0-0000-116 sk-text"> ¥100</text>
</view>
<view class="xlzx">
<text class="sk-transparent sk-text-0-0000-889 sk-text">复诊开药</text>
<text class="sk-transparent sk-text-0-0000-613 sk-text"> ¥10</text>
</view>
</view>
</view>
</view>
</view>
</view>
</template>
\ No newline at end of file
/*
此文件为开发者工具生成,生成时间: 2021/1/8 下午1:10:46
在 C:\Users\moyu\Desktop\XDJKMiniProgramSVN\XDJK\pages\search\search.wxss 中引入样式
```
@import "./search.skeleton.wxss";
```
更多详细信息可以参考文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/skeleton.html
*/
.sk-transparent {
color: transparent !important;
}
.sk-text-0-0000-554 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 28.0000rpx;
position: relative !important;
}
.sk-text {
background-origin: content-box !important;
background-clip: content-box !important;
background-color: transparent !important;
color: transparent !important;
background-repeat: repeat-y !important;
}
.sk-text-0-0000-105 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 32.0000rpx;
position: relative !important;
}
.sk-text-0-0000-707 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 28.0000rpx;
position: relative !important;
}
.sk-text-0-0000-700 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 28.0000rpx;
position: relative !important;
}
.sk-text-17-5000-923 {
background-image: linear-gradient(transparent 17.5000%, #EEEEEE 0%, #EEEEEE 82.5000%, transparent 0%) !important;
background-size: 100% 40.0000rpx;
position: relative !important;
}
.sk-text-0-0000-704 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 26.0000rpx;
position: relative !important;
}
.sk-text-0-0000-879 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 26.0000rpx;
position: relative !important;
}
.sk-text-0-0000-982 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 26.0000rpx;
position: relative !important;
}
.sk-text-0-0000-733 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 26.0000rpx;
position: relative !important;
}
.sk-text-0-0000-582 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 32.0000rpx;
position: relative !important;
}
.sk-text-0-0000-73 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 28.0000rpx;
position: relative !important;
}
.sk-text-0-0000-149 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 28.0000rpx;
position: relative !important;
}
.sk-text-17-5000-275 {
background-image: linear-gradient(transparent 17.5000%, #EEEEEE 0%, #EEEEEE 82.5000%, transparent 0%) !important;
background-size: 100% 40.0000rpx;
position: relative !important;
}
.sk-text-0-0000-123 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 26.0000rpx;
position: relative !important;
}
.sk-text-0-0000-101 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 26.0000rpx;
position: relative !important;
}
.sk-text-0-0000-153 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 26.0000rpx;
position: relative !important;
}
.sk-text-0-0000-259 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 26.0000rpx;
position: relative !important;
}
.sk-text-0-0000-743 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 32.0000rpx;
position: relative !important;
}
.sk-text-0-0000-207 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 28.0000rpx;
position: relative !important;
}
.sk-text-0-0000-865 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 28.0000rpx;
position: relative !important;
}
.sk-text-17-5000-857 {
background-image: linear-gradient(transparent 17.5000%, #EEEEEE 0%, #EEEEEE 82.5000%, transparent 0%) !important;
background-size: 100% 40.0000rpx;
position: relative !important;
}
.sk-text-0-0000-722 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 26.0000rpx;
position: relative !important;
}
.sk-text-0-0000-802 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 26.0000rpx;
position: relative !important;
}
.sk-text-0-0000-622 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 26.0000rpx;
position: relative !important;
}
.sk-text-0-0000-348 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 26.0000rpx;
position: relative !important;
}
.sk-text-0-0000-508 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 32.0000rpx;
position: relative !important;
}
.sk-text-0-0000-452 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 28.0000rpx;
position: relative !important;
}
.sk-text-0-0000-731 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 28.0000rpx;
position: relative !important;
}
.sk-text-17-5000-805 {
background-image: linear-gradient(transparent 17.5000%, #EEEEEE 0%, #EEEEEE 82.5000%, transparent 0%) !important;
background-size: 100% 40.0000rpx;
position: relative !important;
}
.sk-text-0-0000-993 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 26.0000rpx;
position: relative !important;
}
.sk-text-0-0000-116 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 26.0000rpx;
position: relative !important;
}
.sk-text-0-0000-889 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 26.0000rpx;
position: relative !important;
}
.sk-text-0-0000-613 {
background-image: linear-gradient(transparent 0.0000%, #EEEEEE 0%, #EEEEEE 100.0000%, transparent 0%) !important;
background-size: 100% 26.0000rpx;
position: relative !important;
}
.sk-image {
background: #EFEFEF !important;
}
.sk-container {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: hidden;
background-color: transparent;
}
......@@ -18,13 +18,15 @@
"checkSiteMap": false,
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"useMultiFrameRuntime": false,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": false,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"enableEngineNative": false,
"bundle": false,
"useIsolateContext": true,
"useCompilerModule": false,
......@@ -32,7 +34,8 @@
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true
"minifyWXSS": true,
"skeletonGenerateFilesWithoutConfirm": true
},
"compileType": "miniprogram",
"libVersion": "2.12.2",
......@@ -72,10 +75,9 @@
"scene": null
},
{
"id": 2,
"name": "pages/info/info",
"pathName": "pages/info/info",
"query": "scene=25590",
"query": "scene=32809",
"scene": null
},
{
......@@ -117,6 +119,12 @@
"pathName": "pages/prescription/order/order",
"query": "scene=1322",
"scene": null
},
{
"name": "物流模板信息",
"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
}
]
}
......
......@@ -13,8 +13,8 @@ var HOST = 'https://www.xiaodongai.com/xiaodongai/kongtian/';
var HOST_info = 'https://vivshi.com/xiaodongai/kongtian/'; // 弃用
//var HOST_yiyuan="https://www.xiaodongai.com/xiaodong_yiyuan/xd_admin/public/index.php/apitest/";//互联网医院测试
var HOST_yiyuan="https://www.xiaodongai.com/xiaodong_yiyuan/xd_admin/public/index.php/api/";//互联网医院正式
var HOST_yiyuan="https://www.xiaodongai.com/xiaodong_yiyuan/xd_admin/public/index.php/apitest/";//互联网医院测试
// var HOST_yiyuan="https://www.xiaodongai.com/xiaodong_yiyuan/xd_admin/public/index.php/api/";//互联网医院正式
const url = {
getUserSig: HOST + 'wechatIm.php?s=/Im/wechat_get_sign', //获取usersig以及userID
getOpenId: HOST + 'applet.php?s=Applet/getopenid', ///获取openid
......@@ -57,6 +57,7 @@ const url = {
prescriptionPay: HOST + "wechatIteration.php?s=/Prescription/zfxds", //支付
addAddress: HOST + "wechatIteration.php?s=/Prescription/address", //新增地址
editAddress: HOST + "wechatIteration.php?s=/Prescription/editAddress", //修改地址
isEditAddress:HOST+"wechatIteration.php?s=/Prescription/canEditAddress",//判断是否可修改地址
addressList: HOST + "wechatIteration.php?s=/Prescription/listAddress", //地址列表
defaultAddress: HOST + "wechatIteration.php?s=/Prescription/addressDefault", //默认地址
getDrugList:HOST + "wechatIteration.php?s=/Prescription/openDrug",//处方列表
......
......@@ -158,7 +158,8 @@ function isDrugEnough(orderid) {
}
return wxRequest.postRequest(isDrugEnoughUrl, data);
}
/** 药方支付
/**
* 药方支付
* @param {*} param.orderid 订单id
* @param {*} param.ordernumber 订单号
* @param {*} param.address 地址id
......@@ -167,7 +168,8 @@ function prescriptionPay(param) {
var prescriptionPayUrl = config.url.prescriptionPay; //支付
return wxRequest.postRequest(prescriptionPayUrl, param);
}
/** 新增药方地址
/**
* 新增药方地址
* @param {*} param.openid 用户openid
* @param {*} param.unionid 用户唯一标识
* @param {*} param.name 用户姓名
......@@ -179,7 +181,8 @@ function addAddress(param) {
var addAddressUrl = config.url.addAddress;
return wxRequest.postRequest(addAddressUrl, param);
}
/** 修改药方地址
/**
* 修改药方地址
* @param {*} param.id 地址id
* @param {*} param.name 用户姓名
* @param {*} param.phone 用户手机
......@@ -190,7 +193,16 @@ function editAddress(param) {
var editAddressUrl = config.url.editAddress; //支付
return wxRequest.postRequest(editAddressUrl, param);
}
/**药方地址列表
/**
* 是否可修改收货地址
* @param {*} param.ordernumber //订单号
*/
function isEditAddress(param){
var isEditAddressUrl = config.url.isEditAddress; //支付
return wxRequest.postRequest(isEditAddressUrl, param);
}
/**
* 药方地址列表
* @param {*} param.openid 地址id
* @param {*} param.unionid 用户姓名
*/
......@@ -198,7 +210,8 @@ function addressList(param) {
var addressListUrl = config.url.addressList; //支付
return wxRequest.postRequest(addressListUrl, param);
}
/** 药方默认地址
/**
* 药方默认地址
* @param {*} param.addressId 地址id
* @param {*} param.openid 用户openid
* @param {*} param.unionid 用户唯一id
......@@ -557,26 +570,32 @@ function getOrderStatus(param) {
var getOrderStatusUrl = config.url.getOrderStatus;
return wxRequest.postRequest(getOrderStatusUrl, param);
}
function myServerList(param){
function myServerList(param) {
var myServerListUrl = config.url.myServerList;
return wxRequest.postRequest(myServerListUrl, param);
}
function contactDoctor(param){
function contactDoctor(param) {
var contactDoctorUrl = config.url.contactDoctor;
return wxRequest.postRequest(contactDoctorUrl, param);
}
function logisticsInfo(param){
function logisticsInfo(param) {
var logisticsInfoUrl = config.url.logisticsInfo;
return wxRequest.postRequest(logisticsInfoUrl, param);
}
function firendAfterRoom(param){
function firendAfterRoom(param) {
var firendAfterRoomUrl = config.url.firendAfterRoom;
return wxRequest.postRequest(firendAfterRoomUrl, param);
}
function drogOrderDetail(param){
function drogOrderDetail(param) {
var drogOrderDetailUrl = config.url.drogOrderDetail;
return wxRequest.postRequest(drogOrderDetailUrl, param);
}
function getBusStopListPromise(sid, stopType) {
var getStopListUrl = config.url.getBusStopList;
var data = {
......@@ -597,7 +616,7 @@ module.exports = {
getDoctorDetail: getDoctorDetail, //医生服务详情
getDoctorInfo: getDoctorInfo, //医生信息
payRecord: payRecord, //支付生成订单
GZPayRecord:GZPayRecord,//广州医院支付
GZPayRecord: GZPayRecord, //广州医院支付
servicePay: servicePay, //插入支付记录
isInquiry: isInquiry, //判断是否有正在进行中或者未接诊的在线问诊服务
switchService: switchService, //服务切换
......@@ -606,6 +625,7 @@ module.exports = {
prescriptionPay: prescriptionPay, //药方支付
addAddress: addAddress, //新增地址
editAddress: editAddress, //修改地址
isEditAddress:isEditAddress,//判断是否修改地址
addressList: addressList, //地址列表
defaultAddress: defaultAddress, //地址详情
isReport: isReport, //检测是否允许查看报告
......@@ -666,9 +686,9 @@ module.exports = {
getPayStatus: getPayStatus, //获取药方支付状态
paySucceedCallback: paySucceedCallback, //支付成功回调
getChatMsgLog: getChatMsgLog, //获取消息历史记录
myServerList:myServerList,//我的服务列表
contactDoctor:contactDoctor,//联系医生
logisticsInfo:logisticsInfo,//物流信息
firendAfterRoom:firendAfterRoom,//成功加好友之后选择身份信息进入群聊房间
drogOrderDetail:drogOrderDetail,//药品订单详情
myServerList: myServerList, //我的服务列表
contactDoctor: contactDoctor, //联系医生
logisticsInfo: logisticsInfo, //物流信息
firendAfterRoom: firendAfterRoom, //成功加好友之后选择身份信息进入群聊房间
drogOrderDetail: drogOrderDetail, //药品订单详情
}
\ No newline at end of file
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