Jelajahi Sumber

隐藏求购首页

yangc 7 tahun lalu
induk
melakukan
851f490855

+ 1 - 1
components/applyPurchase/BatchPublish.vue

@@ -519,7 +519,7 @@
         return this.validObj.unitPrice
       },
       checkAmount: function () {
-        this.validObj.amount = (!this.modifyObj.amount || this.modifyObj.amount === '') ? true : this.modifyObj.amount > 0 && this.modifyObj.amount < 100000000
+        this.validObj.amount = (!this.modifyObj.amount || this.modifyObj.amount === '') ? true : this.modifyObj.amount > 0 && this.modifyObj.amount < 1000000000
         return this.validObj.amount
       },
       checkAll: function () {

+ 1 - 1
components/applyPurchase/PublishApply.vue

@@ -363,7 +363,7 @@
         return this.validObj.unitPrice
       },
       checkAmount: function () {
-        this.validObj.amount = this.applyObj.amount === '' ? true : this.applyObj.amount > 0 && this.applyObj.amount < 100000000
+        this.validObj.amount = this.applyObj.amount === '' ? true : this.applyObj.amount > 0 && this.applyObj.amount < 1000000000
         return this.validObj.amount
       },
       checkAll: function () {

+ 11 - 11
components/home/floor/FloorList.vue

@@ -2,8 +2,8 @@
   <div class="floor-list">
     <div class="container">
       <floor-bar :floors="floors"></floor-bar>
-      <!--<a href="/store/33069557578d44e69bd91ad12d28a8d4" target="_blank"><img src="/images/all/banner-cuxiao.png" alt=""></a>-->
-      <div class="banner">
+      <a href="/store/33069557578d44e69bd91ad12d28a8d4" target="_blank"><img src="/images/all/banner-cuxiao.png" alt=""></a>
+     <!-- <div class="banner">
         <ul>
           <li><a href="/store/33069557578d44e69bd91ad12d28a8d4" target="_blank"><img src="/images/all/banner-cuxiao01.png" alt=""></a></li>
           <li>
@@ -34,7 +34,7 @@
             </div>
           </li>
         </ul>
-      </div>
+      </div>-->
       <floor :floor="defaultFloors[0]" :isDefault="true" v-if="!isEmpty"></floor>
       <floor :floor="defaultFloors[1]" :isDefault="true" v-if="!isEmpty"></floor>
       <floor v-for="(floor, index) in floors.data" :floor="floor" :isDefault="false" :key="index"></floor>
@@ -80,14 +80,14 @@
         timerIndex: 0
       }
     },
-    mounted () {
-      setInterval(() => {
-        this.timerIndex ++
-        if (this.timerIndex > 45) {
-          this.timerIndex = 0
-        }
-      }, 3000)
-    },
+//    mounted () {
+//      setInterval(() => {
+//        this.timerIndex ++
+//        if (this.timerIndex > 45) {
+//          this.timerIndex = 0
+//        }
+//      }, 3000)
+//    },
     filters: {
       date: function (date) {
         const now = new Date()

+ 1 - 1
nuxt.config.js

@@ -1,6 +1,6 @@
 const path = require('path')
 const isProdMode = Object.is(process.env.NODE_ENV, 'production')
-const baseUrl = process.env.BASE_URL || (isProdMode ? 'http://192.168.253.60:9090/platform-b2c/' : 'http://10.1.51.88:8080/platform-b2c/')
+const baseUrl = process.env.BASE_URL || (isProdMode ? 'http://192.168.253.60:9090/platform-b2c/' : 'http://10.1.51.90:8080/platform-b2c/')
 const commonUrl = process.env.COMMON_URL || (isProdMode ? 'http://218.17.158.219:24000/' : 'http://218.17.158.219:24000/')
 
 module.exports = {

+ 2 - 2
pages/index.vue

@@ -99,8 +99,8 @@
             'BT2018012900002056',
             'BT2018012900002056',
             'BT2018012900002056']
-        }),
-        store.dispatch('applyPurchase/loadPurchaseManList', {pageNumber: 1, pageSize: 50})
+        })
+//        store.dispatch('applyPurchase/loadPurchaseManList', {pageNumber: 1, pageSize: 50})
       ]) : []
     },
     computed: {