| | |
| | | </view> |
| | | <view class="cate"> |
| | | <view class="cate-item" @click="clickRow(1)"> |
| | | <text :style="{ fontWeight: (view === 1 || form.bustypeIds) ? 'bold' : '', color: (view === 1 || form.bustypeIds) ? '#222222' : '' }">{{form.bustypeIds ? form.bustypeName : '商业化类型'}}</text> |
| | | <text :style="{ fontWeight: (view === 1 || form.bustypeIdList.length > 0) ? 'bold' : '', color: (view === 1 || form.bustypeIdList.length > 0) ? '#222222' : '' }">{{form.bustypeIdList.length > 0 ? form.bustypeName : '商业化类型'}}</text> |
| | | <image src="/static/ar_open_sel8@2x.png" mode="widthFix" v-if="view === 1"></image> |
| | | <image src="/static/ar_open_sel@2x.png" mode="widthFix" v-else-if="view !== 1 && form.bustypeIds"></image> |
| | | <image src="/static/ar_open_sel@2x.png" mode="widthFix" v-else-if="view !== 1 && form.bustypeIdList.length > 0"></image> |
| | | <image src="/static/ar_open7@2x.png" mode="widthFix" v-else></image> |
| | | </view> |
| | | <view class="cate-item" @click="clickRow(2)"> |
| | |
| | | </view> |
| | | </view> |
| | | <view class="item-info-d" v-if="item.isShow"> |
| | | {{item.zhankai ? item.content : item.contentCopy}}<text @click.stop="zhankai(item)">{{item.zhankai ? '收起' : '更多'}}</text> |
| | | <!-- @click.stop="zhankai(item)" --> |
| | | {{item.zhankai ? item.content : item.contentCopy}}<text>{{item.zhankai ? '收起' : '更多'}}</text> |
| | | </view> |
| | | <view class="item-info-d" v-else> |
| | | {{item.content}} |
| | |
| | | orderByType: '', |
| | | orderByName: '', |
| | | fieldIdList: [], |
| | | bustypeIds: '', |
| | | bustypeIdList: [], |
| | | bustypeName: '', |
| | | name: '' |
| | | }, |
| | |
| | | orderByType: this.form.orderByType ? this.form.orderByType : 3, |
| | | orderByName: this.form.orderByName, |
| | | fieldIdList: this.form.fieldIdList, |
| | | bustypeIds: this.form.bustypeIds, |
| | | bustypeIdList: this.form.bustypeIdList, |
| | | bustypeName: this.form.bustypeName, |
| | | name: this.form.name |
| | | } |
| | |
| | | }, |
| | | clickSearch(i, type) { |
| | | if (type === 1) { |
| | | this.form.bustypeIds = this.list1[i].id |
| | | if (this.list1[i].id) { |
| | | this.form.bustypeIdList = [this.list1[i].id] |
| | | } else { |
| | | this.form.bustypeIdList = [] |
| | | } |
| | | this.form.bustypeName = this.list1[i].name |
| | | this.list1.forEach((item, index) => { |
| | | item.active = index === i |
| | |
| | | } |
| | | } |
| | | .item-info-b { |
| | | width: 80%; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | align-items: center; |