BUG 27621
This commit is contained in:
@@ -135,6 +135,7 @@
|
||||
import {mapState} from 'vuex'
|
||||
|
||||
export default {
|
||||
appName:"今日上报",
|
||||
data() {
|
||||
return {
|
||||
isShowDate: false,
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
import {mapState} from 'vuex'
|
||||
|
||||
export default {
|
||||
appName:"添加上报人员",
|
||||
data() {
|
||||
return {
|
||||
form: {
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
appName:"上报详情",
|
||||
data () {
|
||||
return {
|
||||
info: {},
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<div class="record" v-if="pageShow">
|
||||
<div class="record-item" v-for="(item, index) in list" :key="index" @click="$linkTo('./Detail?id=' + item.id)" hover-class="bg-hover">
|
||||
<div class="record-item" v-for="(item, index) in list" :key="index" @click="$linkTo('./Detail?id=' + item.id)"
|
||||
hover-class="bg-hover">
|
||||
<div class="left">{{ item.createTime.split(' ')[0] }}的健康上报</div>
|
||||
<div class="right">
|
||||
<i v-if="item.status === '0'">健康数据异常</i>
|
||||
@@ -12,103 +13,104 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
list: [],
|
||||
pageShow: false,
|
||||
current: 1,
|
||||
total: 0,
|
||||
isMore: false
|
||||
}
|
||||
},
|
||||
|
||||
onLoad (query) {
|
||||
this.$loading()
|
||||
this.getList(query)
|
||||
},
|
||||
|
||||
methods: {
|
||||
getList(query) {
|
||||
if (this.isMore) return
|
||||
|
||||
this.$instance.post(`/app/appepidemichealthreport/list?memberId=${query.id}`, null, {
|
||||
params: {
|
||||
current: this.current,
|
||||
size: 15
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.total = res.data.total
|
||||
if (this.current > 1) {
|
||||
this.list = [...this.list, ...res.data.records]
|
||||
} else {
|
||||
this.list = res.data.records
|
||||
}
|
||||
uni.hideLoading()
|
||||
this.pageShow = true
|
||||
if (res.data.records.length < 15) {
|
||||
this.isMore = true
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
this.current = this.current + 1
|
||||
} else {
|
||||
uni.hideLoading()
|
||||
}
|
||||
}).catch(() => {
|
||||
uni.hideLoading()
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
onReachBottom() {
|
||||
this.getList()
|
||||
export default {
|
||||
appName: "上报记录",
|
||||
data() {
|
||||
return {
|
||||
list: [],
|
||||
pageShow: false,
|
||||
current: 1,
|
||||
total: 0,
|
||||
isMore: false
|
||||
}
|
||||
},
|
||||
|
||||
onLoad(query) {
|
||||
this.$loading()
|
||||
this.getList(query)
|
||||
},
|
||||
|
||||
methods: {
|
||||
getList(query) {
|
||||
if (this.isMore) return
|
||||
|
||||
this.$instance.post(`/app/appepidemichealthreport/list?memberId=${query.id}`, null, {
|
||||
params: {
|
||||
current: this.current,
|
||||
size: 15
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.total = res.data.total
|
||||
if (this.current > 1) {
|
||||
this.list = [...this.list, ...res.data.records]
|
||||
} else {
|
||||
this.list = res.data.records
|
||||
}
|
||||
uni.hideLoading()
|
||||
this.pageShow = true
|
||||
if (res.data.records.length < 15) {
|
||||
this.isMore = true
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
this.current = this.current + 1
|
||||
} else {
|
||||
uni.hideLoading()
|
||||
}
|
||||
}).catch(() => {
|
||||
uni.hideLoading()
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
onReachBottom() {
|
||||
this.getList()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.record {
|
||||
padding: 32px 0;
|
||||
.record {
|
||||
padding: 32px 0;
|
||||
|
||||
.record-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 686px;
|
||||
height: 112px;
|
||||
margin: 0 auto 24px;
|
||||
padding: 0 28px 0 32px;
|
||||
background: #FFFFFF;
|
||||
box-sizing: border-box;
|
||||
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.02);
|
||||
border-radius: 16px;
|
||||
.record-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 686px;
|
||||
height: 112px;
|
||||
margin: 0 auto 24px;
|
||||
padding: 0 28px 0 32px;
|
||||
background: #FFFFFF;
|
||||
box-sizing: border-box;
|
||||
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.02);
|
||||
border-radius: 16px;
|
||||
|
||||
.left {
|
||||
color: #333333;
|
||||
font-size: 32px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.left {
|
||||
color: #333333;
|
||||
font-size: 32px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.right {
|
||||
i {
|
||||
width: 158px;
|
||||
height: 36px;
|
||||
line-height: 36px;
|
||||
margin-right: 8px;
|
||||
text-align: center;
|
||||
font-size: 26px;
|
||||
color: #FF4466;
|
||||
background: #FFF5F7;
|
||||
}
|
||||
}
|
||||
|
||||
& > div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.right {
|
||||
i {
|
||||
width: 158px;
|
||||
height: 36px;
|
||||
line-height: 36px;
|
||||
margin-right: 8px;
|
||||
text-align: center;
|
||||
font-size: 26px;
|
||||
color: #FF4466;
|
||||
background: #FFF5F7;
|
||||
}
|
||||
}
|
||||
|
||||
& > div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -57,6 +57,7 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
appName:"个人信息",
|
||||
data () {
|
||||
return {
|
||||
info: {},
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<template>
|
||||
<div class="photo-detail" v-if="pageShow">
|
||||
<h2>{{ info.content }}</h2>
|
||||
<div class="status-name" :class="'status-' + info.eventStatus">{{ $dict.getLabel('clapEventStatus', info.eventStatus) }}</div>
|
||||
<div class="status-name" :class="'status-' + info.eventStatus">
|
||||
{{ $dict.getLabel('clapEventStatus', info.eventStatus) }}
|
||||
</div>
|
||||
<div class="photo-detail__info">
|
||||
<div class="photo-detail__item">
|
||||
<i>事件类型</i>
|
||||
@@ -18,7 +20,7 @@
|
||||
<div class="photo-detail__img" style="border: none;">
|
||||
<i>照片</i>
|
||||
<div class="photo-detail__img--imgs">
|
||||
<image v-for="(item, index) in info.files" @click="preview(item.url)" :key="index" :src="item.url" />
|
||||
<image v-for="(item, index) in info.files" @click="preview(item.url)" :key="index" :src="item.url"/>
|
||||
</div>
|
||||
<span v-if="info.files && !info.files.length">暂无照片</span>
|
||||
</div>
|
||||
@@ -32,7 +34,7 @@
|
||||
<div class="photo-detail__img" v-if="result.files.length">
|
||||
<i>照片</i>
|
||||
<div class="photo-detail__img--imgs">
|
||||
<image @click="previewResult(item.url)" v-for="(item, index) in result.files" :key="index" :src="item.url" />
|
||||
<image @click="previewResult(item.url)" v-for="(item, index) in result.files" :key="index" :src="item.url"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -40,166 +42,167 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
pageShow: false,
|
||||
info: {},
|
||||
result: {}
|
||||
}
|
||||
},
|
||||
export default {
|
||||
appName: "随手拍详情",
|
||||
data() {
|
||||
return {
|
||||
pageShow: false,
|
||||
info: {},
|
||||
result: {}
|
||||
}
|
||||
},
|
||||
|
||||
onLoad (query) {
|
||||
this.$loading()
|
||||
this.$dict.load(['clapEventStatus']).then(() => {
|
||||
this.getInfo(query.id)
|
||||
onLoad(query) {
|
||||
this.$loading()
|
||||
this.$dict.load(['clapEventStatus']).then(() => {
|
||||
this.getInfo(query.id)
|
||||
})
|
||||
},
|
||||
|
||||
methods: {
|
||||
getInfo(id) {
|
||||
this.$instance.post(`/app/appclapeventinfo/queryDetailById?id=${id}`).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.info = res.data
|
||||
if (res.data.eventStatus > 1) {
|
||||
this.result = res.data.processList[0]
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
this.pageShow = true
|
||||
})
|
||||
}
|
||||
|
||||
this.$hideLoading()
|
||||
}).catch(() => {
|
||||
this.$hideLoading()
|
||||
})
|
||||
},
|
||||
|
||||
methods: {
|
||||
getInfo (id) {
|
||||
this.$instance.post(`/app/appclapeventinfo/queryDetailById?id=${id}`).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.info = res.data
|
||||
if (res.data.eventStatus > 1) {
|
||||
this.result = res.data.processList[0]
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
this.pageShow = true
|
||||
})
|
||||
}
|
||||
previewResult(url) {
|
||||
uni.previewImage({
|
||||
urls: this.result.files.map(v => v.url),
|
||||
current: url
|
||||
})
|
||||
},
|
||||
|
||||
this.$hideLoading()
|
||||
}).catch(() => {
|
||||
this.$hideLoading()
|
||||
})
|
||||
},
|
||||
|
||||
previewResult (url) {
|
||||
uni.previewImage({
|
||||
urls: this.result.files.map(v => v.url),
|
||||
current: url
|
||||
})
|
||||
},
|
||||
|
||||
preview (url) {
|
||||
uni.previewImage({
|
||||
urls: this.info.files.map(v => v.url),
|
||||
current: url
|
||||
})
|
||||
}
|
||||
preview(url) {
|
||||
uni.previewImage({
|
||||
urls: this.info.files.map(v => v.url),
|
||||
current: url
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.photo-detail {
|
||||
padding: 32px;
|
||||
margin-bottom: 60px;
|
||||
background: #fff;
|
||||
.photo-detail {
|
||||
padding: 32px;
|
||||
margin-bottom: 60px;
|
||||
background: #fff;
|
||||
|
||||
& > h2 {
|
||||
line-height: 1.3;
|
||||
margin-bottom: 26px;
|
||||
color: #333333;
|
||||
text-align: justify;
|
||||
font-size: 40px;
|
||||
& > h2 {
|
||||
line-height: 1.3;
|
||||
margin-bottom: 26px;
|
||||
color: #333333;
|
||||
text-align: justify;
|
||||
font-size: 40px;
|
||||
}
|
||||
|
||||
.status-name {
|
||||
width: 96px;
|
||||
height: 44px;
|
||||
line-height: 44px;
|
||||
margin-bottom: 20px;
|
||||
text-align: center;
|
||||
background: #FF883C;
|
||||
color: #fff;
|
||||
font-size: 26px;
|
||||
border-radius: 8px;
|
||||
|
||||
&.status-1 {
|
||||
background: #1AAAFF;
|
||||
}
|
||||
|
||||
.status-name {
|
||||
width: 96px;
|
||||
height: 44px;
|
||||
line-height: 44px;
|
||||
margin-bottom: 20px;
|
||||
text-align: center;
|
||||
background: #FF883C;
|
||||
color: #fff;
|
||||
font-size: 26px;
|
||||
border-radius: 8px;
|
||||
|
||||
&.status-1 {
|
||||
background: #1AAAFF;
|
||||
}
|
||||
|
||||
&.status-2 {
|
||||
background: #42D784;
|
||||
}
|
||||
|
||||
&.status-3 {
|
||||
background: #FF4466;
|
||||
}
|
||||
&.status-2 {
|
||||
background: #42D784;
|
||||
}
|
||||
|
||||
.photo-detail__item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 112px;
|
||||
&.status-3 {
|
||||
background: #FF4466;
|
||||
}
|
||||
}
|
||||
|
||||
.photo-detail__item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 112px;
|
||||
font-size: 32px;
|
||||
border-bottom: 1px solid #DDDDDD;
|
||||
|
||||
i {
|
||||
color: #999999;
|
||||
font-size: 32px;
|
||||
border-bottom: 1px solid #DDDDDD;
|
||||
|
||||
i {
|
||||
color: #999999;
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
span {
|
||||
color: #333333;
|
||||
}
|
||||
}
|
||||
|
||||
.result {
|
||||
& > h2 {
|
||||
height: 116px;
|
||||
line-height: 116px;
|
||||
font-size: 38px;
|
||||
color: #333;
|
||||
font-weight: 600;
|
||||
border-top: 1px solid #DDDDDD;
|
||||
}
|
||||
|
||||
.result-info {
|
||||
h2 {
|
||||
height: 112px;
|
||||
line-height: 112px;
|
||||
color: #999999;
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
p {
|
||||
line-height: 1.3;
|
||||
padding-bottom: 32px;
|
||||
color: #333333;
|
||||
font-size: 32px;
|
||||
}
|
||||
}
|
||||
span {
|
||||
color: #333333;
|
||||
}
|
||||
}
|
||||
|
||||
.photo-detail__img {
|
||||
.result {
|
||||
& > h2 {
|
||||
height: 116px;
|
||||
line-height: 116px;
|
||||
font-size: 38px;
|
||||
color: #333;
|
||||
font-weight: 600;
|
||||
border-top: 1px solid #DDDDDD;
|
||||
padding: 32px 0;
|
||||
}
|
||||
|
||||
& > i {
|
||||
display: block;
|
||||
margin-bottom: 32px;
|
||||
.result-info {
|
||||
h2 {
|
||||
height: 112px;
|
||||
line-height: 112px;
|
||||
color: #999999;
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
.photo-detail__img--imgs {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
p {
|
||||
line-height: 1.3;
|
||||
padding-bottom: 32px;
|
||||
color: #333333;
|
||||
font-size: 32px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
image {
|
||||
width: 226px;
|
||||
height: 226px;
|
||||
margin: 0 9px 9px 0;
|
||||
.photo-detail__img {
|
||||
border-top: 1px solid #DDDDDD;
|
||||
padding: 32px 0;
|
||||
|
||||
&:nth-of-type(3n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
& > i {
|
||||
display: block;
|
||||
margin-bottom: 32px;
|
||||
color: #999999;
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
.photo-detail__img--imgs {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
image {
|
||||
width: 226px;
|
||||
height: 226px;
|
||||
margin: 0 9px 9px 0;
|
||||
|
||||
&:nth-of-type(3n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -104,6 +104,7 @@
|
||||
import {mapState} from 'vuex'
|
||||
|
||||
export default {
|
||||
appName:"上报随手拍",
|
||||
data() {
|
||||
return {
|
||||
isShowType: false,
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
appName:"上报随手拍",
|
||||
data () {
|
||||
return {
|
||||
id: ''
|
||||
|
||||
@@ -261,6 +261,7 @@
|
||||
import {mapState} from 'vuex'
|
||||
|
||||
export default {
|
||||
appName:"添加返乡记录",
|
||||
data() {
|
||||
return {
|
||||
isShowType: false,
|
||||
|
||||
@@ -4,15 +4,15 @@
|
||||
<h2>{{ info.name }}的返乡登记信息</h2>
|
||||
<div class="item-info">
|
||||
<div class="item-info__item">
|
||||
<image src="/static/img/from-icon.png" />
|
||||
<image src="/static/img/from-icon.png"/>
|
||||
<span>{{ info.startAreaName }}</span>
|
||||
</div>
|
||||
<div class="item-info__item">
|
||||
<image src="/static/img/to-icon.png" />
|
||||
<image src="/static/img/to-icon.png"/>
|
||||
<span>{{ info.arriveAreaName }}</span>
|
||||
</div>
|
||||
<div class="item-info__item">
|
||||
<image src="/static/img/to-date.png" />
|
||||
<image src="/static/img/to-date.png"/>
|
||||
<span>{{ info.arriveTime && info.arriveTime.substr(0, info.arriveTime.length - 3) }} 到达</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -40,7 +40,7 @@
|
||||
<label>手机号码</label>
|
||||
</div>
|
||||
<div class="right" @click="call(info.phone)" hover-class="text-hover">
|
||||
<image src="https://cdn.cunwuyun.cn/dvcp/h5/common/phone.png" />
|
||||
<image src="https://cdn.cunwuyun.cn/dvcp/h5/common/phone.png"/>
|
||||
<span style="color: #4181FF">{{ info.phone }}</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -49,7 +49,9 @@
|
||||
<label>人员类别</label>
|
||||
</div>
|
||||
<div class="right">
|
||||
<span :style="{color: info.type === '0' ? '#42D784' : '#FF4466'}">{{ $dict.getLabel('epidemicMemberType', info.type) }}</span>
|
||||
<span :style="{color: info.type === '0' ? '#42D784' : '#FF4466'}">{{
|
||||
$dict.getLabel('epidemicMemberType', info.type)
|
||||
}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -135,7 +137,9 @@
|
||||
<label>核酸检测结果</label>
|
||||
</div>
|
||||
<div class="right">
|
||||
<span :style="{color: info.checkResult === '0' ? '#42D784' : '#FF4466'}">{{ $dict.getLabel('epidemicRecentTestResult', info.checkResult) }}</span>
|
||||
<span :style="{color: info.checkResult === '0' ? '#42D784' : '#FF4466'}">{{
|
||||
$dict.getLabel('epidemicRecentTestResult', info.checkResult)
|
||||
}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="detail-info__item detail-info__item--img">
|
||||
@@ -143,7 +147,7 @@
|
||||
<label>本人健康码截图或核酸检测报告</label>
|
||||
</div>
|
||||
<div class="right">
|
||||
<image :src="item.url" @click="preview(item.url)" v-for="(item, index) in info.checkPhoto" :key="index" />
|
||||
<image :src="item.url" @click="preview(item.url)" v-for="(item, index) in info.checkPhoto" :key="index"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -162,7 +166,9 @@
|
||||
<label>14天内是否接触新冠确诊或疑似患者</label>
|
||||
</div>
|
||||
<div class="right">
|
||||
<span :style="{color: info.touchInFourteen === '0' ? '#42D784' : '#FF4466'}">{{ $dict.getLabel('epidemicTouchInFourteen', info.touchInFourteen) }}</span>
|
||||
<span :style="{color: info.touchInFourteen === '0' ? '#42D784' : '#FF4466'}">{{
|
||||
$dict.getLabel('epidemicTouchInFourteen', info.touchInFourteen)
|
||||
}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="detail-info__item">
|
||||
@@ -178,172 +184,173 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
info: {},
|
||||
pageShow: false
|
||||
}
|
||||
},
|
||||
export default {
|
||||
appName: "返乡登记详情",
|
||||
data() {
|
||||
return {
|
||||
info: {},
|
||||
pageShow: false
|
||||
}
|
||||
},
|
||||
|
||||
onLoad (query) {
|
||||
this.$loading()
|
||||
this.$dict.load(['epidemicRecentHealth', 'epidemicRecentTravel', 'epidemicTouchInFourteen', 'epidemicMemberType', 'epidemicRecentTestResult']).then(() => {
|
||||
this.getInfo(query.id)
|
||||
onLoad(query) {
|
||||
this.$loading()
|
||||
this.$dict.load(['epidemicRecentHealth', 'epidemicRecentTravel', 'epidemicTouchInFourteen', 'epidemicMemberType', 'epidemicRecentTestResult']).then(() => {
|
||||
this.getInfo(query.id)
|
||||
})
|
||||
},
|
||||
|
||||
methods: {
|
||||
preview(url) {
|
||||
uni.previewImage({
|
||||
urls: this.info.checkPhoto.map(v => v.url),
|
||||
current: url
|
||||
})
|
||||
},
|
||||
|
||||
methods: {
|
||||
preview (url) {
|
||||
uni.previewImage({
|
||||
urls: this.info.checkPhoto.map(v => v.url),
|
||||
current: url
|
||||
})
|
||||
},
|
||||
getInfo(id) {
|
||||
this.$instance.post(`/app/appepidemicbackhomerecord/queryDetailById?id=${id}`).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.info = res.data
|
||||
this.info.checkPhoto = JSON.parse(res.data.checkPhoto)
|
||||
let healthName = ''
|
||||
this.info.isHealth = false
|
||||
res.data.health.split(',').forEach(v => {
|
||||
if (v > 0) {
|
||||
this.info.isHealth = true
|
||||
}
|
||||
healthName = healthName + this.$dict.getLabel('epidemicRecentHealth', v)
|
||||
})
|
||||
this.info.healthName = healthName
|
||||
|
||||
getInfo (id) {
|
||||
this.$instance.post(`/app/appepidemicbackhomerecord/queryDetailById?id=${id}`).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.info = res.data
|
||||
this.info.checkPhoto = JSON.parse(res.data.checkPhoto)
|
||||
let healthName = ''
|
||||
this.info.isHealth = false
|
||||
res.data.health.split(',').forEach(v => {
|
||||
if (v > 0) {
|
||||
this.info.isHealth = true
|
||||
}
|
||||
healthName = healthName + this.$dict.getLabel('epidemicRecentHealth', v)
|
||||
})
|
||||
this.info.healthName = healthName
|
||||
this.$nextTick(() => {
|
||||
this.pageShow = true
|
||||
})
|
||||
}
|
||||
|
||||
this.$nextTick(() => {
|
||||
this.pageShow = true
|
||||
})
|
||||
}
|
||||
this.$hideLoading()
|
||||
})
|
||||
},
|
||||
|
||||
this.$hideLoading()
|
||||
})
|
||||
},
|
||||
|
||||
call (phone) {
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: phone
|
||||
})
|
||||
}
|
||||
call(phone) {
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: phone
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.detail {
|
||||
padding-bottom: 40px;
|
||||
.detail {
|
||||
padding-bottom: 40px;
|
||||
|
||||
.detail-header {
|
||||
padding: 32px;
|
||||
background: #fff;
|
||||
.detail-header {
|
||||
padding: 32px;
|
||||
background: #fff;
|
||||
|
||||
h2 {
|
||||
margin-bottom: 32px;
|
||||
color: #333333;
|
||||
font-size: 40px;
|
||||
font-weight: 600;
|
||||
h2 {
|
||||
margin-bottom: 32px;
|
||||
color: #333333;
|
||||
font-size: 40px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.item-info {
|
||||
.item-info__item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 8px;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
image {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
||||
span {
|
||||
color: #333;
|
||||
font-size: 28px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.detail-info {
|
||||
margin-top: 24px;
|
||||
padding: 0 32px;
|
||||
background: #fff;
|
||||
|
||||
& > h2 {
|
||||
height: 116px;
|
||||
line-height: 116px;
|
||||
font-size: 38px;
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.detail-info__item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 34px 0;
|
||||
border-bottom: 1px solid #DDDDDD;
|
||||
|
||||
&:last-child {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.item-info {
|
||||
.item-info__item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 8px;
|
||||
.left {
|
||||
display: flex;
|
||||
line-height: 1.3;
|
||||
max-width: 360px;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
label {
|
||||
position: relative;
|
||||
color: #999999;
|
||||
font-size: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
image {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-right: 16px;
|
||||
}
|
||||
.right {
|
||||
display: flex;
|
||||
max-width: 450px;
|
||||
|
||||
span {
|
||||
color: #333;
|
||||
font-size: 28px;
|
||||
}
|
||||
span {
|
||||
color: #333333;
|
||||
font-size: 32px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
image {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.detail-info {
|
||||
margin-top: 24px;
|
||||
padding: 0 32px;
|
||||
background: #fff;
|
||||
.detail-info__item--img {
|
||||
display: block;
|
||||
|
||||
& > h2 {
|
||||
height: 116px;
|
||||
line-height: 116px;
|
||||
font-size: 38px;
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
}
|
||||
.right {
|
||||
flex-wrap: wrap;
|
||||
max-width: 100%;
|
||||
margin-top: 34px;
|
||||
|
||||
.detail-info__item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 34px 0;
|
||||
border-bottom: 1px solid #DDDDDD;
|
||||
image {
|
||||
width: 226px;
|
||||
height: 226px;
|
||||
margin: 0 9px 9px 0;
|
||||
|
||||
&:last-child {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.left {
|
||||
display: flex;
|
||||
line-height: 1.3;
|
||||
max-width: 360px;
|
||||
|
||||
label {
|
||||
position: relative;
|
||||
color: #999999;
|
||||
font-size: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
.right {
|
||||
display: flex;
|
||||
max-width: 450px;
|
||||
|
||||
span {
|
||||
color: #333333;
|
||||
font-size: 32px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
image {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.detail-info__item--img {
|
||||
display: block;
|
||||
|
||||
.right {
|
||||
flex-wrap: wrap;
|
||||
max-width: 100%;
|
||||
margin-top: 34px;
|
||||
|
||||
image {
|
||||
width: 226px;
|
||||
height: 226px;
|
||||
margin: 0 9px 9px 0;
|
||||
|
||||
&:nth-of-type(3n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
&:nth-of-type(3n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user