/* eslint-disable no-empty */
<template>
    <!-- <TopNavigation/> -->
    <div class="detail_content" v-if="info.status != 'GIFTED'">
        <!-- <swiper pagination class="mySwiper" v-if="banners.length > 0">
            <swiper-slide v-for="(item, index) in banners" :key="index">
                <video
                    class="swiper-video"
                    v-if="isVideo(item)"
                    :src="item.url"
                    :poster="getImg(changeImgs([item]), '', 1200)"
                    controls="controls"
                >
                    您的浏览器不支持 video 标签。
                </video>
                <van-image
                    v-else
                    @click="preview(index, changeImgs(banners))"
                    :src="getImg(item.url, '', 1200)"
                    width="100vw"
                    height="100vw"
                    fit="scale-down"
                />
            </swiper-slide>
        </swiper> -->
        <!-- <div class="detail_content_img">
            <video
                    class="swiper-video"
                    v-if="isVideo(item)"
                    :src="item.url"
                    :poster="getImg(changeImgs([item]), '', 1200)"
                    controls="controls"
            >
                    您的浏览器不支持 video 标签。
                </video>
                <van-image
                    v-else
                    @click="preview(index, changeImgs(banners))"
                    :src="getImg(item.url, '', 1200)"
                    width="100vw"
                    height="100vw"
                    fit="scale-down"
                />
        </div> -->
        <!-- <img src="" alt="" class="detail_content_img" />
        <div class="detail_content_one">
            <div class="detail_content_point">
                <img :src="info.liked == true ? likes : noLikes" alt="" class="detail_content_point_img" />
                <div class="detail_content_point_number">{{ info.likes }}</div>
            </div>
            <div class="detail_content_share">
                <img :src="require('@assets/icon-share.png')" alt="" class="detail_content_share_img" />
                <div class="detail_content_share_con">分享</div>
            </div>
        </div> -->
        <img :src="require('@assets/guang@3x.png')" alt="" class="detail_content_con" />
        <product-banner :info="info" pageType="asset" class="detail_content_banner"></product-banner>
        <div class="list_of_details">
            <div class="list_of_details_one">
                <img :src="require('@assets/png-bg-dizuo@3x.png')" alt="" class="list_of_details_one_img" />
                <div class="list_of_details_one_title">
                    <img
                        :src="require('@assets/png-biaotibiankuang@3x.png')"
                        alt=""
                        class="list_of_details_one_title_img list_of_details_one_title_img_top_left"
                    />
                    <img
                        :src="require('@assets/png-biaotibiankuang@3x (1).png')"
                        alt=""
                        class="list_of_details_one_title_img list_of_details_one_title_img_bottom_left"
                    />
                    <div>
                        <div
                            :class="infoNameLength ? 'list_of_details_one_title_cons' : 'list_of_details_one_title_con'"
                        >
                            {{ info.name }}
                        </div>
                        <div class="list_of_details_one_text" v-if="!info.consignment">
                            <img
                                :src="require('@assets/blockchain@3x.png')"
                                alt=""
                                class="list_of_details_one_text_img"
                            />
                            <div class="list_of_details_one_text_con">{{ info.tokenId }}</div>
                        </div>
                        <div class="list_of_details_one_title_one" v-else>
                            <div class="list_of_details_one_title_one_text1">{{ info.collectionCategory }}</div>
                            <div class="list_of_details_one_title_one_text2">{{ info.category }}</div>
                        </div>
                    </div>
                    <img
                        :src="require('@assets/png-biaotibiankuang@3x (2).png')"
                        alt=""
                        class="list_of_details_one_title_img list_of_details_one_title_img_top_right"
                    />
                    <img
                        :src="require('@assets/png-biaotibiankuang@3x (3).png')"
                        alt=""
                        class="list_of_details_one_title_img list_of_details_one_title_img_bottom_right"
                    />
                </div>
                <!-- <img :src="require('@assets/maisui.png')" alt="" class="list_of_details_one_title_img" /> -->
            </div>
            <div class="collection_holder">
                <div class="collection_holder_con" v-if="!info.consignment">
                    <div class="collection_holder_one collection_holder_two">
                        <div class="collection_holder_one_title">持有者</div>
                        <div class="collection_holder_one_time">{{ userInfo.nickname }}</div>
                    </div>
                    <div class="collection_holder_one collection_holder_two">
                        <div class="collection_holder_one_title">生成时间</div>
                        <div class="collection_holder_one_time">{{ info.createdAt }}</div>
                    </div>
                    <div class="collection_holder_one">
                        <div class="collection_holder_one_title">藏品哈希值</div>
                        <div class="collection_holder_one_con">
                            <div class="collection_holder_one_time_con">{{ info.tokenId }}</div>
                            <img
                                @click="copyOne(info.tokenId)"
                                src="@assets/copy_icon.png"
                                alt=""
                                class="collection_holder_one_time_con_img"
                            />
                        </div>
                    </div>
                </div>
                <div class="collection_holder_publisher" v-else>
                    <van-image
                        width="40px"
                        height="40px"
                        radius="40"
                        :src="userInfo.avatar || require('@assets/svgs/img_default_photo.svg')"
                        fit="cover"
                    />
                    <div class="collection_holder_publisher_title">
                        <div class="collection_holder_publisher_title_one">{{ userInfo.nickname }}</div>
                        <div class="collection_holder_publisher_title_two">{{ info.collectionWorks }}</div>
                    </div>
                </div>
            </div>
            <div class="work_story">
                <div class="work_story_con">
                    <div class="work_story_title">作品故事</div>
                    <div class="work_story_text" v-html="info.detail"></div>
                    <div class="work_story_creator">
                        <div class="work_story_creator_left">铸造者</div>
                        <div class="work_story_creator_right">{{ info.minter }}</div>
                    </div>
                    <div class="work_story_creator">
                        <div class="work_story_creator_left">发行方</div>
                        <div class="work_story_creator_right">{{ info.issuer }}</div>
                    </div>
                </div>
            </div>
            <!-- 持有特权 -->
            <div class="hold_privileges" v-if="privileges.length != 0">
                <div class="hold_privileges_con">
                    <div class="hold_privileges_title">
                        持有特权<span class="hold_privileges_tip">灰色表示已使用</span>
                    </div>
                    <!-- <div class="hold_privileges_name" v-if="privileges.length == 0">铸造者暂时未设置</div> -->
                    <div class="hold_privileged_information">
                        <div
                            class="hold_privileged_information_con"
                            :class="{ hold_privileged_information_con_opened: item.opened }"
                            v-for="(item, index) in privileges"
                            :key="index"
                        >
                            <van-image
                                v-if="!item.opened"
                                width="18px"
                                height="18px"
                                :src="item.icon[0]"
                                fit="cover"
                                class="hold_privileged_information_con_img"
                            />
                            <van-image
                                v-if="item.opened"
                                width="18px"
                                height="18px"
                                :src="item.icon[2]"
                                fit="cover"
                                class="hold_privileged_information_con_img"
                            />
                            <div
                                v-if="item.once"
                                @click="privilegeFn2(item)"
                                class="hold_privileged_information_con_title_opened"
                            >
                                {{ item.name }}
                            </div>
                            <div v-else @click="privilegeFn(item)" class="hold_privileged_information_con_title">
                                {{ item.name }}
                            </div>
                            <!-- <img :src="item.icon[0]" alt="" class="hold_privileged_information_con_img" /> -->
                            <!-- <div class="hold_privileged_information_con_title">{{ item.name }}</div> -->
                        </div>
                    </div>
                </div>
            </div>
            <!-- 作品特效 -->
            <!-- <div class="hold_privileges">
                <div class="hold_privileges_con">
                    <div class="hold_privileges_title">作品特效</div>
                    <div class="digital_equity_card">
                        <div class="digital_equity_card_con" @click="openedFn">
                            <span class="digital_equity_card_con_one">数字权益卡</span>
                            <span class="digital_equity_card_con_two">打开可见</span>
                        </div>
                    </div>
                </div>
            </div> -->
            <div class="hold_privileges">
                <div class="hold_privileges_con">
                    <hash-code :info="info"></hash-code>
                </div>
            </div>
            <!-- 交易记录 -->
            <div class="hold_privileges">
                <div class="hold_privileges_con">
                    <div class="hold_privileges_title">交易记录</div>
                    <div v-if="list.length > 0">
                        <div class="hold_privileges_list" v-for="item in list" :key="item.id">
                            <div class="hold_privileges_list_con">
                                <div class="hold_privileges_list_con_left">
                                    <div class="hold_privileges_list_con_text1">{{ item.toUser || '保密' }}</div>
                                    <div class="hold_privileges_list_con_text2">{{ item.createdAt.substr(0, 16) }}</div>
                                </div>
                                <div class="hold_privileges_list_con_right">
                                    <div v-if="item.price">
                                        <div class="hold_privileges_list_con_text1">¥{{ item.price }}</div>
                                        <div class="hold_privileges_list_con_text2 hold_privileges_list_con_text2_con">
                                            {{ item.operation }}
                                        </div>
                                    </div>
                                    <div class="hold_privileges_list_con_text3" v-else>{{ item.operation }}</div>
                                    <!-- <div class="hold_privileges_list_con_text1">仅展示</div> -->
                                </div>
                            </div>
                        </div>
                    </div>
                    <div v-else class="textName">暂无购买记录</div>
                </div>
            </div>
        </div>
        <!-- <div :class="!!info.model3d ? 'detail_content_title' : 'detail_content_title_one'">{{ info.name }}</div> -->
        <!-- <div class="item_number">
            <div class="item_number_collection">{{ info.category }}</div>
            <div class="item_number_number">编号&nbsp;{{ info.number }}</div>
        </div> -->
        <!-- <div class="self_information">
            <div class="display_price">
                <div v-if="info.consignment">
                    <div class="display_price_left">售价</div>
                    <div class="display_price_right">
                        <div class="display_price_right_symbol">¥</div>
                        <div class="display_price_right_number">{{ info.sellPrice || 0 }}</div>
                    </div>
                </div>
                <div class="display_price_title" v-else-if="info.status == 'NORMAL'">
                    {{ info.publicShow ? '当前仅展示' : '当前未展示' }}
                </div>
            </div>
            <div class="self_information_one">
                <div class="self_information_one_con">
                    <van-image
                        width="32px"
                        height="32px"
                        radius="23"
                        :src="info.minterAvatar || require('@assets/svgs/img_default_photo.svg')"
                        fit="cover"
                    />
                    <div class="self_information_one_text">
                        <div class="self_information_one_text_one">{{ info.minter }}</div>
                        <div class="self_information_one_text_two">创作者</div>
                    </div>
                </div>
                <div class="split_line"></div>
                <div class="self_information_one_con">
                    <van-image
                        width="32px"
                        height="32px"
                        radius="23"
                        :src="userInfo.avatar || require('@assets/svgs/img_default_photo.svg')"
                        fit="cover"
                    />
                    <div class="self_information_one_text">
                        <div class="self_information_one_text_one">{{ userInfo.nickname }}</div>
                        <div class="self_information_one_text_two">持有者</div>
                    </div>
                </div>
            </div>
            <div class="description_of_works">
                <div class="description_of_works_title">作品描述</div>
                <div class="description_of_works_text" v-html="info.detail"></div> -->
        <!-- <div >{{title}}</div>
                <img :src="require('@assets/commodity-background-map.png')" alt="" class="description_of_works_img"> -->
        <!-- </div> -->
        <!-- 作品特性 -->
        <!-- <div class="hold_privileges">
            <div class="hold_privileges_title">作品特性</div>
            <div class="hold_privileges_name" v-if="properties.length == 0">创作者者暂时未设置</div>
            <div class="digital_equity_card" v-else>
                <div class="digital_equity_card_con" v-for="(item, index) in properties" :key="index">
                    <span class="digital_equity_card_con_one">{{ item.name }}</span>
                    <span class="digital_equity_card_con_two">{{ item.value }}</span>
                </div>
            </div>
        </div> -->
        <!-- </div> -->
        <!-- 购买之后交易按钮 -->
        <div class="purchase_transaction_button" v-if="startTime">
            <div class="purchase_transaction_button_con">
                <div class="purchase_transaction_button_left">
                    <div class="purchase_transaction_button_give">
                        <div class="purchase_transaction_button_give_one">赠送</div>
                        <div class="purchase_transaction_button_give_two">{{ startTime }}</div>
                    </div>
                </div>
                <div class="purchase_transaction_button_right">
                    <div class="public_display" @click="Exhibition">
                        {{ info.publicShow ? '取消展示' : '公开展示' }}
                    </div>
                    <!-- <div class="purchase_transaction_button_deposit">
                        <div class="purchase_transaction_button_deposit_one">寄售倒计时</div>
                        <div class="purchase_transaction_button_deposit_two">{{ startTime }}</div>
                    </div> -->
                    <!-- <div class="purchase_transaction_button_deposit_consignment" v-else @click="Consignment">
                        {{ info.consignment ? '取消寄售' : '寄售上架' }}
                    </div> -->
                </div>
            </div>
        </div>
        <div class="purchase_transaction_button_one" v-else-if="!startTime && info.consignment === true">
            <div class="purchase_transaction_button_one_con" @click="shelfCollection">
                <img
                    :src="require('@assets/xiajiacangpin@3x.png')"
                    alt=""
                    class="purchase_transaction_button_one_con_img"
                />
                <div class="purchase_transaction_button_one_con_title">下架藏品</div>
            </div>
            <div class="purchase_transaction_button_one_con">
                <img
                    :src="require('@assets/bianjicangpin@3x.png')"
                    alt=""
                    class="purchase_transaction_button_one_con_img"
                />
                <div class="purchase_transaction_button_one_con_title">编辑藏品</div>
            </div>
        </div>
        <div class="purchase_transaction_button_two" v-else-if="!startTime && info.consignment === false">
            <div class="purchase_transaction_button_two_con">
                <div class="purchase_transaction_button_two_con_give">
                    <img
                        :src="require('@assets/zengsong@3x.png')"
                        alt=""
                        class="purchase_transaction_button_two_con_img"
                    />
                    <div class="purchase_transaction_button_two_con_text" @click="Add">赠送</div>
                </div>
                <div class="purchase_transaction_button_two_con_exhibition" @click="Exhibition">
                    <img
                        :src="info.publicShow ? publicDisplay : privateDisplay"
                        alt=""
                        class="purchase_transaction_button_two_con_img"
                    />
                    <div class="purchase_transaction_button_two_con_text">
                        {{ info.publicShow ? '公开展示' : '私密展示' }}
                    </div>
                </div>
                <div class="purchase_transaction_button_two_con_certificate" @click="share">
                    <img
                        :src="require('@assets/fengxiang@3x.png')"
                        alt=""
                        class="purchase_transaction_button_two_con_img"
                    />
                    <div class="purchase_transaction_button_two_con_text">分享</div>
                </div>
                <!-- <div class="purchase_transaction_button_two_con_certificate" @click="wait">
                    <img
                        :src="require('@assets/zhengshu@3x.png')"
                        alt=""
                        class="purchase_transaction_button_two_con_img"
                    />
                    <div class="purchase_transaction_button_two_con_text">证书</div>
                </div> -->
                <!-- <van-icon name="ellipsis" size="20" @click="moreDisplay" />
                <div class="purchase_transaction_button_two_con_more_display" v-if="moreDisplayOne === true">
                    <img
                        :src="require('@assets/xingzhuanglianhe@3x.png')"
                        alt=""
                        class="purchase_transaction_button_two_con_more_display_img"
                    />
                    <div class="purchase_transaction_button_two_con_more_display_con" @click="Consignment">
                        <img
                            :src="require('@assets/guashou@3x.png')"
                            alt=""
                            class="purchase_transaction_button_two_con_more_display_con_img"
                        />
                        <div class="purchase_transaction_button_two_con_more_display_con_title">挂售</div>
                    </div>
                    <div class="purchase_transaction_button_two_con_more_display_con" @click="share">
                        <img
                            :src="require('@assets/fengxiang@3x.png')"
                            alt=""
                            class="purchase_transaction_button_two_con_more_display_con_img"
                        />
                        <div class="purchase_transaction_button_two_con_more_display_con_title">分享</div>
                    </div>
                </div> -->
            </div>
        </div>
        <post ref="post" :info="info" noButton :pageUrl="pageUrl" />
        <van-popup v-model:show="show">
            <div class="title2">
                <div class="top">
                    <img class="img" v-if="list2.icon[1]" :src="list2.icon[1]" alt="" />
                    <img class="img" v-else :src="list2.icon[0]" alt="" />
                    <div class="title3">{{ list2.name }}</div>
                </div>
                <img @click="allFn" class="icon" :src="require('@assets/icon-dianzan.png')" alt="" />
            </div>
            <div class="border"></div>
            <div class="name">{{ list2.description }}</div>
            <div class="name1" v-if="list2.type === 'text'">
                <!-- <div>{{ list2.detail }}</div> -->
                <span>{{ list2.detail || '暂无' }}</span>
            </div>
            <div class="name1" v-if="list2.type === 'exchange'">
                <span>{{ list2.detail }}</span>
            </div>
            <div class="name1" v-if="list2.type == 'qrcode'">
                <img class="qrcodeImg" :src="list2.detail" alt="" />
                <div class="qrcode1">扫描二维码进行票务核销</div>
                <span>{{ list2.remark || '暂无' }}</span>
            </div>
            <div v-if="list2.type === 'code'">
                <div class="copy">
                    <div class="id">
                        <!-- {{ list2.detail }} -->
                        <!-- yshsbn -->
                    </div>
                    <img class="copyImg" @click="copy" src="@assets/svgs/copy_icon.svg" alt="" />
                </div>
                <span class="span">说明：</span> <span>{{ list2.remark || '暂无' }}</span>
                <div class="border"></div>
                <div class="code">每次交易都会产生校验码</div>
            </div>
            <div v-if="list2.openTime">
                <div v-if="list2.type == 'qrcode'" class="timename">
                    <span class="time">截止时间：</span>{{ list2.openTime }}
                </div>
                <div v-else class="timename"><span class="time">打开时间：</span>{{ list2.openTime }}</div>
            </div>
        </van-popup>
    </div>
    <div class="detail_content" v-else>
        <img :src="require('@assets/guang@3x.png')" alt="" class="detail_content_con" />
        <product-banner :info="info" pageType="asset" class="detail_content_banner"></product-banner>
        <div class="list_of_details">
            <div class="list_of_details_one">
                <img :src="require('@assets/png-bg-dizuo@3x.png')" alt="" class="list_of_details_one_img" />
                <div class="list_of_details_one_title">
                    <img
                        :src="require('@assets/png-biaotibiankuang@3x.png')"
                        alt=""
                        class="list_of_details_one_title_img list_of_details_one_title_img_top_left"
                    />
                    <img
                        :src="require('@assets/png-biaotibiankuang@3x (1).png')"
                        alt=""
                        class="list_of_details_one_title_img list_of_details_one_title_img_bottom_left"
                    />
                    <div>
                        <div
                            :class="infoNameLength ? 'list_of_details_one_title_cons' : 'list_of_details_one_title_con'"
                        >
                            {{ info.name }}
                        </div>
                        <div class="list_of_details_one_text">
                            <img
                                :src="require('@assets/blockchain@3x.png')"
                                alt=""
                                class="list_of_details_one_text_img"
                            />
                            <div class="list_of_details_one_text_con">{{ info.tokenId }}</div>
                        </div>
                    </div>
                    <img
                        :src="require('@assets/png-biaotibiankuang@3x (2).png')"
                        alt=""
                        class="list_of_details_one_title_img list_of_details_one_title_img_top_right"
                    />
                    <img
                        :src="require('@assets/png-biaotibiankuang@3x (3).png')"
                        alt=""
                        class="list_of_details_one_title_img list_of_details_one_title_img_bottom_right"
                    />
                </div>
            </div>
            <!-- 赠送 -->
            <div class="gift_collection">
                <div class="gift_collection_one">
                    <img
                        :src="collectionStatus === 'CANCELLED' ? giftFailed : giftSuccess"
                        alt=""
                        class="gift_collection_one_img"
                    />
                    <div class="gift_collection_one_title">
                        {{ collectionStatus === 'CANCELLED' ? '赠送失败' : '赠送成功' }}
                    </div>
                </div>
                <div class="gift_collection_two">
                    {{ collectionStatus === 'CANCELLED' ? '很遗憾！赠送失败' : '我们会在24小时内，短信通知您的好友' }}
                </div>
                <div class="gift_collection_three">
                    <div class="gift_collection_three_left" @click="$router.push('/store')">返回</div>
                    <div class="gift_collection_three_right" @click="againGive">
                        {{ collectionStatus === 'CANCELLED' ? '重新转赠' : '完成' }}
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- <div class="detail">
        <product-banner :info="info" pageType="asset"></product-banner>

        <div class="info">
            <div class="info-title">
                <product-title :isSmall="info.name && info.name.length > 16">{{ info.name }}</product-title>
            </div>
            <div class="price-line">
                <template v-if="info.consignment">
                    <div class="price">
                        <img src="@assets/jiage_huang.png" alt="" />
                        <span>{{ info.sellPrice || 0 }}</span>
                    </div>
                    <div class="sub" v-if="info.royalties">
                        含 <span>{{ info.royalties }}%</span> 版税
                    </div>
                </template>

                <div class="status" v-else-if="info.status == 'NORMAL'">
                    {{ info.publicShow ? '仅展示' : '未展示' }}
                </div>
                <div class="status" v-else>
                    {{ getLabelName(info.status, assetStatusOptions) }}
                </div>
                <div class="flex1"></div>

                <span class="text1" v-if="info.number"> 编号 {{ info.number }} </span>
            </div>
            <div class="info-bottom">
            </div>
        </div>

        <div class="goods">
            <van-collapse v-model="activeNames">
                <van-collapse-item name="1" class="goods-info">
                    <template #title>
                        <div class="page-title"><img src="@assets/fenxiang-icon.png" alt="" />用户信息</div>
                    </template>
                    <div class="user">
                        <van-cell
                            class="creator"
                            :to="{
                                path: '/creatorDetail',
                                query: {
                                    id: info.minterId
                                }
                            }"
                        >
                            <template #icon>
                                <van-image
                                    width="40"
                                    height="40"
                                    class="user-img"
                                    :src="info.minterAvatar || require('@assets/svgs/img_default_photo.svg')"
                                    fit="cover"
                                    radius="100"
                                />
                            </template>
                            <template #title>
                                <div class="text1 van-ellipsis">{{ info.minter }}</div>
                                <div class="text2">铸造者</div>
                            </template>
                        </van-cell>
                        <van-cell class="creator">
                            <template #icon>
                                <van-image
                                    width="40"
                                    height="40"
                                    class="user-img"
                                    :src="userInfo.avatar || require('@assets/svgs/img_default_photo.svg')"
                                    fit="cover"
                                    radius="100"
                                />
                            </template>
                            <template #title>
                                <div class="text1 van-ellipsis">{{ userInfo.nickname }}</div>
                                <div class="text2">持有者</div>
                            </template>
                        </van-cell>
                    </div>
                </van-collapse-item>

                <van-collapse-item name="2" class="goods-info">
                    <template #title>
                        <div class="page-title"><img src="@assets/icon-miaoshu.png" alt="" />作品描述</div>
                    </template>
                    <div v-if="info.detail" class="page-text page-detail" v-html="info.detail"></div>
                    <div v-else class="textName">铸造者未设置</div>
                </van-collapse-item>
                <van-collapse-item name="3" class="goods-info">
                    <template #title>
                        <div class="page-title"><img src="@assets/icon-lianshangxinxi.png" alt="" />类型</div>
                    </template>
                    <div class="top1">
                        <div v-if="info.category" class="text2">
                            <span>{{ info.category }}</span>
                        </div>
                        <div v-else class="text5">铸造者未设置</div>
                    </div>
                </van-collapse-item>
                <van-collapse-item name="4" class="goods-info init">
                    <template #title>
                        <div class="page-title">
                            <img src="@assets/qiaoqiaohua-icon-weidakai.png" alt="" /> 悄悄话<span
                                >（灰色表示已使用）</span
                            >
                        </div>
                    </template>
                    <div class="top1">
                        <div class="text2 text3" @click="Whisper" v-if="init2" :class="{ prim: init2.opened }">
                            <img v-if="!init2.opened" class="img" :src="init2.icon[0]" alt="" />
                            <img v-if="init2.opened" class="img" :src="init2.icon[2]" alt="" />
                            <div class="text4" :class="{ prim: init2.opened }">
                                {{ init2.opened ? '已打开' : '未打开' }}
                            </div>
                        </div>
                        <div class="text5" v-else>铸造者未设置</div>
                    </div>
                </van-collapse-item>
                <van-collapse-item name="5" class="goods-info">
                    <template #title>
                        <div class="titleIcon page-title">
                            <img src="@assets/icon-lianshangxinxi(1).png" alt="" />持有特权<span
                                >（灰色表示已使用）</span
                            >
                        </div>
                    </template>
                    <div class="prive" v-if="init.length > 0">
                        <div class="prive1" :class="{ opened: item.opened }" v-for="(item, index) in init" :key="index">
                            <img v-if="!item.opened" class="img" :src="item.icon[0]" alt="" />
                            <div style="margin-top: 4px" v-if="item.icon[2]">
                                <img v-if="item.opened" class="img" :src="item.icon[2]" alt="" />
                            </div>
                    

                            <div v-if="item.once" @click="privilegeFn2(item)" class="prive2">
                                {{ item.name }}
                            </div>
                            <div v-else @click="privilegeFn(item)" class="prive2">
                                {{ item.name }}
                            </div>
                        </div>
                    </div>
                    <div v-if="init.length === 0" class="tips">铸造者未设置</div>
                </van-collapse-item>
                <van-collapse-item name="6" class="goods-info">
                    <template #title>
                        <div class="page-title"><img src="@assets/icon-lianshangxinxi(2).png" alt="" />作品特性</div>
                    </template>
                    <div class="specific-list" v-if="properties.length > 0">
                        <div class="specific-item" v-for="(item, index) in properties" :key="index">
                            <div class="text1">{{ item.name }}</div>
                            <div class="text2">{{ item.value }}</div>
                        </div>
                    </div>
                    <div v-else class="textName">铸造者未设置</div>
                </van-collapse-item>
                <hash-code :info="info" pageType="asset"></hash-code>
                <van-collapse-item name="8" class="goods-info">
                    <template #title>
                        <div class="page-title"><img src="@assets/info_icon_jiaoyijilu1.png" alt="" />交易记录</div>
                    </template>
                    <div v-if="list.length > 0">
                        <div class="user-detail" v-for="item in list" :key="item.id">
                            <div class="text1 van-ellipsis">{{ item.fromUser || '保密' }}</div>
                            <div class="text2" v-if="item.price">{{ item.operation }}¥{{ item.price }}</div>
                            <div class="text2" v-else>{{ item.operation }}</div>
                            <div class="text3 van-ellipsis">{{ item.toUser || '保密' }}</div>
                            <div class="text4">{{ item.createdAt.substr(0, 16) }}</div>
                        </div>
                    </div>
                    <div v-else style="display: flex; justify-content: center">暂无购买记录</div>
                </van-collapse-item>
            </van-collapse>

          
        </div>

        
        <div class="btn van-safe-area-bottom" ref="btn" v-if="info.status === 'NORMAL'">
            <div class="btns1">
                <div class="add" @click="Add">
                    <img class="img" src="@assets/icon-dianzan.png" alt="" />
                    <div class="text2">赠送</div>
                </div>
                <van-button class="btn1" type="primary" block round @click="Exhibition">{{
                    info.publicShow ? '取消展示' : '公开展示'
                }}</van-button>

                <van-button v-if="startTime" block class="no-btn" round color="#303133">
                    <div>寄售倒计时</div>
                    <div>{{ startTime }}</div>
                </van-button>

                <van-button type="primary" v-else block round @click="Consignment">
                 
                    {{ info.consignment ? '取消寄售' : '寄售上架' }}
                </van-button>
            </div>
        </div>
        <div
            class="btn van-safe-area-bottom"
            ref="btn"
            v-else-if="info.status === 'TRADING' || info.status === 'GIFTING'"
        >
            <div class="status-text">{{ getLabelName(info.status, assetStatusOptions) }}</div>
        </div>
        <van-popup v-model:show="show">
            <div class="title2">
                <div class="top">
                    <img class="img" v-if="list2.icon[1]" :src="list2.icon[1]" alt="" />
                    <img class="img" v-else :src="list2.icon[0]" alt="" />
                    <div class="title3">{{ list2.name }}</div>
                </div>
                <img @click="allFn" class="icon" :src="require('@assets/icon-dianzan.png')" alt="" />
            </div>
            <div class="border"></div>
            <div class="name">{{ list2.description }}</div>
            <div class="name1" v-if="list2.type === 'text'">
              
                <span>{{ list2.detail || '暂无' }}</span>
            </div>
            <div class="name1" v-if="list2.type === 'exchange'">
                <span>{{ list2.detail }}</span>
            </div>
            <div class="name1" v-if="list2.type == 'qrcode'">
                <img class="qrcodeImg" :src="list2.detail" alt="" />
                <div class="qrcode1">扫描二维码进行票务核销</div>
                <span>{{ list2.remark || '暂无' }}</span>
            </div>
            <div v-if="list2.type === 'code'">
                <div class="copy">
                    <div class="id">
                        
                        yshsbn
                    </div>
                    <img class="copyImg" @click="copy" src="@assets/svgs/copy_icon.svg" alt="" />
                </div>
                <span class="span">说明：</span> <span>{{ list2.remark || '暂无' }}</span>
                <div class="border"></div>
                <div class="code">每次交易都会产生校验码</div>
            </div>
            <div v-if="list2.openTime">
                <div v-if="list2.type == 'qrcode'" class="timename">
                    <span class="time">截止时间：</span>{{ list2.openTime }}
                </div>
                <div v-else class="timename"><span class="time">打开时间：</span>{{ list2.openTime }}</div>
            </div>
        </van-popup>
        
        <van-popup v-model:show="show3">
            <div class="title2">
                <div class="top">
                    <img class="img" :src="init2.icon[1]" alt="" />
                    <div class="title3">{{ init2.name }}</div>
                </div>
                <img
                    @click="allFn2"
                    class="icon"
                    src="https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/image/2021-11-13-13-52-01rJiHiwBy.png"
                    alt=""
                />
            </div>
            <div class="border"></div>
            <div class="name">{{ init2.description }}</div>
            <div class="name1">
                <span>{{ init2.detail || '暂无' }}</span>
            </div>
            <div v-if="init2.openTime" class="timename"><span class="time">开启时间：</span>{{ init2.openTime }}</div>
        </van-popup>
        <div class="whisper">
            <van-popup v-model:show="show2">
                <div class="con">
                    <div class="Whisper">提示</div>
                    <img
                        @click="show2 = false"
                        class="icon"
                        src="https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/image/2021-11-12-16-13-37tvHvqsIN.png"
                        alt=""
                    />
                </div>
                <img
                    @click="openedFn"
                    class="imgBox"
                    src="https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/image/2021-11-12-16-13-07DtWLMcPy.png"
                    alt=""
                />
                <div class="Whisper1">
                    <div>点击图标打开悄悄话</div>
                    <div v-if="init2.once">(隐藏内容，只能开启一次)</div>
                </div>
            </van-popup>
        </div>

        <order-open
            ref="box"
            @getProduct="getProduct(true)"
            :id="orderInfo.id"
            :imgSrc="getImg(changeImgs(info.pic))"
        ></order-open>
    </div> -->
