yuany il y a 3 ans
Parent
commit
a2611cf5c0

+ 2 - 2
src/components/product/productLarge.vue

@@ -74,7 +74,7 @@ export default {
         time() {
             if (this.info.purchaseTime) {
                 if (this.dayjs().isSameOrBefore(this.info.purchaseTime, 'YYYY-MM-DD HH:mm:ss')) {
-                    return this.dayjs(this.info.purchaseTime).format('MM月DD日');
+                    return this.dayjs(this.info.purchaseTime).format('MM月DD日HH:mm');
                 }
             }
 
@@ -153,7 +153,7 @@ export default {
         position: absolute;
         top: 16px;
         left: 16px;
-        z-index: 99;
+        z-index: 12;
         .not_sold_out_img {
             width: 16px;
             height: 17px;

+ 3 - 0
src/mixins/product.js

@@ -54,6 +54,9 @@ export default {
             saleTime: ''
         };
     },
+    // mounted(){
+    //     this.startTime = this.info.purchaseTime
+    // },
     computed: {
         ...mapState(['usedBuy']),
         bannerList() {

+ 3 - 0
src/views/Home.vue

@@ -236,6 +236,9 @@ export default {
         offeringNotice() {
             this.active = 1;
             // this.finished = false;
+            if (!this.isLogin) {
+                return;
+            }
             this.loading = true;
             this.finished = false;
             return this.$http.get('collection/subscribeList').then(res => {

+ 1 - 0
src/views/product/Detail.vue

@@ -2005,6 +2005,7 @@ export default {
         display: flex;
         justify-content: space-between;
         align-items: center;
+        align-items: center;
         position: fixed;
         bottom: 0;
         padding-bottom: calc(@bottom+ constant(safe-area-inset-bottom));