调整
This commit is contained in:
parent
2c402aceb7
commit
7aa94f2efd
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
unpackage
|
||||
node_modules
|
||||
CLAUDE.md
|
||||
3
main.js
3
main.js
@ -1,8 +1,11 @@
|
||||
import App from './App'
|
||||
import { createSSRApp } from 'vue'
|
||||
import pinia from './store'
|
||||
import Loadmore from "@/components/Loadmore/Loadmore.vue"
|
||||
|
||||
export function createApp() {
|
||||
const app = createSSRApp(App)
|
||||
app.component("Loadmore", Loadmore)
|
||||
app.use(pinia)
|
||||
return {
|
||||
app
|
||||
|
||||
12
pages.json
12
pages.json
@ -7,6 +7,18 @@
|
||||
},
|
||||
|
||||
"pages": [
|
||||
{
|
||||
"path": "pages/brand/brandDetail/brandDetail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "品牌详情"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/brand/brandList/brandList",
|
||||
"style": {
|
||||
"navigationBarTitleText": "品牌列表"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/index",
|
||||
"style": {
|
||||
|
||||
@ -31,7 +31,16 @@ const clickMenu = (value) => {
|
||||
uni.navigateTo({
|
||||
url:"/pages/patient/patientList/patientList"
|
||||
})
|
||||
|
||||
break;
|
||||
case 2:
|
||||
uni.navigateTo({
|
||||
url:"/pages/patient/patientFbList/patientFbList"
|
||||
})
|
||||
break;
|
||||
case 3:
|
||||
uni.navigateTo({
|
||||
url:"/pages/brand/brandList/brandList"
|
||||
})
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
@ -29,41 +29,38 @@
|
||||
</view>
|
||||
</template>
|
||||
<style lang="scss" scoped>
|
||||
.box{
|
||||
padding-top: 20rpx;
|
||||
.head {
|
||||
display: flex;
|
||||
padding: 20rpx;
|
||||
gap: 20rpx;
|
||||
align-items: center;
|
||||
color: #000;
|
||||
image {
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
border-radius: 50%;
|
||||
border: 1rpx solid #d4d4d4;
|
||||
}
|
||||
.info {
|
||||
font-size: 24rpx;
|
||||
>view {
|
||||
display: flex;
|
||||
gap: 30rpx;
|
||||
align-items: flex-end;
|
||||
}
|
||||
.adorn {
|
||||
font-weight: bold;
|
||||
font-size: 32rpx;
|
||||
}
|
||||
}
|
||||
.head {
|
||||
display: flex;
|
||||
padding: 20rpx;
|
||||
gap: 20rpx;
|
||||
align-items: center;
|
||||
color: #000;
|
||||
image {
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
border-radius: 50%;
|
||||
border: 1rpx solid #d4d4d4;
|
||||
}
|
||||
.content {
|
||||
color: #333;
|
||||
padding-bottom: 20rpx;
|
||||
:first-child {
|
||||
padding: 15rpx 0;
|
||||
border-top: 1rpx solid #d4d4d4;
|
||||
.info {
|
||||
font-size: 24rpx;
|
||||
>view {
|
||||
display: flex;
|
||||
gap: 30rpx;
|
||||
align-items: flex-end;
|
||||
}
|
||||
.adorn {
|
||||
font-weight: bold;
|
||||
font-size: 32rpx;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
.content {
|
||||
color: #333;
|
||||
padding-bottom: 20rpx;
|
||||
:first-child {
|
||||
padding: 15rpx 0;
|
||||
border-top: 1rpx solid #d4d4d4;
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
@ -1,55 +1,70 @@
|
||||
<script setup>
|
||||
|
||||
const clickDetail = () => {
|
||||
uni.navigateTo({
|
||||
url: "/pages/patient/patientFbDetail/patientFbDetail"
|
||||
})
|
||||
}
|
||||
</script>
|
||||
<template>
|
||||
<!-- 病人反馈 -->
|
||||
<view class="fb_list main">
|
||||
<wd-card custom-class="item" v-for="item in 9" :key="item">
|
||||
<view class="title">
|
||||
<view class="left">
|
||||
<view class="fb_list main">
|
||||
<wd-card custom-class="item" v-for="item in 9" :key="item">
|
||||
<view class="content" @tap="clickDetail">
|
||||
<view class="title">
|
||||
<!-- <view class="left">
|
||||
</view> -->
|
||||
<view>
|
||||
姓名:xxx
|
||||
</view>
|
||||
<view>
|
||||
ID:133456
|
||||
ID:133456
|
||||
</view>
|
||||
<view>2020-10-20</view>
|
||||
</view>
|
||||
<view class="text">
|
||||
病人反馈信息啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
|
||||
病人反馈信息啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
|
||||
病人反馈信息啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
|
||||
病人反馈信息啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
|
||||
</view>
|
||||
<view>日期:2020-10-20</view>
|
||||
</view>
|
||||
<view class="content">
|
||||
病人反馈信息啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
|
||||
病人反馈信息啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
|
||||
病人反馈信息啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
|
||||
病人反馈信息啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
|
||||
</view>
|
||||
</wd-card>
|
||||
</view>
|
||||
</wd-card>
|
||||
</view>
|
||||
<Loadmore></Loadmore>
|
||||
</template>
|
||||
<style lang="scss" scoped>
|
||||
.fb_list {
|
||||
font-size: 26rpx;
|
||||
padding-top: 20rpx;
|
||||
|
||||
:deep(.item) {
|
||||
padding: 0;
|
||||
}
|
||||
.title {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 20rpx;
|
||||
color: #333;
|
||||
border-bottom: 1px solid #e7e8e8;
|
||||
}
|
||||
.content {
|
||||
padding: 20rpx;
|
||||
height: 123rpx;
|
||||
line-height: 45rpx;
|
||||
letter-spacing: 3rpx;
|
||||
word-break: break-all;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 3;
|
||||
padding-bottom: 25rpx;
|
||||
.title {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 20rpx;
|
||||
color: #333;
|
||||
font-size: 26rpx;
|
||||
align-items: flex-end;
|
||||
:first-child {
|
||||
font-size: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.text {
|
||||
padding: 0 20rpx;
|
||||
height: 123rpx;
|
||||
line-height: 40rpx;
|
||||
letter-spacing: 3rpx;
|
||||
word-break: break-all;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 3;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@ -3,18 +3,22 @@ import { ref } from 'vue';
|
||||
import { onLoad } from "@dcloudio/uni-app"
|
||||
import { getPatientList } from "@/services/patient"
|
||||
let active = ref('all')
|
||||
let num = ref(5)
|
||||
// 切换导航
|
||||
let cutNav = (type) => {
|
||||
active.value = type
|
||||
}
|
||||
onLoad(() => {
|
||||
getPatientList()
|
||||
// getPatientList()
|
||||
})
|
||||
const reachBottom = () => {
|
||||
if (num.value < 20) num.value += 5
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<!-- 病人管理 -->
|
||||
<view class="main">
|
||||
<wd-watermark content="wot-design-uni"></wd-watermark>
|
||||
<wd-fab inactiveIcon="ellipsis" activeIcon="rollback">
|
||||
<view class="fab">
|
||||
<view>调压趋势</view>
|
||||
@ -31,12 +35,13 @@ onLoad(() => {
|
||||
</view>
|
||||
<wd-search placeholder="住院号/病人名称/医生" hide-cancel />
|
||||
</view>
|
||||
<wd-gap height="190rpx"></wd-gap>
|
||||
<view class="patient_list">
|
||||
<wd-card custom-class="item" v-for="value in 10" :key="value">
|
||||
<wd-card custom-class="item" v-for="item in num" :key="item">
|
||||
<view class="top">
|
||||
<text>住院号:000000</text>
|
||||
<text>2020-12-22</text>
|
||||
<text>手术次数:1</text>
|
||||
<text>手术次数:{{ item }}{{ num }}</text>
|
||||
</view>
|
||||
<view class="content">
|
||||
<view>患者姓名:xxx</view>
|
||||
@ -57,6 +62,7 @@ onLoad(() => {
|
||||
</wd-card>
|
||||
</view>
|
||||
</view>
|
||||
<Loadmore :number="num" :total="20" @reachBottom="reachBottom"></Loadmore>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@ -76,9 +82,9 @@ onLoad(() => {
|
||||
}
|
||||
|
||||
.nav_bar {
|
||||
position: sticky;
|
||||
left: 0;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
z-index: 10;
|
||||
box-shadow: 0px 2px 5px #c5c5c5;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user