|
|
|
@ -41,7 +41,7 @@
|
|
|
|
|
<image class="img" mode="heightFix" :src="staticImage.feedGun" /> |
|
|
|
|
</view> |
|
|
|
|
<view class="feed-content"> |
|
|
|
|
<u-collapse :value="['collapse']"> |
|
|
|
|
<u-collapse :value="collapseValue"> |
|
|
|
|
<u-collapse-item |
|
|
|
|
name="collapse" |
|
|
|
|
title="水碗饭碗" |
|
|
|
@ -66,7 +66,7 @@
|
|
|
|
|
<view class="row"> |
|
|
|
|
<view class="col-3" v-for="item in detail.feedlist.meal_imgs"> |
|
|
|
|
<view class="" v-if="item.type === 'image'" style="margin-right:10rpx;"> |
|
|
|
|
<u-image mode="aspectFill" width="100%" height="200rpx" :src="item.url" @click="showImage(item.url)"></u-image> |
|
|
|
|
<u-image :fade="false" mode="aspectFill" width="100%" height="200rpx" :src="item.url" @click="showImage(item.url)"></u-image> |
|
|
|
|
</view> |
|
|
|
|
<view class="" v-else> |
|
|
|
|
<video :src="item.url" style="height:200rpx;width:100%;"></video> |
|
|
|
@ -76,7 +76,7 @@
|
|
|
|
|
</u-collapse-item> |
|
|
|
|
|
|
|
|
|
</u-collapse> |
|
|
|
|
<u-collapse :value="['collapse']"> |
|
|
|
|
<u-collapse :value="collapseValue"> |
|
|
|
|
<u-collapse-item |
|
|
|
|
name="collapse" |
|
|
|
|
title="主食情况" |
|
|
|
@ -101,7 +101,7 @@
|
|
|
|
|
<view class="row"> |
|
|
|
|
<view class="col-3" v-for="item in detail.feedlist.food_imgs"> |
|
|
|
|
<view class="" v-if="item.type === 'image'" style="margin-right:10rpx;"> |
|
|
|
|
<u-image mode="aspectFill" width="100%" height="200rpx" :src="item.url" @click="showImage(item.url)"></u-image> |
|
|
|
|
<u-image :fade="false" mode="aspectFill" width="100%" height="200rpx" :src="item.url" @click="showImage(item.url)"></u-image> |
|
|
|
|
</view> |
|
|
|
|
<view class="" v-else> |
|
|
|
|
<video :src="item.url" style="height:200rpx;width:100%;"></video> |
|
|
|
@ -111,7 +111,7 @@
|
|
|
|
|
</u-collapse-item> |
|
|
|
|
|
|
|
|
|
</u-collapse> |
|
|
|
|
<u-collapse :value="['collapse']"> |
|
|
|
|
<u-collapse :value="collapseValue"> |
|
|
|
|
<u-collapse-item |
|
|
|
|
name="collapse" |
|
|
|
|
title="零食小吃" |
|
|
|
@ -136,7 +136,7 @@
|
|
|
|
|
<view class="row"> |
|
|
|
|
<view class="col-3" v-for="item in detail.feedlist.snack_imgs"> |
|
|
|
|
<view class="" v-if="item.type === 'image'" style="margin-right:10rpx;"> |
|
|
|
|
<u-image mode="aspectFill" width="100%" height="200rpx" :src="item.url" @click="showImage(item.url)"></u-image> |
|
|
|
|
<u-image :fade="false" mode="aspectFill" width="100%" height="200rpx" :src="item.url" @click="showImage(item.url)"></u-image> |
|
|
|
|
</view> |
|
|
|
|
<view class="" v-else> |
|
|
|
|
<video :src="item.url" style="height:200rpx;width:100%;"></video> |
|
|
|
@ -146,7 +146,7 @@
|
|
|
|
|
</u-collapse-item> |
|
|
|
|
|
|
|
|
|
</u-collapse> |
|
|
|
|
<u-collapse :value="['collapse']"> |
|
|
|
|
<u-collapse :value="collapseValue"> |
|
|
|
|
<u-collapse-item |
|
|
|
|
name="collapse" |
|
|
|
|
title="喂药擦药" |
|
|
|
@ -171,7 +171,7 @@
|
|
|
|
|
<view class="row"> |
|
|
|
|
<view class="col-3" v-for="item in detail.feedlist.drug_imgs"> |
|
|
|
|
<view class="" v-if="item.type === 'image'" style="margin-right:10rpx;"> |
|
|
|
|
<u-image mode="aspectFill" width="100%" height="200rpx" :src="item.url" @click="showImage(item.url)"></u-image> |
|
|
|
|
<u-image :fade="false" mode="aspectFill" width="100%" height="200rpx" :src="item.url" @click="showImage(item.url)"></u-image> |
|
|
|
|
</view> |
|
|
|
|
<view class="" v-else> |
|
|
|
|
<video :src="item.url" style="height:200rpx;width:100%;"></video> |
|
|
|
@ -181,7 +181,7 @@
|
|
|
|
|
</u-collapse-item> |
|
|
|
|
|
|
|
|
|
</u-collapse> |
|
|
|
|
<u-collapse :value="['collapse']"> |
|
|
|
|
<u-collapse :value="collapseValue"> |
|
|
|
|
<u-collapse-item |
|
|
|
|
name="collapse" |
|
|
|
|
title="需要注意" |
|
|
|
@ -206,7 +206,7 @@
|
|
|
|
|
<view class="row"> |
|
|
|
|
<view class="col-3" v-for="item in detail.feedlist.note_imgs"> |
|
|
|
|
<view class="" v-if="item.type === 'image'" style="margin-right:10rpx;"> |
|
|
|
|
<u-image mode="aspectFill" width="100%" height="200rpx" :src="item.url" @click="showImage(item.url)"></u-image> |
|
|
|
|
<u-image :fade="false" mode="aspectFill" width="100%" height="200rpx" :src="item.url" @click="showImage(item.url)"></u-image> |
|
|
|
|
</view> |
|
|
|
|
<view class="" v-else> |
|
|
|
|
<video :src="item.url" style="height:200rpx;width:100%;"></video> |
|
|
|
@ -216,7 +216,7 @@
|
|
|
|
|
</u-collapse-item> |
|
|
|
|
|
|
|
|
|
</u-collapse> |
|
|
|
|
<u-collapse :value="['collapse']"> |
|
|
|
|
<u-collapse :value="collapseValue"> |
|
|
|
|
<u-collapse-item |
|
|
|
|
name="collapse" |
|
|
|
|
title="用品位置" |
|
|
|
@ -241,7 +241,7 @@
|
|
|
|
|
<view class="row"> |
|
|
|
|
<view class="col-3" v-for="item in detail.feedlist.goods_imgs"> |
|
|
|
|
<view class="" v-if="item.type === 'image'" style="margin-right:10rpx;"> |
|
|
|
|
<u-image mode="aspectFill" width="100%" height="200rpx" :src="item.url" @click="showImage(item.url)"></u-image> |
|
|
|
|
<u-image :fade="false" mode="aspectFill" width="100%" height="200rpx" :src="item.url" @click="showImage(item.url)"></u-image> |
|
|
|
|
</view> |
|
|
|
|
<view class="" v-else> |
|
|
|
|
<video :src="item.url" style="height:200rpx;width:100%;"></video> |
|
|
|
@ -251,7 +251,7 @@
|
|
|
|
|
</u-collapse-item> |
|
|
|
|
|
|
|
|
|
</u-collapse> |
|
|
|
|
<u-collapse :value="['collapse']"> |
|
|
|
|
<u-collapse :value="collapseValue"> |
|
|
|
|
<u-collapse-item |
|
|
|
|
name="collapse" |
|
|
|
|
title="外出路线" |
|
|
|
@ -276,7 +276,7 @@
|
|
|
|
|
<view class="row"> |
|
|
|
|
<view class="col-3" v-for="item in detail.feedlist.line_imgs"> |
|
|
|
|
<view class="" v-if="item.type === 'image'" style="margin-right:10rpx;"> |
|
|
|
|
<u-image mode="aspectFill" width="100%" height="200rpx" :src="item.url" @click="showImage(item.url)"></u-image> |
|
|
|
|
<u-image :fade="false" mode="aspectFill" width="100%" height="200rpx" :src="item.url" @click="showImage(item.url)"></u-image> |
|
|
|
|
</view> |
|
|
|
|
<view class="" v-else> |
|
|
|
|
<video :src="item.url" style="height:200rpx;width:100%;"></video> |
|
|
|
@ -286,7 +286,7 @@
|
|
|
|
|
</u-collapse-item> |
|
|
|
|
|
|
|
|
|
</u-collapse> |
|
|
|
|
<u-collapse :value="['collapse']"> |
|
|
|
|
<u-collapse :value="collapseValue"> |
|
|
|
|
<u-collapse-item |
|
|
|
|
name="collapse" |
|
|
|
|
title="其它事项" |
|
|
|
@ -311,7 +311,7 @@
|
|
|
|
|
<view class="row"> |
|
|
|
|
<view class="col-3" v-for="item in detail.feedlist.other_imgs"> |
|
|
|
|
<view class="" v-if="item.type === 'image'" style="margin-right:10rpx;"> |
|
|
|
|
<u-image mode="aspectFill" width="100%" height="200rpx" :src="item.url" @click="showImage(item.url)"></u-image> |
|
|
|
|
<u-image :fade="false" mode="aspectFill" width="100%" height="200rpx" :src="item.url" @click="showImage(item.url)"></u-image> |
|
|
|
|
</view> |
|
|
|
|
<view class="" v-else> |
|
|
|
|
<video :src="item.url" style="height:200rpx;width:100%;"></video> |
|
|
|
@ -400,9 +400,15 @@
|
|
|
|
|
}, |
|
|
|
|
onShow(){ |
|
|
|
|
this.feedLog(); |
|
|
|
|
}, |
|
|
|
|
onReady() { |
|
|
|
|
uni.$u.sleep(50).then(() => { |
|
|
|
|
this.collapseValue = ['collapse']; |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
|
collapseValue:[], |
|
|
|
|
imageShow:false, |
|
|
|
|
imageUrl:'', |
|
|
|
|
title: 'Hello', |
|
|
|
|