dever hace 5 años
padre
commit
7f0c19ac9e
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      lib/community/y-DiaryItem/y-DiaryItem.vue

+ 3 - 3
lib/community/y-DiaryItem/y-DiaryItem.vue

@@ -3,9 +3,9 @@
 		<view class="cu-item shadow">
 			<view class="cu-list menu-avatar">
 				<view class="cu-item">
-					<image :src="item.user.avatar" mode="widthFix" class="cu-avatar round lg"></image>
+					<image :src="item.user.avatar" mode="widthFix" class="cu-avatar round lg" @click="Dever.viewPic([item.user.avatar], item.user.avatar)"></image>
 					<view class="content flex-sub">
-						<view>{{ item.user.username }}</view>
+						<view>{{ item.user.username }}<text v-if="item.user.title" style="margin-left:10rpx">({{item.user.title}})</text></view>
 						<view class="text-gray text-sm flex justify-between">
 							{{ item.cdate_string }}
 						</view>
@@ -50,7 +50,7 @@
 							<text class="text-grey" v-if="v.to_uid > 0">回复@{{v.to_user.username}}:</text> {{v.content}}
 						</view>
 						<view class="margin-top-sm flex justify-between">
-							<view class="text-gray text-df">{{v.cdate_string}}</view>
+							<view class="text-gray text-df" style="width: max-content;">{{v.cdate_string}}</view>
 							<view class="text-gray">
 								<view class="icon-display" @click="updateOppose(v)">
 									<text class="cuIcon-flashbuyfill margin-lr-xs" :class="v.is_oppose ? 'text-red' : ''"></text> {{v.num_oppose}}