优化部分样式
parent
13f3971f2a
commit
0cfb5d42c0
|
@ -2,8 +2,8 @@
|
||||||
"name" : "lili商城",
|
"name" : "lili商城",
|
||||||
"appid" : "__UNI__C100675",
|
"appid" : "__UNI__C100675",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "4.0.40",
|
"versionName" : "4.0.41",
|
||||||
"versionCode" : 4000040,
|
"versionCode" : 4000041,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
"compatible" : {
|
"compatible" : {
|
||||||
|
|
|
@ -11,10 +11,11 @@
|
||||||
<view v-if="tabCurrentIndex == 0" class="tab-content">
|
<view v-if="tabCurrentIndex == 0" class="tab-content">
|
||||||
<scroll-view class="list-scroll-content" scroll-y @scrolltolower="loadMore">
|
<scroll-view class="list-scroll-content" scroll-y @scrolltolower="loadMore">
|
||||||
<!-- 空白页 -->
|
<!-- 空白页 -->
|
||||||
<u-empty text="暂无收藏商品数据" mode="favor" v-if="goodsEmpty"></u-empty>
|
<u-empty style="margin-top:40rpx;" text="暂无收藏商品数据" mode="favor" v-if="goodsEmpty"></u-empty>
|
||||||
<!-- 商品展示数据 -->
|
<!-- 商品展示数据 -->
|
||||||
<u-swipe-action @open="openLeftChange(item,index,'goods')" :show="item.selected" btn-width="180" :options="LeftOptions" v-else v-for="(item,index) in goodList"
|
<u-swipe-action @open="openLeftChange(item,index,'goods')" :show="item.selected" btn-width="180"
|
||||||
@click="clickGoodsSwiperAction(item,index)" :index="index" :key="index">
|
:options="LeftOptions" v-else v-for="(item,index) in goodList" @click="clickGoodsSwiperAction(item,index)"
|
||||||
|
:index="index" :key="index">
|
||||||
<view class="goods" @click="goGoodsDetail(item)">
|
<view class="goods" @click="goGoodsDetail(item)">
|
||||||
<u-image width="131rpx" height="131rpx" :src="item.image" mode="aspectFit">
|
<u-image width="131rpx" height="131rpx" :src="item.image" mode="aspectFit">
|
||||||
<u-loading slot="loading"></u-loading>
|
<u-loading slot="loading"></u-loading>
|
||||||
|
@ -34,9 +35,10 @@
|
||||||
<view v-else class="tab-content">
|
<view v-else class="tab-content">
|
||||||
<scroll-view class="list-scroll-content" scroll-y @scrolltolower="loadMore">
|
<scroll-view class="list-scroll-content" scroll-y @scrolltolower="loadMore">
|
||||||
<!-- 空白页 -->
|
<!-- 空白页 -->
|
||||||
<u-empty text="暂无收藏店铺数据" mode="favor" v-if="storeEmpty"></u-empty>
|
<u-empty style="margin-top:40rpx;" text="暂无收藏店铺数据" mode="favor" v-if="storeEmpty"></u-empty>
|
||||||
<!-- 店铺展示数据 -->
|
<!-- 店铺展示数据 -->
|
||||||
<u-swipe-action @open="openLeftChange(item,'store')" :show="item.selected" btn-width="180" :options="LeftOptions" v-else v-for="(item,index) in storeList" :key="index"
|
<u-swipe-action @open="openLeftChange(item,'store')" :show="item.selected" btn-width="180"
|
||||||
|
:options="LeftOptions" v-else v-for="(item,index) in storeList" :key="index"
|
||||||
@click="clickstoreSwiperAction(item)">
|
@click="clickstoreSwiperAction(item)">
|
||||||
<view class="store" @click="gostoreMainPage(item.id)">
|
<view class="store" @click="gostoreMainPage(item.id)">
|
||||||
<view class="intro">
|
<view class="intro">
|
||||||
|
@ -47,7 +49,8 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="store-name">
|
<view class="store-name">
|
||||||
<view>{{item.storeName}}</view>
|
<view>{{item.storeName}}</view>
|
||||||
<u-tag size="mini" type="error" :color="$mainColor" v-if="item.selfOperated" text="自营" mode="plain" shape="circle" />
|
<u-tag size="mini" type="error" :color="$mainColor" v-if="item.selfOperated" text="自营" mode="plain"
|
||||||
|
shape="circle" />
|
||||||
</view>
|
</view>
|
||||||
<view class="store-collect">
|
<view class="store-collect">
|
||||||
<view>进店逛逛</view>
|
<view>进店逛逛</view>
|
||||||
|
@ -133,7 +136,6 @@ export default {
|
||||||
*/
|
*/
|
||||||
clickGoodsSwiperAction(val) {
|
clickGoodsSwiperAction(val) {
|
||||||
deleteGoodsCollection(val.skuId).then((res) => {
|
deleteGoodsCollection(val.skuId).then((res) => {
|
||||||
|
|
||||||
if (res.statusCode == 200) {
|
if (res.statusCode == 200) {
|
||||||
this.storeList = [];
|
this.storeList = [];
|
||||||
this.goodList = [];
|
this.goodList = [];
|
||||||
|
@ -159,7 +161,6 @@ export default {
|
||||||
*/
|
*/
|
||||||
tabClick(index) {
|
tabClick(index) {
|
||||||
this.tabCurrentIndex = index;
|
this.tabCurrentIndex = index;
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<u-empty text="暂无砍价活动"></u-empty>
|
<u-empty style="margin-top:20%;" text="暂无砍价活动"></u-empty>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue