panhui 3 лет назад
Родитель
Сommit
6c28b2ea1d

+ 1 - 0
src/App.vue

@@ -26,6 +26,7 @@ export default {
             bodyScroll: computed(() => this.bodyScroll)
         };
     },
+    inject: ['barHeight'],
     data() {
         return {
             checkEvent: null,

+ 7 - 1
src/main.js

@@ -79,7 +79,13 @@ const app = createApp(App)
     // .component('van-image', ImgContent)
     .component('page-bar', PageBar)
     .use(store)
-    .use(router);
+    .use(router)
+    .provide('appHeight', appHeight)
+    .provide('safeTop', safeTop)
+    .provide('safeBottom', safeBottom)
+    .provide('safeLeft', safeLeft)
+    .provide('safeRight', safeRight)
+    .provide('barHeight', barHeight);
 app.config.globalProperties.emitter = emitter;
 app.config.globalProperties.dayjs = dayjs;
 

+ 2 - 2
src/views/Creator.vue

@@ -1,6 +1,6 @@
 <template>
     <div class="discover">
-        <van-sticky ref="top" :offset-top="bar.value && bar.value.show ? 46 : 0">
+        <van-sticky ref="top" :offset-top="barHeight">
             <div class="top">
                 <div class="top-btn">
                     <div class="btn" @click="$router.replace('/discover')">收藏探索</div>
@@ -37,7 +37,7 @@
 import CreatorInfo from '../components/creator/CreatorInfo.vue';
 export default {
     components: { CreatorInfo },
-    inject: ['bar'],
+    inject: ['barHeight'],
     data() {
         return {
             miners: [],

+ 2 - 2
src/views/asset/GiveSearch.vue

@@ -1,7 +1,7 @@
 <template>
     <!-- <TopNavigation/> -->
     <div class="content">
-        <van-sticky ref="top" :offset-top="bar.value && bar.value.show ? 46 : 0">
+        <van-sticky ref="top" :offset-top="barHeight">
             <div class="content_title">赠送</div>
             <div class="content_tip">通过手机号码检索用户信息,确认赠送后该加密作品将会转移</div>
             <!-- <van-search v-model="phone" placeholder="请输入用户手机号" @search="getSearch" /> -->
@@ -66,7 +66,7 @@ import list from '../../mixins/list';
 export default {
     // components: { LinearCom },
     name: 'Search',
-    inject: ['bar'],
+    inject: ['barHeight'],
     mixins: [product, list],
     data() {
         return {

+ 2 - 2
src/views/asset/Search.vue

@@ -1,6 +1,6 @@
 <template>
     <div class="discover" :style="{ backgroundColor: isSearch ? $colors.bg3 : $colors.bg }">
-        <van-sticky ref="top" :offset-top="bar.value && bar.value.show ? 46 : 0">
+        <van-sticky ref="top" :offset-top="bar.value && bar.value.show ? barHeight : 0">
             <van-search
                 ref="top"
                 shape="round"
@@ -58,7 +58,7 @@ import search from '../../mixins/search';
 export default {
     name: 'assetSearch',
     mixins: [asset, list, search],
-    inject: ['bar', 'setKeeps', 'scrollWrapper', 'changeScroll'],
+    inject: ['bar', 'setKeeps', 'scrollWrapper', 'changeScroll', 'barHeight'],
     components: {
         AssetInfo
     },

+ 21 - 21
src/views/creator/Detail.vue

@@ -78,7 +78,7 @@
                 </div>
             </div>
         </div>
-        <van-sticky ref="top" :offset-top="0">
+        <van-sticky ref="top" :offset-top="barHeight">
             <div class="menu">
                 <div class="menu-item" @click="changeMenu('DEFAULT')" :class="{ active: type === 'DEFAULT' }">
                     藏品类目
@@ -120,7 +120,7 @@
             v-model:loading="loading"
             :finished="finished"
             :immediate-check="false"
-            :finished-text="empty ||  list.length === 0? '' : '- 更多藏品敬请期待 -'"
+            :finished-text="empty || list.length === 0 ? '' : '- 更多藏品敬请期待 -'"
             @load="getData"
         >
             <template v-for="(item, index) in list" :key="item.id">
@@ -128,7 +128,7 @@
             </template>
         </van-list>
         <van-empty
-        v-if="empty && list.length === 0"
+            v-if="empty && list.length === 0"
             class="empty"
             :image="require(`@assets/empty-collection.png`)"
             description="还没有相关藏品"
@@ -182,17 +182,17 @@ export default {
         },
         introValue() {
             if (this.info.intro) {
-                if(this.info.intro.length > 50){
+                if (this.info.intro.length > 50) {
                     return this.info.intro.slice(0, 50) + '...';
-                }else{
-                    return this.info.intro
+                } else {
+                    return this.info.intro;
                 }
             } else {
-                return ''
+                return '';
             }
         }
     },
-    inject: ['bar'],
+    inject: ['bar', 'barHeight'],
     mixins: [list],
     mounted() {
         if (this.$route.query.type) {
@@ -256,17 +256,17 @@ export default {
         follow() {
             this.checkLogin().then(() => {
                 if (!this.info.follow) {
-                this.$http.get(`/user/${this.info.id}/follow`).then(res => {
-                    this.getInfo();
-                    this.$toast.success('关注成功');
-                });
-            } else {
-                this.$http.get(`/user/${this.info.id}/unfollow`).then(() => {
-                    this.getInfo();
-                    this.$toast.success('取消关注');
-                });
-            }
-            })  
+                    this.$http.get(`/user/${this.info.id}/follow`).then(res => {
+                        this.getInfo();
+                        this.$toast.success('关注成功');
+                    });
+                } else {
+                    this.$http.get(`/user/${this.info.id}/unfollow`).then(() => {
+                        this.getInfo();
+                        this.$toast.success('取消关注');
+                    });
+                }
+            });
         },
         changeMenu(menu) {
             this.type = menu;
@@ -297,7 +297,7 @@ export default {
     margin-right: 26px !important;
 }
 .mine {
-    background: #191D27;
+    background: #191d27;
 }
 .userInfo {
     padding-top: 35vw;
@@ -422,7 +422,7 @@ export default {
         }
     }
 }
-/deep/ .van-list__finished-text{
+/deep/ .van-list__finished-text {
     width: 100%;
     text-align: center;
 }

+ 2 - 2
src/views/creator/List.vue

@@ -6,7 +6,7 @@
             class="follow_search"
             @click="$router.push('/productSearch')"
         /> -->
-        <van-sticky ref="top" :offset-top="bar.value && bar.value.show ? 46 : 0">
+        <van-sticky ref="top" :offset-top="barHeight">
             <van-tabs v-model:active="sort" :ellipsis="false" line-width="16" line-height="2" @change="getData(true)">
                 <van-tab
                     :title="item.label"
@@ -46,7 +46,7 @@ import list from '../../mixins/list';
 export default {
     name: 'creatorList',
     components: { CreatorInfo },
-    inject: ['bar', 'setKeeps', 'scrollWrapper', 'changeScroll'],
+    inject: ['bar', 'setKeeps', 'scrollWrapper', 'changeScroll','barHeight'],
     mixins: [list],
     data() {
         return {

+ 2 - 2
src/views/creator/Search.vue

@@ -1,6 +1,6 @@
 <template>
     <div class="search" :style="{ backgroundColor: isSearch ? $colors.bg3 : $colors.bg }">
-        <van-sticky ref="top" :offset-top="bar.value && bar.value.show ? 46 : 0">
+        <van-sticky ref="top" :offset-top="bar.value && bar.value.show ? barHeight : 0">
             <van-search
                 ref="top"
                 shape="round"
@@ -54,7 +54,7 @@ import list from '../../mixins/list';
 import search from '../../mixins/search';
 export default {
     name: 'creatorSearch',
-    inject: ['bar', 'setKeeps', 'scrollWrapper', 'changeScroll'],
+    inject: ['bar', 'setKeeps', 'scrollWrapper', 'changeScroll', 'barHeight'],
     mixins: [list, search],
     components: { CreatorInfo },
     data() {

+ 2 - 2
src/views/order/ActivityOrders.vue

@@ -1,6 +1,6 @@
 <template>
     <div class="discover">
-        <van-sticky ref="top" :offset-top="bar.value && bar.value.show ? 46 : 0">
+        <van-sticky ref="top" :offset-top="bar.value && bar.value.show ? barHeight : 0">
             <!-- <div class="top">
                 <div class="top-btn">
                     <div class="btn" :class="{ active: type === 'DEFAULT' }" @click="changeActive('DEFAULT')">
@@ -34,7 +34,7 @@ import OrderInfoAct from '../../components/order/OrderInfoAct.vue';
 import list from '../../mixins/list';
 export default {
     name: 'discover',
-    inject: ['bar'],
+    inject: ['bar','barHeight'],
     mixins: [list],
     components: {
         OrderInfoAct

+ 3 - 3
src/views/order/Orders.vue

@@ -8,7 +8,7 @@
             @refresh="onRefresh"
         >
             <div class="content">
-                <van-sticky ref="top" :offset-top="bar.value && bar.value.show ? 46 : 0">
+                <van-sticky ref="top" :offset-top="bar.value && bar.value.show ? barHeight : 0">
                     <!-- 标签页展示切换 -->
                     <van-tabs v-model:active="sort" line-width="32" line-height="2" @click-tab="changeTab">
                         <van-tab
@@ -79,7 +79,7 @@ import OrderInfo from '../../components/order/OrderInfo.vue';
 import list from '../../mixins/list';
 export default {
     name: 'discover',
-    inject: ['bar'],
+    inject: ['bar', 'barHeight'],
     mixins: [list],
     components: {
         OrderInfo
@@ -290,7 +290,7 @@ export default {
 /deep/ .van-tabs {
     background-color: #15152d;
 }
-.list{
+.list {
     margin-bottom: 80px;
 }
 .top {

+ 6 - 6
src/views/product/List.vue

@@ -81,7 +81,7 @@
     <!-- 顶部导航栏 -->
     <!-- <TopNavigation/> -->
     <div class="content">
-        <van-sticky ref="top" class="list-top" :offset-top="bar.value && bar.value.show ? 46 : 0">
+        <van-sticky ref="top" class="list-top" :offset-top="bar.value && bar.value.show ? barHeight : 0">
             <div class="content_top">
                 <div class="selected_recommendations">
                     <div class="selected_recommendations_title">{{ title || pageName }}</div>
@@ -177,7 +177,7 @@ import list from '../../mixins/list';
 // import { ref } from 'vue';
 export default {
     mixins: [list],
-    inject: ['bar', 'setKeeps', 'scrollWrapper', 'changeScroll'],
+    inject: ['bar', 'setKeeps', 'scrollWrapper', 'changeScroll', 'barHeight'],
     components: {
         CollectionList
     },
@@ -237,13 +237,13 @@ export default {
         actions() {
             let list = [{ name: '综合排序' }, { name: '在售中' }, { name: '仅展示' }];
             if (this.salable === '') {
-                list[0].color = "#28B6FF"
+                list[0].color = '#28B6FF';
             }
             if (this.salable === true) {
-                list[1].color = "#28B6FF"
+                list[1].color = '#28B6FF';
             }
             if (this.salable === false) {
-                list[2].color = "#28B6FF"
+                list[2].color = '#28B6FF';
             }
             return list;
         }
@@ -808,7 +808,7 @@ export default {
         }
     }
 }
-.van-tab.van-tab--active{
+.van-tab.van-tab--active {
     color: #28b6ff;
     font-weight: 500;
 }

+ 3 - 3
src/views/product/Search.vue

@@ -1,6 +1,6 @@
 <template>
     <div class="search" :style="{ backgroundColor: isSearch ? '#191D27' : '#191D27' }">
-        <van-sticky v-if="isSearch" ref="top" :offset-top="0">
+        <van-sticky v-if="isSearch" ref="top" :offset-top="barHeight">
             <van-search
                 v-model="search"
                 placeholder="搜索你想要的"
@@ -58,7 +58,7 @@
                 >仅看在售</van-checkbox
             > -->
         </van-sticky>
-        <van-sticky v-else ref="top" :offset-top="0">
+        <van-sticky v-else ref="top" :offset-top="barHeight">
             <van-search
                 v-model="search"
                 placeholder="搜索你想要的"
@@ -169,7 +169,7 @@ import search from '../../mixins/search';
 export default {
     name: 'productSearch',
     components: { CollectionList },
-    inject: ['bar', 'setKeeps', 'scrollWrapper', 'changeScroll'],
+    inject: ['barHeight', 'setKeeps', 'scrollWrapper', 'changeScroll'],
     mixins: [product, list, search],
     data() {
         return {

+ 2 - 2
src/views/user/Exchange.vue

@@ -1,6 +1,6 @@
 <template>
     <div class="home">
-        <van-sticky :offset-top="0">
+        <van-sticky :offset-top="barHeight">
             <van-tabs v-model:active="sort" line-width="32" line-height="2" @click-tab="changeTab">
                 <van-tab :title="item.label" :name="item.value" :key="index" v-for="(item, index) in selectOptions">
                 </van-tab>
@@ -109,7 +109,7 @@ import product from '../../mixins/product';
 export default {
     name: 'Search',
     mixins: [list, product],
-    inject: ['bar'],
+    inject: ['bar','barHeight'],
     data() {
         return {
             list: [],

+ 2 - 2
src/views/user/Follows.vue

@@ -1,6 +1,6 @@
 <template>
     <div class="follow">
-        <van-sticky :offset-top="0">
+        <van-sticky :offset-top="barHeight">
             <van-tabs @change="init" v-model:active="pageType" line-width="34" line-height="2" color="#ffffff">
                 <van-tab :title="'关注 ' + (userInfo.follows ? userInfo.follows : '')" name="follow"></van-tab>
                 <van-tab :title="'粉丝 ' + (userInfo.followers ? userInfo.followers : '')" name="follower"></van-tab>
@@ -22,7 +22,7 @@ import { mapState } from 'vuex';
 import CreatorInfo from '../../components/creator/CreatorInfo.vue';
 export default {
     components: { CreatorInfo },
-    inject: ['bar'],
+    inject: ['barHeight'],
     data() {
         return {
             list: [],

+ 4 - 4
src/views/user/myLove.vue

@@ -9,7 +9,7 @@
             @refresh="onRefresh"
         >
             <div class="content">
-                <van-sticky :offset-top="bar.value && bar.value.show ? 46 : 0">
+                <van-sticky :offset-top="bar.value && bar.value.show ? barHeight : 0">
                     <div class="content_top">我喜欢的</div>
                 </van-sticky>
                 <div class="current_recommendation">
@@ -38,7 +38,7 @@ import product from '../../mixins/product';
 // import ProductInfo from '../../components/product/productInfo.vue';
 export default {
     mixins: [product],
-    inject: ['bar'],
+    inject: ['bar', 'barHeight'],
     components: {
         CollectionList
         // TopNavigation,
@@ -96,12 +96,12 @@ export default {
 .load_refresh {
     background: #0a0a1b;
 }
-.go_stroll{
+.go_stroll {
     width: 100%;
     padding: 0px 48px;
     box-sizing: border-box;
 }
-/deep/ .van-button{
+/deep/ .van-button {
     width: 100%;
     height: 38px;
     font-weight: 500;

+ 183 - 163
src/views/user/myOrder.vue

@@ -1,35 +1,55 @@
 <template>
-     <!-- 顶部导航栏 -->
-    <TopNavigation/>
+    <!-- 顶部导航栏 -->
+    <TopNavigation />
     <!-- 我的列表 -->
     <div class="content">
-        <van-sticky :offset-top="bar.value && bar.value.show ? 46 : 0">
+        <van-sticky :offset-top="bar.value && bar.value.show ? barHeight : 0">
             <div class="my_list">
                 <div class="my_list_con">我的订单</div>
                 <!-- 标签页展示切换 -->
                 <div class="label_tabs">
-                    <div :class="tabLabel == 'whole'?'label_selected':'label_not_selected'" @click="tabLabel='whole'" class="label_tab">全部</div>
-                    <div :class="tabLabel == 'inTransaction'?'label_selected':'label_not_selected'" @click="tabLabel='inTransaction'" class="label_tab">交易中</div>
-                    <div :class="tabLabel == 'completed'?'label_selected':'label_not_selected'" @click="tabLabel='completed'" class="label_tab">已完成</div>
+                    <div
+                        :class="tabLabel == 'whole' ? 'label_selected' : 'label_not_selected'"
+                        @click="tabLabel = 'whole'"
+                        class="label_tab"
+                    >
+                        全部
+                    </div>
+                    <div
+                        :class="tabLabel == 'inTransaction' ? 'label_selected' : 'label_not_selected'"
+                        @click="tabLabel = 'inTransaction'"
+                        class="label_tab"
+                    >
+                        交易中
+                    </div>
+                    <div
+                        :class="tabLabel == 'completed' ? 'label_selected' : 'label_not_selected'"
+                        @click="tabLabel = 'completed'"
+                        class="label_tab"
+                    >
+                        已完成
+                    </div>
                 </div>
             </div>
         </van-sticky>
         <!-- 列表展示 -->
         <div class="list_display">
-            <div class="list_display_con" v-for="(item,index) in listDisplay" :key="index">
+            <div class="list_display_con" v-for="(item, index) in listDisplay" :key="index">
                 <div class="list_display_top">
-                    <div class="list_display_top_time">订单时间&nbsp;:&nbsp;{{item.time}}</div>
-                    <div class="transaction_status">{{item.transactionStatus}}</div>
+                    <div class="list_display_top_time">订单时间&nbsp;:&nbsp;{{ item.time }}</div>
+                    <div class="transaction_status">{{ item.transactionStatus }}</div>
                 </div>
-                <van-divider/>
+                <van-divider />
                 <div class="list_display_bottom">
-                    <img :src="item.img" alt="" class="list_display_bottom_img">
+                    <img :src="item.img" alt="" class="list_display_bottom_img" />
                     <div class="product_details">
-                        <div class="product_details_title">{{item.title}}</div>
-                        <div class="product_details_collection">{{item.collection}}</div>
-                        <div class="product_details_price"><span class="product_details_price_symbol">¥</span>{{item.price}}</div>
+                        <div class="product_details_title">{{ item.title }}</div>
+                        <div class="product_details_collection">{{ item.collection }}</div>
+                        <div class="product_details_price">
+                            <span class="product_details_price_symbol">¥</span>{{ item.price }}
+                        </div>
                     </div>
-                    <div class="product_details_number">x{{item.number}}</div>
+                    <div class="product_details_number">x{{ item.number }}</div>
                 </div>
             </div>
         </div>
@@ -37,194 +57,194 @@
 </template>
 
 <script>
-import TopNavigation from "../../components/TopNavigation.vue"
+import TopNavigation from '../../components/TopNavigation.vue';
 import list from '../../mixins/list';
 export default {
     components: {
         TopNavigation
     },
     mixins: [list],
-    data(){
-        return{
-            tabLabel: "whole",
+    inject: ['bar', 'barHeight'],
+    data() {
+        return {
+            tabLabel: 'whole',
             listDisplay: [
                 {
-                    time: "2021-05-20 07:52",
-                    transactionStatus: "交易中",
-                    img: require("@assets/commodity-background-map.png"),
-                    title: "陶瓷艺术大师艺术大师 易查理陶瓷艺术大师艺术大师 易查理",
-                    collection: "收藏品",
+                    time: '2021-05-20 07:52',
+                    transactionStatus: '交易中',
+                    img: require('@assets/commodity-background-map.png'),
+                    title: '陶瓷艺术大师艺术大师 易查理陶瓷艺术大师艺术大师 易查理',
+                    collection: '收藏品',
                     price: 320,
                     number: 1
                 },
                 {
-                    time: "2021-05-20 07:52",
-                    transactionStatus: "已完成",
-                    img: require("@assets/commodity-background-map.png"),
-                    title: "陶瓷艺术大师艺术大师 易查理陶瓷艺术大师艺术大师 易查理",
-                    collection: "收藏品",
+                    time: '2021-05-20 07:52',
+                    transactionStatus: '已完成',
+                    img: require('@assets/commodity-background-map.png'),
+                    title: '陶瓷艺术大师艺术大师 易查理陶瓷艺术大师艺术大师 易查理',
+                    collection: '收藏品',
                     price: 320,
                     number: 1
                 },
                 {
-                    time: "2021-05-20 07:52",
-                    transactionStatus: "已完成",
-                    img: require("@assets/commodity-background-map.png"),
-                    title: "陶瓷艺术大师艺术大师 易查理陶瓷艺术大师艺术大师 易查理",
-                    collection: "收藏品",
+                    time: '2021-05-20 07:52',
+                    transactionStatus: '已完成',
+                    img: require('@assets/commodity-background-map.png'),
+                    title: '陶瓷艺术大师艺术大师 易查理陶瓷艺术大师艺术大师 易查理',
+                    collection: '收藏品',
                     price: 320,
                     number: 1
                 }
-            ],
-        }
+            ]
+        };
     },
-    methods: {
-    }
-}
+    methods: {}
+};
 </script>
 
 <style lang="less" scoped>
-    .navBar{
-        width: 100%;
-        height: 44px;
-    }
-    .content{
-        width: 100%;
-        height: 100%;
-        margin-top: 44px;
-        position: absolute;
-        background: @bg;
+.navBar {
+    width: 100%;
+    height: 44px;
+}
+.content {
+    width: 100%;
+    height: 100%;
+    margin-top: 44px;
+    position: absolute;
+    background: @bg;
+}
+.my_list {
+    width: 100%;
+    background: #15152d;
+    padding: 12px 16px 10px 16px;
+    box-sizing: border-box;
+    .my_list_con {
+        font-size: 16px;
+        font-family: PingFangSC-Medium, PingFang SC;
+        font-weight: 500;
+        color: #ffffff;
+        margin-bottom: 16px;
     }
-    .my_list{
+    .label_tabs {
         width: 100%;
-        background: #15152D;
-        padding: 12px 16px 10px 16px;
-        box-sizing: border-box;
-        .my_list_con{
-            font-size: 16px;
+        display: flex;
+        .label_tab {
+            width: 108px;
+            height: 24px;
+            background: #29293f;
+            border-radius: 4px;
+            font-size: 14px;
             font-family: PingFangSC-Medium, PingFang SC;
+            line-height: 24px;
+            text-align: center;
+            margin-right: 16px;
+        }
+        .label_tab:last-child {
+            margin-right: 0;
+        }
+        .label_selected {
             font-weight: 500;
-            color: #FFFFFF;
-            margin-bottom: 16px;
+            color: #28b6ff;
+        }
+        .label_not_selected {
+            font-weight: 400;
+            color: #939599;
         }
-        .label_tabs{
-            width: 100%;
+    }
+}
+.list_display {
+    width: 100%;
+    height: 812px;
+    background: @bg;
+    padding: 10px 16px 16px 8px;
+    box-sizing: border-box;
+    .list_display_con {
+        width: 100%;
+        background: #29293f;
+        border-radius: 8px;
+        margin-bottom: 16px;
+        padding: 10px;
+        box-sizing: border-box;
+        .list_display_top {
             display: flex;
-            .label_tab{
-                width: 108px;
-                height: 24px;
-                background: #29293F;
-                border-radius: 4px;
-                font-size: 14px;
-                font-family: PingFangSC-Medium, PingFang SC;
-                line-height: 24px;
-                text-align: center;
-                margin-right: 16px;
+            justify-content: space-between;
+            margin-bottom: 8px;
+            .list_display_top_time {
+                font-size: 12px;
+                font-family: PingFangSC-Regular, PingFang SC;
+                font-weight: 400;
+                color: #c8c9cc;
             }
-            .label_tab:last-child{
-                margin-right: 0;
+            .transaction_status {
+                font-size: 14px;
+                font-family: PingFangSC-Regular, PingFang SC;
+                font-weight: 400;
+                color: #28b6ff;
             }
-            .label_selected{
-                font-weight: 500;
-                color: #28B6FF;
+        }
+        .list_display_bottom {
+            margin-top: 8px;
+            display: flex;
+            position: relative;
+            .list_display_bottom_img {
+                width: 80px;
+                height: 80px;
+                margin-right: 12px;
             }
-            .label_not_selected{
+            .product_details_title {
+                width: 215px;
+                font-size: 14px;
+                font-family: PingFangSC-Regular, PingFang SC;
                 font-weight: 400;
-                color: #939599;
+                color: #ffffff;
+                margin-bottom: 6px;
+                white-space: nowrap;
+                overflow: hidden;
+                text-overflow: ellipsis;
             }
-        }
-    }
-    .list_display{
-        width: 100%;
-        height: 812px;
-        background: @bg;
-        padding: 10px 16px 16px 8px;
-        box-sizing: border-box;
-        .list_display_con{
-            width: 100%;
-            background: #29293F;
-            border-radius: 8px;
-            margin-bottom: 16px;
-            padding: 10px;
-            box-sizing: border-box;
-            .list_display_top{
-                display: flex;
-                justify-content: space-between;
-                margin-bottom: 8px;
-                .list_display_top_time{
-                    font-size: 12px;
-                    font-family: PingFangSC-Regular, PingFang SC;
-                    font-weight: 400;
-                    color: #C8C9CC;
-                }
-                .transaction_status{
-                    font-size: 14px;
-                    font-family: PingFangSC-Regular, PingFang SC;
-                    font-weight: 400;
-                    color: #28B6FF;
-                }
+            .product_details_collection {
+                width: 56px;
+                height: 22px;
+                background: rgba(255, 255, 255, 0.1);
+                border-radius: 4px;
+                font-size: 12px;
+                font-family: PingFangSC-Regular, PingFang SC;
+                font-weight: 400;
+                color: #28b6ff;
+                line-height: 22px;
+                margin-bottom: 10px;
+                text-align: center;
             }
-            .list_display_bottom{
-                margin-top: 8px;
-                display: flex;
+            .product_details_price {
+                margin-left: 10px;
                 position: relative;
-                .list_display_bottom_img{
-                    width: 80px;
-                    height: 80px;
-                    margin-right: 12px;
-                }
-                .product_details_title{
-                    width: 215px;
-                    font-size: 14px;
-                    font-family: PingFangSC-Regular, PingFang SC;
-                    font-weight: 400;
-                    color: #FFFFFF;
-                    margin-bottom: 6px;
-                    white-space:nowrap;
-                    overflow:hidden;
-                    text-overflow:ellipsis;
-                }
-                .product_details_collection{
-                    width: 56px;
-                    height: 22px;
-                    background: rgba(255, 255, 255, 0.1);
-                    border-radius: 4px;
-                    font-size: 12px;
-                    font-family: PingFangSC-Regular, PingFang SC;
-                    font-weight: 400;
-                    color: #28B6FF;
-                    line-height: 22px;
-                    margin-bottom: 10px;
-                    text-align: center;
-                }
-                .product_details_price{
-                    margin-left: 10px;
-                    position: relative;
-                    font-size: 16px;
-                    font-family: PingFangSC-Medium, PingFang SC;
-                    font-weight: 500;
-                    color: #28B6FF;
-                    .product_details_price_symbol{
-                        font-size: 10px;
-                        position: absolute;
-                        bottom: 1px;
-                        left: -10px;
-                    }
-                }
-                .product_details_number{
-                    font-size: 12px;
-                    font-family: PingFangSC-Regular, PingFang SC;
-                    font-weight: 400;
-                    color: #C8C9CC;
+                font-size: 16px;
+                font-family: PingFangSC-Medium, PingFang SC;
+                font-weight: 500;
+                color: #28b6ff;
+                .product_details_price_symbol {
+                    font-size: 10px;
                     position: absolute;
-                    right: 0px;
-                    bottom: 0px;
+                    bottom: 1px;
+                    left: -10px;
                 }
             }
+            .product_details_number {
+                font-size: 12px;
+                font-family: PingFangSC-Regular, PingFang SC;
+                font-weight: 400;
+                color: #c8c9cc;
+                position: absolute;
+                right: 0px;
+                bottom: 0px;
+            }
         }
-        .list_display_con:last-child{
-            margin-bottom: 0;
-        }
     }
+    .list_display_con:last-child {
+        margin-bottom: 0;
+    }
+}
 </style>