Showing
1 changed file
with
11 additions
and
9 deletions
| 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,14 +9,16 @@ | ... | @@ -9,14 +9,16 @@ |
| 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 class="text-tel">电话联系</div> | 12 | + <div v-if="item.component_props.tel"> |
| 13 | - <div> | 13 | + <div class="text-tel">电话联系</div> |
| 14 | - <a | 14 | + <div> |
| 15 | - :style="{ color: styleColor.baseColor }" | 15 | + <a |
| 16 | - :href="`tel:${item.component_props.tel}`" | 16 | + :style="{ color: styleColor.baseColor }" |
| 17 | - > | 17 | + :href="`tel:${item.component_props.tel}`" |
| 18 | - {{ item.component_props.tel }} | 18 | + > |
| 19 | - </a> | 19 | + {{ item.component_props.tel }} |
| 20 | + </a> | ||
| 21 | + </div> | ||
| 20 | </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> | ... | ... |
-
Please register or login to post a comment