@ -1,6 +1,7 @@
@@ -1,6 +1,7 @@
|
||||
{ |
||||
"navigationStyle": "custom", |
||||
"usingComponents": { |
||||
"van-divider": "@vant/weapp/divider/index" |
||||
"van-divider": "@vant/weapp/divider/index", |
||||
"navbar": "/components/navbar/index" |
||||
} |
||||
} |
||||
|
After Width: | Height: | Size: 63 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 458 B |
After Width: | Height: | Size: 721 B |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 770 B |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 61 KiB |
@ -0,0 +1,4 @@
@@ -0,0 +1,4 @@
|
||||
{ |
||||
"navigationBarTitleText": "免疫抑制剂管理", |
||||
"usingComponents": {} |
||||
} |
@ -0,0 +1,42 @@
@@ -0,0 +1,42 @@
|
||||
page { |
||||
background-color: rgba(247, 247, 250, 1); |
||||
} |
||||
.page { |
||||
.list { |
||||
padding: 32rpx 40rpx; |
||||
.total { |
||||
font-size: 32rpx; |
||||
color: rgba(1, 1, 5, 1); |
||||
.red { |
||||
color: rgba(246, 74, 58, 1); |
||||
font-size: 40rpx; |
||||
} |
||||
} |
||||
.list-card { |
||||
padding: 16rpx 0; |
||||
margin-top: 24rpx; |
||||
background: #ffffff; |
||||
border-radius: 24rpx 24rpx 24rpx 24rpx; |
||||
.item { |
||||
padding: 16rpx 32rpx; |
||||
display: flex; |
||||
.item-title { |
||||
width: 5em; |
||||
font-size: 32rpx; |
||||
color: rgba(161, 164, 172, 1); |
||||
} |
||||
.item-content { |
||||
color: rgba(1, 1, 5, 1); |
||||
} |
||||
} |
||||
} |
||||
.add { |
||||
position: fixed; |
||||
left: 50%; |
||||
bottom: 142rpx; |
||||
transform: translateX(-50%); |
||||
width: 156rpx; |
||||
height: 156rpx; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,52 @@
@@ -0,0 +1,52 @@
|
||||
const _app = getApp<IAppOption>() |
||||
|
||||
Page({ |
||||
data: { |
||||
list: [], |
||||
pagination: { |
||||
page: 1, |
||||
pages: 1, |
||||
count: 1, |
||||
}, |
||||
}, |
||||
onLoad() {}, |
||||
getList(newPage = 1) { |
||||
wx.ajax({ |
||||
method: 'GET', |
||||
url: '?r=wtx/knowledge/list', |
||||
data: { |
||||
page: newPage, |
||||
}, |
||||
}).then((res) => { |
||||
const list = res.page === 1 ? res.list : [...this.data.list, ...res.list] |
||||
this.setData({ |
||||
total: res.count, |
||||
list, |
||||
pagination: { |
||||
page: res.page, |
||||
pages: res.pages, |
||||
count: res.count, |
||||
}, |
||||
}) |
||||
}) |
||||
}, |
||||
onReachBottom() { |
||||
const { page, pages } = this.data.pagination |
||||
if (pages > page) { |
||||
this.getList(page + 1) |
||||
} |
||||
}, |
||||
handleEdit(e) { |
||||
const { id } = e.currentTarget.dataset |
||||
wx.navigateTo({ |
||||
url: `/patient/pages/inhibitorsManage/index?id=${id}`, |
||||
}) |
||||
}, |
||||
handleAdd() { |
||||
wx.navigateTo({ |
||||
url: '/patient/pages/inhibitorsManage/index', |
||||
}) |
||||
}, |
||||
}) |
||||
|
||||
export {} |
@ -0,0 +1,25 @@
@@ -0,0 +1,25 @@
|
||||
<view class="page"> |
||||
<view class="list"> |
||||
<view class="total"> |
||||
随访次数: |
||||
<text class="red">2</text> |
||||
次 |
||||
</view> |
||||
<view class="list-card" bind:tap="handleEdit" data-id="1"> |
||||
<view class="item"> |
||||
<view class="item-title">日期</view> |
||||
<view class="item-content">2025-06-13</view> |
||||
</view> |
||||
<view class="item"> |
||||
<view class="item-title">诊疗医院</view> |
||||
<view class="item-content">唐山人民医院</view> |
||||
</view> |
||||
<view class="item"> |
||||
<view class="item-title">检查项目</view> |
||||
<view class="item-content">2/3</view> |
||||
</view> |
||||
</view> |
||||
<pagination pagination="{{pagination}}"></pagination> |
||||
<image class="add" src="{{imageUrl}}icon53.png?t={{Timestamp}}" bind:tap="handleAdd"></image> |
||||
</view> |
||||
</view> |
@ -1,6 +1,7 @@
@@ -1,6 +1,7 @@
|
||||
{ |
||||
"navigationStyle": "custom", |
||||
"usingComponents": { |
||||
"navbar": "/components/navbar/index" |
||||
"navbar": "/components/navbar/index", |
||||
"popup": "/components/popup/index" |
||||
} |
||||
} |
||||
|