Browse Source

考试弹窗

wangxy 2 months ago
parent
commit
db36e3901e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      components/identification/identification.vue

+ 2 - 1
components/identification/identification.vue

@@ -8,7 +8,8 @@
 				<view class="ksxz-content-box">
 				<view class="ksxz-content-box">
 					<view class="phone-name-box">
 					<view class="phone-name-box">
 						<!-- #ifdef H5 -->
 						<!-- #ifdef H5 -->
-							<img :src="data.icon" alt="">
+							<img :src="data.icon" v-if="data.icon" alt="">
+							<icon class="head-icon" v-else></icon>
 						<!-- <image :src="data.icon" /> -->
 						<!-- <image :src="data.icon" /> -->
 						<!-- #endif -->
 						<!-- #endif -->
 					</view>
 					</view>