tijiao
This commit is contained in:
@@ -56,7 +56,7 @@
|
|||||||
>
|
>
|
||||||
<view
|
<view
|
||||||
class="detail_top_left"
|
class="detail_top_left"
|
||||||
:style="`${page ? 'width:100%;padding-bottom:0' : ''}`"
|
:style="`${page ? 'padding-bottom:0' : ''}`"
|
||||||
>
|
>
|
||||||
<view class="detail_top_item">
|
<view class="detail_top_item">
|
||||||
<view class="detail_top_item_name">
|
<view class="detail_top_item_name">
|
||||||
@@ -87,6 +87,12 @@
|
|||||||
v-if="statusId == 3 && !page && !isEvaluate"
|
v-if="statusId == 3 && !page && !isEvaluate"
|
||||||
src="../../static/icon/jiancezhong.png"
|
src="../../static/icon/jiancezhong.png"
|
||||||
></image>
|
></image>
|
||||||
|
<image
|
||||||
|
class="image_box"
|
||||||
|
style="width: 160rpx"
|
||||||
|
v-if="statusId == 6 && page=='talents' && !isEvaluate"
|
||||||
|
src="../../static/icon/jingpinganli.png"
|
||||||
|
></image>
|
||||||
<!-- <image
|
<!-- <image
|
||||||
class="image_box"
|
class="image_box"
|
||||||
v-if="(statusId == 5) && !page && !isEvaluate"
|
v-if="(statusId == 5) && !page && !isEvaluate"
|
||||||
|
|||||||
@@ -77,13 +77,13 @@
|
|||||||
<view
|
<view
|
||||||
v-for="(item, index) in medicalRecords"
|
v-for="(item, index) in medicalRecords"
|
||||||
:key="index"
|
:key="index"
|
||||||
style="text-decoration: underline;display: flex;align-items: center;"
|
style="text-decoration: underline;display: flex;align-items: center;margin-top: 10rpx;"
|
||||||
@click="goToMedicalRecordsDetail(item)"
|
@click="goToMedicalRecordsDetail(item)"
|
||||||
>{{index+1}}. {{ item.title }}
|
>{{index+1}}. {{ item.title }}
|
||||||
<image
|
<image
|
||||||
v-if="item.train == 1"
|
v-if="item.state == 6"
|
||||||
src="../../static/icon/jing.png"
|
src="../../static/icon/jing2.png"
|
||||||
style="width: 18px; height: 18px;margin-top: -10rpx;margin-left: 20rpx;"
|
style="width: 24px; height: 24px;margin-top: -5rpx;margin-left: 20rpx;"
|
||||||
></image>
|
></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -187,15 +187,16 @@ export default {
|
|||||||
},
|
},
|
||||||
//跳转到课程详情
|
//跳转到课程详情
|
||||||
goToMedicalRecordsDetail(item) {
|
goToMedicalRecordsDetail(item) {
|
||||||
|
console.log('item at line 189:', item)
|
||||||
var navTitle=''
|
var navTitle=''
|
||||||
if(item.train==1){
|
if(item.state==6){
|
||||||
navTitle='精品医案'
|
navTitle='精品医案'
|
||||||
}else{
|
}else{
|
||||||
navTitle='医案详情'
|
navTitle='医案详情'
|
||||||
}
|
}
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:
|
url:
|
||||||
`/pages/medicalRecords/medical?navTitle=${navTitle}&title=${navTitle}&id=${item.id}&type=detail&statusId=3&page=talents`
|
`/pages/medicalRecords/medical?navTitle=${navTitle}&title=${navTitle}&id=${item.id}&type=detail&statusId=${item.state}&page=talents`
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user