twt 1 yıl önce
ebeveyn
işleme
a1a0c9f401

+ 17 - 1
pages/addjk/activityDetail.vue

@@ -4,7 +4,12 @@
 			<img :src="img" alt="" class="topimg">
 		</view>
 		<view class="cont">
-			<view class="name">{{info.activityName}}</view>
+			<view class="name">
+			  <view class="ptNameBz" v-if="info.groupType">
+			  				  {{info.groupNumber}}人团
+			  </view>
+			  <view style="width: 550rpx;">{{info.activityName}}</view>
+			</view>
 			<view class="name2" v-if="info.startTime">{{info.startTime.slice(0,10)}}~{{info.endTime.slice(0,10)}}</view>
 			<view class="name3">{{info.activityContent}}</view>
 		</view>
@@ -340,6 +345,17 @@
 </script>
 
 <style scoped>
+	.ptNameBz{
+		font-weight: 500;line-height: 32rpx;
+	    font-size: 22rpx;height: 32rpx;
+		color: #FD0F00;margin-top: 5rpx;margin-right: 10rpx;
+		background: url('http://dmsphoto.66km.com.cn/thFiles/2AF1130F-C318-45D3-B057-FA0728B41046.png') no-repeat;
+		background-size: 100% 100%;
+		padding-left: 64rpx;padding-right: 4rpx;
+	}
+	.name{
+		display: flex;
+	}
 	.mp3Img{
 	 /* transform: translate(-1584.4%, 121.5%) scale(1); */
 	  position: fixed;

+ 1 - 1
pages/addjk/choice.vue

@@ -118,7 +118,7 @@
 			   		 that.file=tempFilePaths[0];
 					 that.$refs.wCompress.start(that.file, {
 					             pixels: 600000,  // 最大分辨率,默认二百万
-					             quality: 0.9,     // 压缩质量,默认0.8
+					             quality: 0.8,     // 压缩质量,默认0.8
 					             type: 'png',      // 图片类型,默认jpg
 					             base64: true,     // 是否返回base64,默认false,非H5有效
 					           }).then(resxx => {

+ 2 - 1
pages/addjk/jkDetail.vue

@@ -8,7 +8,8 @@
 			  <view class="ptNameBz" v-if="info.groupType">
 			  				  {{info.groupNumber}}人团
 			  </view>
-			{{info.activityName}}</view>
+			  <view style="width: 550rpx;">{{info.activityName}}</view>
+			</view>
 			<view class="name2">{{info.startTime.slice(0,10)}}~{{info.endTime.slice(0,10)}}</view>
 			<view class="name3">{{info.activityContent}}</view>
 		</view>