</template>

<script>
import { abs } from 'mathjs';
import asset from '../../mixins/asset';
import product from '../../mixins/product';
import Post from '../../components/Post.vue';
import { mapState } from 'vuex';
import { ImagePreview } from 'vant';
import { Dialog } from 'vant';
// import HashCode from '../../components/product/HashCode.vue';
// import ProductTitle from '../../components/product/ProductTitle.vue';
import ProductBanner from '../../components/product/ProductBanner.vue';
import HashCode from '../../components/product/HashCode.vue';
// import OrderOpen from '../../components/order/OrderOpen.vue';
// import TopNavigation from "../../components/TopNavigation.vue"
export default {
    components: {
        HashCode,
        // ProductTitle,
        ProductBanner,
        Post
        // OrderOpen,
        // TopNavigation
    },
    mixins: [asset, product],
    data() {
        return {
            activeNames: ['1', '2', '3', '4', '5', '6', 'hashCode', '8'],
            noLikes: require('@assets/icon-dianzan.png'),
            likes: require('@assets/icon-dianzan@2x.png'),
            info: {},
            orderInfo: {},
            liked: false,
            show2: false,
            show3: false,
            btn: null,
            list: [],
            show: false,
            init: [],
            init2: null,
            holdDays: 0,
            moreDisplayOne: false,
            typeOptions: [
                { label: '文本', value: 'text' },
                { label: '二维码', value: 'qrcode' },
                { label: '验证码', value: 'code' },
                { label: '铸造', value: 'exchange' }
            ],
            publicDisplay: require('@assets/publicDisplay@3x.png'),
            privateDisplay: require('@assets/privateDisplay@3x.png'),
            giftCollection: false,
            giftSuccess: require('@assets/zengsongchenggong@3x.png'),
            giftFailed: require('@assets/zengsongshibai@3x.png'),
            collectionStatus: '',
            infoNameLength: false
        };
    },
    computed: {
        ...mapState(['userInfo']),
        banners() {
            return this.info.pic || [];
        },
        properties() {
            return this.info.properties || [];
        },
        privileges() {
            return this.info.privileges || [];
        },
        isBuy() {
            return this.info.stock && this.info.onShelf;
        },
        pageUrl() {
            return 'assetDetail';
        }
    },
    mounted() {
        this.getProduct(true);
        setTimeout(() => {
            this.record();
        }, 1000);
        if (this.$route.query.collectionStatus) {
            this.collectionStatus = this.$route.query.collectionStatus;
        }
    },
    methods: {
        share() {
            if (!this.info.publicShow) {
                Dialog.confirm({
                    message: '藏品公开展示后才可以分享'
                })
                    .then(() => {
                        this.moreDisplayOne = false;
                    })
                    .catch(() => {
                        this.moreDisplayOne = false;
                    });
            } else {
                this.$refs.post.init();
            }
        },
        moreDisplay() {
            this.moreDisplayOne = !this.moreDisplayOne;
        },
        allFn() {
            this.show = false;
            this.getProduct();
        },
        allFn2() {
            this.show3 = false;
            this.getProduct();
        },
        copy() {
            this.$copyText(this.list2.id).then(
                e => {
                    this.$toast.success('复制成功');
                    console.log(e);
                },
                e => {
                    this.$toast('复制失败');
                    console.log(e);
                }
            );
        },
        copyOne(text) {
            this.$copyText(text).then(
                e => {
                    this.$toast.success('复制成功');
                    console.log(e);
                },
                e => {
                    this.$toast('复制失败');
                    console.log(e);
                }
            );
        },
        privilegeFn(init) {
            this.list2 = init;
            this.show = true;
            this.$http
                .post('/asset/usePrivilege', {
                    assetId: this.info.id,
                    privilegeId: init.id
                })
                .then(res => {
                    console.log(res);
                });
        },
        privilegeFn2(init) {
            if (init.once && init.opened == false) {
                this.list2 = init;
                this.show = true;
                this.$http
                    .post('/asset/usePrivilege', {
                        assetId: this.info.id,
                        privilegeId: init.id
                    })
                    .then(res => {
                        console.log(res);
                    });
            }
        },
        openedFn() {
            if (this.info.tokenId) {
                Dialog.alert({
                    title: '数字权益卡',
                    message: this.info.tokenId,
                    confirmButtonText: '好的'
                }).then(() => {
                    // on close
                });
            }
            // this.show2 = false;
            // this.show3 = true;
            // if (!this.init2.once) {
            // this.show2 = false;
            //     this.$http
            //         .post('/asset/usePrivilege', {
            //             assetId: this.info.id,
            //             privilegeId: this.init2.id
            //         })
            //         .then(res => {
            //             console.log(res);
            //         });
            // }
        },
        Whisper() {
            if (!this.init2.once || (this.init2.once && !this.init2.opened)) {
                // this.show2 = true;
                this.$http
                    .post('/asset/usePrivilege', {
                        assetId: this.info.id,
                        privilegeId: this.init2.id
                    })
                    .then(res => {
                        this.init2.opened = true;
                    });
            }
        },
        record() {
            this.$http
                .get('/asset/tokenHistory', {
                    tokenId: this.info.tokenId,
                    assetId: this.info.id
                })
                .then(res => {
                    this.list = res;
                });
        },
        Consignment() {
            this.checkAuth()
                .then(() => {
                    return this.checkBank();
                })
                .then(() => {
                    if (this.dayjs().diff(this.dayjs(this.info.createdAt), 'day') < this.holdDays) {
                        this.$toast('持有满' + this.holdDays + '天才能寄售');
                    } else if (!this.info.consignment) {
                        Dialog.confirm({
                            title: '寄售上架',
                            message: '确定寄售上架吗？'
                        }).then(() => {
                            this.$router.push('/Consignment?id=' + this.info.id);
                        });
                    }
                });
        },
        shelfCollection() {
            Dialog.confirm({
                title: '取消寄售',
                message: '确定取消寄售吗？'
            })
                .then(() => {
                    return this.$http.post(`/asset/cancelConsignment?id=${this.info.id}`);
                })
                .then(res => {
                    this.$toast.success('取消寄售');
                    setTimeout(() => {
                        this.getProduct();
                    }, 1000);
                });
        },
        againGive() {
            if (this.collectionStatus != 'CANCELLED') {
                this.$router.push('/store');
            } else {
                this.$router.push('/giveSearch?id=' + this.info.id);
            }
        },
        Add() {
            if (this.userInfo.authStatus === 'PENDING' || this.userInfo.authStatus === 'FAIL') {
                Dialog.confirm({
                    title: '认证信息',
                    message: '用户认证中,是否查看认证'
                }).then(() => {
                    this.$router.push('/waiting');
                });
            } else if (this.userInfo.authStatus === 'NOT_AUTH') {
                Dialog.confirm({
                    title: '认证信息',
                    message: '用户未认证,是否立即认证'
                }).then(() => {
                    this.$router.push('/verified');
                });
            } else if (this.dayjs().diff(this.dayjs(this.info.createdAt), 'day') < this.holdDays) {
                this.$toast('持有满' + this.holdDays + '天才能转赠');
            } else if (this.userInfo.authStatus === 'SUCCESS') {
                this.$router.push('/giveSearch?id=' + this.info.id);
            }
        },
        Exhibition() {
            // this.$toast.loading({
            //     message: '加载中...',
            //     forbidClick: true
            // });
            if (!this.info.publicShow) {
                Dialog.confirm({
                    title: '公开展示确认',
                    message: '藏品仅公开展示，无报价'
                }).then(() => {
                    this.$toast.loading({
                        message: '加载中...',
                        forbidClick: true
                    });
                    return this.$http
                        .post(`/asset/publicShow?id=${this.info.id}`)
                        .then(res => {
                            this.$toast.success('展示成功');
                            setTimeout(() => {
                                this.getProduct();
                            }, 1000);
                        })
                        .catch(e => {
                            this.$toast(e.error);
                        });
                });
            } else {
                Dialog.confirm({
                    title: '取消展示',
                    message: '藏品将取消展示，无报价'
                })
                    .then(() => {
                        this.$toast.loading({
                            message: '加载中...',
                            forbidClick: true
                        });
                        return this.$http.post(`/asset/cancelPublic?id=${this.info.id}`);
                    })
                    .then(res => {
                        this.$toast.success('取消成功');
                        setTimeout(() => {
                            this.getProduct();
                        }, 1000);
                    });
            }
        },
        preview(index = 0, list = []) {
            ImagePreview({
                images: [...list],
                startPosition: index
            });
        },
        getProduct(init = false) {
            this.$toast.loading({
                message: '加载中...',
                forbidClick: true
            });
            this.$http.get('/asset/get/' + this.$route.query.id).then(res => {
                this.info = res;

                if (res.orderId) {
                    this.$http.get('/order/get/' + res.orderId).then(res => {
                        this.orderInfo = res;
                        if (this.orderInfo.type === 'BLIND_BOX' && !this.orderInfo.opened) {
                            this.$toast.clear();
                            this.openBlindBox();
                        }
                    });
                }
                wx.updateAppMessageShareData({
                    title: '第九空间-' + res.name,
                    desc: '全球首个基于区块链的游戏资产集换中心',
                    link: location.origin + '/9th/assetDetail?id=' + res.id,
                    imgUrl: this.getImg(this.changeImgs(this.banners), '', 600)
                });
                wx.updateTimelineShareData({
                    title: '第九空间-' + res.name,
                    link: location.origin + '/9th/assetDetail?id=' + res.id,
                    imgUrl: this.getImg(this.changeImgs(this.banners), '', 600)
                });
                this.tokenId = this.info.tokenId;
                if (res.privileges) {
                    this.init2 = res.privileges.find(item => {
                        return item.name === '悄悄话';
                    });
                }
                if (res.privileges) {
                    this.init = res.privileges.filter(item => {
                        return item.name !== '悄悄话';
                    });
                }
                if (this.info.name.length > 14) {
                    this.infoNameLength = true;
                } else {
                    this.infoNameLength = false;
                }
                this.$nextTick(() => {
                    if (this.isBuy) {
                        this.btn = this.$refs.btn;
                    }
                });
                console.log(init);
                if (init) {
                    if (this.info.holdDays) {
                        this.holdDays = Number(this.info.holdDays);
                        this.getTime();
                    } else {
                        this.$http.get('/sysConfig/get/hold_days').then(res => {
                            this.holdDays = Number(res.value);
                            // this.holdDays = 10;
                            this.getTime();
                        });
                    }
                } else {
                    this.$toast.clear();
                }
            });
        },
        openBlindBox() {
            this.$refs.box.show = true;
        },
        likeProduct() {
            if (!this.info.liked) {
                this.$http.get(`/collection/${this.info.id}/like`).then(() => {
                    this.getProduct();
                    this.$toast.success('收藏成功');
                });
            } else {
                this.$http.get(`/collection/${this.info.id}/unlike`).then(() => {
                    this.getProduct();
                    this.$toast.success('取消收藏');
                });
            }
        },
        buy() {
            this.checkLogin().then(() => {
                this.$router.push({
                    path: '/submit',
                    query: {
                        id: this.$route.query.id
                    }
                });
            });
        },
        pad(n, width, z) {
            z = z || '0';
            n = n + '';
            return n.length >= width ? n : new Array(width - n.length + 1).join(z) + n;
        },
        getTime() {
            let startTime = this.dayjs(this.info.createdAt).add(this.holdDays, 'days');
            let seconds = this.dayjs(startTime, 'YYYY-MM-DD HH:mm:ss').diff(this.dayjs(), 'second');
            let str = '';
            let d = Math.floor(seconds / 24 / 3600);
            if (abs(d) > 0) {
                str += d + '天 ';
            }

            this.startTime =
                str +
                this.pad(parseInt(seconds / 3600) % 24, 2) +
                ':' +
                this.pad(parseInt(seconds / 60) % 60, 2) +
                ':' +
                this.pad(seconds % 60, 2);
            if (this.timer) {
                clearTimeout(this.timer);
                this.timer = null;
            }
            if (!this.dayjs().isBefore(this.dayjs(startTime, 'YYYY-MM-DD HH:mm:ss'))) {
                if (this.getProduct) {
                    this.getProduct(false);
                }
                this.startTime = '';
            } else {
                this.$toast.clear();
                this.timer = setTimeout(() => {
                    this.getTime();
                }, 1000);
            }
        }
    },
    beforeRouteLeave(from, to, next) {
        this.emitter.emit('updateList', this.info);
        next();
    }
};
</script>

