|
@@ -1,31 +1,42 @@
|
|
|
<template>
|
|
<template>
|
|
|
<view :style="viewColor">
|
|
<view :style="viewColor">
|
|
|
- <view class='collectionGoods' v-if="collectProductList.length">
|
|
|
|
|
- <view class='item acea-row row-between-wrapper' v-for="(item,index) in collectProductList" :key="index" v-if="item.spu" @tap="goDetail(item.spu)">
|
|
|
|
|
- <view class='pictrue' >
|
|
|
|
|
- <easy-loadimage mode="widthFix" :image-src="item.spu.image"></easy-loadimage>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class='text acea-row row-column-between'>
|
|
|
|
|
- <view class='name'>
|
|
|
|
|
- <text v-if="item.spu.product_type != 0" :class="'font_bg-red type'+item.spu.product_type">{{item.spu.product_type == 1 ? "秒杀" : item.spu.product_type == 2 ? "预售" : item.spu.product_type == 3 ? "助力" : item.spu.product_type == 4 ? "拼团" : ""}}</text>
|
|
|
|
|
- <text class="name_text line1">{{item.spu.store_name}}</text>
|
|
|
|
|
|
|
+ <view class="collectionGoods" v-if="collectProductList.length">
|
|
|
|
|
+ <view class="item acea-row row-between-wrapper" v-for="(item, index) in collectProductList" :key="index" v-if="item.spu" @tap="goDetail(item.spu)">
|
|
|
|
|
+ <view class="pictrue"><easy-loadimage mode="widthFix" :image-src="item.spu.image"></easy-loadimage></view>
|
|
|
|
|
+ <view class="text acea-row row-column-between">
|
|
|
|
|
+ <view class="name">
|
|
|
|
|
+ <text v-if="item.spu.product_type != 0" :class="'font_bg-red type' + item.spu.product_type">
|
|
|
|
|
+ {{
|
|
|
|
|
+ item.spu.product_type == 1
|
|
|
|
|
+ ? '秒杀'
|
|
|
|
|
+ : item.spu.product_type == 2
|
|
|
|
|
+ ? '预售'
|
|
|
|
|
+ : item.spu.product_type == 3
|
|
|
|
|
+ ? '助力'
|
|
|
|
|
+ : item.spu.product_type == 4
|
|
|
|
|
+ ? '拼团'
|
|
|
|
|
+ : ''
|
|
|
|
|
+ }}
|
|
|
|
|
+ </text>
|
|
|
|
|
+ <text class="name_text line1">{{ item.spu.store_name }}</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class='acea-row row-between-wrapper'>
|
|
|
|
|
- <view class='money'>¥{{item.spu.price}}</view>
|
|
|
|
|
- <view class='delete' @click.stop='delCollection(item.type_id,index)'>删除</view>
|
|
|
|
|
|
|
+ <view class="acea-row row-between-wrapper">
|
|
|
|
|
+ <view class="money">¥{{ item.spu.price }}</view>
|
|
|
|
|
+ <view class="delete" @click.stop="delCollection(item.type_id, index)">删除</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class='loadingicon acea-row row-center-wrapper'>
|
|
|
|
|
- <text class='loading iconfont icon-jiazai' :hidden='loading==false'></text>{{loadTitle}}
|
|
|
|
|
|
|
+ <view class="loadingicon acea-row row-center-wrapper">
|
|
|
|
|
+ <text class="loading iconfont icon-jiazai" :hidden="loading == false"></text>
|
|
|
|
|
+ {{ loadTitle }}
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class='noCommodity' v-else-if="!collectProductList.length && page > 1">
|
|
|
|
|
- <view class='pictrue'>
|
|
|
|
|
- <image src='@/static/images/noCart.png'></image>
|
|
|
|
|
|
|
+ <view class="noCommodity" v-else-if="!collectProductList.length && page > 1">
|
|
|
|
|
+ <view class="pictrue">
|
|
|
|
|
+ <image src="@/static/images/noCart.png"></image>
|
|
|
<view>暂无商品,去添加点什么吧</view>
|
|
<view>暂无商品,去添加点什么吧</view>
|
|
|
</view>
|
|
</view>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<recommend :hostProduct="hostProduct" :isLogin="isLogin"></recommend>
|
|
<recommend :hostProduct="hostProduct" :isLogin="isLogin"></recommend>
|
|
|
</view>
|
|
</view>
|
|
|
<authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize>
|
|
<authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize>
|
|
@@ -33,75 +44,76 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
- // +----------------------------------------------------------------------
|
|
|
|
|
- // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
|
|
|
|
|
- // +----------------------------------------------------------------------
|
|
|
|
|
- // | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
|
|
|
|
|
- // +----------------------------------------------------------------------
|
|
|
|
|
- // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
|
|
|
|
|
- // +----------------------------------------------------------------------
|
|
|
|
|
- // | Author: CRMEB Team <admin@crmeb.com>
|
|
|
|
|
- // +----------------------------------------------------------------------
|
|
|
|
|
- import { getCollectUserList, getProductHot, userCollectDel } from '@/api/store.js';
|
|
|
|
|
- import { goShopDetail } from '@/libs/order.js'
|
|
|
|
|
- import {openBargainSubscribe} from '@/utils/SubscribeMessage.js'
|
|
|
|
|
- import {initiateAssistApi} from '@/api/activity.js'
|
|
|
|
|
- import { mapGetters } from "vuex";
|
|
|
|
|
- import recommend from '@/components/recommend';
|
|
|
|
|
- import easyLoadimage from '@/components/easy-loadimage/easy-loadimage.vue';
|
|
|
|
|
- import authorize from '@/components/Authorize';
|
|
|
|
|
- export default {
|
|
|
|
|
- components: {
|
|
|
|
|
- recommend,
|
|
|
|
|
- easyLoadimage,
|
|
|
|
|
- authorize
|
|
|
|
|
- },
|
|
|
|
|
- data() {
|
|
|
|
|
- return {
|
|
|
|
|
- hostProduct: [],
|
|
|
|
|
- loadTitle: '加载更多',
|
|
|
|
|
- loading: false,
|
|
|
|
|
- loadend: false,
|
|
|
|
|
- collectProductList: [],
|
|
|
|
|
- limit: 20,
|
|
|
|
|
- page: 1,
|
|
|
|
|
- isAuto: false, //没有授权的不会自动授权
|
|
|
|
|
- isShowAuth: false ,//是否隐藏授权
|
|
|
|
|
- hotScroll:false,
|
|
|
|
|
- hotPage:1,
|
|
|
|
|
- hotLimit:10
|
|
|
|
|
- };
|
|
|
|
|
- },
|
|
|
|
|
- computed: mapGetters(['isLogin','viewColor']),
|
|
|
|
|
- onLoad() {
|
|
|
|
|
- if (this.isLogin) {
|
|
|
|
|
- this.get_user_collect_product();
|
|
|
|
|
- this.get_host_product();
|
|
|
|
|
- } else {
|
|
|
|
|
- this.isAuto = true;
|
|
|
|
|
- this.isShowAuth = true
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
|
|
+// +----------------------------------------------------------------------
|
|
|
|
|
+// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
|
|
|
|
|
+// +----------------------------------------------------------------------
|
|
|
|
|
+// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
|
|
|
|
|
+// +----------------------------------------------------------------------
|
|
|
|
|
+// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
|
|
|
|
|
+// +----------------------------------------------------------------------
|
|
|
|
|
+// | Author: CRMEB Team <admin@crmeb.com>
|
|
|
|
|
+// +----------------------------------------------------------------------
|
|
|
|
|
+import { getCollectUserList, getProductHot, userCollectDel } from '@/api/store.js';
|
|
|
|
|
+import { goShopDetail } from '@/libs/order.js';
|
|
|
|
|
+import { openBargainSubscribe } from '@/utils/SubscribeMessage.js';
|
|
|
|
|
+import { initiateAssistApi } from '@/api/activity.js';
|
|
|
|
|
+import { mapGetters } from 'vuex';
|
|
|
|
|
+import recommend from '@/components/recommend';
|
|
|
|
|
+import easyLoadimage from '@/components/easy-loadimage/easy-loadimage.vue';
|
|
|
|
|
+import authorize from '@/components/Authorize';
|
|
|
|
|
+export default {
|
|
|
|
|
+ components: {
|
|
|
|
|
+ recommend,
|
|
|
|
|
+ easyLoadimage,
|
|
|
|
|
+ authorize
|
|
|
|
|
+ },
|
|
|
|
|
+ data() {
|
|
|
|
|
+ return {
|
|
|
|
|
+ hostProduct: [],
|
|
|
|
|
+ loadTitle: '加载更多',
|
|
|
|
|
+ loading: false,
|
|
|
|
|
+ loadend: false,
|
|
|
|
|
+ collectProductList: [],
|
|
|
|
|
+ limit: 20,
|
|
|
|
|
+ page: 1,
|
|
|
|
|
+ isAuto: false, //没有授权的不会自动授权
|
|
|
|
|
+ isShowAuth: false, //是否隐藏授权
|
|
|
|
|
+ hotScroll: false,
|
|
|
|
|
+ hotPage: 1,
|
|
|
|
|
+ hotLimit: 10
|
|
|
|
|
+ };
|
|
|
|
|
+ },
|
|
|
|
|
+ computed: mapGetters(['isLogin', 'viewColor']),
|
|
|
|
|
+ onLoad() {
|
|
|
|
|
+ if (this.isLogin) {
|
|
|
|
|
+ this.get_user_collect_product();
|
|
|
|
|
+ this.get_host_product();
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.isAuto = true;
|
|
|
|
|
+ this.isShowAuth = true;
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 页面上拉触底事件的处理函数
|
|
|
|
|
+ */
|
|
|
|
|
+ methods: {
|
|
|
/**
|
|
/**
|
|
|
- * 页面上拉触底事件的处理函数
|
|
|
|
|
|
|
+ * 授权回调
|
|
|
*/
|
|
*/
|
|
|
- methods: {
|
|
|
|
|
- /**
|
|
|
|
|
- * 授权回调
|
|
|
|
|
- */
|
|
|
|
|
- onLoadFun: function() {
|
|
|
|
|
- this.isShowAuth = false;
|
|
|
|
|
- this.get_user_collect_product();
|
|
|
|
|
- this.get_host_product();
|
|
|
|
|
- },
|
|
|
|
|
- // 授权关闭
|
|
|
|
|
- authColse: function(e) {
|
|
|
|
|
- this.isShowAuth = e
|
|
|
|
|
- },
|
|
|
|
|
- goDetail(item){
|
|
|
|
|
- goShopDetail(item, this.uid).then(res => {
|
|
|
|
|
|
|
+ onLoadFun: function() {
|
|
|
|
|
+ this.isShowAuth = false;
|
|
|
|
|
+ this.get_user_collect_product();
|
|
|
|
|
+ this.get_host_product();
|
|
|
|
|
+ },
|
|
|
|
|
+ // 授权关闭
|
|
|
|
|
+ authColse: function(e) {
|
|
|
|
|
+ this.isShowAuth = e;
|
|
|
|
|
+ },
|
|
|
|
|
+ goDetail(item) {
|
|
|
|
|
+ goShopDetail(item, this.uid).then(res => {
|
|
|
if (this.isLogin) {
|
|
if (this.isLogin) {
|
|
|
- initiateAssistApi(item.activity_id).then(res => {
|
|
|
|
|
|
|
+ initiateAssistApi(item.activity_id)
|
|
|
|
|
+ .then(res => {
|
|
|
let id = res.data.product_assist_set_id;
|
|
let id = res.data.product_assist_set_id;
|
|
|
uni.hideLoading();
|
|
uni.hideLoading();
|
|
|
// #ifndef MP
|
|
// #ifndef MP
|
|
@@ -110,40 +122,44 @@
|
|
|
});
|
|
});
|
|
|
// #endif
|
|
// #endif
|
|
|
// #ifdef MP
|
|
// #ifdef MP
|
|
|
- openBargainSubscribe().then(res => {
|
|
|
|
|
- uni.hideLoading();
|
|
|
|
|
- uni.navigateTo({
|
|
|
|
|
- url: '/pages/activity/assist_detail/index?id=' + id
|
|
|
|
|
|
|
+ openBargainSubscribe()
|
|
|
|
|
+ .then(res => {
|
|
|
|
|
+ uni.hideLoading();
|
|
|
|
|
+ uni.navigateTo({
|
|
|
|
|
+ url: '/pages/activity/assist_detail/index?id=' + id
|
|
|
|
|
+ });
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch(err => {
|
|
|
|
|
+ uni.hideLoading();
|
|
|
});
|
|
});
|
|
|
- }).catch((err) => {
|
|
|
|
|
- uni.hideLoading();
|
|
|
|
|
- });
|
|
|
|
|
// #endif
|
|
// #endif
|
|
|
- }).catch((err) => {
|
|
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch(err => {
|
|
|
uni.showToast({
|
|
uni.showToast({
|
|
|
title: err,
|
|
title: err,
|
|
|
icon: 'none'
|
|
icon: 'none'
|
|
|
- })
|
|
|
|
|
|
|
+ });
|
|
|
});
|
|
});
|
|
|
- } else {
|
|
|
|
|
- this.isAuto = true;
|
|
|
|
|
- this.isShowAuth = true
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
- },
|
|
|
|
|
- /**
|
|
|
|
|
- * 获取收藏产品
|
|
|
|
|
- */
|
|
|
|
|
- get_user_collect_product: function() {
|
|
|
|
|
- let that = this;
|
|
|
|
|
- if (this.loading) return;
|
|
|
|
|
- if (this.loadend) return;
|
|
|
|
|
- that.loading = true;
|
|
|
|
|
- that.loadTitle = "";
|
|
|
|
|
- getCollectUserList({
|
|
|
|
|
- page: that.page,
|
|
|
|
|
- limit: that.limit
|
|
|
|
|
- }).then(res => {
|
|
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.isAuto = true;
|
|
|
|
|
+ this.isShowAuth = true;
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 获取收藏产品
|
|
|
|
|
+ */
|
|
|
|
|
+ get_user_collect_product: function() {
|
|
|
|
|
+ let that = this;
|
|
|
|
|
+ if (this.loading) return;
|
|
|
|
|
+ if (this.loadend) return;
|
|
|
|
|
+ that.loading = true;
|
|
|
|
|
+ that.loadTitle = '';
|
|
|
|
|
+ getCollectUserList({
|
|
|
|
|
+ page: that.page,
|
|
|
|
|
+ limit: that.limit
|
|
|
|
|
+ })
|
|
|
|
|
+ .then(res => {
|
|
|
let collectProductList = res.data.list;
|
|
let collectProductList = res.data.list;
|
|
|
let loadend = collectProductList.length < that.limit;
|
|
let loadend = collectProductList.length < that.limit;
|
|
|
that.collectProductList = that.$util.SplitArray(collectProductList, that.collectProductList);
|
|
that.collectProductList = that.$util.SplitArray(collectProductList, that.collectProductList);
|
|
@@ -152,130 +168,130 @@
|
|
|
that.loadTitle = loadend ? '我也是有底线的' : '加载更多';
|
|
that.loadTitle = loadend ? '我也是有底线的' : '加载更多';
|
|
|
that.page = that.page + 1;
|
|
that.page = that.page + 1;
|
|
|
that.loading = false;
|
|
that.loading = false;
|
|
|
- }).catch(err => {
|
|
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch(err => {
|
|
|
that.loading = false;
|
|
that.loading = false;
|
|
|
- that.loadTitle = "加载更多";
|
|
|
|
|
|
|
+ that.loadTitle = '加载更多';
|
|
|
});
|
|
});
|
|
|
- },
|
|
|
|
|
- /**
|
|
|
|
|
- * 取消收藏
|
|
|
|
|
- */
|
|
|
|
|
- delCollection: function(id, index) {
|
|
|
|
|
- let that = this;
|
|
|
|
|
- userCollectDel({
|
|
|
|
|
- type:1,
|
|
|
|
|
- type_id:id
|
|
|
|
|
- }).then(res => {
|
|
|
|
|
- return that.$util.Tips({
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 取消收藏
|
|
|
|
|
+ */
|
|
|
|
|
+ delCollection: function(id, index) {
|
|
|
|
|
+ let that = this;
|
|
|
|
|
+ userCollectDel({
|
|
|
|
|
+ type: 1,
|
|
|
|
|
+ type_id: id
|
|
|
|
|
+ }).then(res => {
|
|
|
|
|
+ return that.$util.Tips(
|
|
|
|
|
+ {
|
|
|
title: '取消收藏成功',
|
|
title: '取消收藏成功',
|
|
|
icon: 'success'
|
|
icon: 'success'
|
|
|
- }, function() {
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ function() {
|
|
|
that.collectProductList.splice(index, 1);
|
|
that.collectProductList.splice(index, 1);
|
|
|
that.$set(that, 'collectProductList', that.collectProductList);
|
|
that.$set(that, 'collectProductList', that.collectProductList);
|
|
|
- });
|
|
|
|
|
- });
|
|
|
|
|
- },
|
|
|
|
|
- /**
|
|
|
|
|
- * 获取我的推荐
|
|
|
|
|
- */
|
|
|
|
|
- get_host_product: function() {
|
|
|
|
|
- let that = this;
|
|
|
|
|
- if(that.hotScroll) return
|
|
|
|
|
- getProductHot(
|
|
|
|
|
- that.hotPage,
|
|
|
|
|
- that.hotLimit,
|
|
|
|
|
- ).then(res => {
|
|
|
|
|
- that.hotPage++
|
|
|
|
|
- that.hotScroll = res.data.list.length<that.hotLimit
|
|
|
|
|
- that.hostProduct = that.hostProduct.concat(res.data.list)
|
|
|
|
|
- });
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- },
|
|
|
|
|
- onReachBottom() {
|
|
|
|
|
- this.get_user_collect_product();
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+ );
|
|
|
|
|
+ });
|
|
|
},
|
|
},
|
|
|
- // 滚动监听
|
|
|
|
|
- onPageScroll(e) {
|
|
|
|
|
- // 传入scrollTop值并触发所有easy-loadimage组件下的滚动监听事件
|
|
|
|
|
- uni.$emit('scroll');
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 获取我的推荐
|
|
|
|
|
+ */
|
|
|
|
|
+ get_host_product: function() {
|
|
|
|
|
+ let that = this;
|
|
|
|
|
+ if (that.hotScroll) return;
|
|
|
|
|
+ getProductHot(that.hotPage, that.hotLimit).then(res => {
|
|
|
|
|
+ that.hotPage++;
|
|
|
|
|
+ that.hotScroll = res.data.list.length < that.hotLimit;
|
|
|
|
|
+ that.hostProduct = that.hostProduct.concat(res.data.list);
|
|
|
|
|
+ });
|
|
|
}
|
|
}
|
|
|
|
|
+ },
|
|
|
|
|
+ onReachBottom() {
|
|
|
|
|
+ this.get_user_collect_product();
|
|
|
|
|
+ },
|
|
|
|
|
+ // 滚动监听
|
|
|
|
|
+ onPageScroll(e) {
|
|
|
|
|
+ // 传入scrollTop值并触发所有easy-loadimage组件下的滚动监听事件
|
|
|
|
|
+ uni.$emit('scroll');
|
|
|
}
|
|
}
|
|
|
|
|
+};
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|
|
|
- .collectionGoods {
|
|
|
|
|
- background-color: #fff;
|
|
|
|
|
- border-top: 1rpx solid #eee;
|
|
|
|
|
- }
|
|
|
|
|
- .font_bg-red {
|
|
|
|
|
- background-color: var(--view-theme);
|
|
|
|
|
- border: 1rpx solid var(--view-theme);
|
|
|
|
|
- &.type2{
|
|
|
|
|
- background-color: #FD6523;
|
|
|
|
|
- border: 1rpx solid #FD6523;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- .collectionGoods .item {
|
|
|
|
|
- margin-left: 30rpx;
|
|
|
|
|
- padding-right: 30rpx;
|
|
|
|
|
- border-bottom: 1rpx solid #eee;
|
|
|
|
|
- height: 180rpx;
|
|
|
|
|
|
|
+.collectionGoods {
|
|
|
|
|
+ background-color: #fff;
|
|
|
|
|
+ border-top: 1rpx solid #eee;
|
|
|
|
|
+}
|
|
|
|
|
+.font_bg-red {
|
|
|
|
|
+ background-color: var(--view-theme);
|
|
|
|
|
+ border: 1rpx solid var(--view-theme);
|
|
|
|
|
+ &.type2 {
|
|
|
|
|
+ background-color: #fd6523;
|
|
|
|
|
+ border: 1rpx solid #fd6523;
|
|
|
}
|
|
}
|
|
|
|
|
+}
|
|
|
|
|
+.collectionGoods .item {
|
|
|
|
|
+ margin-left: 30rpx;
|
|
|
|
|
+ padding-right: 30rpx;
|
|
|
|
|
+ border-bottom: 1rpx solid #eee;
|
|
|
|
|
+ height: 180rpx;
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
- .collectionGoods .item .pictrue {
|
|
|
|
|
- width: 130rpx;
|
|
|
|
|
- height: 130rpx;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+.collectionGoods .item .pictrue {
|
|
|
|
|
+ width: 130rpx;
|
|
|
|
|
+ height: 130rpx;
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
- /deep/.collectionGoods .item .pictrue image,
|
|
|
|
|
- /deep/.collectionGoods .item .easy-loadimage, .collectionGoods .item uni-image{
|
|
|
|
|
- width: 100%;
|
|
|
|
|
- height: 100%;
|
|
|
|
|
- border-radius: 6rpx;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+/deep/.collectionGoods .item .pictrue image,
|
|
|
|
|
+/deep/.collectionGoods .item .easy-loadimage,
|
|
|
|
|
+.collectionGoods .item uni-image {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+ border-radius: 6rpx;
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
- .collectionGoods .item .text {
|
|
|
|
|
- width: 535rpx;
|
|
|
|
|
- height: 130rpx;
|
|
|
|
|
- font-size: 28rpx;
|
|
|
|
|
- color: #282828;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .collectionGoods .item .text .name {
|
|
|
|
|
- width: 100%;
|
|
|
|
|
- display: flex;
|
|
|
|
|
- align-items: center;
|
|
|
|
|
- }
|
|
|
|
|
- .collectionGoods .item .name_text{
|
|
|
|
|
- display: inline-block;
|
|
|
|
|
- max-width: 400rpx;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+.collectionGoods .item .text {
|
|
|
|
|
+ width: 535rpx;
|
|
|
|
|
+ height: 130rpx;
|
|
|
|
|
+ font-size: 28rpx;
|
|
|
|
|
+ color: #282828;
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
- .collectionGoods .item .text .money {
|
|
|
|
|
- font-size: 26rpx;
|
|
|
|
|
- color: var(--view-priceColor);
|
|
|
|
|
- }
|
|
|
|
|
|
|
+.collectionGoods .item .text .name {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+}
|
|
|
|
|
+.collectionGoods .item .name_text {
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ max-width: 400rpx;
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
- .collectionGoods .item .text .delete {
|
|
|
|
|
- font-size: 26rpx;
|
|
|
|
|
- color: #282828;
|
|
|
|
|
- width: 144rpx;
|
|
|
|
|
- height: 46rpx;
|
|
|
|
|
- border: 1px solid #bbb;
|
|
|
|
|
- border-radius: 24rpx;
|
|
|
|
|
- text-align: center;
|
|
|
|
|
- line-height: 46rpx;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+.collectionGoods .item .text .money {
|
|
|
|
|
+ font-size: 26rpx;
|
|
|
|
|
+ color: var(--view-priceColor);
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
- .noCommodity {
|
|
|
|
|
- background-color: #fff;
|
|
|
|
|
- padding-top: 1rpx;
|
|
|
|
|
- border-top: 0;
|
|
|
|
|
- }
|
|
|
|
|
- .noCommodity .pictrue{
|
|
|
|
|
- text-align: center;
|
|
|
|
|
- margin: 78rpx auto 56rpx auto;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+.collectionGoods .item .text .delete {
|
|
|
|
|
+ font-size: 26rpx;
|
|
|
|
|
+ color: #282828;
|
|
|
|
|
+ width: 144rpx;
|
|
|
|
|
+ height: 46rpx;
|
|
|
|
|
+ border: 1px solid #bbb;
|
|
|
|
|
+ border-radius: 24rpx;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ line-height: 46rpx;
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
-</style>
|
|
|
|
|
|
|
+.noCommodity {
|
|
|
|
|
+ background-color: #fff;
|
|
|
|
|
+ padding-top: 1rpx;
|
|
|
|
|
+ border-top: 0;
|
|
|
|
|
+}
|
|
|
|
|
+.noCommodity .pictrue {
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ margin: 78rpx auto 56rpx auto;
|
|
|
|
|
+}
|
|
|
|
|
+</style>
|