From 17efddc6a667670dca682bf36b51a43e99615e6d Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 16 十月 2024 15:59:38 +0800
Subject: [PATCH] 代码初始化

---
 h5/pages/visitorSubGuide/index.vue |   44 +++++++++++++++++++++++++++-----------------
 1 files changed, 27 insertions(+), 17 deletions(-)

diff --git a/h5/pages/visitorSubGuide/index.vue b/h5/pages/visitorSubGuide/index.vue
index 5760f18..6b6238c 100644
--- a/h5/pages/visitorSubGuide/index.vue
+++ b/h5/pages/visitorSubGuide/index.vue
@@ -1,27 +1,37 @@
 <template>
-	<view class="box">
-    <view class="line" v-for="item,i in guideList" :key="i">{{ item }}</view>
+  <view class="box">
+    <view v-html="info"></view>
   </view>
 </template>
 <script>
-	export default {
-		data() {
-			return {
-				guideList: [
-          '1銆佽瀹㈤槄璇诲叆鍘傞』鐭ワ紝濉啓瀹夊叏绛旈銆�',
-          '2銆佺瓟棰樺畬鎴愰绾︺��',
-          '3銆侀绾﹀畬鎴愯鑷宠瀹㈡満绛惧埌銆�',
-          '4銆佸埛鑴稿叆鍥��',
-          '5銆佸嚭鍥绂�',
-        ]
-			};
-		}
-	}
+import { getSystemDictData } from '@/api'
+export default {
+  data() {
+    return {
+      info: "",
+    }
+  },
+  onLoad() {
+    this.initData()
+  },
+  methods: {
+    initData() {
+      getSystemDictData({
+        dictCode: 'SYSTEM',
+        label: 'VISIT_TIPS'
+      }).then(res => {
+        if (res.code === 200) {
+          this.info = res.data.code
+        }
+      })
+    }
+  }
+}
 </script>
 <style lang="scss" scoped>
-.box{
+.box {
   padding: 30rpx;
-  .line{
+  .line {
     margin-bottom: 16rpx;
   }
 }

--
Gitblit v1.9.3