|
@@ -18,8 +18,9 @@
|
|
|
<div class="hengIcon"></div>
|
|
|
<ul >
|
|
|
<li v-for="(item, index) in doctorSystem" :key="id" @click="Jump(item.id)">
|
|
|
- <div class="left pic">
|
|
|
- <img :src="item.photoUrl">
|
|
|
+ <div class="left pic" >
|
|
|
+ <img v-if="item.photoUrl !== null" :src="item.photoUrl">
|
|
|
+ <img v-if="item.photoUrl === null" src="../assets/image/xinwen.jpg">
|
|
|
</div>
|
|
|
<div class="newcont">
|
|
|
<h5>{{item.title}}</h5>
|
|
@@ -73,6 +74,7 @@ export default {
|
|
|
if (response.data.code === 1) {
|
|
|
this.doctorSystem = response.data.responseData.records;
|
|
|
this.total = response.data.responseData.total;
|
|
|
+ console.log(this.doctorSystem)
|
|
|
// console.log(response.data.responseData)
|
|
|
}
|
|
|
},
|