Ver código fonte

设置头像&分享

panhui 3 anos atrás
pai
commit
b507282084
2 arquivos alterados com 4 adições e 9 exclusões
  1. 1 1
      .env.development
  2. 3 8
      src/components/product/ProductBanner.vue

+ 1 - 1
.env.development

@@ -1,4 +1,4 @@
-VUE_APP_BASE_URL=https://test.raex.vip
+VUE_APP_BASE_URL=https://www.raex.vip
 NODE_ENV=development
 VUE_APP_PUBLIC_PATH=/
 ASSETS_PATH=raex

+ 3 - 8
src/components/product/ProductBanner.vue

@@ -51,12 +51,7 @@
                     {{ info.likes }}
                 </like-button>
 
-                <div
-                    class="share-icon"
-                    :class="{ shareLeft: pageType === 'product' }"
-                    @click="share"
-                    v-if="isShare && !startTime && !assignment"
-                >
+                <div class="share-icon shareLeft" @click="share" v-if="isShare && !startTime && !assignment">
                     <img src="@assets/svgs/icon-fenxiang.svg" alt="" />
                     <span>分享</span>
                 </div>
@@ -269,8 +264,8 @@ export default {
 .setAvatar {
     .flex();
     img {
-        width: 24px;
-        height: 24px;
+        width: 18px;
+        height: 18px;
         display: block;
     }