|
|
|
@ -245,7 +245,7 @@ |
|
|
|
|
</view> |
|
|
|
|
<view class="price"> |
|
|
|
|
<text style="font-size: 20rpx;">¥</text> |
|
|
|
|
<text style="font-weight: bold;font-size: 36rpx;">{{item.goods_price_max}}</text> |
|
|
|
|
<text style="font-weight: bold;font-size: 36rpx;">{{item.goods_price_min}}</text> |
|
|
|
|
<text style="font-size: 20rpx;margin-left:10rpx;">到手价</text> |
|
|
|
|
<text |
|
|
|
|
style="color: #949494;font-size: 22rpx;text-decoration: line-through;">¥{{item.line_price_min}}</text> |
|
|
|
@ -266,7 +266,7 @@ |
|
|
|
|
<view class="topcontent"> |
|
|
|
|
<view class="shopTitle"> |
|
|
|
|
<text class="title">{{cityInfo.shop_name}}</text> |
|
|
|
|
<text class="shopStatus">{{cityInfo.is_open==1?'营业中':'休息中'}}</text> |
|
|
|
|
<text class="shopStatus">营业中</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="rate"> |
|
|
|
|
<u-rate :count="5" inactive-color="#818181" active-color="#FA8C3D" v-model="cityInfo.star"> |
|
|
|
@ -323,7 +323,7 @@ |
|
|
|
|
<view class="diannei"> |
|
|
|
|
<view class="dianneiTitle"> |
|
|
|
|
<text>店内现货</text> |
|
|
|
|
<view class="lookMore" @click="goJump('/pages/user/vip/goods')"> |
|
|
|
|
<view class="lookMore" @click="goJump('/pages/user/vip/goods?type=1')"> |
|
|
|
|
查看更多 |
|
|
|
|
<u-icon name="arrow-right" color="#909090"></u-icon> |
|
|
|
|
</view> |
|
|
|
@ -466,7 +466,7 @@ |
|
|
|
|
return { |
|
|
|
|
isLogin: false, |
|
|
|
|
isTop: false, |
|
|
|
|
logoImage:'', |
|
|
|
|
logoImage: '', |
|
|
|
|
// background: { |
|
|
|
|
// backgroundColor: 'transparent', |
|
|
|
|
// }, |
|
|
|
@ -726,13 +726,17 @@ |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
getTypeList() { |
|
|
|
|
GoodsApi.typeList().then(res => { |
|
|
|
|
GoodsApi.typeList({ |
|
|
|
|
is_in_store: this.current==0?0:1 |
|
|
|
|
}).then(res => { |
|
|
|
|
if (res.status == 200) { |
|
|
|
|
this.tabList = res.data.list; |
|
|
|
|
this.catagoryList = res.data.list[0].children |
|
|
|
|
if(this.current==0){ |
|
|
|
|
this.getRankingList(this.tabList[0].category_id) |
|
|
|
|
this.getNewGoods(this.tabList[0].category_id) |
|
|
|
|
this.getBigList(this.tabList[0].category_id) |
|
|
|
|
} |
|
|
|
|
this.getBigList(this.current==0?(this.tabList[0].category_id):(this.tabList[this.tabCurrent].category_id)) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
@ -838,7 +842,7 @@ |
|
|
|
|
categoryId: val, |
|
|
|
|
is_brand: 0, |
|
|
|
|
is_new: 1, |
|
|
|
|
order: 1 |
|
|
|
|
order: 1, |
|
|
|
|
} |
|
|
|
|
GoodsApi.brandList(param).then(res => { |
|
|
|
|
let arr = res.data.data |
|
|
|
@ -867,7 +871,8 @@ |
|
|
|
|
categoryId: val, |
|
|
|
|
is_brand: 1, |
|
|
|
|
is_new: 0, |
|
|
|
|
order: 1 |
|
|
|
|
order: 1, |
|
|
|
|
is_in_store: this.current==0?0:1 |
|
|
|
|
} |
|
|
|
|
GoodsApi.brandList(param).then(res => { |
|
|
|
|
let arr = res.data.data; |
|
|
|
@ -930,6 +935,8 @@ |
|
|
|
|
}, |
|
|
|
|
changeHome(val) { |
|
|
|
|
this.current = val; |
|
|
|
|
this.getTypeList() |
|
|
|
|
// this.getBigList(this.tabList[this.tabCurrent].category_id) |
|
|
|
|
}, |
|
|
|
|
getCityInfo() { |
|
|
|
|
const that = this |
|
|
|
@ -944,7 +951,7 @@ |
|
|
|
|
async getStore() { |
|
|
|
|
newFunApi.storeData().then(res => { |
|
|
|
|
if (res.status == 200) { |
|
|
|
|
this.logoImage=res.data.storeInfo.logoImage.preview_url |
|
|
|
|
this.logoImage = res.data.storeInfo.logoImage.preview_url |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
.finally(() => {}) |
|
|
|
|