增加 健康宣教 栏目

main
yanzai 1 year ago
parent 9a0a4ce594
commit f18f95406f

@ -23,10 +23,10 @@ class ArticleController extends Controller
$data=[ $data=[
'title'=>$Info['title'], 'title'=>$Info['title'],
'type'=>$Info['type'], 'type'=>$Info['type'],
'head_img'=>$Info['head_img'], 'head_img'=>isset($Info['head_img'])?$Info['head_img']:'',
'content'=>$Info['content'], 'content'=>isset($Info['content'])?$Info['content']:'',
'author'=>$Info['author'], 'author'=>isset($Info['author'])?$Info['author']:'',
'order'=>$Info['order'], 'order'=>isset($Info['order'])?$Info['order']:0,
]; ];
$do=false; $do=false;
if($Info['id']===0){ if($Info['id']===0){

@ -96,12 +96,12 @@ class HomeController extends Controller
'jump' => '/pages/main/bgcx/bgcx', 'jump' => '/pages/main/bgcx/bgcx',
'icon' => '/assets/h5/a_baogaochaxun.png' 'icon' => '/assets/h5/a_baogaochaxun.png'
], ],
// [ [
// 'message' => '暂未开放', 'message' => '',
// 'name' => '检后复查', 'name' => '健康宣教',
// 'jump' => '/pages/main/cjwt/cjwt', 'jump' => '/pages/posts/posts/posts?type=4',
// 'icon' => '/assets/h5/a_jianhoufucha.png' 'icon' => '/assets/h5/a_jiankangzhidao.png'
// ], ],
[ [
'message' => '', 'message' => '',

@ -14,6 +14,7 @@
<el-radio-button :label="1">健康指导</el-radio-button> <el-radio-button :label="1">健康指导</el-radio-button>
<el-radio-button :label="2">注意事项</el-radio-button> <el-radio-button :label="2">注意事项</el-radio-button>
<el-radio-button :label="3">院内介绍</el-radio-button> <el-radio-button :label="3">院内介绍</el-radio-button>
<el-radio-button :label="4">健康宣教</el-radio-button>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
</el-row> </el-row>

@ -63,7 +63,7 @@ import DraggableButton from "@/pages/components/goHome.vue";
<view :ref="configRef"></view> <view :ref="configRef"></view>
</view> </view>
<view> <view>
<view v-if="[1,2].includes(Number($props.type))"> <view v-if="[1,2,4].includes(Number($props.type))">
<List1 :list="posts" :type="Number($props.type)"></List1> <List1 :list="posts" :type="Number($props.type)"></List1>
</view> </view>
<view v-if="[3].includes(Number($props.type))"> <view v-if="[3].includes(Number($props.type))">

@ -25,6 +25,9 @@
}, { }, {
title: '注意事项', title: '注意事项',
desc: 'Physical Examination Notices' desc: 'Physical Examination Notices'
}, {
title: '健康宣教',
desc: 'Health Education'
}]) }])
const $props = defineProps({ const $props = defineProps({

Loading…
Cancel
Save