<style lang="less" scoped>
.detail_content {
    width: 100%;
    background: #201b15;
    position: relative;
    padding-top: 40px;
    .detail_content_con {
        width: 100%;
        height: 192px;
        position: absolute;
        top: 0px;
    }
    .detail_content_banner {
        position: relative;
        z-index: 1;
    }
    .list_of_details {
        background: #201b15;
        margin-bottom: 80px;
        .list_of_details_one {
            padding: 0px 24px;
            box-sizing: border-box;
            height: 317px;
            .list_of_details_one_img {
                width: 100%;
                height: 158px;
                transform: translateY(-38px);
                position: relative;
            }
            .list_of_details_one_title {
                height: 52px;
                padding: 0px 6px;
                box-sizing: border-box;
                transform: translateY(-108px);
                display: flex;
                justify-content: center;
                .list_of_details_one_title_img {
                    width: 46px;
                    height: 30px;
                }
                .list_of_details_one_title_img_top_left {
                    position: absolute;
                    left: 25px;
                    top: -10px;
                }
                .list_of_details_one_title_img_bottom_left {
                    position: absolute;
                    left: 25px;
                    bottom: -15px;
                }
                .list_of_details_one_title_img_top_right {
                    position: absolute;
                    right: 25px;
                    top: -10px;
                }
                .list_of_details_one_title_img_bottom_right {
                    position: absolute;
                    right: 25px;
                    bottom: -15px;
                }
                .list_of_details_one_title_con {
                    width: 100%;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    text-align: center;
                    margin-bottom: 4px;
                    height: 28px;
                    font-size: 20px;
                    font-family: PingFangSC-Semibold, PingFang SC;
                    font-weight: 600;
                    color: #ffffff;
                    line-height: 28px;
                }
                .list_of_details_one_title_cons {
                    width: 100%;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    text-align: center;
                    margin-bottom: 4px;
                    height: 28px;
                    font-size: 16px;
                    font-family: PingFangSC-Semibold, PingFang SC;
                    font-weight: 600;
                    color: #ffffff;
                    line-height: 28px;
                }
                .list_of_details_one_text {
                    display: flex;
                    justify-content: center;
                    .list_of_details_one_text_img {
                        width: 26px;
                        height: 26px;
                        position: relative;
                        z-index: 1;
                    }
                    .list_of_details_one_text_con {
                        width: calc(100vw - 160px);
                        height: 18px;
                        background: linear-gradient(141deg, #fcdc99 0%, #fce7c8 100%);
                        border-radius: 4px;
                        padding: 2px 8px 2px 10px;
                        box-sizing: border-box;
                        margin-top: 4px;
                        margin-left: -6px;
                        font-size: 9px;
                        font-family: PingFangSC-Regular, PingFang SC;
                        font-weight: 400;
                        color: #725837;
                        line-height: 14px;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        text-align: center;
                    }
                }
                .list_of_details_one_title_one {
                    display: flex;
                    justify-content: center;
                    // transform: translateY(-50px);
                    font-size: 11px;
                    font-family: PingFangSC-Regular, PingFang SC;
                    font-weight: 400;
                    align-items: center;
                    .list_of_details_one_title_one_text1 {
                        padding: 0px 6px;
                        box-sizing: border-box;
                        // height: 16px;
                        background: #f9ddb3;
                        border-radius: 3px;
                        color: #282d3a;
                        margin-right: 6px;
                        line-height: 17px;
                    }
                    .list_of_details_one_title_one_text2 {
                        padding: 0px 6px;
                        box-sizing: border-box;
                        // height: 16px;
                        background: #323743;
                        border-radius: 3px;
                        line-height: 17px;
                        color: #f9ddb3;
                    }
                }
            }
        }
        .gift_collection {
            padding: 0px 33px;
            box-sizing: border-box;
            transform: translateY(-130px);
            .gift_collection_one {
                display: flex;
                justify-content: center;
                margin-bottom: 14px;
                .gift_collection_one_img {
                    width: 26px;
                    height: 26px;
                    margin-right: 7px;
                }
                .gift_collection_one_title {
                    font-size: 19px;
                    font-family: PingFangSC-Medium, PingFang SC;
                    font-weight: 500;
                    color: #ffffff;
                    line-height: 26px;
                }
            }
            .gift_collection_two {
                font-size: 14px;
                font-family: PingFangSC-Regular, PingFang SC;
                font-weight: 400;
                color: #ffffff;
                line-height: 20px;
                opacity: 0.5;
                margin-bottom: 50px;
                text-align: center;
            }
            .gift_collection_three {
                display: flex;
                justify-content: center;
                height: 46px;
                font-size: 18px;
                font-family: PingFangSC-Medium, PingFang SC;
                font-weight: 500;
                text-align: center;
                line-height: 46px;
                .gift_collection_three_left {
                    width: 50%;
                    height: 46px;
                    background: rgba(249, 221, 179, 0.1);
                    border-radius: 8px;
                    color: #ffffff;
                }
                .gift_collection_three_right {
                    width: 50%;
                    height: 46px;
                    background: #f9ddb3;
                    border-radius: 8px;
                    color: #503a1e;
                    margin-left: 13px;
                }
            }
        }
        .collection_holder {
            padding: 0px 15px;
            box-sizing: border-box;
            transform: translateY(-155px);
            .collection_holder_con {
                width: 100%;
                background: #2f2519;
                border-radius: 12px;
                padding: 20px 15px;
                box-sizing: border-box;
                .collection_holder_one {
                    display: flex;
                    justify-content: space-between;
                    font-size: 16px;
                    font-family: PingFangSC-Regular, PingFang SC;
                    font-weight: 400;
                    color: #ffffff;
                    line-height: 22px;
                    .collection_holder_one_title {
                        opacity: 0.5;
                    }
                    .collection_holder_one_con {
                        display: flex;
                        .collection_holder_one_time_con {
                            width: 180px;
                            font-size: 12px;
                            font-family: PingFangSC-Regular, PingFang SC;
                            font-weight: 400;
                            color: #ffffff;
                            line-height: 18px;
                            margin: 2px 10px 0px 0px;
                            overflow: hidden;
                            white-space: nowrap;
                            text-overflow: ellipsis;
                        }
                        .collection_holder_one_time_con_img {
                            width: 24px;
                            height: 24px;
                        }
                    }
                }
                .collection_holder_two {
                    margin-bottom: 16px;
                }
            }
            .collection_holder_publisher {
                width: 100%;
                background: #2f2519;
                border-radius: 12px;
                padding: 9px 15px;
                box-sizing: border-box;
                display: flex;
                .collection_holder_publisher_title {
                    margin-top: 1px;
                    margin-left: 10px;
                    .collection_holder_publisher_title_one {
                        font-size: 14px;
                        font-family: PingFangSC-Medium, PingFang SC;
                        font-weight: 500;
                        color: #ffffff;
                        line-height: 20px;
                        margin-bottom: 2px;
                    }
                    .collection_holder_publisher_title_two {
                        font-size: 12px;
                        font-family: PingFangSC-Regular, PingFang SC;
                        font-weight: 400;
                        color: #ffffff;
                        line-height: 16px;
                        opacity: 0.3;
                    }
                }
            }
        }
        .work_story {
            padding: 0px 15px;
            box-sizing: border-box;
            margin-top: -140px;
            position: relative;
            // z-index: 1;
            .work_story_con {
                width: 100%;
                background: #2f2519;
                border-radius: 12px;
                padding: 16px 15px;
                box-sizing: border-box;
                .work_story_title {
                    height: 26px;
                    font-size: 18px;
                    font-family: PingFangSC-Medium, PingFang SC;
                    font-weight: 500;
                    color: #ffffff;
                    line-height: 26px;
                    margin-bottom: 14px;
                }
                .work_story_text {
                    font-size: 14px;
                    font-family: PingFangSC-Regular, PingFang SC;
                    font-weight: 400;
                    color: #939599;
                    line-height: 20px;
                }
                .work_story_creator {
                    margin-top: 14px;
                    display: flex;
                    justify-content: space-between;
                    font-size: 14px;
                    font-family: PingFangSC-Regular, PingFang SC;
                    font-weight: 400;
                    color: #ffffff;
                    line-height: 20px;
                    .work_story_creator_left {
                        color: #ffffff;
                        opacity: 0.5;
                    }
                }
            }
        }
        .hold_privileges {
            margin-top: 10px;
            padding: 0px 15px;
            box-sizing: border-box;
            .hold_privileges_con {
                width: 100%;
                padding: 16px 15px;
                box-sizing: border-box;
                background: #2f2519;
                border-radius: 12px;
                .hold_privileges_title {
                    font-size: 18px;
                    font-family: PingFangSC-Medium, PingFang SC;
                    font-weight: 500;
                    color: #ffffff;
                    line-height: 26px;
                    margin-bottom: 12px;
                    .hold_privileges_tip {
                        font-size: 12px;
                        font-family: PingFangSC-Regular, PingFang SC;
                        font-weight: 400;
                        color: #ffffff;
                        line-height: 20px;
                        margin-left: 2px;
                        opacity: 0.5;
                    }
                }
                .hold_privileges_name {
                    margin-top: 10px;
                    font-size: 14px;
                    font-family: PingFangSC-Regular, PingFang SC;
                    font-weight: 400;
                    color: #939599;
                }
                .hold_privileged_information {
                    display: flex;
                    flex-wrap: wrap;
                    display: flex;
                    // justify-content: space-evenly;
                    .hold_privileged_information_con {
                        margin-top: 10px;
                        margin-right: 15px;
                        width: 30%;
                        height: 32px;
                        background: #f9ddb3;
                        border-radius: 4px;
                        padding: 7px 0px;
                        box-sizing: border-box;
                        display: flex;
                        justify-content: center;
                        .hold_privileged_information_con_title {
                            font-size: 12px;
                            font-family: PingFangSC-Regular, PingFang SC;
                            font-weight: 400;
                            color: #5c4424;
                            line-height: 18px;
                            margin-left: 1px;
                        }
                        .hold_privileged_information_con_title_opened {
                            font-size: 12px;
                            font-family: PingFangSC-Regular, PingFang SC;
                            font-weight: 400;
                            color: #333333;
                            line-height: 18px;
                            margin-left: 1px;
                        }
                    }
                    .hold_privileged_information_con_opened {
                        background: #ffffff;
                        opacity: 0.5;
                    }
                    .hold_privileged_information_con:nth-of-type(3n) {
                        margin-right: 0px;
                    }
                }
                .digital_equity_card_con {
                    width: 100%;
                    height: 36px;
                    background: rgba(249, 221, 179, 0.05);
                    border-radius: 4px;
                    border: 1px solid #f9ddb3;
                    padding: 8px 10px;
                    box-sizing: border-box;
                    display: flex;
                    font-size: 14px;
                    font-family: PingFangSC-Regular, PingFang SC;
                    font-weight: 400;
                    color: #ffffff;
                    line-height: 20px;
                    margin-bottom: 10px;
                    .digital_equity_card_con_one {
                        margin-right: 20px;
                    }
                    .digital_equity_card_con_two {
                        font-weight: 500;
                        color: #f9ddb3;
                    }
                }
                .digital_equity_card_con:last-child {
                    margin-bottom: 0px;
                }
                .hold_privileges_list_con {
                    display: flex;
                    justify-content: space-between;
                    margin-bottom: 14px;
                    padding-bottom: 15px;
                    box-sizing: border-box;
                    border-bottom: 1px solid rgba(151, 151, 151, 0.1);
                    .hold_privileges_list_con_text1 {
                        font-size: 14px;
                        font-family: PingFangSC-Regular, PingFang SC;
                        font-weight: 400;
                        color: #ffffff;
                        line-height: 22px;
                        margin-bottom: 4px;
                    }
                    .hold_privileges_list_con_text2 {
                        font-size: 12px;
                        font-family: PingFangSC-Regular, PingFang SC;
                        font-weight: 400;
                        color: #ffffff;
                        line-height: 18px;
                        opacity: 0.3;
                    }
                    .hold_privileges_list_con_text2_con {
                        text-align: right;
                    }
                    .hold_privileges_list_con_text3 {
                        font-size: 14px;
                        font-family: PingFangSC-Regular, PingFang SC;
                        font-weight: 400;
                        color: #ffffff;
                        line-height: 22px;
                        margin-top: 11px;
                    }
                }
                .hold_privileges_list_con:last-child {
                    margin-bottom: 0px;
                    padding-bottom: 0px;
                    border-bottom: none;
                }
            }
        }
    }
    // margin-top: 44px;
    .detail_content_img {
        margin-top: 30px;
        padding: 0px 57px;
        box-sizing: border-box;
        width: 100%;
        height: 260px;
        border-radius: 30px;
        margin-bottom: 20px;
    }
    .detail_content_one {
        width: 100%;
        padding: 0px 128px;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        margin-bottom: 16px;
        .detail_content_point {
            display: flex;
            .detail_content_point_img {
                width: 18px;
                height: 18px;
                margin-right: 2px;
            }
            .detail_content_point_number {
                font-size: 12px;
                font-family: PingFangSC-Regular, PingFang SC;
                font-weight: 400;
                color: #939599;
            }
        }
        .detail_content_share {
            display: flex;
            // margin-left: 41px;
            .detail_content_share_img {
                width: 18px;
                height: 18px;
                margin-right: 2px;
            }
            .detail_content_share_con {
                font-size: 12px;
                font-family: PingFangSC-Regular, PingFang SC;
                font-weight: 400;
                color: #939599;
            }
        }
    }
    .detail_content_title_one {
        padding: 0 20px;
        box-sizing: border-box;
        font-size: 18px;
        // margin-top: -25px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #ffffff;
        line-height: 24px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        margin-bottom: 12px;
        text-align: center;
    }
    .detail_content_title {
        padding: 0 20px;
        box-sizing: border-box;
        font-size: 18px;
        margin-top: 25px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #ffffff;
        line-height: 24px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        margin-bottom: 12px;
        text-align: center;
    }
    .item_number {
        // padding: 0 117px;
        // box-sizing: border-box;
        display: flex;
        justify-content: center;
        font-size: 10px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #28b6ff;
        margin-bottom: 20px;
        .item_number_collection {
            width: 54px;
            height: 18px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            line-height: 18px;
            text-align: center;
            margin-right: 10px;
        }
        .item_number_number {
            width: 77px;
            height: 18px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            line-height: 18px;
            text-align: center;
        }
    }
    .limited_label {
        margin-left: 108px;
        margin-bottom: 20px;
        display: flex;
        .limited_label_name {
            width: 44px;
            height: 18px;
            background: #28b6ff;
            border-radius: 4px 0px 0px 4px;
            font-size: 10px;
            font-family: PingFangSC-Regular, PingFang SC;
            font-weight: 400;
            color: #ffffff;
            text-align: center;
            line-height: 18px;
        }
        .limited_label_number {
            width: 51px;
            height: 18px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            font-size: 10px;
            font-family: PingFangSC-Regular, PingFang SC;
            font-weight: 400;
            color: #28b6ff;
            line-height: 18px;
            text-align: center;
            margin-right: 10px;
        }
        .limited_label_collection {
            width: 54px;
            height: 18px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            font-size: 10px;
            font-family: PingFangSC-Regular, PingFang SC;
            font-weight: 400;
            color: #28b6ff;
            line-height: 18px;
            text-align: center;
        }
    }
    .self_information {
        padding: 0 10px;
        padding-bottom: 53px;
        box-sizing: border-box;
        .display_price {
            width: 100%;
            height: 56px;
            background: #29293f;
            border-radius: 8px;
            padding-left: 10px;
            box-sizing: border-box;
            display: flex;
            margin-bottom: 10px;
            .display_price_title {
                font-size: 20px;
                font-family: PingFangSC-Regular, PingFang SC;
                font-weight: 400;
                color: #939599;
                line-height: 56px;
            }
            .display_price_left {
                font-size: 12px;
                font-family: PingFangSC-Regular, PingFang SC;
                font-weight: 400;
                color: #939599;
                padding-top: 28px;
                box-sizing: border-box;
                margin-right: 4px;
            }
            .display_price_right {
                display: flex;
                font-family: PingFangSC-Medium, PingFang SC;
                font-weight: 500;
                color: #ffffff;
                .display_price_right_symbol {
                    font-size: 14px;
                    padding-top: 27px;
                    box-sizing: border-box;
                }
                .display_price_right_number {
                    font-size: 26px;
                    padding-top: 15px;
                    box-sizing: border-box;
                }
            }
        }
        .self_information_one {
            padding: 12px 10px;
            box-sizing: border-box;
            background: #29293f;
            border-radius: 8px;
            margin-bottom: 10px;
            display: flex;
            justify-content: space-between;
            position: relative;
            .self_information_one_con {
                // width: 50%;
                display: flex;
                .self_information_one_text {
                    font-size: 12px;
                    font-family: PingFangSC-Regular, PingFang SC;
                    font-weight: 400;
                    margin-left: 6px;
                }
                .self_information_one_text_one {
                    color: #ffffff;
                }
                .self_information_one_text_two {
                    color: #939599;
                }
            }
            .split_line {
                position: absolute;
                left: 48%;
                top: 12px;
                width: 1px;
                height: 34px;
                background: rgba(95, 100, 111, 0.2);
                // opacity: 0.2;
                // border: 1px solid #5F646F;
                // box-sizing: border-box;
            }
        }
        .description_of_works {
            width: 100%;
            background: #29293f;
            border-radius: 8px;
            padding: 10px;
            box-sizing: border-box;
            .description_of_works_title {
                font-size: 14px;
                font-family: PingFangSC-Medium, PingFang SC;
                font-weight: 500;
                color: #ffffff;
                margin-bottom: 10px;
            }
            .description_of_works_text {
                font-size: 14px;
                font-family: PingFangSC-Regular, PingFang SC;
                font-weight: 400;
                color: #939599;
                line-height: 20px;
                margin-bottom: 10px;
            }
            .description_of_works_img {
                width: 100%;
                height: 489px;
                border-radius: 8px;
            }
        }
        // .information_on_the_chain {
        //     display: flex;
        //     justify-content: space-between;
        //     .information_on_the_chain_title {
        //         font-size: 14px;
        //         font-family: PingFangSC-Regular, PingFang SC;
        //         font-weight: 400;
        //         color: #939599;
        //         line-height: 24px;
        //     }
        //     .information_on_the_chain_content {
        //         width: 158px;
        //         font-size: 14px;
        //         font-family: PingFangSC-Regular, PingFang SC;
        //         font-weight: 400;
        //         color: #939599;
        //         line-height: 24px;
        //         overflow: hidden; //超出的文本隐藏
        //         text-overflow: ellipsis; //溢出用省略号显示
        //         white-space: nowrap; //溢出则不换行
        //     }
        // }
        // .information_on_the_chain_con {
        //     font-size: 14px;
        //     font-family: PingFangSC-Medium, PingFang SC;
        //     font-weight: 500;
        //     color: #ffffff;
        //     margin-bottom: 8px;
        // }
        .transaction_record_one {
            display: flex;
            justify-content: space-between;
            margin: 10px 0;
            font-size: 12px;
            font-family: PingFangSC-Regular, PingFang SC;
            font-weight: 400;
            color: #939599;
            .user_information {
                margin-right: 20px;
            }
        }
        .transaction_record_two {
            margin-bottom: 0;
            .selling_price {
                margin-right: 32px;
            }
        }
    }
    .transaction_button {
        width: 100%;
        background: #15152d;
        padding: 0 16px;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        position: fixed;
        bottom: 0;
        .transaction_button_left {
            display: flex;
            .transaction_price {
                padding: 18px 0 12px 12px;
                box-sizing: border-box;
                font-size: 26px;
                font-family: PingFangSC-Medium, PingFang SC;
                font-weight: 500;
                color: #ffffff;
                position: relative;
                margin-right: 4px;
                .amount_symbol {
                    font-size: 14px;
                    position: absolute;
                    bottom: 16px;
                    left: 0px;
                }
            }
            .transaction_tax {
                padding: 28px 0 12px 0;
                box-sizing: border-box;
                font-size: 12px;
                font-family: PingFangSC-Regular, PingFang SC;
                font-weight: 400;
                color: #949699;
                .transaction_tax_con {
                    color: #ffffff;
                }
            }
        }
        .transaction_button_right {
            padding: 8px 0;
            box-sizing: border-box;
            .sold_out {
                width: 160px;
                height: 40px;
                background: #29293f;
                border-radius: 8px;
                font-size: 16px;
                font-family: PingFangSC-Medium, PingFang SC;
                font-weight: 500;
                color: #939599;
                line-height: 40px;
                text-align: center;
            }
            .coming_on_sale {
                width: 160px;
                height: 46px;
                background: #29293f;
                border-radius: 8px;
                padding: 6px 0 0 52px;
                box-sizing: border-box;
                .coming_on_sale_con {
                    font-size: 14px;
                    font-family: PingFangSC-Medium, PingFang SC;
                    font-weight: 500;
                    color: #939599;
                }
                .coming_on_sale_time {
                    font-size: 10px;
                    font-family: PingFangSC-Regular, PingFang SC;
                    font-weight: 400;
                    color: #939599;
                }
            }
            .buy_now {
                width: 160px;
                height: 46px;
                background: #28b6ff;
                border-radius: 8px;
                padding-top: 6px;
                box-sizing: border-box;
                text-align: center;
                .buy_now_con {
                    font-size: 14px;
                    font-family: PingFangSC-Medium, PingFang SC;
                    font-weight: 500;
                    color: #ffffff;
                }
                .purchase_sold {
                    font-size: 10px;
                    font-family: PingFangSC-Regular, PingFang SC;
                    font-weight: 400;
                    color: #f5f7fa;
                    margin-right: 12px;
                }
                .Purchase_surplus {
                    font-size: 10px;
                    font-family: PingFangSC-Regular, PingFang SC;
                    font-weight: 400;
                    color: #f5f7fa;
                }
            }
        }
    }
    .purchase_transaction_button {
        width: 100%;
        // height: 66px;
        background: #201b15;
        box-shadow: inset 0px 1px 0px 0px #292d36;
        position: fixed;
        bottom: 0;
        z-index: 99;
        // justify-content: space-between;
        font-size: 16px;
        font-family: PingFangSC-Medium, PingFang SC;
        font-weight: 500;
        .purchase_transaction_button_con {
            width: 100%;
            display: flex;
            padding: 9px 15px;
            box-sizing: border-box;
            justify-content: space-between;
            // justify-content: center;
        }
        .purchase_transaction_button_give {
            width: calc(42vw);
            height: 44px;
            border-radius: 8px;
            background: #313641;
            margin-right: 16px;
            padding-top: 5px;
            // border: 1px solid #28b6ff;
            box-sizing: border-box;
            // color: #28b6ff;
            // line-height: 38px;
            text-align: center;
            .purchase_transaction_button_give_one {
                font-size: 16px;
                font-family: PingFangSC-Medium, PingFang SC;
                font-weight: 500;
                color: #ffffff;
                opacity: 0.6;
                line-height: 20px;
            }
            .purchase_transaction_button_give_two {
                font-size: 12px;
                font-family: PingFangSC-Regular, PingFang SC;
                font-weight: 400;
                color: #ffffff;
                opacity: 0.3;
                line-height: 16px;
            }
        }
        .purchase_transaction_button_give_con {
            width: 76px;
            height: 40px;
            border-radius: 8px;
            border: 1px solid #28b6ff;
            box-sizing: border-box;
            color: #28b6ff;
            line-height: 38px;
            text-align: center;
            font-size: 16px;
            font-weight: 500;
            margin-right: 16px;
        }
        .purchase_transaction_button_right {
            // display: flex;
            // width: calc(100vw - 124px);
        }
        .public_display {
            width: calc(42vw);
            height: 44px;
            border-radius: 8px;
            background: #f9ddb3;
            color: #725837;
            line-height: 44px;
            text-align: center;
            // margin-right: 16px;
            // border-width: 0px;
        }
        .purchase_transaction_button_deposit {
            width: 50%;
            height: 44px;
            background: #313641;
            border-radius: 8px;
            padding-top: 5px;
            box-sizing: border-box;
            // line-height: 40px;
            text-align: center;
            .purchase_transaction_button_deposit_one {
                font-size: 16px;
                font-family: PingFangSC-Medium, PingFang SC;
                font-weight: 500;
                color: #ffffff;
                opacity: 0.6;
                line-height: 20px;
            }
            .purchase_transaction_button_deposit_two {
                font-size: 12px;
                font-family: PingFangSC-Regular, PingFang SC;
                font-weight: 400;
                color: #ffffff;
                opacity: 0.3;
                line-height: 16px;
            }
        }
        .purchase_transaction_button_deposit_consignment {
            width: 50%;
            height: 40px;
            background: #28b6ff;
            border-radius: 0px 8px 8px 0px;
            color: #ffffff;
            text-align: center;
            font-size: 16px;
            font-family: PingFangSC-Medium, PingFang SC;
            font-weight: 500;
            line-height: 40px;
        }
    }
    .show_only {
        width: 100%;
        height: 56px;
        background: #15152d;
        padding: 8px 16px;
        box-sizing: border-box;
        position: fixed;
        bottom: 0;
        .show_only_con {
            width: 100%;
            height: 40px;
            background: #29293f;
            border-radius: 8px;
            font-size: 16px;
            font-family: PingFangSC-Medium, PingFang SC;
            font-weight: 500;
            color: #939599;
            line-height: 40px;
            text-align: center;
        }
    }
    .purchase_transaction_button_one {
        width: 100%;
        height: 66px;
        background: #201b15;
        box-shadow: inset 0px 1px 0px 0px #292d36;
        position: fixed;
        bottom: 0;
        z-index: 99;
        display: flex;
        .purchase_transaction_button_one_con {
            width: 50%;
            height: 66px;
            display: flex;
            justify-content: center;
            font-size: 12px;
            font-family: PingFangSC-Medium, PingFang SC;
            font-weight: 500;
            color: #ffffff;
            line-height: 66px;
            .purchase_transaction_button_one_con_img {
                width: 32px;
                height: 32px;
                margin-top: 17px;
                margin-right: 3px;
            }
        }
    }
    .purchase_transaction_button_two {
        width: 100%;
        height: 66px;
        background: #201b15;
        box-shadow: inset 0px 1px 0px 0px #292d36;
        position: fixed;
        bottom: 0;
        z-index: 99;
        .purchase_transaction_button_two_con {
            // padding: 17px 14px 17px 24px;
            padding: 17px 24px;
            box-sizing: border-box;
            display: flex;
            justify-content: space-between;
            // justify-content: center;
            font-size: 12px;
            font-family: PingFangSC-Medium, PingFang SC;
            font-weight: 500;
            color: #ffffff;
            line-height: 17px;
            // position: relative;
            .purchase_transaction_button_two_con_more_display {
                position: absolute;
                bottom: 10px;
                right: 15px;
                .purchase_transaction_button_two_con_more_display_img {
                    width: 137px;
                    height: 102px;
                }
                .purchase_transaction_button_two_con_more_display_con {
                    padding-left: 13px;
                    box-sizing: border-box;
                    display: flex;
                    // transform: translateY(-92px);
                    transform: translateY(-72px);
                    .purchase_transaction_button_two_con_more_display_con_img {
                        width: 28px;
                        height: 28px;
                        margin-right: 4px;
                    }
                    .purchase_transaction_button_two_con_more_display_con_title {
                        font-size: 15px;
                        font-family: PingFangSC-Regular, PingFang SC;
                        font-weight: 400;
                        color: #ffffff;
                        line-height: 22px;
                        margin-top: 3px;
                    }
                }
                .purchase_transaction_button_two_con_more_display_con:nth-of-type(2) {
                    transform: translateY(-80px);
                }
            }
            .purchase_transaction_button_two_con_text {
                margin-top: 7px;
            }
            .van-badge__wrapper {
                width: 32px;
                height: 32px;
                padding-top: 7px;
                box-sizing: border-box;
                position: relative;
                z-index: 1;
            }
            .purchase_transaction_button_two_con_give {
                display: flex;
                // margin-right: 36px;
                // flex-grow: 1;
            }
            .purchase_transaction_button_two_con_exhibition {
                display: flex;
                // margin-right: 36px;
                // flex-grow: 1;
            }
            .purchase_transaction_button_two_con_certificate {
                display: flex;
                // margin-right: 38px;
                // flex-grow: 1;
            }
            .purchase_transaction_button_two_con_img {
                width: 32px;
                height: 32px;
                margin-right: 1px;
            }
        }
    }
    /deep/ .van-popup {
        width: 228px;
        background: #ffffff;
        padding: 0 16px;
        border-radius: 8px;
        .title2 {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 12px;
            .top {
                display: flex;
                align-items: center;
                .img {
                    width: 18px;
                    height: 18px;
                    color: #ff4f50;
                    margin-right: 3px;
                }
                .title3 {
                    font-size: @font2;
                    font-weight: 400;
                    color: #ff4f50;
                    line-height: 24px;
                }
            }
            .icon {
                width: 18px;
                height: 18px;
            }
        }
        .border {
            height: 1px;
            background: #f2f3f5;
            border-radius: 1px;
            margin: 12px 0 6px;
        }
        .name1 {
            width: 208px;
            padding: 10px;
            background: @bg3;
            border-radius: 4px;
            color: @text3;
            margin-bottom: 11px;
            .qrcodeImg {
                width: 93px;
                height: 93px;
                border-radius: 11px;
                margin-left: 60px;
            }
            .qrcode1 {
                font-size: @font1;
                font-weight: 400;
                color: @text3;
                line-height: 18px;
                margin: 12px 0px 12px 44px;
            }
        }
        .timename {
            color: #ff4f50;
            font-size: @font1;
            padding-bottom: 12px;
        }
        .time {
            color: @text3;
            font-size: @font1;
        }
        .copy {
            width: 220px;
            height: 42px;
            background: @bg3;
            border-radius: 24px;
            margin-bottom: 16px;
            justify-content: center;
            display: flex;
            align-items: center;
            .id {
                font-size: @font2;
                color: #303133;
            }
            .copyImg {
                width: 18px;
                height: 18px;
                margin-left: 6px;
                cursor: pointer;
            }
        }
        span {
            color: #303133;
        }
        .span {
            color: @text3;
        }
        .code {
            font-size: @font1;
            font-weight: 400;
            color: @text3;
            line-height: 18px;
            padding-bottom: 12px;
        }
        .name {
            font-size: @font1;
            font-weight: 400;
            color: @text3;
            line-height: 18px;
            margin-bottom: 6px;
        }
    }
}
</style>
