twt hace 3 semanas
padre
commit
f77253581e
Se han modificado 3 ficheros con 11 adiciones y 5 borrados
  1. 8 3
      pages/activity/jkDetail.vue
  2. 2 1
      pages/shop/goodsDetail.vue
  3. 1 1
      pages/user/reportUni.vue

+ 8 - 3
pages/activity/jkDetail.vue

@@ -93,7 +93,8 @@
 						<view class="signupLineLName" v-if="item.nickName!='null'">{{item.nickName?item.nickName:'微信用户'}}</view>
 						<view class="signupLineLName" v-else>微信用户</view>
 					</view>
-					<view class="signupLineM">{{item.plateNumber?item.plateNumber:''}}</view>
+					<view class="signupLineM" v-if="item.plateNumber">{{item.plateNumber | maskLicensePlate}}</view>
+					<view class="signupLineM" v-else></view>
 					<view class="signupLineR">{{item.signTime}}</view>
 				</view>
 			</view>
@@ -476,7 +477,7 @@
 			this.bgmMusic.stop()
 		},
 		
-		
+	
 		methods: {
 			ptMore(){
 				this.djsMoreShow=true;
@@ -1083,7 +1084,11 @@
 			            const twtxt = `0 : 0 : 0 `
 			            return twtxt;
 			         }
-			    }
+			    },
+				maskLicensePlate(value) {
+							
+				 // return value.replace(/(\w{1})(\w{3})(\w{1})/, '$1***$3');
+				}
 			    
 		   },
 		beforeCreate: function () {

+ 2 - 1
pages/shop/goodsDetail.vue

@@ -5,7 +5,8 @@
 			<swiper-item v-for="(item,index) in info.ImgList">
 				<view class="swiper-item">
 					<img mode="aspectFit" :src="item.url" alt="" class="swiper-itemImg" v-if="item.bizType==1">
-					<video :src="item.url" v-if="item.bizType==2" show-fullscreen-btn controls style="width: 100%;height: 100%;"></video>
+					<!-- <video :loop="false" src="http://dmsphoto.66km.com.cn/marketing/47B0933C-1542-4E77-8A72-FC7F30A877B4.mp4" v-if="item.bizType==2" show-fullscreen-btn controls style="width: 100%;height: 100%;"></video> -->
+					 <video :loop="false" :src="item.url" v-if="item.bizType==2" show-fullscreen-btn controls style="width: 100%;height: 100%;"></video>
 				</view>
 			</swiper-item>
 			

+ 1 - 1
pages/user/reportUni.vue

@@ -197,7 +197,7 @@
 									
 
 									<view class="video-wrapper" v-if="item.showVideo">
-										<video :src="item.VideoURL"></video>
+										<video :loop="false" :src="item.VideoURL"></video>
 										<!-- <video-player class="vjs-custom-skin" :options="getPlayerOptions(item.VideoURL)"></video-player> -->
 									</view>
 									<view class="car-report-remarks" v-if="item.SectionType&&item.Comment">