Commit 035387dc authored by 罗林杰's avatar 罗林杰

修改样式

parent aa965e0c
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
</view> </view>
</view> </view>
<view class="right"> <view class="right" v-if="userInfoId == userId">
<u-tag v-if="info.examStatus === '0'" plain plainFill text="未审核" type="info"/> <u-tag v-if="info.examStatus === '0'" plain plainFill text="未审核" type="info"/>
<u-tag v-if="info.examStatus === '1'" plain plainFill text="审核通过" type="success"/> <u-tag v-if="info.examStatus === '1'" plain plainFill text="审核通过" type="success"/>
<u-tag v-if="info.examStatus === '2' || info.examStatus === '3'" plain plainFill text="未通过" type="error"/> <u-tag v-if="info.examStatus === '2' || info.examStatus === '3'" plain plainFill text="未通过" type="error"/>
...@@ -122,7 +122,11 @@ ...@@ -122,7 +122,11 @@
info: { info: {
type: Object, type: Object,
default: () => {} default: () => {}
} },
userId: {
type: String,
default: () => ''
}
}, },
watch: { watch: {
info: { info: {
...@@ -156,6 +160,7 @@ ...@@ -156,6 +160,7 @@
imgLayout2: [220, 220], imgLayout2: [220, 220],
imgLayout3: [160, 160], imgLayout3: [160, 160],
show: false, show: false,
userInfoId: uni.getStorageSync('userInfo').businessId,
//右上角三个点的操作项 //右上角三个点的操作项
list: [{ list: [{
name: '删除', name: '删除',
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<z-paging ref="paging" v-model="dataList" @query="queryList" :fixed="true"> <z-paging ref="paging" v-model="dataList" @query="queryList" :fixed="true">
<view :style="{'margin-top':navHeight+'px'}"> <view :style="{'margin-top':navHeight+'px'}">
<view v-for="(item,index) in dataList" :key="item.id"> <view v-for="(item,index) in dataList" :key="item.id">
<ItemVue :info="item" @praise="praise"/> <ItemVue :info="item" @praise="praise" :userId="userId"/>
</view> </view>
</view> </view>
</z-paging> </z-paging>
...@@ -44,7 +44,8 @@ export default { ...@@ -44,7 +44,8 @@ export default {
menuButtonInfo:'', menuButtonInfo:'',
navHeight:'', navHeight:'',
type:'', type:'',
title:'' title:'',
userId:''
} }
}, },
props: { props: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment