Browse Source

修改bug

ck110 2 weeks ago
parent
commit
6dd42be5da

+ 1 - 1
components/DialogBoxW3/DialogBoxW3.scss

@@ -31,7 +31,7 @@
 .dialog-box{
 	background-color: #28292D;
 	width:572rpx;height:356rpx;
-	background: url('http://c.yujianmate.com/images/v1/dialog_bg.png');
+	background: url('http://c.yujianmate.com/images/v1/w3/dialog_bg.png');
 	background-size: 572rpx 356rpx;
 	border-radius: 24rpx;
 	overflow: hidden;

+ 5 - 0
pages/article/article.scss

@@ -57,6 +57,7 @@ page {
 	.item {
 		width: 690rpx;margin: 0rpx 0;color:#fff;font-size: 28rpx;padding:20rpx 0 0rpx;
 		display: flex;flex-direction: row;justify-content: flex-start;align-items: center;
+		
 		.avator {
 			width:88rpx;
 			.icon {
@@ -159,5 +160,9 @@ page {
 				margin-top:-8rpx;
 			}
 		}
+		
+	}
+	.line {
+		background-color: #282828;width:100%;height:12rpx;
 	}
 }

+ 4 - 2
pages/article/article.vue

@@ -43,7 +43,8 @@
 					{{item.content}}
 				</view>
 				<view class="photo_list">
-					<view class="img" v-for="(item2,index2) in toArr(item.images)" :key="index2" @click="previewOpen(item.images,index2)" v-if="item2 != ''">
+					<view class="img" v-for="(item2,index2) in toArr(item.images)" :key="index2"
+						@click="previewOpen(item.images,index2)" v-if="item2 != ''">
 						<image class="icon" :src="item2" mode="aspectFill"></image>
 					</view>
 				</view>
@@ -63,6 +64,7 @@
 					</view>
 
 				</view>
+				<view class="line"></view>
 			</block>
 
 			<view class="blankHeight"></view>
@@ -114,7 +116,7 @@
 				return arr;
 			},
 			//打开预览e
-			previewOpen(imgs1,index) {
+			previewOpen(imgs1, index) {
 				this.imgs = imgs1.split("|");
 				// this.descs = [];
 				// for (var i = 0; i < this.imgs.length; i++) {

+ 2 - 3
pages/chat/components/message.vue

@@ -242,9 +242,8 @@
 			// 图片预览
 			previewImage(item) {
 				uni.previewImage({
-					current: item.payload.imageInfoArray[0].imageUrl,
-					urls: this.list.filter((e) => e._mode == "image").map((e) => e.payload.imageInfoArray[0]
-						.imageUrl),
+					current: item.payload.url,
+					urls: this.list.filter((e) => e._mode == "image").map((e) => e.payload.url),
 				});
 			},
 

+ 6 - 5
pages/index/peopleHome.vue

@@ -4,7 +4,7 @@
 			<view class="list">
 				<view class="img" :class="selImg==index?'active':''" v-for="(item,index) in image_list" :key="index"
 					@click="selPhoto(item,index)">
-					<image :src="item" mode="widthFix"></image>
+					<image :src="item" mode="aspectFill"></image>
 				</view>
 			</view>
 		</view>
@@ -50,7 +50,7 @@
 				<block v-for="(item,index) in myinfo.article_list" :key="index">
 					<view class="item">
 						<view class="avator">
-							<image class="icon" :src="item.avator" mode="widthFix">
+							<image class="icon" :src="item.avator" mode="aspectFill">
 							</image>
 						</view>
 						<view class="tit">
@@ -80,7 +80,8 @@
 						{{item.content}}
 					</view>
 					<view class="photo_list">
-						<view class="img" v-for="(item2,index2) in toArr(item.images)" :key="index2"  @click="previewOpen(item.images,index2)" v-if="item2 != ''">
+						<view class="img" v-for="(item2,index2) in toArr(item.images)" :key="index2"
+							@click="previewOpen(item.images,index2)" v-if="item2 != ''">
 							<image class="icon" :src="item2" mode="aspectFill"></image>
 						</view>
 					</view>
@@ -182,7 +183,7 @@
 		},
 		onLoad(parms) {
 			let self = this;
-			this.userID = parms.uid || 1;
+			this.userID = parms.uid || 1069;
 		},
 		onShow() {
 			uni.$emit('check_update');
@@ -219,7 +220,7 @@
 				let arr = imgs.split("|");
 				return arr;
 			},
-			previewOpen(imgs1,index) {
+			previewOpen(imgs1, index) {
 				this.imgs = imgs1.split("|");
 				this.$refs.previewImage.open(index || 1); // 传入当前选中的图片地址或序号
 				return; //如需测试和uni原生预览差别可注释这两行

+ 1 - 1
pages/my/my.vue

@@ -9,7 +9,7 @@
 					<view class="right" @click="goPage('/pages/my/editInfo')">
 						<view class="nickname">
 							<text>{{myinfo.nickname}}</text>
-							<image src="../../static/me/icon_vip.png" mode="widthFix" />
+							<image src="../../static/me/icon_vip.png" mode="widthFix" v-if="myinfo.is_vip > 0" />
 							<view class="siming" v-if="myinfo.is_idcheck > 1">已实名</view>
 						</view>
 						<view class="join_date">