Merge remote-tracking branch 'origin/master' into dev

This commit is contained in:
曹辉 2023-04-20 17:09:23 +08:00
commit 1abcf30832
9 changed files with 44 additions and 41 deletions

9
api/store/index.js Normal file
View File

@ -0,0 +1,9 @@
import request from "../request.js"
export function insertSubscribeMessageRecord(data) {
return request({
url: `/nurseApplet/patientInfo/insertSubscribeMessageRecord`,
method: 'POST',
data
})
}

View File

@ -31,7 +31,7 @@
}, { }, {
"path": "pages/medicine/medicine", "path": "pages/medicine/medicine",
"style": { "style": {
"navigationBarTitleText": "齐鲁名医", "navigationBarTitleText": "健康咨询",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"disableScroll": true "disableScroll": true
} }
@ -41,13 +41,6 @@
"navigationBarTitleText": "积分", "navigationBarTitleText": "积分",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, {
"path": "pages/confirmation/confirmation",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationBarTitleText": "预约时间"
}
}, { }, {
"path": "pages/CommodityDetails/CommodityDetails", "path": "pages/CommodityDetails/CommodityDetails",
"style": { "style": {

View File

@ -246,6 +246,7 @@
top:10%; top:10%;
width: 65%; width: 65%;
.top,.bottom{ .top,.bottom{
height: 30rpx;
view { view {
width: 100%; width: 100%;
font-size: 32rpx; font-size: 32rpx;

View File

@ -327,6 +327,7 @@
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-evenly; justify-content: space-evenly;
background-color: #ffffff; background-color: #ffffff;
align-content: flex-start;
.item { .item {
width: 45%; width: 45%;

View File

@ -11,7 +11,7 @@
text-align: center; text-align: center;
color: #FFFFFF; color: #FFFFFF;
position: relative; position: relative;
.determine, .determine,
.cancel { .cancel {
width: 200rpx; width: 200rpx;
@ -22,23 +22,23 @@
position: absolute; position: absolute;
top: 74%; top: 74%;
} }
.determine { .determine {
background: #4C7BC9; background: #4C7BC9;
right: 36rpx; right: 36rpx;
} }
.cancel { .cancel {
background: #C5BFBF; background: #C5BFBF;
left: 36rpx; left: 36rpx;
} }
.title { .title {
font-size: 42rpx; font-size: 42rpx;
margin-top: 40rpx; margin-top: 40rpx;
color: #000000; color: #000000;
} }
image { image {
width: 100rpx; width: 100rpx;
height: 100rpx; height: 100rpx;
@ -53,35 +53,35 @@
width: 96%; width: 96%;
height: 380rpx; height: 380rpx;
z-index: 999; z-index: 999;
.swiper-box { .swiper-box {
width: 100%; width: 100%;
height: 380rpx; height: 380rpx;
} }
.swiper-item { .swiper-item {
height: 380rpx; height: 380rpx;
text-align: center; text-align: center;
image { image {
width: 100%; width: 100%;
height: 380rpx !important; height: 380rpx !important;
z-index: 999; z-index: 999;
} }
} }
video { video {
height: 100%; height: 100%;
width: 100%; width: 100%;
} }
} }
.hospital { .hospital {
width: 96%; width: 96%;
margin: 0 auto; margin: 0 auto;
height: 100%; height: 100%;
background-color: #fff; background-color: #fff;
.appointmenthospital { .appointmenthospital {
height: 90rpx; height: 90rpx;
font-size: 35rpx; font-size: 35rpx;
@ -91,24 +91,24 @@
margin: 0 auto; margin: 0 auto;
font-weight: 600; font-weight: 600;
} }
.tabbar { .tabbar {
display: flex; display: flex;
height: calc(100vh - 470rpx); height: calc(100vh - 470rpx);
width: 100%; width: 100%;
.lefttabbar { .lefttabbar {
width: 30%; width: 30%;
// display: inline-block; // display: inline-block;
height: 100%; height: 100%;
padding-top: 20rpx; padding-top: 20rpx;
.lefttabbarlist { .lefttabbarlist {
overflow: scroll; overflow: scroll;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
height: 100%; height: 100%;
.actives { .actives {
width: 80%; width: 80%;
color: red; color: red;
@ -123,7 +123,7 @@
font-size: 30rpx; font-size: 30rpx;
// border-radius: 25rpx 0 0 25rpx; // border-radius: 25rpx 0 0 25rpx;
} }
.active { .active {
text-align: center; text-align: center;
overflow: hidden; overflow: hidden;
@ -137,11 +137,11 @@
} }
} }
} }
.righttabbar { .righttabbar {
width: 70%; width: 70%;
height: 100%; height: 100%;
.productlist { .productlist {
padding-bottom: 40rpx; padding-bottom: 40rpx;
overflow: scroll; overflow: scroll;
@ -154,13 +154,13 @@
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-evenly; justify-content: space-evenly;
background-color: #ffffff; background-color: #ffffff;
.content { .content {
height: 500rpx; height: 500rpx;
position: relative; position: relative;
width: 100%; width: 100%;
border-bottom: 1rpx solid #D8D4D4; border-bottom: 1rpx solid #D8D4D4;
.hospitalimage { .hospitalimage {
position: absolute; position: absolute;
width: 120rpx; width: 120rpx;
@ -168,23 +168,23 @@
top: 30rpx; top: 30rpx;
left: 30rpx; left: 30rpx;
} }
.hospitalteacher { .hospitalteacher {
font-size: 36rpx; font-size: 36rpx;
position: absolute; position: absolute;
top: 60rpx; top: 60rpx;
left: 180rpx; left: 180rpx;
} }
.physician { .physician {
font-size: 24rpx; font-size: 24rpx;
color: #666666; color: #666666;
position: absolute; position: absolute;
top: 120rpx; top: 120rpx;
left: 183rpx; left: 183rpx;
} }
.words { .words {
white-space: normal; white-space: normal;
word-break: break-all; word-break: break-all;
@ -201,7 +201,7 @@
-webkit-line-clamp: 4; -webkit-line-clamp: 4;
text-align: justify; text-align: justify;
} }
.appointment { .appointment {
position: absolute; position: absolute;
bottom: 25rpx; bottom: 25rpx;
@ -219,4 +219,4 @@
} }
} }
} }
} }

View File

@ -103,9 +103,12 @@
<image :src="item.itemPictureUrl"></image> <image :src="item.itemPictureUrl"></image>
<view class="huanyao">{{item.nurseItemName}} <view class="huanyao">{{item.nurseItemName}}
</view> </view>
<span class="advanceAppointDuration">
{{item.advanceAppointDuration=='HALF_DAY'?'(半天)':''}}
{{item.advanceAppointDuration=='ONE_DAY'?'(一天)':''}}
</span>
<view class="day"> <view class="day">
{{item.advanceAppointDuration=='HALF_DAY'?'提前预约时长:半天':''}} 服务时长{{item.serveDurationUnit}}
{{item.advanceAppointDuration=='ONE_DAY'?'提前预约时长:一天':''}}
</view> </view>
<!-- <view class="pingfen"> <!-- <view class="pingfen">
<u-rate :count="5" value="2"></u-rate> <u-rate :count="5" value="2"></u-rate>

0
pages/user/user.scss Normal file
View File

BIN
static/userbeijing.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

View File

@ -34,8 +34,6 @@ const store = new Vuex.Store({
actions: { actions: {
//相当于异步的操作,不能直接改变state的值只能通过触发mutations的方法才能改变 //相当于异步的操作,不能直接改变state的值只能通过触发mutations的方法才能改变
integralopenPopup(contxt) { integralopenPopup(contxt) {
const openids = uni.getStorageSync('openid');
const patientIds = uni.getStorageSync('patientId');
// 获取用户的当前设置,判断是否点击了“总是保持以上,不在询问” // 获取用户的当前设置,判断是否点击了“总是保持以上,不在询问”
wx.getSetting({ wx.getSetting({
withSubscriptions: true, // 是否获取用户订阅消息的订阅状态默认false不返回 withSubscriptions: true, // 是否获取用户订阅消息的订阅状态默认false不返回
@ -49,8 +47,6 @@ const store = new Vuex.Store({
}, },
// 是否设置过授权 // 是否设置过授权
openPopup(contxt) { openPopup(contxt) {
const openids = uni.getStorageSync('openid');
const patientIds = uni.getStorageSync('patientId');
// 获取用户的当前设置,判断是否点击了“总是保持以上,不在询问” // 获取用户的当前设置,判断是否点击了“总是保持以上,不在询问”
wx.getSetting({ wx.getSetting({
withSubscriptions: true, // 是否获取用户订阅消息的订阅状态默认false不返回 withSubscriptions: true, // 是否获取用户订阅消息的订阅状态默认false不返回