This commit is contained in:
唐明明
2022-07-15 17:08:17 +08:00
20 changed files with 2568 additions and 1548 deletions

View File

@@ -25,9 +25,10 @@ const goutAdd = (data) => {
} }
// 查看病例 // 查看病例
const goutSee = () => { const goutSee = (data) => {
return request({ return request({
url: 'gout/result' url: 'gout/result',
data:data
}) })
} }

View File

@@ -167,12 +167,12 @@
// 健康前置信息 // 健康前置信息
goutCreate().then(res => { goutCreate().then(res => {
this.count = res.count this.count = res.count
this.hyperlipemiaMax = Number(res.count.man.hyperlipidemia.max) this.hyperlipemiaMax = res.count.man.hyperlipidemia.max
this.hyperlipemiaMin = Number(res.count.man.hyperlipidemia.min) this.hyperlipemiaMin = res.count.man.hyperlipidemia.min
this.hypertensionMax = Number(res.count.man.hypertension.max) this.hypertensionMax = res.count.man.hypertension.max
this.hypertensionMin = Number(res.count.man.hypertension.min) this.hypertensionMin = res.count.man.hypertension.min
this.hyperglycemiaMax = Number(res.count.man.hyperglycemia.max) this.hyperglycemiaMax = res.count.man.hyperglycemia.max
this.hyperglycemiaMin = Number(res.count.man.hyperglycemia.min) this.hyperglycemiaMin = res.count.man.hyperglycemia.min
this.seeData.username = res.user.username this.seeData.username = res.user.username
}).catch(err => { }).catch(err => {
uni.showToast({ uni.showToast({
@@ -209,21 +209,21 @@
// 选择男女 // 选择男女
bindSexChange(e) { bindSexChange(e) {
this.sexIndex = parseInt(e.detail.value) this.sexIndex = parseInt(e.detail.value)
this.sexName = this.sexArray[e.detail.value].val this.sexName = this.sexArray[e.detail.value].val
if(this.sexArray[e.detail.value].val == 'woman') { if(this.sexArray[e.detail.value].val == 'woman') {
this.hyperlipemiaMax = parseInt(this.count.woman.hyperlipidemia.max) this.hyperlipemiaMax = this.count.woman.hyperlipidemia.max
this.hyperlipemiaMin = parseInt(this.count.woman.hyperlipidemia.min) this.hyperlipemiaMin = this.count.woman.hyperlipidemia.min
this.hypertensionMax = parseInt(this.count.woman.hypertension.max) this.hypertensionMax = this.count.woman.hypertension.max
this.hypertensionMin = parseInt(this.count.woman.hypertension.min) this.hypertensionMin = this.count.woman.hypertension.min
this.hyperglycemiaMax = parseInt(this.count.woman.hyperglycemia.max) this.hyperglycemiaMax = this.count.woman.hyperglycemia.max
this.hyperglycemiaMin = parseInt(this.count.woman.hyperglycemia.min) this.hyperglycemiaMin = this.count.woman.hyperglycemia.min
}else { }else {
this.hyperlipemiaMax = parseInt(this.count.man.hyperlipidemia.max) this.hyperlipemiaMax = this.count.man.hyperlipidemia.max
this.hyperlipemiaMin = parseInt(this.count.man.hyperlipidemia.min) this.hyperlipemiaMin = this.count.man.hyperlipidemia.min
this.hypertensionMax = parseInt(this.count.man.hypertension.max) this.hypertensionMax = this.count.man.hypertension.max
this.hypertensionMin = parseInt(this.count.man.hypertension.min) this.hypertensionMin = this.count.man.hypertension.min
this.hyperglycemiaMax = parseInt(this.count.man.hyperglycemia.max) this.hyperglycemiaMax = this.count.man.hyperglycemia.max
this.hyperglycemiaMin = parseInt(this.count.man.hyperglycemia.min) this.hyperglycemiaMin = this.count.man.hyperglycemia.min
} }
}, },
@@ -283,7 +283,9 @@
} }
goutAdd(data).then(res => { goutAdd(data).then(res => {
this.disabled = true this.disabled = true
this.$Router.replace({name: "User"}) uni.navigateBack({
})
}).catch(err => { }).catch(err => {
uni.showToast({ uni.showToast({
title: err.message, title: err.message,
@@ -421,7 +423,7 @@
right: 0; right: 0;
background: white; background: white;
.issue-btn { .issue-btn {
background: #6e79ec; background: #4490ff;
text-align: center; text-align: center;
color: white; color: white;
height: 90rpx; height: 90rpx;
@@ -433,7 +435,7 @@
padding: 0; padding: 0;
border-radius: 10rpx; border-radius: 10rpx;
&[disabled] { &[disabled] {
background: #a7affd !important; background: #4490ff !important;
color: #fff !important; color: #fff !important;
} }
} }

View File

@@ -198,7 +198,7 @@
} }
.btn { .btn {
background: #6e79ec; background: $mian-color;
color: white; color: white;
border-radius: 0; border-radius: 0;
margin-top: $margin; margin-top: $margin;
@@ -212,7 +212,7 @@
} }
&[disabled] { &[disabled] {
background: rgba($color: #6e79ec, $alpha: .6); background: rgba($color: $mian-color, $alpha: .6);
} }
} }
.beianNo{ .beianNo{

View File

@@ -11,7 +11,7 @@
用户档案<image src="/static/icons/userForm_icon.png"></image> 用户档案<image src="/static/icons/userForm_icon.png"></image>
</view> </view>
<view class="user-tags-label" @click="$Router.push({name: 'UserCase'})"> <view class="user-tags-label" @click="$Router.push({name: 'UserCase'})">
病例档案<image src="/static/icons/userForm_icon.png"></image> 健康档案<image src="/static/icons/userForm_icon.png"></image>
</view> </view>
</view> </view>
<view v-else> <view v-else>
@@ -192,7 +192,7 @@
color: #FFFFFF; color: #FFFFFF;
font-size: 26rpx; font-size: 26rpx;
.user-tags-label { .user-tags-label {
background-color: #7e8aff; background-color: $mian-color;
border-radius: 30rpx; border-radius: 30rpx;
padding-left: 20rpx; padding-left: 20rpx;
line-height: 48rpx; line-height: 48rpx;
@@ -313,7 +313,7 @@
margin-right: 30rpx; margin-right: 30rpx;
} }
.namePop-btn { .namePop-btn {
color: #6e79ec; color: $mian-color;
font-weight: 600; font-weight: 600;
} }
} }

View File

@@ -2,56 +2,66 @@
<view class="content"> <view class="content">
<view class="caseUser"> <view class="caseUser">
<view class="caseUser-left"> <view class="caseUser-left">
<view class="caseUser-left-number"> <view class="caseUser-left-number"> 建档人{{ caseInfo.name }} </view>
患者{{ caseInfo.name }}
</view>
<view class="caseUser-left-tool"> <view class="caseUser-left-tool">
<view class="caseUser-left-number"> <view class="caseUser-left-number"> 年龄{{ caseInfo.age }} </view>
年龄{{ caseInfo.age }} <view class="caseUser-left-number"> 性别{{ caseInfo.sex == 'woman' ? '女' : '男' }} </view>
</view>
<view class="caseUser-left-number">
性别{{ caseInfo.sex == 'woman' ? '女' : '男' }}
</view>
</view> </view>
</view> </view>
<view class="caseUser-img"> <view class="caseUser-img">
<image v-if="caseImg" @click="openImg(caseImg)" :src="caseImg" mode="aspectFill"></image> <image v-if="caseImg" @click="openImg(caseImg)" :src="caseImg" mode="aspectFill"></image>
<block v-else> <block v-else>
<image src="/static/imgs/caseTips.png" mode="aspectFill"></image> <image src="/static/imgs/caseTips.png" mode="aspectFill"></image>
<view @click="updImg" class="caseUser-tips">上传</view> <!-- <view @click="updImg" class="caseUser-tips">上传</view> -->
</block> </block>
</view> </view>
<view class="caseUser-label"> <view class="caseUser-label">
<view class="caseUser-label-see"> <view class="caseUser-label-see">
<view class="caseUser-label-name"> <view class="caseUser-label-name"> 测量类型 </view>
初始值
</view>
<view class="caseUser-label-number">
{{ countInfo.first != 0 ? countInfo.first : '-' }}
</view>
</view> </view>
<view class="caseUser-label-see"> <view class="caseUser-label-see">
<view class="caseUser-label-name"> <view class="caseUser-label-name"> 初始值 </view>
最高值
</view>
<view class="caseUser-label-number">
{{ countInfo.max != 0 ? countInfo.max : '-' }}
</view>
</view> </view>
<view class="caseUser-label-see"> <view class="caseUser-label-see">
<view class="caseUser-label-name"> <view class="caseUser-label-name"> 最高值 </view>
最新值
</view>
<view class="caseUser-label-number">
{{ countInfo.last != 0 ? countInfo.last : '-' }}
</view>
</view> </view>
<view class="caseUser-label-see">
<view class="caseUser-label-name"> 最新值 </view>
</view>
</view>
<view class="base" v-if="countInfo">
<view class="baseitem">
<view class="title">
<image src="/static/imgs/zhi.png" mode="widthFix" style="width: 30rpx;" />
<text>高血脂</text>
</view>
<view class="title">{{countInfo.hyperlipidemia.first}}</view>
<view class="title">{{countInfo.hyperlipidemia.max}}</view>
<view class="title">{{countInfo.hyperlipidemia.last}}</view>
</view>
<view class="baseitem">
<view class="title">
<image src="/static/imgs/ya.png" mode="widthFix" style="width: 30rpx;" />
<text>高血压</text>
</view>
<view class="title">{{countInfo.hypertension.first}}</view>
<view class="title">{{countInfo.hypertension.max}}</view>
<view class="title">{{countInfo.hypertension.last}}</view>
</view>
<view class="baseitem">
<view class="title">
<image src="/static/imgs/tang.png" mode="widthFix" style="width: 30rpx;" />
<text>高血糖</text>
</view>
<view class="title">{{countInfo.hyperglycemia.first}}</view>
<view class="title">{{countInfo.hyperglycemia.max}}</view>
<view class="title">{{countInfo.hyperglycemia.last}}</view>
</view>
</view> </view>
</view> </view>
<view class="caseRemark"> <view class="caseRemark">
<view class="caseRemark-title"> <view class="caseRemark-title"> 健康说明 </view>
症状说明
</view>
<view class="caseRemark-text"> <view class="caseRemark-text">
{{ caseInfo.remark }} {{ caseInfo.remark }}
</view> </view>
@@ -61,10 +71,11 @@
<view class="caseTime-date"> <view class="caseTime-date">
{{ items.created_at }} {{ items.created_at }}
</view> </view>
<view class="caseTime-cont" @click="showSee(items.item.gout_case_log_id)" v-if="items.type == 'case_log'"> <view class="caseTime-cont" @click="showSee(items.item.gout_case_log_id)"
v-if="items.type == 'case_log'">
<view class="caseTime-cont-left" :class="{active : items.item.cover}"> <view class="caseTime-cont-left" :class="{active : items.item.cover}">
<view class="caseTime-cont-name"> <view class="caseTime-cont-name" v-if="items.item">
{{ items.text }} - {{ items.item.quantity }}umol {{ items.item.type.text }}测量 - {{ items.item.quantity }}{{items.item.type.unit}}
</view> </view>
<view class="nowrap-multi caseTime-cont-text"> <view class="nowrap-multi caseTime-cont-text">
{{ items.item.remark }} {{ items.item.remark }}
@@ -72,7 +83,8 @@
</view> </view>
<image class="caseTime-cont-img" :src="items.item.cover" mode="aspectFill"></image> <image class="caseTime-cont-img" :src="items.item.cover" mode="aspectFill"></image>
</view> </view>
<view class="caseTime-cont" @click="$Router.push({name: 'Indexdetails', params: {id: items.item.goods.goods_id}})" v-else> <!-- <view class="caseTime-cont"
@click="$Router.push({name: 'Indexdetails', params: {id: items.item.goods.goods_id}})" v-else>
<view class="caseTime-cont-left"> <view class="caseTime-cont-left">
<view class="caseTime-cont-name"> <view class="caseTime-cont-name">
{{ items.text }} {{ items.text }}
@@ -85,183 +97,212 @@
</view> </view>
</view> </view>
<image class="caseTime-cont-img" :src="items.item.goods.cover" mode="aspectFill"></image> <image class="caseTime-cont-img" :src="items.item.goods.cover" mode="aspectFill"></image>
</view> </view> -->
</view> </view>
</view>
<view class="no-list" v-else >
<u-empty mode="data" icon="http://cdn.uviewui.com/uview/empty/data.png" text="暂无记录~"/>
</view> </view>
<!-- 记录尿酸值弹出 --> <!-- 记录尿酸值弹出 -->
<view class="recordBack" v-if="recordShow"></view> <view class="recordBack" v-if="recordShow"></view>
<view class="recordCont" v-if="recordShow"> <view class="recordCont" v-if="recordShow">
<view class="recordCont-title"> <view class="recordCont-title" v-if="LogInfo.type">
<view class="recordCont-title-text"> <view class="recordCont-title-text">
尿酸详情 {{LogInfo.type.text}}测量结果
</view> </view>
<image @click="recordClick" class="recordCont-title-close" src="/static/icons/uricacidClose.png" mode="aspectFill"></image> <image @click="recordClick" class="recordCont-title-close" src="/static/icons/uricacidClose.png"
mode="aspectFill"></image>
</view> </view>
<view class="recordCont-form"> <view class="recordCont-form">
<view class="site-input"> <view class="site-input" v-if="LogInfo.type">
<label>尿酸</label> <label> 测量</label> <view class="recordCont-title-input"> {{ LogInfo.quantity }} {{LogInfo.type.unit}} </view>
<view class="recordCont-title-input">
{{ LogInfo.quantity }}<text>umol</text>
</view>
</view> </view>
<view class="site-input"> <view class="site-input">
<label>备注描述</label> <label>备注描述</label> <view class="site-remarks"> {{ LogInfo.remark }} </view>
<view class="site-remarks">
{{ LogInfo.remark }}
</view>
</view> </view>
<view class="site-data"> <view class="site-data">
<label>尿酸记录日期</label> <label>记录日期</label> <view class="site-data-text"> {{ LogInfo.created_at }} </view>
<view class="site-data-text"> </view>
{{ LogInfo.created_at }} <view class="site-input" v-if="LogInfo.cover">
</view> <label>图片信息</label>
</view> <image class="issueNew-icon" @click="openImg(LogInfo.cover)" :src="LogInfo.cover" mode="aspectFill" />
<view class="site-input" v-if="LogInfo.cover"> </view>
<label>图片信息</label>
<image class="issueNew-icon" @click="openImg(LogInfo.cover)" :src="LogInfo.cover" mode="aspectFill"></image>
</view>
</view> </view>
</view> </view>
</view> </view>
</template> </template>
<script> <script>
import { goutSee, goutCover, DetLog } from '@/apis/interfaces/gout' import {
import { uploads } from '@/apis/interfaces/uploading' goutSee,
export default { goutCover,
data() { DetLog
return { } from '@/apis/interfaces/gout'
caseImg : '', import {
caseInfo : '', uploads
LogInfo : '', //记录详情 } from '@/apis/interfaces/uploading'
countInfo : '', export default {
timeInfo : [], data() {
recordShow : false, return {
}; caseImg: '',
}, caseInfo: '',
onLoad() { LogInfo: '', //记录详情
goutSee().then(res => { countInfo: '',
this.caseInfo = res.case timeInfo: [],
this.countInfo = res.count page:1,
this.timeInfo = res.timelines has_more:true,
this.caseImg = res.case.cover recordShow: false,
console.log(res.case) };
}).catch(err => {
uni.showToast({
title: err.message,
icon : 'none'
})
})
}, },
methods:{ onLoad() {
this.getlist()
},
onReachBottom() {
if(this.has_more){
this.page = this.page +1
this.getlist();
} else{
uni.showToast({
title:'没有更多~',
icon:'none',
mask:true,
duration:1000
})
}
},
methods: {
// 获取列表
getlist(){
goutSee({page:this.page,type:''}).then(res => {
if(this.page === 1){
this.caseInfo = res.case
this.countInfo = res.count
this.caseImg = res.case.cover
}
this.timeInfo = this.timeInfo.concat(res.timelines.data)
this.has_more = res.timelines.page.has_more
}).catch(err => {
uni.showToast({
title: err.message,
icon: 'none'
})
})
},
// 查看图片 // 查看图片
openImg(img) { openImg(img) {
uni.previewImage({ uni.previewImage({
current: img, current: img,
urls:[img] urls: [img]
}) })
}, },
// 上传图片 // 上传图片
updImg(type){ updImg(type) {
uni.chooseImage({ uni.chooseImage({
count : 1, count: 1,
success : path => { success: path => {
uploads([{ uploads([{
uri : path.tempFilePaths[0] uri: path.tempFilePaths[0]
}]).then(res => { }]).then(res => {
this.caseImg = res.url[0] this.caseImg = res.url[0]
// 上传头像 // 上传头像
this.settingInfo(res.path[0]); this.settingInfo(res.path[0]);
}).catch(err => { }).catch(err => {
uni.showToast({ uni.showToast({
title: err.message, title: err.message,
icon : 'none' icon: 'none'
}) })
}) })
} }
}) })
}, },
// 上传图片-提交 // 上传图片-提交
settingInfo(value) { settingInfo(value) {
goutCover(this.caseInfo.gout_case_id, { goutCover(this.caseInfo.gout_case_id, {
cover: value cover: value
}).then(res => { }).then(res => {
uni.showToast({ uni.showToast({
title: '上传成功', title: '上传成功',
icon : 'none' icon: 'none'
}) })
}).catch(err => { }).catch(err => {
uni.showToast({ uni.showToast({
title: err.message, title: err.message,
icon : 'none' icon: 'none'
}) })
}) })
}, },
// 查看详情 // 查看详情
showSee(val) { showSee(val) {
// 获取详情 // 获取详情
this.lastDet(val); this.lastDet(val);
this.recordShow = true this.recordShow = true
}, },
// 新增尿酸弹出 // 新增尿酸弹出
recordClick() { recordClick() {
this.recordShow = !this.recordShow this.recordShow = !this.recordShow
}, },
// 尿酸列表-详情 // 尿酸列表-详情
lastDet(id) { lastDet(id) {
DetLog(id).then(res => { DetLog(id).then(res => {
this.LogInfo = res this.LogInfo = res
this.LogId = id this.LogId = id
}).catch(err => { }).catch(err => {
uni.showToast({ uni.showToast({
title: err.message, title: err.message,
icon: "none" icon: "none"
}) })
}) })
}, },
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.content{ .content {
overflow: hidden; overflow: hidden;
background: linear-gradient(to bottom, rgba($color: $mian-color, $alpha: .2), white); background: linear-gradient(to bottom, rgba($color: $mian-color, $alpha: .2), white);
padding: 30rpx; padding: 30rpx;
box-sizing: border-box; box-sizing: border-box;
} }
.caseUser { .caseUser {
background-color: #6e79ec; background-color: rgba($color: #4490ff, $alpha: 1);
color: #FFFFFF; color: #FFFFFF;
padding: 30rpx 0; padding: 30rpx 0;
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
height: 310rpx; // height: 310rpx;
border-radius: 10rpx 10rpx 0 0; border-radius: 10rpx 10rpx 0 0;
.caseUser-left { .caseUser-left {
height: 160rpx; height: 160rpx;
padding-left: 30rpx; padding-left: 30rpx;
box-sizing: border-box; box-sizing: border-box;
.caseUser-left-tool { .caseUser-left-tool {
display: flex; display: flex;
margin-top: 30rpx; margin-top: 30rpx;
.caseUser-left-number { .caseUser-left-number {
flex: 2; flex: 2;
font-weight: normal; font-weight: normal;
} }
} }
.caseUser-left-number { .caseUser-left-number {
line-height: 48rpx; line-height: 48rpx;
font-weight: 600; font-weight: 600;
} }
} }
.caseUser-img { .caseUser-img {
width: 120rpx; width: 120rpx;
height: 140rpx; height: 140rpx;
@@ -272,10 +313,12 @@
box-sizing: border-box; box-sizing: border-box;
right: 30rpx; right: 30rpx;
top: 25rpx; top: 25rpx;
image { image {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.caseUser-tips { .caseUser-tips {
position: absolute; position: absolute;
top: 0; top: 0;
@@ -288,45 +331,52 @@
width: 100%; width: 100%;
} }
} }
.caseUser-label { .caseUser-label {
background-color: #5963cb; background-color: #3670ce;
color: #FFFFFF; color: #FFFFFF;
display: flex; display: flex;
padding: 20rpx 0; padding: 20rpx 0;
.caseUser-label-see { .caseUser-label-see {
flex: 3; flex: 3;
text-align: center; text-align: center;
.caseUser-label-name { .caseUser-label-name {
font-size: 26rpx; font-size: 26rpx;
margin-bottom: 10rpx; margin-bottom: 10rpx;
} }
.caseUser-label-number { .caseUser-label-number {
font-weight: 600; font-weight: 600;
} }
} }
} }
} }
.caseRemark { .caseRemark {
background-color: #F8F8F8; background-color: #F8F8F8;
padding: 30rpx; padding: 30rpx;
box-sizing: border-box; box-sizing: border-box;
.caseRemark-title { .caseRemark-title {
font-weight: 600; font-weight: 600;
margin-bottom: 20rpx; margin-bottom: 20rpx;
} }
.caseRemark-text { .caseRemark-text {
font-size: 28rpx; font-size: 28rpx;
color: #666; color: #666;
line-height: 48rpx; line-height: 48rpx;
} }
} }
.caseTime { .caseTime {
background-color: #FFFFFF; background-color: #FFFFFF;
padding: 50rpx; padding: 50rpx;
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
&::after { &::after {
position: absolute; position: absolute;
content: ''; content: '';
@@ -336,9 +386,11 @@
width: 2rpx; width: 2rpx;
height: 100%; height: 100%;
} }
.caseTime-label { .caseTime-label {
position: relative; position: relative;
padding-left: 50rpx; padding-left: 50rpx;
&::after { &::after {
position: absolute; position: absolute;
content: ''; content: '';
@@ -350,6 +402,7 @@
height: 26rpx; height: 26rpx;
border-radius: 50%; border-radius: 50%;
} }
&:last-child::before { &:last-child::before {
position: absolute; position: absolute;
content: ''; content: '';
@@ -360,38 +413,48 @@
width: 2rpx; width: 2rpx;
height: 200%; height: 200%;
} }
.caseTime-date { .caseTime-date {
font-size: 26rpx; font-size: 26rpx;
color: #666666; color: #666666;
font-weight: 600; font-weight: 600;
} }
.caseTime-cont { .caseTime-cont {
background-color: #eff0ff; background-color: rgba($color: #2d5ba5, $alpha: 0.05);
margin: 20rpx 0 40rpx; margin: 20rpx 0 40rpx;
padding: 20rpx 30rpx; padding: 20rpx 30rpx;
border-radius: 10rpx; border-radius: 10rpx;
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
height: 180rpx; // height: 180rpx;
min-height: 120rpx;
.caseTime-cont-left { .caseTime-cont-left {
width: 100%; width: 100%;
&.active { &.active {
width: calc(100% - 100rpx); width: calc(100% - 100rpx);
} }
.caseTime-cont-name { .caseTime-cont-name {
color: #6e79ec; color: #3670ce;
font-size: 30rpx; font-size: 30rpx;
word-break: break-word;
} }
.caseTime-cont-text { .caseTime-cont-text {
font-size: 28rpx; font-size: 28rpx;
color: #666666; color: #666666;
margin-top: 20rpx; margin-top: 20rpx;
} }
.caseTime-cont-price { .caseTime-cont-price {
color: red; color: red;
margin-top: 20rpx; margin-top: 20rpx;
} }
} }
.caseTime-cont-img { .caseTime-cont-img {
position: absolute; position: absolute;
right: 20rpx; right: 20rpx;
@@ -403,7 +466,7 @@
} }
} }
} }
// 弹出 // 弹出
.recordBack { .recordBack {
position: fixed; position: fixed;
@@ -414,6 +477,7 @@
top: 0; top: 0;
z-index: 99; z-index: 99;
} }
.recordCont { .recordCont {
position: fixed; position: fixed;
width: 100%; width: 100%;
@@ -426,21 +490,25 @@
border-radius: 30rpx 30rpx 0 0; border-radius: 30rpx 30rpx 0 0;
padding: 30rpx; padding: 30rpx;
box-sizing: border-box; box-sizing: border-box;
.recordCont-title { .recordCont-title {
border-bottom: 2rpx solid #F2F2F2; border-bottom: 2rpx solid #F2F2F2;
padding-bottom: 30rpx; padding-bottom: 30rpx;
display: flex; display: flex;
line-height: 54rpx; line-height: 54rpx;
position: relative; position: relative;
.recordCont-title-close { .recordCont-title-close {
width: 40rpx; width: 40rpx;
height: 40rpx; height: 40rpx;
margin-top: 7rpx; margin-top: 7rpx;
} }
.recordCont-title-text { .recordCont-title-text {
width: 100%; width: 100%;
text-align: center; text-align: center;
} }
.recordCont-title-btn view { .recordCont-title-btn view {
background-color: red; background-color: red;
width: 150rpx; width: 150rpx;
@@ -455,20 +523,25 @@
top: 0; top: 0;
} }
} }
.recordCont-form { .recordCont-form {
margin-top: 30rpx; margin-top: 30rpx;
.site-input { .site-input {
margin-bottom: 30rpx; margin-bottom: 30rpx;
label { label {
margin-bottom: 20rpx; margin-bottom: 20rpx;
display: block; display: block;
font-weight: 600; font-weight: 600;
} }
.recordCont-title-input { .recordCont-title-input {
display: flex; display: flex;
font-size: 40rpx; font-size: 40rpx;
font-weight: 600; font-weight: 600;
line-height: 60rpx; line-height: 60rpx;
text { text {
font-size: 32rpx; font-size: 32rpx;
font-weight: normal; font-weight: normal;
@@ -477,15 +550,18 @@
} }
} }
} }
.site-remarks { .site-remarks {
background-color: #F2F2F2; background-color: #F2F2F2;
border-radius: 10rpx; border-radius: 10rpx;
padding: 20rpx; padding: 20rpx;
box-sizing: border-box; box-sizing: border-box;
textarea { textarea {
width: 100%; width: 100%;
height: 80rpx; height: 80rpx;
} }
text { text {
text-align: right; text-align: right;
display: block; display: block;
@@ -493,9 +569,11 @@
color: #54975e; color: #54975e;
} }
} }
.site-data { .site-data {
margin: 40rpx 0; margin: 40rpx 0;
display: flex; display: flex;
label { label {
flex: 1; flex: 1;
font-weight: 600; font-weight: 600;
@@ -503,8 +581,45 @@
} }
} }
} }
.issueNew-icon{
.issueNew-icon {
width: 200rpx; width: 200rpx;
height: 200rpx; height: 200rpx;
}
.base {
width: 100%;
background-color: white;
color: #333;
font-size: 26rpx;
box-sizing: border-box;
padding-bottom: 20rpx;
.baseitem {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
box-sizing: border-box;
padding-top: 20rpx;
}
.title {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
box-sizing: border-box;
flex: 1;
image {
margin-right: 6rpx;
}
}
} }
.no-list{
min-height: 50vh;
background-color: #F8F8F8;
padding-top: 100rpx;
}
</style> </style>

BIN
static/imgs/tang.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

BIN
static/imgs/ya.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

BIN
static/imgs/zhi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

@@ -1,8 +1,8 @@
var isReady=false;var onReadyCallbacks=[]; var isReady=false;var onReadyCallbacks=[];
var isServiceReady=false;var onServiceReadyCallbacks=[]; var isServiceReady=false;var onServiceReadyCallbacks=[];
var __uniConfig = {"pages":["pages/index/index","pages/index/details","pages/user/index","pages/user/code","pages/circle/index","pages/purine/index","pages/purine/details","pages/uricacid/index","pages/uricacid/list","pages/attestation/index","pages/friend/index","pages/order/index","pages/order/details","pages/receive/index","pages/login/login","pages/userCase/userCase"],"window":{"navigationBarTitleText":"痛风记录","backgroundColor":"#f3f4f6","navigationStyle":"custom"},"tabBar":{"list":[{"pagePath":"pages/index/index","iconPath":"static/tabBar/tabBar_icon_00.png","selectedIconPath":"static/tabBar/tabBar_show_00.png","text":"首页"},{"pagePath":"pages/uricacid/index","iconPath":"static/tabBar/tabBar_icon_01.png","selectedIconPath":"static/tabBar/tabBar_show_01.png","text":"记录"},{"pagePath":"pages/user/index","iconPath":"static/tabBar/tabBar_icon_02.png","selectedIconPath":"static/tabBar/tabBar_show_02.png","text":"我的"}],"borderStyle":"white","backgroundColor":"#FFFFFF","selectedColor":"#6a7df3","color":"#9d9d9d","iconWidth":"26px","spacing":"0","height":"60px"},"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"medical","compilerVersion":"3.3.11","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}}; var __uniConfig = {"pages":["pages/index/index","pages/index/details","pages/user/index","pages/user/code","pages/circle/index","pages/purine/index","pages/purine/details","pages/uricacid/index","pages/uricacid/list","pages/attestation/index","pages/friend/index","pages/order/index","pages/order/details","pages/receive/index","pages/login/login","pages/userCase/userCase"],"window":{"navigationBarTitleText":"痛风记录","backgroundColor":"#f3f4f6","navigationStyle":"custom"},"tabBar":{"list":[{"pagePath":"pages/index/index","iconPath":"static/tabBar/tabBar_icon_00.png","selectedIconPath":"static/tabBar/tabBar_show_00.png","text":"首页"},{"pagePath":"pages/uricacid/index","iconPath":"static/tabBar/tabBar_icon_01.png","selectedIconPath":"static/tabBar/tabBar_show_01.png","text":"记录"},{"pagePath":"pages/user/index","iconPath":"static/tabBar/tabBar_icon_02.png","selectedIconPath":"static/tabBar/tabBar_show_02.png","text":"我的"}],"borderStyle":"white","backgroundColor":"#FFFFFF","selectedColor":"#4490ff","color":"#9d9d9d","iconWidth":"26px","spacing":"0","height":"60px"},"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"medical","compilerVersion":"3.3.11","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"首页"}},{"path":"/pages/index/details","meta":{},"window":{"navigationBarTitleText":"商品详情"}},{"path":"/pages/user/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"我的"}},{"path":"/pages/user/code","meta":{},"window":{"navigationBarTitleText":"我的推广码"}},{"path":"/pages/circle/index","meta":{},"window":{"navigationBarTitleText":"病友记"}},{"path":"/pages/purine/index","meta":{},"window":{"navigationBarTitleText":"嘌呤列表"}},{"path":"/pages/purine/details","meta":{},"window":{"navigationBarTitleText":"食品详情"}},{"path":"/pages/uricacid/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"尿酸值"}},{"path":"/pages/uricacid/list","meta":{},"window":{"navigationBarTitleText":"尿酸列表"}},{"path":"/pages/attestation/index","meta":{},"window":{"navigationBarTitleText":"认证"}},{"path":"/pages/friend/index","meta":{},"window":{"navigationBarTitleText":"邀请记录"}},{"path":"/pages/order/index","meta":{},"window":{"navigationBarTitleText":"我的订单"}},{"path":"/pages/order/details","meta":{},"window":{"navigationBarTitleText":"订单详情"}},{"path":"/pages/receive/index","meta":{},"window":{"navigationBarTitleText":"文章详情"}},{"path":"/pages/login/login","meta":{},"window":{}},{"path":"/pages/userCase/userCase","meta":{},"window":{}}]; var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"首页"}},{"path":"/pages/index/details","meta":{},"window":{"navigationBarTitleText":"商品详情"}},{"path":"/pages/user/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"我的"}},{"path":"/pages/user/code","meta":{},"window":{"navigationBarTitleText":"我的推广码"}},{"path":"/pages/circle/index","meta":{},"window":{"navigationBarTitleText":"病友记"}},{"path":"/pages/purine/index","meta":{},"window":{"navigationBarTitleText":"健康饮食"}},{"path":"/pages/purine/details","meta":{},"window":{"navigationBarTitleText":"食品详情"}},{"path":"/pages/uricacid/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"记录"}},{"path":"/pages/uricacid/list","meta":{},"window":{"navigationBarTitleText":"记录列表"}},{"path":"/pages/attestation/index","meta":{},"window":{"navigationBarTitleText":"认证"}},{"path":"/pages/friend/index","meta":{},"window":{"navigationBarTitleText":"邀请记录"}},{"path":"/pages/order/index","meta":{},"window":{"navigationBarTitleText":"我的订单"}},{"path":"/pages/order/details","meta":{},"window":{"navigationBarTitleText":"订单详情"}},{"path":"/pages/receive/index","meta":{},"window":{"navigationBarTitleText":"文章详情"}},{"path":"/pages/login/login","meta":{},"window":{}},{"path":"/pages/userCase/userCase","meta":{},"window":{}}];
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); __uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); __uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}}); service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__F02BFB1","name":"medical","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"light","background":"#000000"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{},"plugins":{"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"allowsInlineMediaPlayback":true,"safearea":{"background":"#FFFFFF","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"3.3.11","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"list":[{"pagePath":"pages/index/index","iconPath":"static/tabBar/tabBar_icon_00.png","selectedIconPath":"static/tabBar/tabBar_show_00.png","text":"首页"},{"pagePath":"pages/uricacid/index","iconPath":"static/tabBar/tabBar_icon_01.png","selectedIconPath":"static/tabBar/tabBar_show_01.png","text":"记录"},{"pagePath":"pages/user/index","iconPath":"static/tabBar/tabBar_icon_02.png","selectedIconPath":"static/tabBar/tabBar_show_02.png","text":"我的"}],"borderStyle":"rgba(255,255,255,0.4)","backgroundColor":"#FFFFFF","selectedColor":"#6a7df3","color":"#9d9d9d","iconWidth":"26px","spacing":"0","height":"60px","child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html"}} {"@platforms":["android","iPhone","iPad"],"id":"__UNI__F02BFB1","name":"medical","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"light","background":"#000000"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{},"plugins":{"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"allowsInlineMediaPlayback":true,"safearea":{"background":"#FFFFFF","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"3.3.11","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"list":[{"pagePath":"pages/index/index","iconPath":"static/tabBar/tabBar_icon_00.png","selectedIconPath":"static/tabBar/tabBar_show_00.png","text":"首页"},{"pagePath":"pages/uricacid/index","iconPath":"static/tabBar/tabBar_icon_01.png","selectedIconPath":"static/tabBar/tabBar_show_01.png","text":"记录"},{"pagePath":"pages/user/index","iconPath":"static/tabBar/tabBar_icon_02.png","selectedIconPath":"static/tabBar/tabBar_show_02.png","text":"我的"}],"borderStyle":"rgba(255,255,255,0.4)","backgroundColor":"#FFFFFF","selectedColor":"#4490ff","color":"#9d9d9d","iconWidth":"26px","spacing":"0","height":"60px","child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html"}}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB