AA
3
app.json
@@ -17,7 +17,8 @@
|
||||
"pages/myshoucang/myshoucang_index",
|
||||
"pages/myshoucang/myorderdetail",
|
||||
"pages/wodeqianbao/qianbao",
|
||||
"pages/refund/refund"
|
||||
"pages/refund/refund",
|
||||
"pages/peizhen/peizhen"
|
||||
],
|
||||
"window": {
|
||||
"backgroundTextStyle": "light",
|
||||
|
||||
BIN
pages/image copy/Bargain.png
Normal file
|
After Width: | Height: | Size: 982 B |
BIN
pages/image copy/Collage.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
pages/image copy/Collection.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
pages/image copy/Hairdressing.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
pages/image copy/Micro.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
pages/image copy/Shaping.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
pages/image copy/Skin.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
pages/image copy/Star.png
Normal file
|
After Width: | Height: | Size: 821 B |
BIN
pages/image copy/White.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
pages/image copy/address.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
pages/image copy/antifading.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
pages/image copy/caitiao.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
pages/image copy/cardbag.png
Normal file
|
After Width: | Height: | Size: 547 B |
BIN
pages/image copy/cardbag_a.png
Normal file
|
After Width: | Height: | Size: 569 B |
BIN
pages/image copy/clock.png
Normal file
|
After Width: | Height: | Size: 715 B |
BIN
pages/image copy/colleme.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
pages/image copy/cosmetology.png
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
pages/image copy/expired.png
Normal file
|
After Width: | Height: | Size: 7.3 KiB |
BIN
pages/image copy/home/home-banner.png
Normal file
|
After Width: | Height: | Size: 242 KiB |
BIN
pages/image copy/home/home-head.png
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
pages/image copy/home/代办买药.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
pages/image copy/home/出入院办理.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
pages/image copy/home/取送结果.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
pages/image copy/home/就医陪诊-back.png
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
pages/image copy/home/诊前约号.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
pages/image copy/home/院内陪护-back.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
pages/image copy/home_bj.png
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
pages/image copy/image_left.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
pages/image copy/image_right.png
Normal file
|
After Width: | Height: | Size: 6.6 KiB |
BIN
pages/image copy/income.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
pages/image copy/income_a.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
pages/image copy/left.png
Normal file
|
After Width: | Height: | Size: 425 B |
BIN
pages/image copy/manicure.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
pages/image copy/max.png
Normal file
|
After Width: | Height: | Size: 696 B |
BIN
pages/image copy/max_a.png
Normal file
|
After Width: | Height: | Size: 612 B |
BIN
pages/image copy/money.png
Normal file
|
After Width: | Height: | Size: 687 B |
BIN
pages/image copy/my.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
pages/image copy/my_a.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
pages/image copy/no_order.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
pages/image copy/notice.png
Normal file
|
After Width: | Height: | Size: 498 B |
BIN
pages/image copy/null.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
pages/image copy/one.png
Normal file
|
After Width: | Height: | Size: 936 B |
BIN
pages/image copy/order.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
pages/image copy/order_a.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
pages/image copy/phone.png
Normal file
|
After Width: | Height: | Size: 498 B |
BIN
pages/image copy/pintuan.png
Normal file
|
After Width: | Height: | Size: 158 KiB |
BIN
pages/image copy/right.png
Normal file
|
After Width: | Height: | Size: 648 B |
BIN
pages/image copy/right1.png
Normal file
|
After Width: | Height: | Size: 297 B |
BIN
pages/image copy/save.png
Normal file
|
After Width: | Height: | Size: 287 B |
BIN
pages/image copy/service.png
Normal file
|
After Width: | Height: | Size: 514 B |
BIN
pages/image copy/service_bg.png
Normal file
|
After Width: | Height: | Size: 8.8 KiB |
BIN
pages/image copy/shoucang.png
Normal file
|
After Width: | Height: | Size: 597 B |
BIN
pages/image copy/site.png
Normal file
|
After Width: | Height: | Size: 891 B |
BIN
pages/image copy/success.png
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
pages/image copy/tuiguang_bg.jpg
Normal file
|
After Width: | Height: | Size: 80 KiB |
BIN
pages/image copy/tuiguang_bj.png
Normal file
|
After Width: | Height: | Size: 164 KiB |
BIN
pages/image copy/tuiguang_i.png
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
BIN
pages/image copy/userimg.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
pages/image copy/wallet.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
pages/image/abc.png
Normal file
|
After Width: | Height: | Size: 80 KiB |
@@ -71,6 +71,13 @@ Page({
|
||||
itemClick (options) {
|
||||
console.log(options.currentTarget.dataset.id)
|
||||
},
|
||||
|
||||
|
||||
go_peizhen(){
|
||||
wx.navigateTo({
|
||||
url: '/pages/peizhen/peizhen',
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 医院列表
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
</view>
|
||||
<view>
|
||||
<view class="main">
|
||||
<view class="main-item">
|
||||
<view class="main-item" bindtap="go_peizhen">
|
||||
<view>
|
||||
<image src="../image/home/就医陪诊-back.png" mode="aspectFit"></image>
|
||||
</view>
|
||||
|
||||
104
pages/peizhen/peizhen.js
Normal file
@@ -0,0 +1,104 @@
|
||||
//获取应用实例
|
||||
var app = getApp();
|
||||
Page({
|
||||
data: {
|
||||
option1: [{
|
||||
text: '全部医院',
|
||||
value: 0
|
||||
},
|
||||
{
|
||||
text: '西京医院',
|
||||
value: 1
|
||||
},
|
||||
{
|
||||
text: '陕西省人民医院',
|
||||
value: 2
|
||||
},
|
||||
{
|
||||
text: '陕西省人民医院1',
|
||||
value: 5
|
||||
},
|
||||
],
|
||||
value1: 0,
|
||||
version_number: '1.0',
|
||||
height: '',
|
||||
url: app.globalData.url,
|
||||
ceshi: [{
|
||||
"hospitalId": null,
|
||||
"userName": "admin",
|
||||
"userId": 1,
|
||||
"age": 24,
|
||||
"address": "清华科技园一单元",
|
||||
"city": "陕西省 咸阳市",
|
||||
"experience": "18年",
|
||||
"introduce": "刘德华 (Andy Lau),1961年9月27日出生于中国香港新界大埔镇泰亨村[325],毕业于第十期无线艺员训练班,中国香港男演员、歌手、制片人、作词人、中国残疾人福利基金会副理事长。",
|
||||
"isMarry": "1",
|
||||
"nickName": "蒲仁飞",
|
||||
"sex": "汉",
|
||||
"userType": "B",
|
||||
"avatar": "http://118.25.179.82:8080/rlztest/2023-04-07/ebe08486-b96e-4a9e-bd17-11b868aeee00.jpg",
|
||||
"phonenumber": "18792702166",
|
||||
"name": "蒲仁飞",
|
||||
"facePic": "http://118.25.179.82:8080/rlztest/2023-04-07/ebe08486-b96e-4a9e-bd17-11b868aeee00.jpg",
|
||||
"frontIdentity": "http://118.25.179.82:8080/rlztest/2023-04-07/ddc4a4ac-4a8d-41c2-8177-9e53c9a2843e.jpg",
|
||||
"backIdentity": "http://118.25.179.82:8080/rlztest/2023-04-07/7a6960e2-05fd-4899-a534-21fbc5032c4d.jpg",
|
||||
"state": "1",
|
||||
"identityNo": "612324169855241822"
|
||||
}]
|
||||
},
|
||||
onChange(e) {
|
||||
this.setData({
|
||||
timeData: e.detail,
|
||||
});
|
||||
},
|
||||
//生命周期回调——监听小程序启动或切前台。
|
||||
onShow: function () {
|
||||
this.getBannerAndCat();
|
||||
},
|
||||
//首页信息
|
||||
getBannerAndCat: function () {
|
||||
var that = this;
|
||||
wx.request({
|
||||
url: app.globalData.url + '/system/hospitalUserView/list',
|
||||
header: app.getRequestHeader(),
|
||||
method: 'GET',
|
||||
data: {
|
||||
|
||||
},
|
||||
success: (res) => {
|
||||
var resp = res.data;
|
||||
if (res.data.code == 200) {
|
||||
that.setData({
|
||||
special_offer: resp.data,
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
// 跳转详情
|
||||
details(e) {
|
||||
if (e.currentTarget.dataset.item != 0) {
|
||||
let item = JSON.stringify(e.currentTarget.dataset.item);
|
||||
console.log("传递的item" + item);
|
||||
wx.navigateTo({
|
||||
url: "/shopping/pages/goddess/goddess?item=" + item,
|
||||
});
|
||||
}
|
||||
},
|
||||
back(e){
|
||||
wx.navigateBack()
|
||||
},
|
||||
onLoad() {
|
||||
var statusBarHeight = wx.getSystemInfoSync().statusBarHeight;
|
||||
this.setData({
|
||||
statusBarHeight: statusBarHeight,
|
||||
height: 46 + statusBarHeight,
|
||||
});
|
||||
},
|
||||
changeDateTime1(e) {
|
||||
this.setData({
|
||||
dateTime1: e.detail.value
|
||||
});
|
||||
},
|
||||
})
|
||||
3
pages/peizhen/peizhen.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
||||
97
pages/peizhen/peizhen.wxml
Normal file
@@ -0,0 +1,97 @@
|
||||
|
||||
<view class="area1">
|
||||
<image style="height: 336rpx;width: 100%;" src="../image/home_bj.png"></image>
|
||||
</view>
|
||||
<view style="margin-top: -200rpx;">
|
||||
<!-- <image style="width: 25rpx;height: 50rpx;" src="../image/right.png"></image> -->
|
||||
<view class="" style="display: flex; flex-direction:row;justify-content: center;font-size: 34rpx;color: #ffffff;">{{"套餐列表"}}</view>
|
||||
</view>
|
||||
|
||||
<view style="display: flex; flex-direction:row;align-items : flex-end; height: 40rpx;margin-top: -40rpx;margin-left: 20rpx;"bindtap="back">
|
||||
<image style="width: 20rpx;height: 35rpx;" src="../image/left.png"></image>
|
||||
</view>
|
||||
|
||||
<view class="substance" style="margin-top: 186rpx;">
|
||||
<van-dropdown-menu active-color="#1989fa">
|
||||
<van-dropdown-item value="{{ value1 }}" options="{{ option1 }}" />
|
||||
</van-dropdown-menu>
|
||||
</view>
|
||||
|
||||
<!--index.wxml-->
|
||||
<view class="contar">
|
||||
<view class="tejiashangpin">
|
||||
<view class="Discount" wx:if="{{ceshi.length}}">
|
||||
|
||||
<view wx:for="{{ceshi}}" wx:key="{{index}}" wx:for-item="item" class="flex-item bc_green" style='display:flex;background-color: white;margin-right: 10rpx;margin-bottom: 24rpx;'>
|
||||
<view class="Group" bindtap="details" data-item="{{item}}">
|
||||
<view class="Group-image">
|
||||
<image src="../image/abc.png"></image>
|
||||
</view>
|
||||
<view class="content">
|
||||
|
||||
<view style="display: flex; flex-direction:row;align-items : flex-end;">
|
||||
<view class="title1">{{"全程陪诊"}}</view>
|
||||
<view class="title2">({{"陪护员"}})</view>
|
||||
<view wx:if="{{item.sex==1}}" class="title3">{{"男"}}</view>
|
||||
<view wx:if="{{item.sex==0}}" class="title3">{{"女"}}</view>
|
||||
<view class="title4">{{200}}元</view>
|
||||
</view>
|
||||
<view class="tejia">
|
||||
<view class="Price2">{{"排队 预约 挂号 缴费 取药 记录医嘱等"}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
<view wx:for="{{ceshi}}" wx:key="{{index}}" wx:for-item="item" class="flex-item bc_green" style='display:flex;background-color: white;margin-right: 10rpx;margin-bottom: 24rpx;'>
|
||||
<view class="Group" bindtap="details" data-item="{{item}}">
|
||||
<view class="Group-image">
|
||||
<image src="../image/abc.png"></image>
|
||||
</view>
|
||||
<view class="content">
|
||||
|
||||
<view style="display: flex; flex-direction:row;align-items : flex-end;">
|
||||
<view class="title1">{{"诊前预约"}}</view>
|
||||
<view class="title2">({{"陪护员"}})</view>
|
||||
<view wx:if="{{item.sex==1}}" class="title3">{{"男"}}</view>
|
||||
<view wx:if="{{item.sex==0}}" class="title3">{{"女"}}</view>
|
||||
<view class="title4">{{20}}元</view>
|
||||
</view>
|
||||
<view class="tejia">
|
||||
<view class="Price2">{{"协助办理完成挂号"}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
|
||||
<view wx:for="{{ceshi}}" wx:key="{{index}}" wx:for-item="item" class="flex-item bc_green" style='display:flex;background-color: white;margin-right: 10rpx;margin-bottom: 24rpx;'>
|
||||
<view class="Group" bindtap="details" data-item="{{item}}">
|
||||
<view class="Group-image">
|
||||
<image src="../image/abc.png"></image>
|
||||
</view>
|
||||
<view class="content">
|
||||
|
||||
<view style="display: flex; flex-direction:row;align-items : flex-end;">
|
||||
<view class="title1">{{"送取结果"}}</view>
|
||||
<view class="title2">({{"陪护员"}})</view>
|
||||
<view wx:if="{{item.sex==1}}" class="title3">{{"男"}}</view>
|
||||
<view wx:if="{{item.sex==0}}" class="title3">{{"女"}}</view>
|
||||
<view class="title4">{{50}}元</view>
|
||||
</view>
|
||||
<view class="tejia">
|
||||
<view class="Price2">{{"包括给病人或者家属取检查报告化验单等"}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
119
pages/peizhen/peizhen.wxss
Normal file
@@ -0,0 +1,119 @@
|
||||
@import "../../component/picker/picker.wxss";
|
||||
|
||||
page{
|
||||
background: #F8F8F8;
|
||||
}
|
||||
|
||||
|
||||
.flex-item{
|
||||
display:flex;
|
||||
height: 270rpx;
|
||||
width: 670rpx;
|
||||
border-radius: 20rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.Discount {
|
||||
margin-left: 40rpx;
|
||||
margin-right: 40rpx;
|
||||
|
||||
}
|
||||
|
||||
.Group {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.Group-image {
|
||||
width: 128rpx;
|
||||
height: 128rpx;
|
||||
margin: 84rpx 40rpx 84rpx 40rpx;
|
||||
}
|
||||
|
||||
.Group-image image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
||||
.content {
|
||||
|
||||
width: auto;
|
||||
height: 201rpx;
|
||||
margin-top: 48rpx;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.content .title1 {
|
||||
font-size: 36rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
.content .title2 {
|
||||
font-size: 30rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
.content .title3 {
|
||||
font-size: 32rpx;
|
||||
margin-left: 24rpx;
|
||||
}
|
||||
.content .title4 {
|
||||
font-size: 28rpx;
|
||||
color: #228BFE;
|
||||
width: 132rpx;
|
||||
height: 40rpx;
|
||||
text-align: center;
|
||||
background-color: #A5BBE0;
|
||||
border-radius: 20rpx;
|
||||
margin-left: 24rpx;
|
||||
}
|
||||
|
||||
/* .content .title2 {
|
||||
font-size: 26rpx;
|
||||
display: flex;
|
||||
color: #B4B4B4;
|
||||
margin: 11rpx 0 18rpx 0;
|
||||
} */
|
||||
|
||||
.content .title2 .house {
|
||||
width: 24rpx;
|
||||
height: 24rpx;
|
||||
margin-right: 7rpx;
|
||||
}
|
||||
|
||||
.content .title2 .house image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.content .tejia {
|
||||
display: flex;
|
||||
width: 446rpx;
|
||||
margin-top: 24rpx;
|
||||
}
|
||||
|
||||
|
||||
.content .tejia .Price2 {
|
||||
font-size: 30rpx;
|
||||
color: #666666;
|
||||
line-height: 41rpx;
|
||||
margin-right: 23rpx;
|
||||
}
|
||||
|
||||
.area {
|
||||
display: relative;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
height: 300rpx;
|
||||
}
|
||||
.area1 {
|
||||
height: 300rpx;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.van-nav-bar {
|
||||
background-color: #228BFE;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||