|
@ -3,15 +3,14 @@ |
|
|
<navbar leftClick @leftClick="leftClick" /> |
|
|
<navbar leftClick @leftClick="leftClick" /> |
|
|
|
|
|
|
|
|
<view class="swipe"> |
|
|
<view class="swipe"> |
|
|
<!-- <uv-swiper |
|
|
|
|
|
:list="item.details.image && |
|
|
|
|
|
item.details.image.split(',')" |
|
|
|
|
|
|
|
|
<uv-swiper |
|
|
|
|
|
:list="vedioList" |
|
|
indicator |
|
|
indicator |
|
|
height="420rpx"></uv-swiper> --> |
|
|
|
|
|
|
|
|
height="420rpx"></uv-swiper> |
|
|
|
|
|
|
|
|
<video :src="item.details.isImage[0]" |
|
|
|
|
|
|
|
|
<!-- <video :src="item.details.isImage[0]" |
|
|
style="width: 750rpx;height: 420rpx;" |
|
|
style="width: 750rpx;height: 420rpx;" |
|
|
/> |
|
|
|
|
|
|
|
|
/> --> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="box"> |
|
|
<view class="box"> |
|
@ -21,13 +20,13 @@ |
|
|
{{ item.details.name }} |
|
|
{{ item.details.name }} |
|
|
</view> |
|
|
</view> |
|
|
<view class="price"> |
|
|
<view class="price"> |
|
|
¥{{ item.details.money }} |
|
|
|
|
|
|
|
|
¥{{ item.details.money }}/天 |
|
|
</view> |
|
|
</view> |
|
|
<view class="right"> |
|
|
<view class="right"> |
|
|
<view class="money30"> |
|
|
<view class="money30"> |
|
|
近30天收益:¥{{ item.dayMoney }} |
|
|
近30天收益:¥{{ item.dayMoney }} |
|
|
</view> |
|
|
</view> |
|
|
<view class="phone"> |
|
|
|
|
|
|
|
|
<view class="phone" v-if="isVedio"> |
|
|
<view class="" |
|
|
<view class="" |
|
|
v-if="item.details.phonePay != 'Y' || item.isPayPhone"> |
|
|
v-if="item.details.phonePay != 'Y' || item.isPayPhone"> |
|
|
联系方式:{{ item.details.phone }} |
|
|
联系方式:{{ item.details.phone }} |
|
@ -63,7 +62,8 @@ |
|
|
:detail="item.details"/> |
|
|
:detail="item.details"/> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="works"> |
|
|
|
|
|
|
|
|
<view class="works" |
|
|
|
|
|
v-if="isVedio"> |
|
|
<view class="item" |
|
|
<view class="item" |
|
|
v-for="(t, index) in item.details.isImage" |
|
|
v-for="(t, index) in item.details.isImage" |
|
|
:key="index"> |
|
|
:key="index"> |
|
@ -98,6 +98,7 @@ |
|
|
<script> |
|
|
<script> |
|
|
import contentControls from '@/components/content/contentControls.vue' |
|
|
import contentControls from '@/components/content/contentControls.vue' |
|
|
import confirmationPopup from '@/components/toast/confirmationPopup.vue' |
|
|
import confirmationPopup from '@/components/toast/confirmationPopup.vue' |
|
|
|
|
|
import { mapGetters } from 'vuex' |
|
|
export default { |
|
|
export default { |
|
|
components : { |
|
|
components : { |
|
|
contentControls, |
|
|
contentControls, |
|
@ -122,6 +123,14 @@ |
|
|
console.log(options) |
|
|
console.log(options) |
|
|
this.id = options.id |
|
|
this.id = options.id |
|
|
}, |
|
|
}, |
|
|
|
|
|
computed : { |
|
|
|
|
|
...mapGetters(['isVedio']), |
|
|
|
|
|
vedioList(){ |
|
|
|
|
|
return this.isVedio ? |
|
|
|
|
|
this.item.details.isImage : |
|
|
|
|
|
this.item.details.image |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
onShareAppMessage(res) { |
|
|
onShareAppMessage(res) { |
|
|
return { |
|
|
return { |
|
|
title: this.item.details.title, |
|
|
title: this.item.details.title, |
|
@ -158,6 +167,10 @@ |
|
|
res.result.details.workName ? |
|
|
res.result.details.workName ? |
|
|
res.result.details.workName.split(',') : [] |
|
|
res.result.details.workName.split(',') : [] |
|
|
|
|
|
|
|
|
|
|
|
res.result.details.image = |
|
|
|
|
|
res.result.details.image ? |
|
|
|
|
|
res.result.details.image.split(',') : [] |
|
|
|
|
|
|
|
|
this.item = res.result |
|
|
this.item = res.result |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|