|  |  | 
 |  |  |          </view>
 | 
 |  |  |          <view class="tj-info m-t-12">
 | 
 |  |  |             <view class="form-item">
 | 
 |  |  |                <view class="value">0</view>
 | 
 |  |  |                <view class="value">{{page.total || 0}}</view>
 | 
 |  |  |                <view class="label">发布</view>
 | 
 |  |  |             </view>
 | 
 |  |  |             <view class="form-item">
 | 
 |  |  | 
 |  |  |       <view class="brand-info">
 | 
 |  |  |          <view v-if="flg==='0'" class="brand-info-0">
 | 
 |  |  |             <view class="component-filter-container" style="padding-top: 12rpx;">
 | 
 |  |  |                <!-- <view class="flex1">
 | 
 |  |  |                   排序
 | 
 |  |  |                <view class="flex1" @click.stop="$refs.popup_column.open()">
 | 
 |  |  |                   排序{{ query.columnStr&&('-'+query.columnStr) || '' }}
 | 
 |  |  |                   <image src="../../../static/common/icon-arrow-down.png" class="icon-arrow-down"></image>
 | 
 |  |  |                </view>
 | 
 |  |  |                <view class="flex1">
 | 
 |  |  |                   等级
 | 
 |  |  |                <view class="flex1" @click.stop="$refs.popup_level.open()">
 | 
 |  |  |                   {{ query.levelStr || '级别' }}
 | 
 |  |  |                   <image src="../../../static/common/icon-arrow-down.png" class="icon-arrow-down"></image>
 | 
 |  |  |                </view>
 | 
 |  |  |                <view class="flex1">
 | 
 |  |  |                   参数
 | 
 |  |  |                   <image src="../../../static/common/icon-arrow-down.png" class="icon-arrow-down"></image>
 | 
 |  |  |                </view> -->
 | 
 |  |  |             </view>
 | 
 |  |  |             <view class="top-title">
 | 
 |  |  |             <view class="top-title m-t-12">
 | 
 |  |  |                报价已包含打包费、材料费、交易佣金
 | 
 |  |  |             </view>
 | 
 |  |  |             <view class="component-shop-item flex" v-for="(item,index) of list" :key="index"
 | 
 |  |  | 
 |  |  |                   </view>
 | 
 |  |  |                   <view class="bottom-buttons  flex">
 | 
 |  |  |                      <view class="m-l-0 m-r-a">
 | 
 |  |  |                         <view class="m-r-15">
 | 
 |  |  |                         <view class="m-r-15 desc-gray other-info">
 | 
 |  |  |                            颜色:{{item.color||'-'}}
 | 
 |  |  |                         </view>
 | 
 |  |  |                      </view>
 | 
 |  |  | 
 |  |  |             </view> -->
 | 
 |  |  |          </view>
 | 
 |  |  |       </view>
 | 
 |  |  |       <uni-popup ref="popup_column" type="bottom">
 | 
 |  |  |          <view class="component-popup_input_all">
 | 
 |  |  |             <view class="text-center m-b-40" style="font-size: 48rpx;font-weight: 600;">点击选择不同排序</view>
 | 
 |  |  |             <view v-for="(item,i) in order_columns" :key="i" class="m-t-20">
 | 
 |  |  |                <view class="m-t-12 flex value-items">
 | 
 |  |  |                   <view class="value-item" @click="()=>{
 | 
 |  |  |                      if(each.value!==query.value){
 | 
 |  |  |                         query.column = each.value
 | 
 |  |  |                         query.columnStr = each.label
 | 
 |  |  |                         refreshList('post')
 | 
 |  |  |                         $refs.popup_column.close()
 | 
 |  |  |                      }																																						 | 
 |  |  |                   }" :class="[query.column==each.value?'cur':'']" v-for="(each, j) in item" :key="j">
 | 
 |  |  |                      {{ each.label || '-' }}
 | 
 |  |  |                   </view>
 | 
 |  |  |                </view>
 | 
 |  |  |             </view>
 | 
 |  |  |             <view class="button-space"></view>
 | 
 |  |  |             <view>
 | 
 |  |  |                <view class="button-green" @click="$refs.popup_column.close()">关闭
 | 
 |  |  |                </view>
 | 
 |  |  |             </view>
 | 
 |  |  |          </view>
 | 
 |  |  |       </uni-popup>
 | 
 |  |  | 
 | 
 |  |  | 
 | 
 |  |  |       <uni-popup ref="popup_level" type="bottom"> | 
 |  |  |          <view class="component-popup_input_all"> | 
 |  |  |             <view class="text-center m-b-40" style="font-size: 48rpx;font-weight: 600;">点击选择不同级别</view> | 
 |  |  |             <view v-for="(item,i) in level_columns" :key="i" class="m-t-20"> | 
 |  |  |                <view class="m-t-12 flex value-items"> | 
 |  |  |                   <view class="value-item" @click="()=>{ | 
 |  |  |                      if(each.value!==query.value){ | 
 |  |  |                         query.level = each.value | 
 |  |  |                         query.levelStr = each.label | 
 |  |  |                         refreshList('post') | 
 |  |  |                         $refs.popup_level.close() | 
 |  |  |                      }																																						 | 
 |  |  |                   }" :class="[query.level==each.value?'cur':'']" v-for="(each, j) in item" :key="j"> | 
 |  |  |                      {{ each.label || '-' }} | 
 |  |  |                   </view> | 
 |  |  |                </view> | 
 |  |  |             </view> | 
 |  |  |             <view class="button-space"></view> | 
 |  |  |             <view> | 
 |  |  |                <view class="button-green" @click="$refs.popup_level.close()">关闭 | 
 |  |  |                </view> | 
 |  |  |             </view> | 
 |  |  |          </view> | 
 |  |  |       </uni-popup>
 | 
 |  |  |    </view>
 | 
 |  |  | </template>
 | 
 |  |  | 
 | 
 |  |  | 
 |  |  |             list: [],
 | 
 |  |  |             id: '',
 | 
 |  |  |             catgoryTree: undefined,
 | 
 |  |  |             query: {
 | 
 |  |  |                columnStr: '',
 | 
 |  |  |                column: '',
 | 
 |  |  |                levelStr: '',
 | 
 |  |  |                level: '',
 | 
 |  |  |             },
 | 
 |  |  |             level_show: false,
 | 
 |  |  |             level_columns: [
 | 
 |  |  |                []
 | 
 |  |  |             ],
 | 
 |  |  | 
 | 
 |  |  |             order_show: false,
 | 
 |  |  |             order_columns: [
 | 
 |  |  |                []
 | 
 |  |  |             ]
 | 
 |  |  |          }
 | 
 |  |  |       },
 | 
 |  |  |       onLoad(options) {
 | 
 |  |  | 
 |  |  |          this.listApi = `/api/customer/flower/list`
 | 
 |  |  |          this.query.supplierId = this.id
 | 
 |  |  |          this.getList('post')
 | 
 |  |  |          this.$http.request('get', '/api/code/value', {
 | 
 |  |  |             params: {
 | 
 |  |  |                type: 'FLOWER_LEVEL'
 | 
 |  |  |             }
 | 
 |  |  |          }).then(res => {
 | 
 |  |  |             var data = res.data
 | 
 |  |  |             this.level_columns = [data || []]
 | 
 |  |  |             this.level_columns[0].unshift({
 | 
 |  |  |                label: '全部',
 | 
 |  |  |                value: ''
 | 
 |  |  |             })
 | 
 |  |  |          })
 | 
 |  |  |          this.$http.request('get', '/api/code/value', {
 | 
 |  |  |             params: {
 | 
 |  |  |                type: 'FLOWER_ORDER_BY'
 | 
 |  |  |             }
 | 
 |  |  |          }).then(res => {
 | 
 |  |  |             var data = res.data
 | 
 |  |  |             this.order_columns = [data || []]
 | 
 |  |  |             this.order_columns[0].unshift({
 | 
 |  |  |                label: '默认',
 | 
 |  |  |                value: ''
 | 
 |  |  |             })
 | 
 |  |  |          })
 | 
 |  |  |       },
 | 
 |  |  |       // #ifdef PUB_CUSTOMER
 | 
 |  |  |       onShareAppMessage() {
 | 
 |  |  | 
 |  |  |             }
 | 
 |  |  |          },
 | 
 |  |  | 
 | 
 |  |  |          toDetail(item) {
 | 
 |  |  |             uni.navigateTo({
 | 
 |  |  |                url: `/sub_pages/customer/trade/detail?id=${item.id}`
 | 
 |  |  |             })
 | 
 |  |  |          },
 | 
 |  |  |       }
 | 
 |  |  |    }
 | 
 |  |  | </script>
 |