|
|
@@ -0,0 +1,653 @@
|
|
|
+<template>
|
|
|
+ <div class="shopping_cart">
|
|
|
+ <van-sticky>
|
|
|
+ <div class="padding-safe-top">
|
|
|
+ <div class="shopping_cart_top_one">
|
|
|
+ <img
|
|
|
+ :src="require('@assets/icon-back@3x.png')"
|
|
|
+ alt=""
|
|
|
+ class="shopping_cart_top_one_img"
|
|
|
+ @click="$router.back()"
|
|
|
+ />
|
|
|
+ 购物车
|
|
|
+ <div class="shopping_cart_top_one_btn" v-if="!showDelete" @click="showDelete = true">管理</div>
|
|
|
+ <div class="shopping_cart_top_one_btns" v-else @click="accomplish">完成</div>
|
|
|
+ </div>
|
|
|
+ <div class="shopping_cart_top_two">
|
|
|
+ <div
|
|
|
+ class="shopping_cart_top_two_con"
|
|
|
+ :class="{ active: active === 'ALL' }"
|
|
|
+ @click="changeActive('ALL')"
|
|
|
+ >
|
|
|
+ 全部(10)
|
|
|
+ <div class="shopping_cart_top_two_con_one" v-if="active == 'ALL'"></div>
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ class="shopping_cart_top_two_con"
|
|
|
+ :class="{ active: active === 'SELLOUT' }"
|
|
|
+ @click="changeActive('SELLOUT')"
|
|
|
+ >
|
|
|
+ 售罄(2)
|
|
|
+ <div class="shopping_cart_top_two_con_two" v-if="active == 'SELLOUT'"></div>
|
|
|
+ </div>
|
|
|
+ <div class="shopping_cart_top_two_con" @click="cartExplain">
|
|
|
+ <img
|
|
|
+ :src="require('@assets/icon-shuoming@3x.png')"
|
|
|
+ alt=""
|
|
|
+ class="shopping_cart_top_two_con_img"
|
|
|
+ />
|
|
|
+ <div>说明</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </van-sticky>
|
|
|
+ <van-pull-refresh
|
|
|
+ success-text="加载成功"
|
|
|
+ success-duration="500"
|
|
|
+ class="search"
|
|
|
+ v-model="isLoading"
|
|
|
+ :head-height="80"
|
|
|
+ @refresh="onRefresh"
|
|
|
+ >
|
|
|
+ <van-list
|
|
|
+ style="padding-bottom: 100px"
|
|
|
+ class="box-list"
|
|
|
+ v-model:loading="loading"
|
|
|
+ :finished="finished"
|
|
|
+ finished-text=""
|
|
|
+ @load="getList"
|
|
|
+ >
|
|
|
+ <div class="box-list_con" v-for="(item, index) in collectionList" :key="index" @click="settle(index)">
|
|
|
+ <img :src="item.check ? select : unchecked" alt="" class="box-list_con_check" />
|
|
|
+ <van-image width="80" height="80" :src="item.img" fit="contain" radius="8" />
|
|
|
+ <div v-if="item.type == 'DOMAIN'" class="box-list_con_right">
|
|
|
+ <div class="box-list_con_right_top">
|
|
|
+ <img :src="require('@assets/png-da-zi@3x.png')" alt="" class="box-list_con_right_top_img" />
|
|
|
+ <div class="box-list_con_right_top_title">
|
|
|
+ <div
|
|
|
+ class="box-list_con_right_top_title_name"
|
|
|
+ :class="active == 'SELLOUT' ? 'box-list_con_right_top_title_names' : ''"
|
|
|
+ >
|
|
|
+ {{ item.name }}
|
|
|
+ </div>
|
|
|
+ <div class="box-list_con_right_top_title_time">剩余时长 {{ item.endTime }}</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="box-list_con_right_bottom" v-if="active == 'ALL'">
|
|
|
+ <img
|
|
|
+ :src="require('@assets/icon_jiage@3x (4).png')"
|
|
|
+ alt=""
|
|
|
+ class="box-list_con_right_bottom_price_img"
|
|
|
+ />
|
|
|
+ <div class="box-list_con_right_bottom_price">{{ item.price }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="box-list_con_right_bottom_noBuy" v-else>藏品已售罄不能购买</div>
|
|
|
+ </div>
|
|
|
+ <div v-else class="box-list_con_right_two">
|
|
|
+ <div
|
|
|
+ class="box-list_con_right_two_name"
|
|
|
+ :class="active == 'SELLOUT' ? 'box-list_con_right_two_names' : ''"
|
|
|
+ >
|
|
|
+ {{ item.name }}
|
|
|
+ </div>
|
|
|
+ <div class="box-list_con_right_two_information">
|
|
|
+ <van-image width="14" height="14" :src="item.myImg" fit="cover" radius="100" />
|
|
|
+ <div class="box-list_con_right_two_information_name">{{ item.myName }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="box-list_con_right_bottom" v-if="active == 'ALL'">
|
|
|
+ <img
|
|
|
+ :src="require('@assets/icon_jiage@3x (4).png')"
|
|
|
+ alt=""
|
|
|
+ class="box-list_con_right_bottom_price_img"
|
|
|
+ />
|
|
|
+ <div class="box-list_con_right_bottom_price">{{ item.price }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="box-list_con_right_bottom_noBuy" v-else>藏品已售罄不能购买</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <van-empty
|
|
|
+ :image="require('@assets/empty_img_asset_dark.png')"
|
|
|
+ v-if="empty"
|
|
|
+ description="没有任何藏品哦~"
|
|
|
+ />
|
|
|
+ </van-list>
|
|
|
+ </van-pull-refresh>
|
|
|
+ <!-- <div class="box-list">
|
|
|
+
|
|
|
+ </div> -->
|
|
|
+ <div class="shopping_cart_btn van-safe-area-bottom" v-if="active == 'ALL' && showDelete == false">
|
|
|
+ <div class="shopping_cart_btn_left" @click="checkAll">
|
|
|
+ <img :src="checkAllStatus ? select : unchecked" alt="" class="shopping_cart_btn_left_img" />
|
|
|
+ <div>全选</div>
|
|
|
+ </div>
|
|
|
+ <div class="shopping_cart_btn_right">
|
|
|
+ <div class="shopping_cart_btn_right_one">合计</div>
|
|
|
+ <div class="shopping_cart_btn_right_two">
|
|
|
+ <img
|
|
|
+ :src="require('@assets/icon_jiage@3x (3).png')"
|
|
|
+ alt=""
|
|
|
+ class="shopping_cart_btn_right_two_img"
|
|
|
+ />
|
|
|
+ <div>{{ price }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="shopping_cart_btn_right_three" @click="settleAccounts">
|
|
|
+ 结算<span v-if="totalSettlement != 0">({{ totalSettlement }})</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="shopping_cart_btn van-safe-area-bottom" v-else-if="showDelete == true">
|
|
|
+ <div class="shopping_cart_btn_left" @click="checkAll">
|
|
|
+ <img :src="checkAllStatus ? select : unchecked" alt="" class="shopping_cart_btn_left_img" />
|
|
|
+ <div>全选</div>
|
|
|
+ </div>
|
|
|
+ <div class="shopping_cart_btn_right">
|
|
|
+ <div class="shopping_cart_btn_right_three" @click="del">
|
|
|
+ 删除<span v-if="totalSettlement != 0">({{ totalSettlement }})</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+<script>
|
|
|
+import { Dialog } from 'vant';
|
|
|
+export default {
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ active: 'ALL',
|
|
|
+ loading: false,
|
|
|
+ finished: false,
|
|
|
+ select: require('@assets/icon_gouxuan_pre@3x (2).png'),
|
|
|
+ unchecked: require('@assets/icon_gouxuan_huise@3x (1).png'),
|
|
|
+ collectionList: [
|
|
|
+ // {
|
|
|
+ // type: 'DOMAIN',
|
|
|
+ // check: false,
|
|
|
+ // img: require('@assets/1091676369057_.pic@3x.png'),
|
|
|
+ // name: 'R.nft',
|
|
|
+ // endTime: '188天7时13分',
|
|
|
+ // price: 1000
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // type: 'Collection',
|
|
|
+ // check: false,
|
|
|
+ // img: require('@assets/10561663573720_.pic_hd4@3x.png'),
|
|
|
+ // myImg: require('@assets/1091676369057_.pic@3x.png'),
|
|
|
+ // name: '游戏《百分之一》精美的礼物',
|
|
|
+ // myName: '持有者名称',
|
|
|
+ // endTime: '188天7时13分',
|
|
|
+ // price: 199
|
|
|
+ // },
|
|
|
+ ],
|
|
|
+ price: 0,
|
|
|
+ checkAllStatus: false,
|
|
|
+ totalSettlement: 0,
|
|
|
+ page: 0,
|
|
|
+ showDelete: false
|
|
|
+ };
|
|
|
+ },
|
|
|
+ mounted() {
|
|
|
+ // this.getList()
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ changeActive(title) {
|
|
|
+ this.active = title;
|
|
|
+ this.showDelete = false;
|
|
|
+ this.checkAllStatus = false;
|
|
|
+ this.price = 0;
|
|
|
+ this.totalSettlement = 0;
|
|
|
+ this.getList(true);
|
|
|
+ },
|
|
|
+ accomplish() {
|
|
|
+ this.showDelete = false;
|
|
|
+ if (this.active == 'SELLOUT') {
|
|
|
+ this.checkAllStatus = false;
|
|
|
+ this.totalSettlement = 0;
|
|
|
+ this.getList(true);
|
|
|
+ }
|
|
|
+ },
|
|
|
+ cartExplain() {},
|
|
|
+ checkAll() {
|
|
|
+ this.checkAllStatus = !this.checkAllStatus;
|
|
|
+ if (this.checkAllStatus) {
|
|
|
+ this.price = 0;
|
|
|
+ this.totalSettlement = this.collectionList.length;
|
|
|
+ this.collectionList.forEach(item => {
|
|
|
+ item.check = true;
|
|
|
+ this.price += Number(item.price);
|
|
|
+ });
|
|
|
+ this.price = this.price.toFixed(1);
|
|
|
+ } else {
|
|
|
+ this.price = 0;
|
|
|
+ this.totalSettlement = 0;
|
|
|
+ this.collectionList.forEach(item => {
|
|
|
+ item.check = false;
|
|
|
+ });
|
|
|
+ }
|
|
|
+ },
|
|
|
+ settle(index) {
|
|
|
+ if (this.active == 'SELLOUT' && !this.showDelete) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ this.collectionList[index].check = !this.collectionList[index].check;
|
|
|
+ let newCollectionList = this.collectionList.filter(item => item.check == true);
|
|
|
+ if (this.collectionList.length == newCollectionList.length) {
|
|
|
+ this.checkAllStatus = true;
|
|
|
+ } else {
|
|
|
+ this.checkAllStatus = false;
|
|
|
+ }
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.totalSettlement = newCollectionList.length;
|
|
|
+ this.price = 0;
|
|
|
+ console.log('dcghcfgfc', newCollectionList);
|
|
|
+ newCollectionList.forEach(item => {
|
|
|
+ this.price += Number(item.price);
|
|
|
+ });
|
|
|
+ this.price = this.price.toFixed(1);
|
|
|
+ // for (let i = 0; i <= newCollectionList.length; i++) {
|
|
|
+ // this.price += Number(newCollectionList[i].price)
|
|
|
+ // }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ settleAccounts() {
|
|
|
+ if (this.totalSettlement == 0) {
|
|
|
+ return;
|
|
|
+ } else {
|
|
|
+ this.$router.push('/shoppingCartSubmit');
|
|
|
+ // Dialog.confirm({
|
|
|
+ // title: '有藏品已售罄,无法购买!',
|
|
|
+ // confirmButtonText: '一键删除',
|
|
|
+ // cancelButtonText: '再想想',
|
|
|
+ // confirmButtonColor: '#FF4F50',
|
|
|
+ // cancelButtonColor: '#626366'
|
|
|
+ // }).then(() => {
|
|
|
+
|
|
|
+ // }).catch(() => { })
|
|
|
+ }
|
|
|
+ },
|
|
|
+ del() {
|
|
|
+ if (this.totalSettlement == 0) {
|
|
|
+ return;
|
|
|
+ } else {
|
|
|
+ Dialog.confirm({
|
|
|
+ title: '确认将这' + this.totalSettlement + '个藏品删除?',
|
|
|
+ confirmButtonText: '删除',
|
|
|
+ cancelButtonText: '再想想',
|
|
|
+ confirmButtonColor: '#FF4F50',
|
|
|
+ cancelButtonColor: '#626366'
|
|
|
+ })
|
|
|
+ .then(() => {})
|
|
|
+ .catch(() => {});
|
|
|
+ }
|
|
|
+ },
|
|
|
+ pad(n, width, z) {
|
|
|
+ z = z || '0';
|
|
|
+ n = n + '';
|
|
|
+ return n.length >= width ? n : new Array(width - n.length + 1).join(z) + n;
|
|
|
+ },
|
|
|
+ getList(isFirst = false) {
|
|
|
+ if (isFirst) {
|
|
|
+ this.page = 0;
|
|
|
+ this.collectionList = [];
|
|
|
+ }
|
|
|
+ this.loading = true;
|
|
|
+ this.finished = false;
|
|
|
+ this.empty = false;
|
|
|
+ let query = {
|
|
|
+ type: 'DOMAIN'
|
|
|
+ };
|
|
|
+ let sort = 'likes,desc';
|
|
|
+ let url = 'collection/all';
|
|
|
+ return this.$http
|
|
|
+ .post(
|
|
|
+ url,
|
|
|
+ {
|
|
|
+ page: this.page,
|
|
|
+ size: 20,
|
|
|
+ query: query,
|
|
|
+ sort: sort,
|
|
|
+ search: this.search
|
|
|
+ },
|
|
|
+ { body: 'json' }
|
|
|
+ )
|
|
|
+ .then(res => {
|
|
|
+ if (res.first) {
|
|
|
+ this.collectionList = [];
|
|
|
+ this.page = 0;
|
|
|
+ }
|
|
|
+ if (this.checkAllStatus) {
|
|
|
+ let newPrice = Number(this.price);
|
|
|
+ res.content.forEach(item => {
|
|
|
+ item.check = true;
|
|
|
+ newPrice += Number(item.price);
|
|
|
+ });
|
|
|
+ this.totalSettlement = this.totalSettlement + res.content.length;
|
|
|
+ this.price = newPrice.toFixed(1);
|
|
|
+ } else {
|
|
|
+ res.content.forEach(item => {
|
|
|
+ item.check = false;
|
|
|
+ });
|
|
|
+ }
|
|
|
+ this.collectionList = [...this.collectionList, ...res.content];
|
|
|
+ this.empty = res.empty;
|
|
|
+ this.loading = false;
|
|
|
+ this.finished = res.last;
|
|
|
+ if (!this.finished) {
|
|
|
+ this.page = this.page + 1;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ onRefresh() {
|
|
|
+ this.getList(true).then(() => {
|
|
|
+ this.isLoading = false;
|
|
|
+ this.price = 0;
|
|
|
+ this.totalSettlement = 0;
|
|
|
+ this.checkAllStatus = false;
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
+};
|
|
|
+</script>
|
|
|
+<style lang="less" scoped>
|
|
|
+/deep/ .van-dialog__header {
|
|
|
+ padding-top: 24px !important;
|
|
|
+}
|
|
|
+
|
|
|
+.shopping_cart {
|
|
|
+ background: #000000;
|
|
|
+
|
|
|
+ .shopping_cart_top_one {
|
|
|
+ height: 50px;
|
|
|
+ position: relative;
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 50px;
|
|
|
+ text-align: center;
|
|
|
+ background: #161414;
|
|
|
+
|
|
|
+ .shopping_cart_top_one_img {
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ position: absolute;
|
|
|
+ top: 13px;
|
|
|
+ left: 16px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .shopping_cart_top_one_btn {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 24px;
|
|
|
+ position: absolute;
|
|
|
+ top: 13px;
|
|
|
+ right: 16px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .shopping_cart_top_one_btns {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #00fe1e;
|
|
|
+ line-height: 24px;
|
|
|
+ position: absolute;
|
|
|
+ top: 13px;
|
|
|
+ right: 16px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .shopping_cart_top_two {
|
|
|
+ height: 50px;
|
|
|
+ background: #161414;
|
|
|
+ padding: 0px 16px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+
|
|
|
+ .shopping_cart_top_two_con {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #939599;
|
|
|
+ position: relative;
|
|
|
+ }
|
|
|
+
|
|
|
+ .shopping_cart_top_two_con_one {
|
|
|
+ width: 28px;
|
|
|
+ height: 2px;
|
|
|
+ background: #00fe1e;
|
|
|
+ border-radius: 2px;
|
|
|
+ position: absolute;
|
|
|
+ left: 12px;
|
|
|
+ bottom: -5px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .shopping_cart_top_two_con_two {
|
|
|
+ width: 28px;
|
|
|
+ height: 2px;
|
|
|
+ background: #00fe1e;
|
|
|
+ border-radius: 2px;
|
|
|
+ position: absolute;
|
|
|
+ left: 9px;
|
|
|
+ bottom: -5px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .shopping_cart_top_two_con_img {
|
|
|
+ width: 18px;
|
|
|
+ height: 18px;
|
|
|
+ margin-right: 4px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .active {
|
|
|
+ font-weight: 500;
|
|
|
+ color: #00fe1e;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .search {
|
|
|
+ padding-bottom: 50px;
|
|
|
+ margin-top: 16px;
|
|
|
+ z-index: 1;
|
|
|
+ position: relative;
|
|
|
+ }
|
|
|
+
|
|
|
+ .box-list {
|
|
|
+ width: 100%;
|
|
|
+ padding: 0px 16px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ padding-bottom: 50px;
|
|
|
+ margin-top: 16px;
|
|
|
+
|
|
|
+ .box-list_con {
|
|
|
+ padding: 10px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ background: #161414;
|
|
|
+ border-radius: 8px;
|
|
|
+ margin-bottom: 16px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ .box-list_con_check {
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ margin-right: 10px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .box-list_con_right {
|
|
|
+ margin-left: 10px;
|
|
|
+
|
|
|
+ .box-list_con_right_top {
|
|
|
+ display: flex;
|
|
|
+ padding-top: 4px;
|
|
|
+ align-items: center;
|
|
|
+ margin-bottom: 15px;
|
|
|
+
|
|
|
+ .box-list_con_right_top_img {
|
|
|
+ width: 10px;
|
|
|
+ height: 38px;
|
|
|
+ margin-right: 6px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .box-list_con_right_top_title_name {
|
|
|
+ width: calc(47vw);
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 24px;
|
|
|
+ margin-bottom: 2px;
|
|
|
+ overflow: hidden;
|
|
|
+ white-space: nowrap;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ }
|
|
|
+
|
|
|
+ .box-list_con_right_top_title_names {
|
|
|
+ color: #939599;
|
|
|
+ }
|
|
|
+
|
|
|
+ .box-list_con_right_top_title_time {
|
|
|
+ max-width: 114px;
|
|
|
+ height: 17px;
|
|
|
+ background: #1e1e1e;
|
|
|
+ border-radius: 2px;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 10px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #939599;
|
|
|
+ line-height: 17px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .box-list_con_right_two {
|
|
|
+ margin-left: 10px;
|
|
|
+
|
|
|
+ .box-list_con_right_two_name {
|
|
|
+ width: calc(52vw);
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 24px;
|
|
|
+ margin-bottom: 4px;
|
|
|
+ overflow: hidden;
|
|
|
+ white-space: nowrap;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ }
|
|
|
+
|
|
|
+ .box-list_con_right_two_names {
|
|
|
+ color: #939599;
|
|
|
+ }
|
|
|
+
|
|
|
+ .box-list_con_right_two_information {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ margin-bottom: 13px;
|
|
|
+
|
|
|
+ .box-list_con_right_two_information_name {
|
|
|
+ margin-left: 3px;
|
|
|
+ font-size: 10px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #939599;
|
|
|
+ line-height: 17px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .box-list_con_right_bottom {
|
|
|
+ display: flex;
|
|
|
+
|
|
|
+ .box-list_con_right_bottom_price_img {
|
|
|
+ width: 8px;
|
|
|
+ height: 8px;
|
|
|
+ margin-right: 1px;
|
|
|
+ padding-top: 5px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .box-list_con_right_bottom_price {
|
|
|
+ font-size: 20px;
|
|
|
+ font-family: OSP-DIN, OSP;
|
|
|
+ font-weight: normal;
|
|
|
+ color: #00fe1e;
|
|
|
+ line-height: 14px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .box-list_con_right_bottom_noBuy {
|
|
|
+ font-size: 10px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #939599;
|
|
|
+ line-height: 17px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .shopping_cart_btn {
|
|
|
+ width: 100%;
|
|
|
+ position: fixed;
|
|
|
+ bottom: 0;
|
|
|
+ height: 56px;
|
|
|
+ padding: 0px 16px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ background: #161414;
|
|
|
+ box-shadow: 0px -1px 2px 0px rgba(0, 0, 0, 0.04);
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ z-index: 99;
|
|
|
+
|
|
|
+ .shopping_cart_btn_left {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #939599;
|
|
|
+
|
|
|
+ .shopping_cart_btn_left_img {
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ margin-right: 2px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .shopping_cart_btn_right {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ .shopping_cart_btn_right_one {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #ffffff;
|
|
|
+ margin-right: 5px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .shopping_cart_btn_right_two {
|
|
|
+ font-size: 32px;
|
|
|
+ font-family: OSP-DIN, OSP;
|
|
|
+ font-weight: normal;
|
|
|
+ color: #00fe1e;
|
|
|
+ display: flex;
|
|
|
+ margin-right: 11px;
|
|
|
+
|
|
|
+ .shopping_cart_btn_right_two_img {
|
|
|
+ width: 11px;
|
|
|
+ height: 11px;
|
|
|
+ padding-top: 16px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .shopping_cart_btn_right_three {
|
|
|
+ width: 120px;
|
|
|
+ height: 38px;
|
|
|
+ background: #00fe1e;
|
|
|
+ border-radius: 22px;
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #0b0b0b;
|
|
|
+ line-height: 38px;
|
|
|
+ text-align: center;
|
|
|
+
|
|
|
+ span {
|
|
|
+ font-weight: 400;
|
|
|
+ color: rgba(0, 0, 0, 0.8);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|