|
@@ -18,8 +18,9 @@
|
|
<div class="hengIcon"></div>
|
|
<div class="hengIcon"></div>
|
|
<ul >
|
|
<ul >
|
|
<li v-for="(item, index) in doctorSystem" :key="id" @click="Jump(item.id)">
|
|
<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>
|
|
<div class="newcont">
|
|
<div class="newcont">
|
|
<h5>{{item.title}}</h5>
|
|
<h5>{{item.title}}</h5>
|
|
@@ -73,6 +74,7 @@ export default {
|
|
if (response.data.code === 1) {
|
|
if (response.data.code === 1) {
|
|
this.doctorSystem = response.data.responseData.records;
|
|
this.doctorSystem = response.data.responseData.records;
|
|
this.total = response.data.responseData.total;
|
|
this.total = response.data.responseData.total;
|
|
|
|
+ console.log(this.doctorSystem)
|
|
// console.log(response.data.responseData)
|
|
// console.log(response.data.responseData)
|
|
}
|
|
}
|
|
},
|
|
},
|