pifa
fanfan 2 months ago
parent d4b0798eb9
commit d7c269b011
  1. 4
      pages/cart/index.vue
  2. 36
      pages/goods/list.vue
  3. 4
      pages/index/index.vue
  4. 2
      pages/search/index.vue
  5. 4
      pages/user/index.vue

@ -104,7 +104,7 @@
{{item.cmmdty_model}} {{item.cmmdty_model}}
</view> </view>
</view> --> </view> -->
<!-- <view class="goodsSend"> <view class="goodsSend">
<view class="sendLeft"> <view class="sendLeft">
<view class="left_1"> <view class="left_1">
{{item.goods_source}} {{item.goods_source}}
@ -122,7 +122,7 @@
<text v-if="item.delivery_time==5">30天内发货</text> <text v-if="item.delivery_time==5">30天内发货</text>
<text v-if="item.delivery_time==6">45天内发货</text> <text v-if="item.delivery_time==6">45天内发货</text>
</view> </view>
</view> --> </view>
</view> </view>
<!-- </template> --> <!-- </template> -->
<!-- <template v-slot:right="{rightList}"> <!-- <template v-slot:right="{rightList}">

@ -59,14 +59,13 @@
<view class="sort-item" @click="handleSortType1('')"> <view class="sort-item" @click="handleSortType1('')">
<text>筛选</text> <text>筛选</text>
</view> </view>
<view class="sort-item" :class="{ active: sortType === 'city' }"
<!-- <view class="sort-item" :class="{ active: sortType === 'city' }"
@click="handleSortType('city')"> @click="handleSortType('city')">
<picker mode="selector" @change="multiChange" value="{{multiIndex}}" :range="multiArray" <picker mode="selector" @change="multiChange" value="{{multiIndex}}" :range="multiArray"
range-key="name"> range-key="name">
<text>类型</text> <text>渠道</text>
</picker> </picker>
</view> --> </view>
<!-- <view class="show-view btnOpera" @click="handleShowView"> <!-- <view class="show-view btnOpera" @click="handleShowView">
<text class="iconfont icon-view-tile" v-if="showView"></text> <text class="iconfont icon-view-tile" v-if="showView"></text>
<text class="iconfont icon-view-list" v-else></text> <text class="iconfont icon-view-list" v-else></text>
@ -148,7 +147,7 @@
{{item.cmmdty_model}} {{item.cmmdty_model}}
</view> </view>
</view> --> </view> -->
<!-- <view class="goodsSend"> <view class="goodsSend">
<view class="sendLeft"> <view class="sendLeft">
<view class="left_1"> <view class="left_1">
{{item.goods_source}} {{item.goods_source}}
@ -166,7 +165,7 @@
<text v-if="item.delivery_time==5">30天内发货</text> <text v-if="item.delivery_time==5">30天内发货</text>
<text v-if="item.delivery_time==6">45天内发货</text> <text v-if="item.delivery_time==6">45天内发货</text>
</view> </view>
</view> --> </view>
</view> </view>
</view> </view>
</view> </view>
@ -298,19 +297,25 @@
tabbar: [], tabbar: [],
multiArray: [{ multiArray: [{
value: 'JD', value: 'JD',
name: 'JD' name: '京东 '
}, { }, {
value: 'SN', value: 'SN',
name: 'SN' name: '苏宁'
}, { }, {
value: 'GC', value: 'GC',
name: 'GC' name: '工厂'
}, { }, {
value: 'CC', value: 'CC',
name: 'CC ' name: '仓储'
}, { }, {
value: 'ZC', value: 'ZC',
name: 'ZC' name: '自采'
}, {
value: 'TM',
name: '天猫'
}, {
value: 'PF',
name: '批发平台'
}], }],
multiIndex: -1, multiIndex: -1,
blheight: 0, blheight: 0,
@ -478,20 +483,21 @@
if (this.isActive) { if (this.isActive) {
categoryId = this.isActive categoryId = this.isActive
} else { } else {
categoryId = this.isBanrdActive >0? this.isBanrdActive : ((app.options.categoryId || app.options.categoryId != undefined) ? app.options categoryId = this.isBanrdActive > 0 ? this.isBanrdActive : ((app.options.categoryId || app.options
.categoryId != undefined) ? app.options
.categoryId : 0) .categoryId : 0)
} }
const param = { const param = {
sortType: app.sortType != 'city' ? app.sortType : '', sortType: app.sortType != 'city' ? app.sortType : '',
sortPrice: Number(app.sortPrice), sortPrice: Number(app.sortPrice),
categoryId:categoryId, categoryId: categoryId,
merchantId: app.options.merchantId, merchantId: app.options.merchantId,
// goodsName: app.options.search || '', // goodsName: app.options.search || '',
page: pageNo, page: pageNo,
// keywords: keywords.length > 0 ? keywords.join(',') : '', // keywords: keywords.length > 0 ? keywords.join(',') : '',
keyword: app.options.search || '', keyword: app.options.search || '',
is_grad: app.is_grad is_grad: app.is_grad,
// goods_source: this.multiIndex > -1 ? this.multiArray[this.multiIndex].value : '' goods_source: this.multiIndex > -1 ? this.multiArray[this.multiIndex].value : ''
} }
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
GoodsApi.list(param) GoodsApi.list(param)

@ -289,7 +289,7 @@
{{item.cmmdty_model}} {{item.cmmdty_model}}
</view> </view>
</view> --> </view> -->
<!-- <view class="goodsSend"> <view class="goodsSend">
<view class="sendLeft"> <view class="sendLeft">
<view class="left_1"> <view class="left_1">
{{item.goods_source}} {{item.goods_source}}
@ -307,7 +307,7 @@
<text v-if="item.delivery_time==5">30天内发货</text> <text v-if="item.delivery_time==5">30天内发货</text>
<text v-if="item.delivery_time==6">45天内发货</text> <text v-if="item.delivery_time==6">45天内发货</text>
</view> </view>
</view> --> </view>
</view> </view>
<!-- </template> --> <!-- </template> -->
<!-- <template v-slot:right="{rightList}"> <!-- <template v-slot:right="{rightList}">

@ -2,7 +2,7 @@
<view class="container"> <view class="container">
<view class="search"> <view class="search">
<image :src="$picUrl+'/static/home/search.png'" mode="" class="searchIcon"></image> <image :src="$picUrl+'/static/home/search.png'" mode="" class="searchIcon"></image>
<input v-model="searchValue" class="input" focus="true" placeholder="iPhone15" type="text" /> <input v-model="searchValue" confirm-type="搜索" show-confirm-bar @confirm="getSearchInfo" class="input" focus="true" placeholder="iPhone15" type="text" />
<view class="searchBtn" @click="getSearchInfo"> <view class="searchBtn" @click="getSearchInfo">
搜索 搜索
</view> </view>

@ -571,7 +571,7 @@
{{item.cmmdty_model}} {{item.cmmdty_model}}
</view> </view>
</view> --> </view> -->
<!-- <view class="goodsSend"> <view class="goodsSend">
<view class="sendLeft"> <view class="sendLeft">
<view class="left_1"> <view class="left_1">
{{item.goods_source}} {{item.goods_source}}
@ -589,7 +589,7 @@
<text v-if="item.delivery_time==5">30天内发货</text> <text v-if="item.delivery_time==5">30天内发货</text>
<text v-if="item.delivery_time==6">45天内发货</text> <text v-if="item.delivery_time==6">45天内发货</text>
</view> </view>
</view> --> </view>
</view> </view>
</view> </view>
<!-- </template> --> <!-- </template> -->

Loading…
Cancel
Save