|
|
@ -21,12 +21,12 @@ |
|
|
|
<view class="submit-unit" |
|
|
|
style="margin-top: 20rpx;"> |
|
|
|
<view class="title"> |
|
|
|
您有物品吗? |
|
|
|
您有{{ detail.categoryName }}吗? |
|
|
|
</view> |
|
|
|
<view class="list"> |
|
|
|
<view :class="{act : typeIndex == index}" v-for="(item, index) in type" |
|
|
|
@click="typeIndex = index" :key="index"> |
|
|
|
{{ item }} |
|
|
|
{{ item }}{{ detail.categoryName }} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -35,7 +35,7 @@ |
|
|
|
<view v-if="typeIndex == 0"> |
|
|
|
<view class="submit-info"> |
|
|
|
<view class="title"> |
|
|
|
物品租赁 |
|
|
|
{{ detail.categoryName }}租赁 |
|
|
|
</view> |
|
|
|
<view class="box"> |
|
|
|
<image class="image" :src="unit.pic" mode=""></image> |
|
|
@ -121,7 +121,7 @@ |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<addLeaseForm ref="addLeaseForm" v-if="typeIndex == 1"/> |
|
|
|
<addLeaseForm :categoryId="detail.categoryId" ref="addLeaseForm" v-if="typeIndex == 1"/> |
|
|
|
|
|
|
|
<!-- 提交按钮 --> |
|
|
|
<view class="submit"> |
|
|
@ -190,7 +190,7 @@ |
|
|
|
}, |
|
|
|
couponText : '请选择', |
|
|
|
typeIndex : 0, |
|
|
|
type : ['没有物品', '我有物品'], |
|
|
|
type : ['没有', '我有'], |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|