nieyuge 2 years ago
parent
commit
a549063ec8
1 changed files with 9 additions and 6 deletions
  1. 9 6
      src/view/iframe/nft/card.vue

+ 9 - 6
src/view/iframe/nft/card.vue

@@ -1,5 +1,5 @@
 <template>
-    <div class="nft">
+    <div class="nft" :class="{ border: isShare }">
         <template v-if="!isLoading">
             <div class="title">
                 <div class="tag">
@@ -130,11 +130,14 @@ body {
 
 .nft {
     width: 100%;
-    height: 297px;
-    user-select: none;
-    border-radius: 20px;
-    background: #F7F9F9;
-
+    height:297px;
+    user-select:none;
+    border-radius:20px;
+    background:#F7F9F9;
+    &.border {
+        box-sizing: border-box;
+        border: solid 1px #DCDCDC;
+    }
     .title {
         height: 46px;
         display: flex;