|
@@ -1,379 +1,389 @@
|
|
|
<template>
|
|
|
- <div class="nft-detail-wrapper">
|
|
|
- <div class="back-bar">
|
|
|
- <img :src="require('@/assets/svg/icon-nft-back-arrow.svg')"
|
|
|
- class="icon-arrow"
|
|
|
- @click="back"
|
|
|
- >
|
|
|
- Azuki #6436
|
|
|
- </div>
|
|
|
- <div class="content">
|
|
|
- <div class="nft-img">
|
|
|
- <img
|
|
|
- class="img"
|
|
|
- src="https://img0.baidu.com/it/u=901606327,1176126707&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500"
|
|
|
- @click="clickNFTImg"
|
|
|
- />
|
|
|
- </div>
|
|
|
-
|
|
|
- <div class="desc item">
|
|
|
- <div class="title">Description</div>
|
|
|
- <div class="desc-content" v-html="''"></div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div class="prop item">
|
|
|
- <div class="title">Properties</div>
|
|
|
- <div class="prop-content">
|
|
|
- <div class="prop-item" v-for="(item, index) in propList" :key="index">
|
|
|
- {{item.a}}
|
|
|
- <div class="prop-name">
|
|
|
- {{item.b}}
|
|
|
- </div>
|
|
|
- {{item.c}}
|
|
|
- </div>
|
|
|
+ <div class="nft-detail-wrapper">
|
|
|
+ <div class="back-bar">
|
|
|
+ <img
|
|
|
+ :src="require('@/assets/svg/icon-nft-back-arrow.svg')"
|
|
|
+ class="icon-arrow"
|
|
|
+ @click="back"
|
|
|
+ />
|
|
|
+ {{NFTInfo.nftItemName}}
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ <div class="content">
|
|
|
+ <div class="nft-img">
|
|
|
+ <img
|
|
|
+ class="img"
|
|
|
+ :src="NFTInfo.imagePath"
|
|
|
+ @click="clickNFTImg"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div v-for="(item, index) in listData" :key="index">
|
|
|
+ <div class="desc item" v-if="item.filedName == 'Description'">
|
|
|
+ <div class="title">{{item.filedName}}</div>
|
|
|
+ <div class="desc-content" v-html="item.filedValue"></div>
|
|
|
+ </div>
|
|
|
+ <div class="prop item" v-if="item.filedName == 'Properties'">
|
|
|
+ <div class="title">{{item.filedName}}</div>
|
|
|
+ <div class="prop-content">
|
|
|
+ <div
|
|
|
+ class="prop-item"
|
|
|
+ v-for="(filedValueItem, filedValueIndex) in item.filedValue"
|
|
|
+ :key="filedValueIndex"
|
|
|
+ >
|
|
|
+ {{ filedValueItem.name }}
|
|
|
+ <div class="prop-name">
|
|
|
+ {{ filedValueItem.value }}
|
|
|
+ </div>
|
|
|
+ {{ filedValueItem.description }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
|
|
|
- <div class="about item">
|
|
|
- <div class="title">About</div>
|
|
|
+ <div class="about item" v-if="item.filedName == 'About'">
|
|
|
+ <div class="title">{{item.filedName}}</div>
|
|
|
+ <div class="about-content" v-html="item.filedValue"></div>
|
|
|
+ </div>
|
|
|
|
|
|
- <div class="about-content" v-html="testHtml">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div class="detail item">
|
|
|
- <div class="title">Details</div>
|
|
|
- <div class="detail-content">
|
|
|
- <div class="detail-item" v-for="(item, index) in detailList" :key="index">
|
|
|
- <div class="left">{{item.label}}</div>
|
|
|
- <div class="right address" :class="{'blue': index < 2}">
|
|
|
- {{item.value}}
|
|
|
- <!-- <template>
|
|
|
- <span>{{item.value}}</span>
|
|
|
- <span>{{item.value}}</span>
|
|
|
- </template> -->
|
|
|
+ <div class="detail item" v-if="item.filedName == 'Details'">
|
|
|
+ <div class="title">{{item.filedName}}</div>
|
|
|
+ <div class="detail-content">
|
|
|
+ <div
|
|
|
+ class="detail-item"
|
|
|
+ v-for="(filedValueItem, filedValueIndex) in item.filedValue"
|
|
|
+ :key="filedValueIndex"
|
|
|
+ >
|
|
|
+ <div class="left">{{ filedValueItem.name }}</div>
|
|
|
+ <div class="right" :class="{'address': filedValueItem.name == 'Contract Address'}"
|
|
|
+ v-if="filedValueItem.name != 'Token ID'"
|
|
|
+ @click="clickAddress(filedValueItem)">
|
|
|
+ <template v-if="filedValueItem.name != 'Contract Address'">
|
|
|
+ {{ filedValueItem.value }}
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <span>{{filedValueItem.value}}</span>
|
|
|
+ <span>{{filedValueItem.value}}</span>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ <div v-else v-html='filedValueItem.value'></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
|
|
|
- <div class="date item">
|
|
|
- <div class="title">Date of possession</div>
|
|
|
- <div class="date-content">
|
|
|
- 2022-05-27
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ <div class="date item" v-if="item.filedName == 'Date of possession'">
|
|
|
+ <div class="title">{{item.filedName}}</div>
|
|
|
+ <div class="date-content">{{item.filedValue}}</div>
|
|
|
+ </div>
|
|
|
|
|
|
- <div class="price item">
|
|
|
- <div class="title">Purchase price</div>
|
|
|
- <div class="price-content">
|
|
|
- 100 USDT
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="bottom-bar">
|
|
|
- <div class="default">
|
|
|
- NFT Sale function, coming soon
|
|
|
- </div>
|
|
|
- <!-- <div class="sell">
|
|
|
- <div class="sell-btn">
|
|
|
- Sell
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="cancel-sale">
|
|
|
- <div class="left">
|
|
|
- 233 USDT
|
|
|
- <div class="final">
|
|
|
- (Final 203.5 USDT)
|
|
|
+ <div class="price item" v-if="item.filedName == 'Purchase price'">
|
|
|
+ <div class="title">{{item.filedName}}</div>
|
|
|
+ <div class="price-content">{{item.filedValue}}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="cancel-btn">
|
|
|
- Cancel sale
|
|
|
- </div>
|
|
|
- </div> -->
|
|
|
+ </div>
|
|
|
+ <div class="bottom-bar">
|
|
|
+ <div class="default">NFT Sale function, coming soon</div>
|
|
|
+ <!-- <div class="sell">
|
|
|
+ <div class="sell-btn">
|
|
|
+ Sell
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="cancel-sale">
|
|
|
+ <div class="left">
|
|
|
+ 233 USDT
|
|
|
+ <div class="final">
|
|
|
+ (Final 203.5 USDT)
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="cancel-btn">
|
|
|
+ Cancel sale
|
|
|
+ </div>
|
|
|
+ </div> -->
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
-import { ref } from "vue";
|
|
|
+import { ref, onMounted } from "vue";
|
|
|
import router from "@/router/popup.js";
|
|
|
|
|
|
-let propList = ref([
|
|
|
- {
|
|
|
- a: 'BACKGROUND',
|
|
|
- b: 'Cool Blue',
|
|
|
- c: '5% have this trait'
|
|
|
- },
|
|
|
- {
|
|
|
- a: 'BACKGROUND',
|
|
|
- b: 'Cool Blue',
|
|
|
- c: '5% have this trait'
|
|
|
- }
|
|
|
-]);
|
|
|
-
|
|
|
-let a = ''
|
|
|
-let testHtml = ref('<div class="section" style="margin-bottom: 20px">Take the red bean to join the garden. View the collection at <a style="text-decoration:none;color: #1D9BF0;" href="https://azuki.com/gallery" target="_blank">azuki.com/gallery</a></div><div class="section" style="margin-bottom: 20px">Azuki starts with a collection of 10,000 avatars that give you membership access to The Garden: a corner of the internet where artists, builders, and web3 enthusiasts meet to create a decentralized future. Azuki holders receive access to exclusive drops, experiences, and more. Visit azuki.com for more details.</div><div class="section" style="margin-bottom: 20px">We rise together. We build together. We grow together. </div>')
|
|
|
-
|
|
|
-let detailList = ref([
|
|
|
- {
|
|
|
- label: 'Contract Address',
|
|
|
- value: '0xed5a889898989c5442752'
|
|
|
- },
|
|
|
- {
|
|
|
- label: 'Contract Address',
|
|
|
- value: '0xed5a...c5442752'
|
|
|
- },
|
|
|
- {
|
|
|
- label: 'Contract Address',
|
|
|
- value: '0xed5a...c5442752'
|
|
|
- }
|
|
|
-])
|
|
|
+import {getNFTDetail} from "@/http/nft.js";
|
|
|
+
|
|
|
+let listData = ref([{"filedName":"Description","filedValue":"Created by <font color=\"#1D9BF0\">Azuki<font>"},{"filedName":"Properties","filedValue":[{"description":"5% have this trait","name":"BACKGROUND","value":"Cool Blue"},{"description":"1% have this trait","name":"CLOTHING","value":"Hoodie"},{"description":"16% have this trait","name":"EAR","value":"Pearl"},{"description":"0.35% have this trait","name":"EYES","value":"Closed"},{"description":"4% have this trait","name":"MOUTH","value":"Lipstick"},{"description":"90% have this trait","name":"TYPE","value":"Human"}]},{"filedName":"About","filedValue":"<div class=\"section\" style=\"margin-bottom: 20px\">Take the red bean to join the garden. View the collection at <a style=\"text-decoration:none;color: #1D9BF0;\" href=\"https://azuki.com/gallery\" target=\"_blank\">azuki.com/gallery</a></div><div class=\"section\" style=\"margin-bottom: 20px\">Azuki starts with a collection of 10,000 avatars that give you membership access to The Garden: a corner of the internet where artists, builders, and web3 enthusiasts meet to create a decentralized future. Azuki holders receive access to exclusive drops, experiences, and more. Visit <a style=\"text-decoration:none;color: #1D9BF0;\" href=\"https://www.azuki.com\" target=\"_blank\">azuki.com</a> for more details.</div><div class=\"section\" style=\"margin-bottom: 20px\">We rise together. We build together. We grow together. </div>"},{"filedName":"Details","filedValue":[{"name":"Contract Address","url":"https://bscscan.com/token/0x2Fb9376cFf6fb7f5fe99665aE1Ec2FdDD5099134","value":"0xECa41281c24451168a37211F0bc2b8645AF45092"},{"name":"Token ID","value":"2752"},{"name":"Token Standard","value":"Ethereum"},{"name":"Blockchain","value":"Ethereum"},{"name":"Creator Fees","value":"4%"},{"name":"Transaction Royalties","value":"9%"}]},{"filedName":"Date of possession","filedValue":"2022-05-27"},{"filedName":"Purchase price","filedValue":"100 USDT"}]);
|
|
|
+
|
|
|
+let NFTInfo = ref({
|
|
|
+ imagePath: '',
|
|
|
+ nftItemName: ''
|
|
|
+});
|
|
|
|
|
|
const back = () => {
|
|
|
router.back();
|
|
|
+};
|
|
|
+
|
|
|
+const clickAddress = (params) => {
|
|
|
+ window.open(params.url);
|
|
|
}
|
|
|
|
|
|
const clickNFTImg = () => {
|
|
|
+ window.open(NFTInfo.value.imagePath);
|
|
|
+};
|
|
|
|
|
|
+const getDetail = () => {
|
|
|
+ getNFTDetail({
|
|
|
+ params: {
|
|
|
+ nftItemId: NFTInfo.value.nftItemId
|
|
|
+ }
|
|
|
+ }).then(res => {
|
|
|
+ if(res.code == 0) {
|
|
|
+
|
|
|
+ }
|
|
|
+ }).catch((err)=>{
|
|
|
|
|
|
+ })
|
|
|
}
|
|
|
-</script>
|
|
|
|
|
|
+onMounted(() => {
|
|
|
+ let {params = '{}'} = router.currentRoute.value.query;
|
|
|
+ NFTInfo.value = JSON.parse(params);
|
|
|
+ getDetail();
|
|
|
+})
|
|
|
+
|
|
|
+
|
|
|
+</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
.nft-detail-wrapper {
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
-
|
|
|
- .back-bar {
|
|
|
- height: 48px;
|
|
|
- background: #ffffff;
|
|
|
- box-shadow: 0px 0.5px 0px #d1d9dd;
|
|
|
- box-sizing: border-box;
|
|
|
- padding: 14px;
|
|
|
- font-weight: 500;
|
|
|
- font-size: 16px;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
-
|
|
|
- .icon-arrow {
|
|
|
- width: 24px;
|
|
|
- margin-right: 12px;
|
|
|
- cursor: pointer;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .content {
|
|
|
width: 100%;
|
|
|
- height: calc(100% - 120px);
|
|
|
- padding: 0 16px;
|
|
|
- box-sizing: border-box;
|
|
|
- overflow-y: auto;
|
|
|
-
|
|
|
- .nft-img {
|
|
|
- margin-top: 23px;
|
|
|
- margin-bottom: 20px;
|
|
|
- text-align: center;
|
|
|
- .img {
|
|
|
- width: 280px;
|
|
|
- border-radius: 26px;
|
|
|
+ height: 100%;
|
|
|
+
|
|
|
+ .back-bar {
|
|
|
+ height: 48px;
|
|
|
+ background: #ffffff;
|
|
|
+ box-shadow: 0px 0.5px 0px #d1d9dd;
|
|
|
+ box-sizing: border-box;
|
|
|
+ padding: 14px;
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 16px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ .icon-arrow {
|
|
|
+ width: 24px;
|
|
|
+ margin-right: 12px;
|
|
|
+ cursor: pointer;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .item {
|
|
|
- border: 1px solid #e3e3e3;
|
|
|
- border-radius: 10px;
|
|
|
- padding: 14px;
|
|
|
- box-sizing: border-box;
|
|
|
- margin-bottom: 12px;
|
|
|
-
|
|
|
- .title {
|
|
|
- font-weight: 600;
|
|
|
- font-size: 14px;
|
|
|
- }
|
|
|
- }
|
|
|
+ .content {
|
|
|
+ width: 100%;
|
|
|
+ height: calc(100% - 120px);
|
|
|
+ padding: 0 16px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ overflow-y: auto;
|
|
|
+
|
|
|
+ .nft-img {
|
|
|
+ margin-top: 23px;
|
|
|
+ margin-bottom: 20px;
|
|
|
+ text-align: center;
|
|
|
+ cursor: pointer;
|
|
|
+
|
|
|
+ .img {
|
|
|
+ width: 280px;
|
|
|
+ border-radius: 26px;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
- .desc {
|
|
|
- margin-top: 10px;
|
|
|
- .desc-content {
|
|
|
- font-weight: 500;
|
|
|
- font-size: 14px;
|
|
|
- color: #929292;
|
|
|
+ .item {
|
|
|
+ border: 1px solid #e3e3e3;
|
|
|
+ border-radius: 10px;
|
|
|
+ padding: 14px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ margin-bottom: 12px;
|
|
|
|
|
|
- span {
|
|
|
- color: #1D9BF0;
|
|
|
+ .title {
|
|
|
+ font-weight: 600;
|
|
|
+ font-size: 14px;
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
|
|
|
- .prop {
|
|
|
- .prop-content {
|
|
|
- display: flex;
|
|
|
- flex-wrap: wrap;
|
|
|
- margin-top: 12px;
|
|
|
-
|
|
|
- .prop-item {
|
|
|
- width: 48%;
|
|
|
- height: 88px;
|
|
|
- background: #F8F8F8;
|
|
|
- border-radius: 10px;
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- justify-content: center;
|
|
|
- padding: 8px;
|
|
|
- box-sizing: border-box;
|
|
|
- align-items: center;
|
|
|
+ .desc {
|
|
|
+ margin-top: 10px;
|
|
|
+ .desc-content {
|
|
|
font-weight: 500;
|
|
|
- font-size: 12px;
|
|
|
+ font-size: 14px;
|
|
|
color: #929292;
|
|
|
|
|
|
- .prop-name {
|
|
|
- font-weight: 700;
|
|
|
- font-size: 17px;
|
|
|
- margin-top: 6px;
|
|
|
- margin-bottom: 8px;
|
|
|
- color: #000;
|
|
|
+ span {
|
|
|
+ color: #1d9bf0;
|
|
|
}
|
|
|
}
|
|
|
- .prop-item:nth-child(odd) {
|
|
|
- margin-right: 8px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .prop {
|
|
|
+ .prop-content {
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ margin-top: 12px;
|
|
|
+
|
|
|
+ .prop-item {
|
|
|
+ width: 48%;
|
|
|
+ height: 88px;
|
|
|
+ background: #f8f8f8;
|
|
|
+ border-radius: 10px;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: center;
|
|
|
+ padding: 8px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ align-items: center;
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 12px;
|
|
|
+ color: #929292;
|
|
|
+ margin-bottom: 10px;
|
|
|
+
|
|
|
+ .prop-name {
|
|
|
+ font-weight: 700;
|
|
|
+ font-size: 17px;
|
|
|
+ margin-top: 6px;
|
|
|
+ margin-bottom: 8px;
|
|
|
+ color: #000;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .prop-item:nth-child(odd) {
|
|
|
+ margin-right: 8px;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
|
|
|
- .about-content {
|
|
|
- margin-top: 22px;
|
|
|
- .section {
|
|
|
- font-weight: 400;
|
|
|
- font-size: 14px;
|
|
|
- margin-bottom: 20px;
|
|
|
+ .about-content {
|
|
|
+ margin-top: 22px;
|
|
|
+ .section {
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 14px;
|
|
|
+ margin-bottom: 20px;
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
- }
|
|
|
- .section {
|
|
|
+ .section {
|
|
|
font-weight: 400;
|
|
|
font-size: 14px;
|
|
|
- margin-bottom: 10px;
|
|
|
+ margin-bottom: 10px;
|
|
|
}
|
|
|
|
|
|
- .detail-content {
|
|
|
- margin-top: 15px;
|
|
|
+ .detail-content {
|
|
|
+ margin-top: 15px;
|
|
|
|
|
|
- .detail-item {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
- height: 24px;
|
|
|
- font-weight: 400;
|
|
|
- font-size: 14px;
|
|
|
-
|
|
|
- .right {
|
|
|
- color: #929292;
|
|
|
- }
|
|
|
+ .detail-item {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ height: 24px;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 14px;
|
|
|
|
|
|
- .blue {
|
|
|
- color: #1D9BF0 !important;
|
|
|
- }
|
|
|
+ .right {
|
|
|
+ color: #929292;
|
|
|
+ }
|
|
|
|
|
|
- .address {
|
|
|
- width: 100px;
|
|
|
- white-space: nowrap;
|
|
|
- > span {
|
|
|
- display: inline-block;
|
|
|
- overflow: hidden;
|
|
|
- text-overflow: ellipsis;
|
|
|
- width: 50%;
|
|
|
- + span {
|
|
|
- width: calc(50% + 10px);
|
|
|
- direction: rtl;
|
|
|
- margin-left: -13px;
|
|
|
+ .address {
|
|
|
+ width: 100px;
|
|
|
+ white-space: nowrap;
|
|
|
+ color: #1d9bf0 !important;
|
|
|
+ cursor: pointer;
|
|
|
+
|
|
|
+ > span {
|
|
|
+ display: inline-block;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ width: 50%;
|
|
|
+ + span {
|
|
|
+ width: calc(50% + 10px);
|
|
|
+ direction: rtl;
|
|
|
+ margin-left: -11px;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
-
|
|
|
- .date-content, .price-content {
|
|
|
- margin-top: 10px;
|
|
|
- font-weight: 500;
|
|
|
- font-size: 14px;
|
|
|
- color: #929292;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .bottom-bar {
|
|
|
- background: #ffffff;
|
|
|
- box-shadow: inset 0px 1px 0px #ececec;
|
|
|
- height: 70px;
|
|
|
- padding: 15px 16px;
|
|
|
- box-sizing: border-box;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
-
|
|
|
- .default {
|
|
|
- font-weight: 500;
|
|
|
- font-size: 16px;
|
|
|
- color: #a8a8a8;
|
|
|
- text-align: center;
|
|
|
- }
|
|
|
|
|
|
- .sell {
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
-
|
|
|
- .sell-btn {
|
|
|
- width: 120px;
|
|
|
- height: 40px;
|
|
|
- box-sizing: border-box;
|
|
|
- border: 1px solid #E9E9E9;
|
|
|
- border-radius: 100px;
|
|
|
+ .date-content,
|
|
|
+ .price-content {
|
|
|
+ margin-top: 10px;
|
|
|
font-weight: 500;
|
|
|
- font-size: 16px;
|
|
|
- color: #1D9BF0;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- position: absolute;
|
|
|
- right: 16px;
|
|
|
- cursor: pointer;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #929292;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .cancel-sale {
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
+ .bottom-bar {
|
|
|
+ background: #ffffff;
|
|
|
+ box-shadow: inset 0px 1px 0px #ececec;
|
|
|
+ height: 70px;
|
|
|
+ padding: 15px 16px;
|
|
|
+ box-sizing: border-box;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
+ justify-content: center;
|
|
|
|
|
|
- .left {
|
|
|
+ .default {
|
|
|
font-weight: 500;
|
|
|
- font-size: 15px;
|
|
|
- .final {
|
|
|
+ font-size: 16px;
|
|
|
+ color: #a8a8a8;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+
|
|
|
+ .sell {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+
|
|
|
+ .sell-btn {
|
|
|
+ width: 120px;
|
|
|
+ height: 40px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ border: 1px solid #e9e9e9;
|
|
|
+ border-radius: 100px;
|
|
|
font-weight: 500;
|
|
|
- font-size: 12px;
|
|
|
- color: #929292;
|
|
|
- margin-top: 6px;
|
|
|
+ font-size: 16px;
|
|
|
+ color: #1d9bf0;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ position: absolute;
|
|
|
+ right: 16px;
|
|
|
+ cursor: pointer;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .cancel-btn {
|
|
|
- width: 120px;
|
|
|
- height: 40px;
|
|
|
- box-sizing: border-box;
|
|
|
- border: 1px solid #E9E9E9;
|
|
|
- border-radius: 100px;
|
|
|
- font-weight: 500;
|
|
|
- font-size: 16px;
|
|
|
- color: #FF0000;
|
|
|
+ .cancel-sale {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- justify-content: center;
|
|
|
- cursor: pointer;
|
|
|
+ justify-content: space-between;
|
|
|
+
|
|
|
+ .left {
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 15px;
|
|
|
+ .final {
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 12px;
|
|
|
+ color: #929292;
|
|
|
+ margin-top: 6px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .cancel-btn {
|
|
|
+ width: 120px;
|
|
|
+ height: 40px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ border: 1px solid #e9e9e9;
|
|
|
+ border-radius: 100px;
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 16px;
|
|
|
+ color: #ff0000;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|