|
@ -18,7 +18,6 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<!-- <view class="patient-type-tab1"> --> |
|
|
|
|
|
<scroll-view class="patient-type-tab1" @scrolltolower="onScroll" scroll-y> |
|
|
<scroll-view class="patient-type-tab1" @scrolltolower="onScroll" scroll-y> |
|
|
<view class="bed-wait-container"> |
|
|
<view class="bed-wait-container"> |
|
|
<view class="bed-wait-list"> |
|
|
<view class="bed-wait-list"> |
|
@ -49,12 +48,10 @@ |
|
|
<view class="page-padding" v-show="bedWaitList && bedWaitList.length && bedWaitList.length > 0"> |
|
|
<view class="page-padding" v-show="bedWaitList && bedWaitList.length && bedWaitList.length > 0"> |
|
|
</view> |
|
|
</view> |
|
|
</scroll-view> |
|
|
</scroll-view> |
|
|
<!-- </view> --> |
|
|
|
|
|
|
|
|
|
|
|
<view class="qrcode_wrap"> |
|
|
<view class="qrcode_wrap"> |
|
|
<img :src="cssUrl + 'qrcode_get.png'" alt="" @click="scanQrcode"> |
|
|
<img :src="cssUrl + 'qrcode_get.png'" alt="" @click="scanQrcode"> |
|
|
</view> |
|
|
</view> |
|
|
<!-- <button @click="scanQrcode">哈哈哈</button> --> |
|
|
|
|
|
|
|
|
|
|
|
<PopUpCommon ref="coinsPopup" :showClose="true" zIndex="top"> |
|
|
<PopUpCommon ref="coinsPopup" :showClose="true" zIndex="top"> |
|
|
<view class="popWrap"> |
|
|
<view class="popWrap"> |
|
@ -132,7 +129,6 @@ export default { |
|
|
// var token = uni.getStorageSync("u_token"); |
|
|
// var token = uni.getStorageSync("u_token"); |
|
|
// 初始化情求 |
|
|
// 初始化情求 |
|
|
this.getCoinsList() |
|
|
this.getCoinsList() |
|
|
|
|
|
|
|
|
// this.$refs.coinsPopup.openPop(); |
|
|
// this.$refs.coinsPopup.openPop(); |
|
|
}, |
|
|
}, |
|
|
onPullDownRefresh() { |
|
|
onPullDownRefresh() { |
|
@ -141,7 +137,6 @@ export default { |
|
|
this.getCoinsList() |
|
|
this.getCoinsList() |
|
|
}, |
|
|
}, |
|
|
onReachBottom() { |
|
|
onReachBottom() { |
|
|
// debugger |
|
|
|
|
|
if (!this.noMore && !this.loading) { |
|
|
if (!this.noMore && !this.loading) { |
|
|
this.page++; |
|
|
this.page++; |
|
|
this.getCoinsList(); |
|
|
this.getCoinsList(); |
|
@ -149,15 +144,11 @@ export default { |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
onScroll() { |
|
|
onScroll() { |
|
|
console.log(this.noMore, '000', this.loading, 'this.loading=='); |
|
|
|
|
|
if (!this.noMore && !this.loading) { |
|
|
if (!this.noMore && !this.loading) { |
|
|
this.page++; |
|
|
this.page++; |
|
|
this.getCoinsList(); |
|
|
this.getCoinsList(); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
getList(e) { |
|
|
|
|
|
console.log(e, '=====eeee'); |
|
|
|
|
|
}, |
|
|
|
|
|
getCoinsList() { |
|
|
getCoinsList() { |
|
|
this.loading = true; |
|
|
this.loading = true; |
|
|
// 获取列表信息 |
|
|
// 获取列表信息 |
|
@ -183,7 +174,6 @@ export default { |
|
|
}, |
|
|
}, |
|
|
lookDetail(item) { |
|
|
lookDetail(item) { |
|
|
uni.setStorageSync('detail', JSON.stringify(item)) |
|
|
uni.setStorageSync('detail', JSON.stringify(item)) |
|
|
// let url = `/pages/coinsDetail/index` |
|
|
|
|
|
let url = `/pages/coinsDetail/index?id=${item.rating_code}` |
|
|
let url = `/pages/coinsDetail/index?id=${item.rating_code}` |
|
|
this.$nav.navToPath(url) |
|
|
this.$nav.navToPath(url) |
|
|
}, |
|
|
}, |
|
@ -226,6 +216,7 @@ export default { |
|
|
url: result |
|
|
url: result |
|
|
}, 'POST').then(data => { |
|
|
}, 'POST').then(data => { |
|
|
console.log(data, 'data===data'); |
|
|
console.log(data, 'data===data'); |
|
|
|
|
|
if(data == -1)return |
|
|
this.scanCodeDetail = data; |
|
|
this.scanCodeDetail = data; |
|
|
this.$set(this, 'scanCodeDetail', data) |
|
|
this.$set(this, 'scanCodeDetail', data) |
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
@ -277,6 +268,10 @@ export default { |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
<style lang="scss" scoped> |
|
|
<style lang="scss" scoped> |
|
|
|
|
|
.flex-between{ |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: space-between; |
|
|
|
|
|
} |
|
|
.home-wrap { |
|
|
.home-wrap { |
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
@ -304,11 +299,11 @@ export default { |
|
|
.amountLeft, |
|
|
.amountLeft, |
|
|
.amountRight { |
|
|
.amountRight { |
|
|
flex: 1; |
|
|
flex: 1; |
|
|
padding: 18px; |
|
|
padding: 18rpx; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|
border-radius: 12px; |
|
|
border-radius: 12rpx; |
|
|
background: #F8FFF7; |
|
|
background: #F8FFF7; |
|
|
|
|
|
|
|
|
.add, |
|
|
.add, |
|
@ -335,7 +330,8 @@ export default { |
|
|
justify-content: space-between; |
|
|
justify-content: space-between; |
|
|
background: white; |
|
|
background: white; |
|
|
border-radius: 12rpx 12rpx 0rpx 0rpx; |
|
|
border-radius: 12rpx 12rpx 0rpx 0rpx; |
|
|
box-shadow: 0px 1rpx 0rpx 0rpx rgba(0, 0, 0, 0.15); |
|
|
border-bottom: 2rpx solid rgba(0, 0, 0, 0.15); |
|
|
|
|
|
// box-shadow: 0px 1rpx 0rpx 0rpx rgba(0, 0, 0, 0.15); |
|
|
|
|
|
|
|
|
.notActive { |
|
|
.notActive { |
|
|
width: 269rpx; |
|
|
width: 269rpx; |
|
@ -379,18 +375,18 @@ export default { |
|
|
font-weight: 500; |
|
|
font-weight: 500; |
|
|
color: #00A2E2; |
|
|
color: #00A2E2; |
|
|
line-height: 56rpx; |
|
|
line-height: 56rpx; |
|
|
|
|
|
margin-top: 6rpx; |
|
|
font-size: 40rpx; |
|
|
font-size: 40rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.outbound { |
|
|
.outbound { |
|
|
color: #FF7D17; |
|
|
color: #4DC56D; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.patient-type-tab1 { |
|
|
.patient-type-tab1 { |
|
|
height: 0; |
|
|
height: 0; |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
background: white; |
|
|
background: white; |
|
|
// overflow-y: auto; |
|
|
|
|
|
flex: 1; |
|
|
flex: 1; |
|
|
|
|
|
|
|
|
.bed-wait-container { |
|
|
.bed-wait-container { |
|
@ -409,9 +405,10 @@ export default { |
|
|
display: flex; |
|
|
display: flex; |
|
|
|
|
|
|
|
|
.bed-wait-name { |
|
|
.bed-wait-name { |
|
|
font-size: 32rpx; |
|
|
font-size: 30rpx; |
|
|
color: #000000; |
|
|
color: #000000; |
|
|
margin-right: 24rpx; |
|
|
margin-right: 24rpx; |
|
|
|
|
|
font-weight: 500; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.bed-visit-type-desc { |
|
|
.bed-visit-type-desc { |
|
@ -450,6 +447,7 @@ export default { |
|
|
font-weight: normal; |
|
|
font-weight: normal; |
|
|
line-height: 44rpx; |
|
|
line-height: 44rpx; |
|
|
color: #242833; |
|
|
color: #242833; |
|
|
|
|
|
letter-spacing: 0.86rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.bed-age { |
|
|
.bed-age { |
|
@ -498,19 +496,22 @@ export default { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.content { |
|
|
.content { |
|
|
|
|
|
max-height: 850rpx; |
|
|
margin-bottom: 145rpx; |
|
|
margin-bottom: 145rpx; |
|
|
|
|
|
overflow-y: auto; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.pop-title { |
|
|
.pop-title { |
|
|
height: 40rpx; |
|
|
height: 40rpx; |
|
|
text-align: center; |
|
|
text-align: center; |
|
|
margin: 42rpx 0 22rpx 0; |
|
|
padding: 42rpx 0 22rpx 0; |
|
|
font-size: 36rpx; |
|
|
font-size: 36rpx; |
|
|
font-weight: 500; |
|
|
font-weight: 500; |
|
|
line-height: 50rpx; |
|
|
line-height: 50rpx; |
|
|
text-align: center; |
|
|
text-align: center; |
|
|
letter-spacing: 2rpx; |
|
|
letter-spacing: 2rpx; |
|
|
color: #000000; |
|
|
color: #000000; |
|
|
|
|
|
background: #fff; |
|
|
// background: #F6F6F8; |
|
|
// background: #F6F6F8; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|