12.19 患者bug
This commit is contained in:
@@ -2,18 +2,20 @@
|
||||
const app = getApp()
|
||||
import {nation,job} from "../../api/common"
|
||||
import {sendFields} from "../../api/sickRecord"
|
||||
import {throttle} from "../../utils/util"
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
showDialog:false,
|
||||
obj:{
|
||||
height:'身高',
|
||||
weight:'体重',
|
||||
marital_status:'婚姻状态',
|
||||
nation_id:'民族',
|
||||
job_id:'职业',
|
||||
marital_status:'婚姻状态',
|
||||
allergy_history:'是否有过敏史?',
|
||||
family_history:'是否有家族病史?',
|
||||
is_pregnant:'是否处于备孕、妊娠、哺乳期?',
|
||||
@@ -100,8 +102,38 @@ Page({
|
||||
}
|
||||
|
||||
},
|
||||
confirmDialog:throttle(function(event){
|
||||
if(event.detail){
|
||||
this.handleSend();
|
||||
}
|
||||
}),
|
||||
handleSend(){
|
||||
const {order_inquiry_id,personInfo,obj}=this.data;
|
||||
let dataObj={};
|
||||
for (const key in obj) {
|
||||
if(personInfo[key] || personInfo[key]==0){
|
||||
dataObj[key]=personInfo[key];
|
||||
}
|
||||
}
|
||||
let res=Object.assign({},dataObj,personInfo);
|
||||
sendFields({
|
||||
order_inquiry_id,
|
||||
fields:res,
|
||||
}).then(data=>{
|
||||
wx.showToast({
|
||||
title: '发送成功',
|
||||
icon:'none'
|
||||
}),
|
||||
wx.navigateBack()
|
||||
thi.setData({
|
||||
showDialog:false
|
||||
})
|
||||
|
||||
|
||||
})
|
||||
},
|
||||
handleSendFields(){
|
||||
const {order_inquiry_id,personInfo,list1,list2,marital_name,jobname,nationname}=this.data;
|
||||
const {order_inquiry_id,personInfo,list1,list2,marital_name,jobname,nationname,obj}=this.data;
|
||||
console.log(personInfo)
|
||||
const fields=[];
|
||||
for (let i = 0; i <list1.length; i++) {
|
||||
@@ -113,7 +145,7 @@ Page({
|
||||
return false
|
||||
}
|
||||
if (list1[i]=='height' && personInfo.height) {
|
||||
if (!/^3[5-9](\.\d+)?$|^[4-9][0-9](\.\d+)?$|^1[0-9][0-9](\.\d+)?$|^2[1-4][0-9](\.\d+)?$|250/.test(personInfo.height)) {
|
||||
if (!/^3[5-9](\.\d+)?$|^[4-9][0-9](\.\d+)?$|^1[0-9][0-9](\.\d+)?$|^2[0-4][0-9](\.\d+)?$|250/.test(personInfo.height)) {
|
||||
wx.showToast({
|
||||
title: `请输入范围内身高!`,
|
||||
icon: 'none',
|
||||
@@ -285,22 +317,13 @@ for (let i = 0; i < list2.length; i++) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
sendFields({
|
||||
order_inquiry_id,
|
||||
fields:personInfo,
|
||||
}).then(data=>{
|
||||
wx.showToast({
|
||||
title: '发送成功',
|
||||
icon:'none'
|
||||
}),
|
||||
wx.navigateBack()
|
||||
|
||||
})
|
||||
this.setData({
|
||||
showDialog:true
|
||||
})
|
||||
},
|
||||
openMaritalPicker() {
|
||||
wx.hideKeyboard();
|
||||
if(showBtn){
|
||||
if(this.data.showBtn){
|
||||
this.setData({
|
||||
showMarital: true
|
||||
})
|
||||
@@ -387,7 +410,7 @@ for (let i = 0; i < list2.length; i++) {
|
||||
},
|
||||
showNation() {
|
||||
wx.hideKeyboard();
|
||||
if(showBtn){
|
||||
if(this.data.showBtn){
|
||||
this.setData({
|
||||
showNation: true
|
||||
})
|
||||
@@ -412,7 +435,7 @@ for (let i = 0; i < list2.length; i++) {
|
||||
},
|
||||
showJob() {
|
||||
wx.hideKeyboard();
|
||||
if(showBtn){
|
||||
if(this.data.showBtn){
|
||||
this.setData({
|
||||
showJob: true
|
||||
})
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"van-datetime-picker": "@vant/weapp/datetime-picker/index",
|
||||
"van-popup": "@vant/weapp/popup/index",
|
||||
"van-radio-group": "@vant/weapp/radio-group/index",
|
||||
"dialog":"../../components/dialog/dialog",
|
||||
"nav":"../../components/nav/nav"
|
||||
},
|
||||
"navigationStyle":"custom",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
<wxs src="../../filters/filter.wxs" module="filter"></wxs>
|
||||
<nav navName="问诊表"></nav>
|
||||
<view class="page">
|
||||
<view class="questionbox">
|
||||
<view class="pagecon">
|
||||
<view class="questionbox">
|
||||
<view class="cellbox" wx:if="{{list1.length>0}}">
|
||||
<view class="basictitle">基本信息</view>
|
||||
<view class="cell" wx:if="{{filter.formatwenzhenList(list1,'height').ISHAS}}">
|
||||
@@ -33,7 +34,7 @@
|
||||
{{filter.formatwenzhenList(list1,'marital_status').NUMBER}}、婚姻状况
|
||||
</view>
|
||||
<view class="iptbox">
|
||||
<input type="text" value="{{marital_name}}" bindinput="handleIpt" data-id="name" placeholder="请选择婚姻状况" placeholder-class="placeholder" class="ipt" disabled="{{!showBtn}}" />
|
||||
<input type="text" value="{{marital_name}}" bindinput="handleIpt" data-id="name" placeholder="请选择婚姻状况" placeholder-class="placeholder" class="ipt" disabled="{{true}}" />
|
||||
<image src="{{img_host+'/righticon.png'}}" class="righticon"></image>
|
||||
|
||||
</view>
|
||||
@@ -45,7 +46,7 @@
|
||||
{{filter.formatwenzhenList(list1,'nation_id').NUMBER}}、民族
|
||||
</view>
|
||||
<view class="iptbox">
|
||||
<input type="text" value="{{nationname}}" bindinput="handleIpt" data-id="name" placeholder="请选择民族" placeholder-class="placeholder" class="ipt" disabled="{{!showBtn}}" />
|
||||
<input type="text" value="{{nationname}}" bindinput="handleIpt" data-id="name" placeholder="请选择民族" placeholder-class="placeholder" class="ipt" disabled="{{true}}" />
|
||||
<image src="{{img_host+'/righticon.png'}}" class="righticon"></image>
|
||||
</view>
|
||||
</view>
|
||||
@@ -56,7 +57,7 @@
|
||||
{{filter.formatwenzhenList(list1,'job_id').NUMBER}}、职业
|
||||
</view>
|
||||
<view class="iptbox">
|
||||
<input type="text" value="{{jobname}}" bindinput="handleIpt" data-id="name" placeholder="请请选择职业" placeholder-class="placeholder" class="ipt" disabled="{{!showBtn}}" />
|
||||
<input type="text" value="{{jobname}}" bindinput="handleIpt" data-id="name" placeholder="请请选择职业" placeholder-class="placeholder" class="ipt" disabled="{{true}}" />
|
||||
<image src="{{img_host+'/righticon.png'}}" class="righticon"></image>
|
||||
</view>
|
||||
</view>
|
||||
@@ -229,6 +230,7 @@
|
||||
<view class="bottom" wx:if="{{showBtn}}">
|
||||
<view class="btn" bindtap="handleSendFields">发送给医生</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
@@ -248,3 +250,4 @@
|
||||
<van-popup show="{{ showJob }}" position="bottom" custom-style="height: auto">
|
||||
<van-picker show-toolbar title="选择职业" columns="{{ jobcolumns }}" value-key="job_name" bind:cancel="onCancelJob" bind:confirm="onConfirmJob" />
|
||||
</van-popup>
|
||||
<dialog bind:confirm="confirmDialog" showDialog="{{showDialog}}" message="是否发送问诊表给问诊医生?"></dialog>
|
||||
@@ -1,10 +1,15 @@
|
||||
/* pages/inquiryForm/inquiryForm.wxss */
|
||||
.page {
|
||||
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
.pagecon{
|
||||
height:100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.cellbox{
|
||||
background-color: #fff;
|
||||
}
|
||||
@@ -37,7 +42,7 @@
|
||||
.iptbox{
|
||||
display: flex;
|
||||
flex:1;
|
||||
|
||||
margin-top:4rpx;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.righticon{
|
||||
@@ -62,6 +67,8 @@
|
||||
width:100%;
|
||||
text-align: right;
|
||||
color: #666666;
|
||||
line-height: 48rpx;
|
||||
margin-left: 160rpx;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.basictitle{
|
||||
@@ -161,10 +168,16 @@ color: #FFFFFF;
|
||||
align-items: center;
|
||||
background: #3CC7C0;
|
||||
border-radius: 8rpx;
|
||||
margin:40rpx 32rpx;
|
||||
margin:50rpx 32rpx;
|
||||
}
|
||||
.van-radio__icon--disabled{
|
||||
background-color: #fff!important;
|
||||
}
|
||||
.van-radio__icon--disabled.van-radio__icon--checked{
|
||||
color:#3cc7c0!important;
|
||||
background-color: #fff;
|
||||
color:#fff!important;
|
||||
background-color: #3cc7c0!important;
|
||||
border-color:#3cc7c0 ;
|
||||
}
|
||||
.van-radio__label--disabled{
|
||||
color:#000!important;
|
||||
}
|
||||
@@ -91,6 +91,7 @@ Page({
|
||||
|
||||
user_info: {
|
||||
name: '',
|
||||
fromtype:'',
|
||||
id_number: '',
|
||||
province_id: '',
|
||||
city_id: '',
|
||||
@@ -608,7 +609,7 @@ Page({
|
||||
}
|
||||
}
|
||||
if (height) {
|
||||
if (!/^3[5-9](\.\d+)?$|^[4-9][0-9](\.\d+)?$|^1[0-9][0-9](\.\d+)?$|^2[1-4][0-9](\.\d+)?$|250/.test(height)) {
|
||||
if (!/^3[5-9](\.\d+)?$|^[4-9][0-9](\.\d+)?$|^1[0-9][0-9](\.\d+)?$|^2[0-4][0-9](\.\d+)?$|250/.test(height)) {
|
||||
wx.showToast({
|
||||
title: `请输入范围内身高!`,
|
||||
icon: 'none',
|
||||
@@ -1027,6 +1028,11 @@ Page({
|
||||
this.hnadleGetpersonal(family_id);
|
||||
this.handleGetHealthy(family_id)
|
||||
}
|
||||
if(options.fromtype){
|
||||
this.setData({
|
||||
fromtype:options.fromtype
|
||||
})
|
||||
}
|
||||
this.provinceList();
|
||||
this.getSick();
|
||||
this.getNation();
|
||||
|
||||
@@ -48,7 +48,8 @@
|
||||
</view>
|
||||
<view class="persontip" wx:if="{{item.lastMessage.type=='TIMTextElem'}}">{{item.lastMessage.payload.text}}</view>
|
||||
<view class="persontip" wx:elif="{{item.lastMessage.type=='TIMCustomElem'}}">{{filters.formateText(item.lastMessage.payload.data).title}}</view>
|
||||
<view class="persontip" wx:elif="{{item.lastMessage.type=='TIMImageElem'}}">图片消息</view>
|
||||
<view class="persontip" wx:elif="{{item.lastMessage.type=='TIMImageElem'}}">[图片]</view>
|
||||
<view class="persontip" wx:elif="{{item.lastMessage.type=='TIMSoundElem'}}">[语音]</view>
|
||||
<view class="bottombox">
|
||||
<view class="nameinfo">
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
const app = getApp()
|
||||
import {pathographyDetail} from "../../api/sickRecord"
|
||||
import {throttle} from "../../utils/util"
|
||||
import {pathographyListDelte} from "../../api/sickRecord"
|
||||
import {pathographyDelete} from "../../api/sickRecord"
|
||||
Page({
|
||||
|
||||
/**
|
||||
@@ -33,7 +33,7 @@ Page({
|
||||
}),
|
||||
previewImage(event) {
|
||||
let id = event.currentTarget.dataset.id;
|
||||
let urls = this.data.sick.diagnose_images;
|
||||
let urls = this.data.sickInfo.diagnose_images;
|
||||
wx.previewImage({
|
||||
current: urls[id], // 当前显示图片的http链接
|
||||
urls: urls // 需要预览的图片http链接列表
|
||||
@@ -41,7 +41,7 @@ Page({
|
||||
},
|
||||
handlePathographyListDelte(){
|
||||
let id=this.data.pathography_id
|
||||
pathographyListDelte(id).then(data=>{
|
||||
pathographyDelete(id).then(data=>{
|
||||
wx.showToast({
|
||||
title: '删除成功',
|
||||
icon:'none'
|
||||
|
||||
@@ -19,12 +19,16 @@
|
||||
</view>
|
||||
<view class="info">
|
||||
<view class="infocell" wx:if="{{!(sickInfo.height==null && sickInfo.weight==null && sickInfo.nation_name==null && sickInfo.job_name==null && sickInfo.marital_status==null)}}">
|
||||
<view class="cell">身高:<text class="desc">{{sickInfo.height}}cm</text></view>
|
||||
<view class="cell">体重:<text class="desc">{{sickInfo.weight}}kg
|
||||
</text></view>
|
||||
<view class="cell">民族:<text class="desc">{{sickInfo.nation_name}}</text></view>
|
||||
<view class="cell" >职业:<text class="desc">{{sickInfo.job_name}}</text></view>
|
||||
<view class="cell">婚姻:<text class="desc" wx:if="{{sickInfo.marital_status==0}}">未婚</text><text wx:elif="{{sickInfo.marital_status==1}}">已婚</text><text wx:elif="{{sickInfo.marital_status==2}}">离异</text></view>
|
||||
<view class="rowcell">
|
||||
<view class="cell">身高:<text class="desc" wx:if="{{sickInfo.height}}">{{sickInfo.height}}cm</text> <text class="desc" wx:else>未知</text></view>
|
||||
<view class="cell">体重:<text class="desc" wx:if="{{sickInfo.weight}}">{{sickInfo.weight}}kg
|
||||
</text><text class="desc" wx:else>未知</text></view>
|
||||
<view class="cell">民族:<text class="desc" wx:if="{{sickInfo.nation_name}}">{{sickInfo.nation_name}}</text><text class="desc" wx:else>未知</text></view>
|
||||
</view>
|
||||
<view class="rowcell">
|
||||
<view class="cell" >职业:<text class="desc" wx:if="{{sickInfo.job_name}}">{{sickInfo.job_name}}</text><text class="desc" wx:else>未知</text></view>
|
||||
<view class="cell">婚姻:<text class="desc" wx:if="{{sickInfo.marital_status==0}}">未婚</text><text wx:elif="{{sickInfo.marital_status==1}}">已婚</text><text wx:elif="{{sickInfo.marital_status==2}}">离异</text><text class="desc" wx:else>未知</text></view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row" wx:if="{{sickInfo.disease_desc}}">
|
||||
@@ -33,7 +37,7 @@
|
||||
</view>
|
||||
<view class="row" wx:if="{{sickInfo.diagnosis_date}}">
|
||||
<view class="name">确诊日期:</view>
|
||||
<view class="desc">{{sickInfo.diagnosis_date}}</view>
|
||||
<view class="desc">{{filters.transforDay(sickInfo.diagnosis_date,"date")}}</view>
|
||||
</view>
|
||||
<view class="row" wx:if="{{sickInfo.diagnosis_hospital}}">
|
||||
<view class="name">确诊医院:</view>
|
||||
@@ -61,7 +65,8 @@
|
||||
<view class="name">复诊凭证(病例/处方单/检查报告/住院单)</view>
|
||||
</view>
|
||||
<view class="imgtip">
|
||||
<image src="{{sickInfo}}" class="img" wx:for="{{sickInfo.diagnose_images}}" mode="aspectFill" wx:for-index="idx" wx:key="idx" bindtap="previewImage" data-id="{{idx}}" ></image>
|
||||
<image src="{{item}}" class="img" wx:for="{{sickInfo.diagnose_images}}" mode="aspectFill" wx:for-index="idx" wx:key="idx" bindtap="previewImage" data-id="{{idx}}" ></image>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -83,7 +88,7 @@
|
||||
<view class="rowtip" wx:if="{{sickInfo.is_pregnant!=null}}">
|
||||
<view class="row">
|
||||
<view class="name">是否备孕、妊娠或者哺乳期:</view>
|
||||
<view class="desc">{{sickInfo.is_pregnant==0?"无":'是'}}</view>
|
||||
<view class="desc">{{sickInfo.is_pregnant==0?"否":'是'}}</view>
|
||||
</view>
|
||||
<view class="tip" wx:if="{{sickInfo.pregnant}}">{{sickInfo.pregnant}}</view>
|
||||
</view>
|
||||
|
||||
@@ -58,11 +58,18 @@ padding:20rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.infocell .cell{
|
||||
flex:1;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
line-height: 60rpx;
|
||||
margin-right: 21rpx;
|
||||
|
||||
}
|
||||
.infocell .cell:nth-child(2){
|
||||
text-align: center;
|
||||
}
|
||||
.infocell .cell:nth-child(3){
|
||||
margin-right: 0rpx;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.cell .desc{
|
||||
@@ -99,4 +106,23 @@ color: #666666;
|
||||
padding:20rpx;
|
||||
font-size: 26rpx;
|
||||
color: #999999;
|
||||
}
|
||||
.img{
|
||||
width:200rpx;
|
||||
margin-right: 25rpx;
|
||||
height:200rpx;
|
||||
}
|
||||
.imgtip{
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.img:nth-child(3n){
|
||||
margin-right: 0rpx;
|
||||
}
|
||||
.rowcell{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.rowcell:last-child{
|
||||
width:66.66%;
|
||||
}
|
||||
@@ -30,14 +30,22 @@ Page({
|
||||
},
|
||||
goInfo:throttle(function(){
|
||||
app.method.navigateTo({
|
||||
url: '/pages/familyDoc/familyDoc',
|
||||
url: '/pages/memberDetail/memberDetail?fromtype=manage',
|
||||
})
|
||||
}),
|
||||
goRecord:throttle(function(event){
|
||||
let id=event.currentTarget.dataset.id;
|
||||
app.method.navigateTo({
|
||||
url: '/pages/sickRecord/sickRecord?family_id='+id+"&showRadio=false",
|
||||
})
|
||||
let {id,count}=event.currentTarget.dataset;
|
||||
if(count==0){
|
||||
wx.showToast({
|
||||
title: '暂无病例数据',
|
||||
icon:'none'
|
||||
})
|
||||
}else{
|
||||
app.method.navigateTo({
|
||||
url: '/pages/sickRecord/sickRecord?family_id='+id+"&showRadio=false",
|
||||
})
|
||||
}
|
||||
|
||||
}),
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
@@ -58,7 +66,8 @@ Page({
|
||||
*/
|
||||
onShow() {
|
||||
this.setData({
|
||||
img_host:app.hostConfig().imghost
|
||||
img_host:app.hostConfig().imghost,
|
||||
list:[]
|
||||
});
|
||||
this.handleFamily();
|
||||
},
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
<view class="hasdata">
|
||||
<scroll-view scroll-y="true" bindrefresherrefresh="handleRefresher" class="scrollbox" refresher-triggered="{{isTriggered}}" refresher-threshold="100" refresher-enabled="true" class="namebox" wx:if="{{list.length>0}}">
|
||||
|
||||
<view class="namecell" bindtap="goRecord" wx:for="{{list}}" wx:key="family_id" data-id="{{item.family_id}}">
|
||||
<view class="namecell" bindtap="goRecord" wx:for="{{list}}" wx:key="family_id" data-id="{{item.family_id}}" data-count="{{item.count}}">
|
||||
<view class="namecon">
|
||||
<view class="name" >{{item.name}}<text wx:if="{{item.sex==1}}" decode="true"> 男</text><text wx:elif="{{item.sex==2}}" decode="true"> 女</text><text wx:else decode="true"> 未知</text>|{{item.age}}岁</view>
|
||||
<view class="name" >{{item.card_name}}<text wx:if="{{item.sex==1}}" decode="true"> 男</text><text wx:elif="{{item.sex==2}}" decode="true"> 女</text><text wx:else decode="true"> 未知</text>|{{item.age}}岁</view>
|
||||
<view class="count">共有{{item.count}}份病例</view>
|
||||
</view>
|
||||
<image src="{{img_host+'/righticon.png'}}" class="righticon"></image>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
const app = getApp()
|
||||
import {pathographyList,pathographyListDelte} from "../../api/sickRecord"
|
||||
import {pathographyList,pathographyDelete} from "../../api/sickRecord"
|
||||
import {throttle} from "../../utils/util"
|
||||
Page({
|
||||
|
||||
@@ -44,7 +44,8 @@ Page({
|
||||
}
|
||||
}),
|
||||
handlePathographyListDelte(){
|
||||
pathographyListDelte(id).then(data=>{
|
||||
let id=this.data.currentId
|
||||
pathographyDelete(id).then(data=>{
|
||||
wx.showToast({
|
||||
title: '删除成功',
|
||||
icon:'none'
|
||||
@@ -133,7 +134,7 @@ Page({
|
||||
showRadio:true
|
||||
})
|
||||
}
|
||||
this.handleFamily();
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -150,7 +151,7 @@ Page({
|
||||
this.setData({
|
||||
img_host:app.hostConfig().imghost
|
||||
});
|
||||
|
||||
this.handleRefresher();
|
||||
|
||||
},
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!--pages/sickManage/sickManage.wxml-->
|
||||
<nav navName="病情记录"></nav>
|
||||
<nav navName="病情管理"></nav>
|
||||
<view class="page">
|
||||
<view class="hasdata">
|
||||
<scroll-view scroll-y="true" bindrefresherrefresh="handleRefresher" class="scrollbox" refresher-triggered="{{isTriggered}}" refresher-threshold="100" bindscrolltolower="lower" refresher-enabled="true" class="namebox" wx:if="{{list.length>0}}">
|
||||
@@ -11,7 +11,7 @@
|
||||
<view class="rightcon" bindtap="goDetail" data-id="{{item.pathography_id}}" data-index="{{index+1}}">
|
||||
<view class="time">{{item.created_at}}</view>
|
||||
<view class="disease">
|
||||
<view > {{item.disease_class_name}}</view>
|
||||
<view class="sickname"> {{item.disease_class_name}}</view>
|
||||
<view class="disease_desc">
|
||||
<view class="desctext">{{item.disease_desc}}</view>
|
||||
</view>
|
||||
@@ -23,6 +23,10 @@
|
||||
</van-swipe-cell>
|
||||
</van-radio-group>
|
||||
</scroll-view>
|
||||
<view wx:else class="nodata">
|
||||
<image src="../../assets/images/noManage.png" class="memberimg"></image>
|
||||
<view>暂无数据</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -47,7 +47,6 @@
|
||||
align-items: center;
|
||||
padding:0 20rpx 0 30rpx;
|
||||
background: #FFFFFF;
|
||||
box-sizing: content-box;
|
||||
border-radius: 10rpx;
|
||||
|
||||
}
|
||||
@@ -57,12 +56,17 @@ color: #333333;
|
||||
}
|
||||
.rightcon{
|
||||
flex:1;
|
||||
margin-right: 30rpx;
|
||||
}
|
||||
.namecell .disease{
|
||||
flex:1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 10rpx;
|
||||
font-size: 24rpx;
|
||||
width:540rpx;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
color: #666666;
|
||||
}
|
||||
.disease{
|
||||
@@ -70,12 +74,20 @@ color: #333333;
|
||||
}
|
||||
.disease_desc{
|
||||
flex:1;
|
||||
margin-left: 8rpx;
|
||||
}
|
||||
.desctext{
|
||||
width:80%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
|
||||
text-overflow: ellipsis;
|
||||
margin-left: 8rpx;
|
||||
word-break: break-all;
|
||||
}
|
||||
.desctext{
|
||||
width:100%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
|
||||
text-overflow: ellipsis;
|
||||
|
||||
}
|
||||
@@ -127,4 +139,12 @@ color: #999999;
|
||||
justify-content: center;
|
||||
background: #FA541C;
|
||||
color: #fff;
|
||||
}
|
||||
.nodata{
|
||||
margin-top: -172rpx;
|
||||
flex:1;
|
||||
display: flex;
|
||||
font-size: 24rpx;
|
||||
color: #999999;
|
||||
flex-direction: column;
|
||||
}
|
||||
Reference in New Issue
Block a user