rk
20 小时以前 38d111cb6defedff3bf06314ca30d22a01faae22
mini-program/pages/index/index.vue
@@ -14,9 +14,9 @@
            </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)">
@@ -85,7 +85,8 @@
                  </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}}
@@ -108,7 +109,7 @@
               orderByType: '',
               orderByName: '',
               fieldIdList: [],
               bustypeIds: '',
               bustypeIdList: [],
               bustypeName: '',
               name: ''
            },
@@ -146,7 +147,7 @@
                  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
               }
@@ -176,7 +177,11 @@
         },
         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
@@ -325,6 +330,7 @@
                  }
               }
               .item-info-b {
                  width: 80%;
                  display: flex;
                  flex-wrap: wrap;
                  align-items: center;