|
|
@@ -0,0 +1,463 @@
|
|
|
+<template>
|
|
|
+ <div class="container">
|
|
|
+ <div class="top">
|
|
|
+ <div>
|
|
|
+ <img class="imgBox" src="../assets/img/888.jpg" alt="" />
|
|
|
+ <div class="works">
|
|
|
+ <img class="works1" src="../assets/img/icon-quanyibaohu@3x.png" alt="" />
|
|
|
+ <div class="works2">该作品已在保存至区块链并进行权益保护</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <div class="title">
|
|
|
+ <div class="title1">游戏《百分之一》精美皮肤---恶魔的礼物</div>
|
|
|
+ <div class="text">
|
|
|
+ <div class="text1">
|
|
|
+ <img class="img1" src="../assets/img/icon-dianzan@3x.png" alt="" />
|
|
|
+ <div class="text2">16</div>
|
|
|
+ </div>
|
|
|
+ <div class="text1">
|
|
|
+ <img class="img1" src="../assets/img/fenxiang-icon@3x.png" alt="" />
|
|
|
+ <div class="text2">分享</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="name">
|
|
|
+ <img class="name1" src="../assets/img/888.jpg" alt="" />
|
|
|
+ <div>
|
|
|
+ <div class="name2">铸造者昵称</div>
|
|
|
+ <div class="name3">铸造者</div>
|
|
|
+ </div>
|
|
|
+ <img class="name4" src="../assets/img/icon_inter@3x (4).png" alt="" />
|
|
|
+ </div>
|
|
|
+ <div class="time">
|
|
|
+ <div class="time1">卖家定价</div>
|
|
|
+ <div class="time2">首发抢购倒计时<span>1天 01:35:06</span></div>
|
|
|
+ </div>
|
|
|
+ <div class="price">
|
|
|
+ <div class="price1">
|
|
|
+ <div class="price2">价格</div>
|
|
|
+ <img class="price3" src="../assets/img/icon_jiage@3x.png" alt="" />
|
|
|
+ <div class="price4">1000</div>
|
|
|
+ <div class="price2">含<span>5%</span>版税</div>
|
|
|
+ </div>
|
|
|
+ <div class="price1 num">
|
|
|
+ <!-- <div> -->
|
|
|
+ <div class="price2">数量</div>
|
|
|
+ <!-- <span class="span">1</span> -->
|
|
|
+ <!-- </div> -->
|
|
|
+ <div class="price2">已售 0 / 剩余 50</div>
|
|
|
+ </div>
|
|
|
+ <div class="btn">一键预约</div>
|
|
|
+ </div>
|
|
|
+ <div class="time">
|
|
|
+ <div class="time1">商品特性</div>
|
|
|
+ </div>
|
|
|
+ <div class="card">
|
|
|
+ <div class="box1">
|
|
|
+ <div class="a">数字权益卡</div>
|
|
|
+ <div class="b">打开可见</div>
|
|
|
+ </div>
|
|
|
+ <div class="box1">
|
|
|
+ <div class="a">数字权益卡</div>
|
|
|
+ <div class="b">打开可见</div>
|
|
|
+ </div>
|
|
|
+ <div class="box1">
|
|
|
+ <div class="a">数字权益卡</div>
|
|
|
+ <div class="b">打开可见</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="content">
|
|
|
+ <div class="info rad">
|
|
|
+ <div class="info1">
|
|
|
+ <img class="imgs" src="../assets/img/icon-weixin@3x.png" alt="" />
|
|
|
+ <div class="info2">链上信息</div>
|
|
|
+ </div>
|
|
|
+ <div class="border"></div>
|
|
|
+ <img
|
|
|
+ class="info3"
|
|
|
+ @click="showMore = !showMore"
|
|
|
+ :src="`https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/image/${
|
|
|
+ showMore ? '2021-10-28-17-09-42dBlUbhPV.png' : '2021-10-28-17-09-10SvxqPjMw.png'
|
|
|
+ }`"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div class="info4" v-if="!showMore">
|
|
|
+ <div class="text1">Hash地址:f6b1a265b50717b4b1bae9dc6…</div>
|
|
|
+ <div class="text1">区块高度: 77259404</div>
|
|
|
+ <div class="text1">令牌ID: ID57896044618658097711785492504…</div>
|
|
|
+ </div>
|
|
|
+ <div class="info">
|
|
|
+ <div class="info1">
|
|
|
+ <img class="imgs" src="../assets/img/icon-weixin@3x.png" alt="" />
|
|
|
+ <div class="info2">作品描述</div>
|
|
|
+ </div>
|
|
|
+ <div v-if="showMore1" class="border"></div>
|
|
|
+ <img
|
|
|
+ class="info3"
|
|
|
+ @click="showMore1 = !showMore1"
|
|
|
+ :src="`https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/image/${
|
|
|
+ showMore1 ? '2021-10-28-17-09-42dBlUbhPV.png' : '2021-10-28-17-09-10SvxqPjMw.png'
|
|
|
+ }`"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div class="info4" v-if="!showMore1">
|
|
|
+ <div class="text1">Hash地址:f6b1a265b50717b4b1bae9dc6…</div>
|
|
|
+ <div class="text1">区块高度: 77259404</div>
|
|
|
+ <div class="text1">令牌ID: ID57896044618658097711785492504…</div>
|
|
|
+ </div>
|
|
|
+ <div class="info">
|
|
|
+ <div class="info1">
|
|
|
+ <img class="imgs" src="../assets/img/icon-weixin@3x.png" alt="" />
|
|
|
+ <div class="info2">交易历史</div>
|
|
|
+ </div>
|
|
|
+ <div v-if="showMore2" class="border"></div>
|
|
|
+ <img
|
|
|
+ class="info3"
|
|
|
+ @click="showMore2 = !showMore2"
|
|
|
+ :src="`https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/image/${
|
|
|
+ showMore2 ? '2021-10-28-17-09-42dBlUbhPV.png' : '2021-10-28-17-09-10SvxqPjMw.png'
|
|
|
+ }`"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div class="info4 rad1" v-if="!showMore2">
|
|
|
+ <div class="text1">Hash地址:f6b1a265b50717b4b1bae9dc6…</div>
|
|
|
+ <div class="text1">区块高度: 77259404</div>
|
|
|
+ <div class="text1">令牌ID: ID57896044618658097711785492504…</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="nft">
|
|
|
+ <div class="nft1">
|
|
|
+ <img class="nft2" src="../assets/img/888.jpg" alt="" />
|
|
|
+ <div class="nft3">铸造者昵称</div>
|
|
|
+ </div>
|
|
|
+ <div class="nft4">来自创作者的NFT</div>
|
|
|
+ <div class="nft1">
|
|
|
+ <div class="nft5">查看更多</div>
|
|
|
+ <img class="nft6" src="../assets/img/icon_inter@3x (4).png" alt="" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <goods-info></goods-info>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+<script>
|
|
|
+import GoodsInfo from '../components/GoodsInfo.vue';
|
|
|
+export default {
|
|
|
+ components: { GoodsInfo },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ showMore: false,
|
|
|
+ showMore1: false,
|
|
|
+ showMore2: false
|
|
|
+ };
|
|
|
+ },
|
|
|
+ methods: {}
|
|
|
+};
|
|
|
+</script>
|
|
|
+<style lang="less" scoped>
|
|
|
+.container {
|
|
|
+ padding: 50px 200px 0;
|
|
|
+ background: #1a1a1a;
|
|
|
+ .top {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ .imgBox {
|
|
|
+ width: 460px;
|
|
|
+ height: 520px;
|
|
|
+ border-radius: 8px;
|
|
|
+ // margin-right: 30px;
|
|
|
+ border: 2px solid;
|
|
|
+ border-image: linear-gradient(135deg, rgba(0, 255, 203, 1), rgba(0, 110, 255, 1)) 1 1;
|
|
|
+ }
|
|
|
+ .works {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ height: 68px;
|
|
|
+ background: #1c1e26;
|
|
|
+ border-radius: 8px;
|
|
|
+ margin-top: 30px;
|
|
|
+ .works1 {
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ margin: 2px 10px 0 16px;
|
|
|
+ }
|
|
|
+ .works2 {
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #ffffff;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .title {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ // width: 710px;
|
|
|
+ margin-top: 10px;
|
|
|
+ .title1 {
|
|
|
+ font-size: 26px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #ffffff;
|
|
|
+ }
|
|
|
+ .text {
|
|
|
+ display: flex;
|
|
|
+ .text1 {
|
|
|
+ text-align: center;
|
|
|
+ margin-right: 23px;
|
|
|
+ .img1 {
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ }
|
|
|
+ .text2 {
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #949699;
|
|
|
+ line-height: 24px;
|
|
|
+ margin-top: 2px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .name {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ height: 64px;
|
|
|
+ line-height: 64px;
|
|
|
+ padding-bottom: 23px;
|
|
|
+
|
|
|
+ .name1 {
|
|
|
+ width: 38px;
|
|
|
+ height: 38px;
|
|
|
+ border-radius: 50%;
|
|
|
+ margin-right: 12px;
|
|
|
+ }
|
|
|
+ .name2 {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+ .name3 {
|
|
|
+ font-size: 12px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #939599;
|
|
|
+ line-height: 22px;
|
|
|
+ }
|
|
|
+ .name4 {
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ margin-left: 16px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .time {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ background: #1c1e26;
|
|
|
+ border-radius: 8px 8px 0px 0px;
|
|
|
+ // width: 678px;
|
|
|
+ height: 56px;
|
|
|
+ padding: 0 16px;
|
|
|
+ .time1 {
|
|
|
+ font-size: 18px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+ .time2 {
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #939599;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+ span {
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #00ffcb;
|
|
|
+ line-height: 24px;
|
|
|
+ margin-left: 6px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .price {
|
|
|
+ // width: 678px;
|
|
|
+ height: 220px;
|
|
|
+ padding: 0 16px;
|
|
|
+ background: #1f2230;
|
|
|
+ border-radius: 0px 0px 8px 8px;
|
|
|
+ margin-bottom: 30px;
|
|
|
+ .price1 {
|
|
|
+ display: flex;
|
|
|
+ padding: 18px 0 24px 0;
|
|
|
+ border-bottom: 1px solid #494a4d;
|
|
|
+ &.num {
|
|
|
+ justify-content: space-between;
|
|
|
+ border-bottom: 0;
|
|
|
+ }
|
|
|
+ .span {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 22px;
|
|
|
+ margin-left: 16px;
|
|
|
+ }
|
|
|
+ .price2 {
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #939599;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+ .price3 {
|
|
|
+ width: 10px;
|
|
|
+ height: 11px;
|
|
|
+ margin-left: 10px;
|
|
|
+ margin: 6px 0 0 10px;
|
|
|
+ }
|
|
|
+ .price4 {
|
|
|
+ font-size: 40px;
|
|
|
+ font-weight: normal;
|
|
|
+ color: #00ffcb;
|
|
|
+ line-height: 36px;
|
|
|
+ }
|
|
|
+ span {
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #00ffcb;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .btn {
|
|
|
+ width: 678px;
|
|
|
+ height: 52px;
|
|
|
+ line-height: 52px;
|
|
|
+ text-align: center;
|
|
|
+ background: linear-gradient(135deg, #00ffcb 0%, #006eff 100%);
|
|
|
+ border-radius: 8px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .card {
|
|
|
+ // width: 590px;
|
|
|
+ height: 112px;
|
|
|
+ border-radius: 0px 0px 8px 8px;
|
|
|
+ background: #1f2230;
|
|
|
+ padding: 0 60px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ .box1 {
|
|
|
+ width: 120px;
|
|
|
+ height: 62px;
|
|
|
+ text-align: center;
|
|
|
+ border-radius: 4px;
|
|
|
+ border: 1px solid;
|
|
|
+ border-image: linear-gradient(135deg, rgba(0, 255, 203, 1), rgba(0, 110, 255, 1)) 1 1;
|
|
|
+ .a {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #939599;
|
|
|
+ line-height: 24px;
|
|
|
+ margin-top: 5px;
|
|
|
+ }
|
|
|
+ .b {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .content {
|
|
|
+ .info {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ padding: 0 16px;
|
|
|
+ background: #1c1e26;
|
|
|
+ &.rad {
|
|
|
+ border-radius: 8px 8px 0px 0px;
|
|
|
+ margin-top: 30px;
|
|
|
+ }
|
|
|
+ .info1 {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ height: 68px;
|
|
|
+ .imgs {
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ margin-right: 10px;
|
|
|
+ }
|
|
|
+ .info2 {
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .border {
|
|
|
+ height: 1px;
|
|
|
+ background: red;
|
|
|
+ border-radius: 1px;
|
|
|
+ }
|
|
|
+ .info3 {
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .info4 {
|
|
|
+ background: #1f2230;
|
|
|
+ padding: 10px 0 20px 16px;
|
|
|
+ &.rad1 {
|
|
|
+ border-radius: 0px 0px 8px 8px;
|
|
|
+ }
|
|
|
+ .text1 {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 28px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .nft {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ margin: 50px 0 27px;
|
|
|
+ .nft1 {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ .nft2 {
|
|
|
+ width: 38px;
|
|
|
+ height: 38px;
|
|
|
+ border-radius: 50%;
|
|
|
+ margin-right: 12px;
|
|
|
+ }
|
|
|
+ .nft3 {
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+ .nft5 {
|
|
|
+ font-size: 13px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #939599;
|
|
|
+ line-height: 18px;
|
|
|
+ margin-top: 2px;
|
|
|
+ }
|
|
|
+ .nft6 {
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .nft4 {
|
|
|
+ font-size: 18px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 30px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|