hookehuyr

fix 联系我们组件,电话联系没有填隐藏

1 <!-- 1 <!--
2 * @Date: 2022-11-23 14:41:53 2 * @Date: 2022-11-23 14:41:53
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2023-01-06 19:04:00 4 + * @LastEditTime: 2024-03-14 13:58:09
5 * @FilePath: /data-table/src/components/ContactField/index.vue 5 * @FilePath: /data-table/src/components/ContactField/index.vue
6 * @Description: 联系我们控件 6 * @Description: 联系我们控件
7 --> 7 -->
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
9 <div v-if="HideShow" class="contact-field-page"> 9 <div v-if="HideShow" class="contact-field-page">
10 <van-popover v-model:show="showPopover" placement="left"> 10 <van-popover v-model:show="showPopover" placement="left">
11 <div class="contact-content"> 11 <div class="contact-content">
12 + <div v-if="item.component_props.tel">
12 <div class="text-tel">电话联系</div> 13 <div class="text-tel">电话联系</div>
13 <div> 14 <div>
14 <a 15 <a
...@@ -18,6 +19,7 @@ ...@@ -18,6 +19,7 @@
18 {{ item.component_props.tel }} 19 {{ item.component_props.tel }}
19 </a> 20 </a>
20 </div> 21 </div>
22 + </div>
21 <div v-if="item.component_props.image_url"> 23 <div v-if="item.component_props.image_url">
22 <div class="text-qr_code">微信联系</div> 24 <div class="text-qr_code">微信联系</div>
23 <van-image width="100" height="100" :src="item.component_props.image_url" /> 25 <van-image width="100" height="100" :src="item.component_props.image_url" />
......