Merge remote-tracking branch 'origin/main'
|  |  |  | 
|---|
|  |  |  | <view class="flex"> | 
|---|
|  |  |  | <view class="t1">{{today}}(今日)第一场交易中</view> | 
|---|
|  |  |  | <view class="t2">当前在售</view> | 
|---|
|  |  |  | <!-- 加了/api/customer/flower/up/stock --> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | <view class="m-t-12 flex"> | 
|---|
|  |  |  | <view class="item" v-for="(item,index) of list" :key="index" @click.stop="toList(item)"> | 
|---|
|  |  |  | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | onLoad() { | 
|---|
|  |  |  | // this.list = [{},{}] | 
|---|
|  |  |  | this.listApi = '/api/pub/announcement/list' | 
|---|
|  |  |  | var type = '' | 
|---|
|  |  |  | // #ifdef PUB_CUSTOMER | 
|---|
|  |  |  | type = 'customer' | 
|---|
|  |  |  | // #endif | 
|---|
|  |  |  | // #ifdef PUB_SUPPLIER | 
|---|
|  |  |  | type = 'supplier' | 
|---|
|  |  |  | // #endif | 
|---|
|  |  |  | // #ifdef PUB_PARTNER | 
|---|
|  |  |  | type = 'partner' | 
|---|
|  |  |  | // #endif | 
|---|
|  |  |  |  | 
|---|
|  |  |  | this.listApi = '/api/pub/announcement/list/'+type | 
|---|
|  |  |  | this.getList() | 
|---|
|  |  |  |  | 
|---|
|  |  |  | }, | 
|---|