zouling 6 kuukautta sitten
vanhempi
commit
eb11194cdf
3 muutettua tiedostoa jossa 8 lisäystä ja 6 poistoa
  1. 2 2
      manifest.json
  2. 2 0
      pages/video/index.vue
  3. 4 4
      work/components/yuyue/list.vue

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "智慧园区",
     "appid" : "__UNI__9ACE566",
     "description" : "",
-    "versionName" : "1.0.6",
-    "versionCode" : 106,
+    "versionName" : "1.0.7",
+    "versionCode" : 107,
     "transformPx" : false,
     "app-plus" : {
         "usingComponents" : true,

+ 2 - 0
pages/video/index.vue

@@ -360,12 +360,14 @@
 		},
 		getCameraVideo(){
 			// 设备
+			this.videourl='';
 			getCameraVideo(this.indexCode).then(res=>{
 				if(res.code==200){
 					var data=res.data.data;
 					if(data){
 						this.videourl=data.url;
 						// #ifdef H5
+						this.flv_destroy()
 						this.getLivePlayer()
 						// #endif	
 					}

+ 4 - 4
work/components/yuyue/list.vue

@@ -174,13 +174,13 @@
 					<image :src="dayc" class="dayimg"></image>
 					<view class="mentit">{{ite.menuFoodDetailBk}}</view>
 				</view> -->
-				<view class="mentopa" v-if="ite.menuFoodDetailLu">
+				<view class="mentopa">
 					<image :src="daya" class="dayimg"></image>
-					<view class="mentit">{{ite.menuFoodDetailLu}}</view>
+					<view class="mentit">{{ite.menuFoodDetailLu||'无'}}</view>
 				</view>
-				<view class="mentopa" v-if="ite.menuFoodDetailDi">
+				<view class="mentopa">
 					<image :src="dayb" class="dayimg"></image>
-					<view class="mentit">{{ite.menuFoodDetailDi}}</view>
+					<view class="mentit">{{ite.menuFoodDetailDi||'无'}}</view>
 				</view>
 			</view>
 			<view class="menbtn flexc">