| | |
| | | <template> |
| | | <view class="box"> |
| | | <view class="line" v-for="(item, i) in guideList" :key="i">{{ item }}</view> |
| | | <view v-html="info"></view> |
| | | </view> |
| | | </template> |
| | | <script> |
| | | import { getSystemDictData } from '@/api' |
| | | export default { |
| | | data() { |
| | | return { |
| | | guideList: [ |
| | | '1、访客阅读入园须知,填写安全答题。', |
| | | '2、答题完成预约。', |
| | | '3、预约完成请至访客机签到。', |
| | | '4、刷脸入园。', |
| | | '5、出园签离', |
| | | ] |
| | | info: "", |
| | | } |
| | | }, |
| | | onLoad() { |
| | | this.initData() |
| | | }, |
| | | methods: { |
| | | initData() { |
| | | getSystemDictData({ |
| | | dictCode: 'SYSTEM', |
| | | label: 'VISIT_TIPS' |
| | | }).then(res => { |
| | | if (res.code === 200) { |
| | | this.info = res.data.code |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | } |