Compare commits
No commits in common. "9364c8927de3c60281d8ba9e0143da892c0598ff" and "00f874ac674fd202939aea2bbcba8e7354774741" have entirely different histories.
9364c8927d
...
00f874ac67
@ -14,7 +14,16 @@ export default {
|
|||||||
address: ['440000', '440300'],
|
address: ['440000', '440300'],
|
||||||
brief: '在你身边,为你设计',
|
brief: '在你身边,为你设计',
|
||||||
photos: [
|
photos: [
|
||||||
|
{
|
||||||
|
url: getLocalUrl('/static/img_td.png', 'uploaded1.png'),
|
||||||
|
name: 'uploaded1.png',
|
||||||
|
type: 'image',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
url: getLocalUrl('/static/img_td.png', 'uploaded2.png'),
|
||||||
|
name: 'uploaded2.png',
|
||||||
|
type: 'image',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@ -14,7 +14,7 @@ function initChart(canvas, width, height, dpr) {
|
|||||||
title: {
|
title: {
|
||||||
text: '身高(cm)',
|
text: '身高(cm)',
|
||||||
left: 'left',
|
left: 'left',
|
||||||
fontSize: 6
|
fontSize: 12
|
||||||
},
|
},
|
||||||
legend: {
|
legend: {
|
||||||
data: ['实际身高', '标准范围'],
|
data: ['实际身高', '标准范围'],
|
||||||
|
|||||||
@ -55,7 +55,6 @@
|
|||||||
border-radius: 12rpx;
|
border-radius: 12rpx;
|
||||||
padding: 26rpx;
|
padding: 26rpx;
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
position: relative;
|
|
||||||
.item-box-title{
|
.item-box-title{
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
@ -73,24 +72,12 @@
|
|||||||
.drug-name{
|
.drug-name{
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
color: #323030;
|
color: #323030;
|
||||||
margin-bottom: 8rpx;
|
|
||||||
}
|
}
|
||||||
.drug-usage{
|
.drug-usage{
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
color: #323030;
|
color: #323030;
|
||||||
margin-bottom: 20rpx;
|
margin-bottom: 20rpx;
|
||||||
}
|
}
|
||||||
.follow-up-itme{
|
|
||||||
font-size: 24rpx;
|
|
||||||
}
|
|
||||||
.follow-itme-ed{
|
|
||||||
color: #0091cc;
|
|
||||||
font-size: 30rpx;
|
|
||||||
position: absolute;
|
|
||||||
right: 30rpx;
|
|
||||||
top: 50%;
|
|
||||||
transform: translateY(-50%);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -53,29 +53,8 @@
|
|||||||
术后一个月随访
|
术后一个月随访
|
||||||
</view>
|
</view>
|
||||||
<!-- 药品名字 -->
|
<!-- 药品名字 -->
|
||||||
<view class="follow-up-itme">
|
|
||||||
随访时间:2025-05-25
|
|
||||||
</view>
|
|
||||||
<text class="follow-itme-ed">50天后</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="item-content">
|
|
||||||
<view class="item-title">健康推送
|
|
||||||
<view class="item-title-right-text">
|
|
||||||
更多
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="item-box">
|
|
||||||
<view class="drug-name">
|
<view class="drug-name">
|
||||||
|
随访时间:2025-05-25
|
||||||
关于配方奶粉的选择
|
|
||||||
</view>
|
|
||||||
<!-- 药品名字 -->
|
|
||||||
<view class="follow-up-itme">
|
|
||||||
|
|
||||||
关于配方奶粉的选择
|
|
||||||
|
|
||||||
含 MCT(中链脂肪)奶粉或粉剂有利于胆闭宝宝脂肪酸及维生素的吸收,改善营养状况。待退黄后根据营养科医生指导,可逐步转回母乳喂养,母乳不足者用普通......
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@ -121,8 +121,5 @@
|
|||||||
.peld{
|
.peld{
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
color: red;
|
color: red;
|
||||||
.tag{
|
|
||||||
margin-left: 20rpx;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -13,7 +13,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="time">胆道闭锁手术时间:2024年12月15日</view>
|
<view class="time">胆道闭锁手术时间:2024年12月15日</view>
|
||||||
<view class="peld">PELD评分:12
|
<view class="peld">PELD评分:12
|
||||||
<t-tag class="tag" theme="danger" size="small">高危</t-tag></view>
|
<t-tag class="tag" theme="danger">高危</t-tag></view>
|
||||||
<!-- <view class="tags">
|
<!-- <view class="tags">
|
||||||
<t-tag class="tag" variant="light" icon="discount">{{personalInfo.star}}</t-tag>
|
<t-tag class="tag" variant="light" icon="discount">{{personalInfo.star}}</t-tag>
|
||||||
<t-tag class="tag" variant="light" icon="location">{{personalInfo.city}}</t-tag>
|
<t-tag class="tag" variant="light" icon="location">{{personalInfo.city}}</t-tag>
|
||||||
|
|||||||
@ -9,8 +9,7 @@ Page({
|
|||||||
birth: '',
|
birth: '',
|
||||||
address: [],
|
address: [],
|
||||||
introduction: '',
|
introduction: '',
|
||||||
yearType: 0
|
photos: [],
|
||||||
// photos: [],
|
|
||||||
},
|
},
|
||||||
genderOptions: [
|
genderOptions: [
|
||||||
{
|
{
|
||||||
@ -22,17 +21,6 @@ Page({
|
|||||||
value: 1,
|
value: 1,
|
||||||
}
|
}
|
||||||
|
|
||||||
],
|
|
||||||
yearOptions: [
|
|
||||||
{
|
|
||||||
label: '月',
|
|
||||||
value: 0,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: '年',
|
|
||||||
value: 1,
|
|
||||||
}
|
|
||||||
|
|
||||||
],
|
],
|
||||||
birthVisible: false,
|
birthVisible: false,
|
||||||
birthStart: '1970-01-01',
|
birthStart: '1970-01-01',
|
||||||
@ -52,8 +40,8 @@ Page({
|
|||||||
},
|
},
|
||||||
|
|
||||||
onLoad() {
|
onLoad() {
|
||||||
// this.initAreaData();
|
this.initAreaData();
|
||||||
// this.getPersonalInfo();
|
this.getPersonalInfo();
|
||||||
},
|
},
|
||||||
|
|
||||||
getPersonalInfo() {
|
getPersonalInfo() {
|
||||||
@ -147,9 +135,6 @@ Page({
|
|||||||
onGenderChange(e) {
|
onGenderChange(e) {
|
||||||
this.personInfoFieldChange('gender', e);
|
this.personInfoFieldChange('gender', e);
|
||||||
},
|
},
|
||||||
onYearChange(e) {
|
|
||||||
this.personInfoFieldChange('yearType', e);
|
|
||||||
},
|
|
||||||
|
|
||||||
onIntroductionChange(e) {
|
onIntroductionChange(e) {
|
||||||
this.personInfoFieldChange('introduction', e);
|
this.personInfoFieldChange('introduction', e);
|
||||||
@ -157,26 +142,26 @@ Page({
|
|||||||
|
|
||||||
onPhotosRemove(e) {
|
onPhotosRemove(e) {
|
||||||
const { index } = e.detail;
|
const { index } = e.detail;
|
||||||
// const { photos } = this.data.personInfo;
|
const { photos } = this.data.personInfo;
|
||||||
|
|
||||||
// photos.splice(index, 1);
|
photos.splice(index, 1);
|
||||||
// this.setData({
|
this.setData({
|
||||||
// 'personInfo.photos': photos,
|
'personInfo.photos': photos,
|
||||||
// });
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
onPhotosSuccess(e) {
|
onPhotosSuccess(e) {
|
||||||
const { files } = e.detail;
|
const { files } = e.detail;
|
||||||
// this.setData({
|
this.setData({
|
||||||
// 'personInfo.photos': files,
|
'personInfo.photos': files,
|
||||||
// });
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
onPhotosDrop(e) {
|
onPhotosDrop(e) {
|
||||||
const { files } = e.detail;
|
const { files } = e.detail;
|
||||||
// this.setData({
|
this.setData({
|
||||||
// 'personInfo.photos': files,
|
'personInfo.photos': files,
|
||||||
// });
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
onSaveInfo() {
|
onSaveInfo() {
|
||||||
|
|||||||
@ -36,7 +36,3 @@ page {
|
|||||||
right: 32rpx;
|
right: 32rpx;
|
||||||
bottom: calc(env(safe-area-inset-bottom) + 32rpx);
|
bottom: calc(env(safe-area-inset-bottom) + 32rpx);
|
||||||
}
|
}
|
||||||
|
|
||||||
.info-edit__gender {
|
|
||||||
width: 45%;
|
|
||||||
}
|
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
<t-navbar left-arrow title="个人信息" />
|
<t-navbar left-arrow title="个人信息" />
|
||||||
<view class="info-edit">
|
<view class="info-edit">
|
||||||
<t-cell class="info-edit__cell" required title="姓名">
|
<t-cell class="info-edit__cell" title="姓名">
|
||||||
<t-input bind:change="onNameChange" borderless placeholder="请输入姓名" slot="note" value="{{personInfo.name}}" />
|
<t-input bind:change="onNameChange" borderless placeholder="请输入姓名" slot="note" value="{{personInfo.name}}" />
|
||||||
</t-cell>
|
</t-cell>
|
||||||
<t-cell class="info-edit__cell" required title="性别">
|
<t-cell class="info-edit__cell" title="性别">
|
||||||
<t-radio-group
|
<t-radio-group
|
||||||
bind:change="onGenderChange"
|
bind:change="onGenderChange"
|
||||||
borderless
|
borderless
|
||||||
@ -14,24 +14,14 @@
|
|||||||
value="{{personInfo.gender}}"
|
value="{{personInfo.gender}}"
|
||||||
/>
|
/>
|
||||||
</t-cell>
|
</t-cell>
|
||||||
|
<t-cell arrow bind:click="showPicker" data-mode="birth" note="{{personInfo.birth || ''}}" title="出生日期" />
|
||||||
<t-cell class="info-edit__cell" title="身份证号">
|
<t-cell class="info-edit__cell" title="身份证号">
|
||||||
<t-input bind:change="onNameChange" borderless placeholder="请输入身份证号" slot="note" value="{{personInfo.name}}" />
|
<t-input bind:change="onNameChange" borderless placeholder="请输入身份证号" slot="note" value="{{personInfo.name}}" />
|
||||||
</t-cell>
|
</t-cell>
|
||||||
<t-cell required arrow bind:click="showPicker" data-mode="birth" note="{{personInfo.birth || ''}}" title="出生日期" />
|
<t-cell class="info-edit__cell" title="手机号">
|
||||||
|
<t-input bind:change="onNameChange" borderless placeholder="请输入手机号" slot="note" value="{{personInfo.name}}" />
|
||||||
<t-cell class="info-edit__cell" required title="年龄">
|
|
||||||
<t-input bind:change="onNameChange" borderless placeholder="请输入年龄" slot="note" value="{{personInfo.name}}" />
|
|
||||||
<t-radio-group
|
|
||||||
bind:change="onYearChange"
|
|
||||||
borderless
|
|
||||||
defaultValue="{{personInfo.yearType}}"
|
|
||||||
options="{{yearOptions}}"
|
|
||||||
slot="note"
|
|
||||||
t-class="info-edit__gender"
|
|
||||||
value="{{personInfo.yearType}}"
|
|
||||||
/>
|
|
||||||
</t-cell>
|
</t-cell>
|
||||||
<t-cell required arrow bind:click="showPicker" data-mode="birth" note="{{personInfo.birth || ''}}" title="胆道闭锁手术时间" />
|
<t-cell arrow bind:click="showPicker" data-mode="birth" note="{{personInfo.birth || ''}}" title="胆道闭锁手术时间" />
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|||||||
@ -46,13 +46,10 @@
|
|||||||
],
|
],
|
||||||
"condition": false,
|
"condition": false,
|
||||||
"ignoreUploadUnusedFiles": true,
|
"ignoreUploadUnusedFiles": true,
|
||||||
"swc": false,
|
"swc": false
|
||||||
"compileWorklet": false,
|
|
||||||
"localPlugins": false,
|
|
||||||
"disableSWC": true
|
|
||||||
},
|
},
|
||||||
"compileType": "miniprogram",
|
"compileType": "miniprogram",
|
||||||
"libVersion": "3.7.12",
|
"libVersion": "3.7.8",
|
||||||
"appid": "wx1ad3deaff62aed21",
|
"appid": "wx1ad3deaff62aed21",
|
||||||
"projectname": "miniprogram-starter",
|
"projectname": "miniprogram-starter",
|
||||||
"condition": {
|
"condition": {
|
||||||
@ -108,6 +105,5 @@
|
|||||||
"editorSetting": {
|
"editorSetting": {
|
||||||
"tabIndent": "insertSpaces",
|
"tabIndent": "insertSpaces",
|
||||||
"tabSize": 2
|
"tabSize": 2
|
||||||
},
|
}
|
||||||
"simulatorPluginLibVersion": {}
|
|
||||||
}
|
}
|
||||||
74
project.private.config.json
Normal file
74
project.private.config.json
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
{
|
||||||
|
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
|
||||||
|
"condition": {
|
||||||
|
"miniprogram": {
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"name": "message",
|
||||||
|
"pathName": "pages/message/index",
|
||||||
|
"query": "",
|
||||||
|
"launchMode": "default",
|
||||||
|
"scene": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "search",
|
||||||
|
"pathName": "pages/search/index",
|
||||||
|
"query": "",
|
||||||
|
"launchMode": "default",
|
||||||
|
"scene": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "login",
|
||||||
|
"pathName": "pages/login/login",
|
||||||
|
"query": "",
|
||||||
|
"scene": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "loginCode",
|
||||||
|
"pathName": "pages/loginCode/loginCode",
|
||||||
|
"query": "",
|
||||||
|
"scene": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "my",
|
||||||
|
"pathName": "pages/my/index",
|
||||||
|
"query": "",
|
||||||
|
"scene": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "info-edit",
|
||||||
|
"pathName": "pages/my/info-edit/index",
|
||||||
|
"query": "",
|
||||||
|
"scene": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "dataCenter",
|
||||||
|
"pathName": "pages/dataCenter/index",
|
||||||
|
"query": "",
|
||||||
|
"scene": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "release",
|
||||||
|
"pathName": "pages/release/index",
|
||||||
|
"query": "",
|
||||||
|
"launchMode": "default",
|
||||||
|
"scene": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "setting",
|
||||||
|
"pathName": "pages/setting/index",
|
||||||
|
"query": "",
|
||||||
|
"launchMode": "default",
|
||||||
|
"scene": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"projectname": "patient-mini",
|
||||||
|
"setting": {
|
||||||
|
"compileHotReLoad": true,
|
||||||
|
"bigPackageSizeSupport": true,
|
||||||
|
"urlCheck": false
|
||||||
|
},
|
||||||
|
"libVersion": "3.7.12"
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user