Browse Source

统一前端规范

hangb 7 years ago
parent
commit
8fb34fd34b

+ 0 - 1
components/product/brand/BrandComponent.vue

@@ -129,7 +129,6 @@
         return this.$store.state.brandComponent.component
       },
       list () {
-        console.log('1111', this.lists.data)
         return this.lists.data
       },
       brand () {

+ 0 - 1
components/product/component/ComponentDetail.vue

@@ -119,7 +119,6 @@
         return this.$store.state.componentDetail.detail
       },
       list () {
-        console.log('3333', this.lists.data)
         return this.lists.data
       },
       properties () {

+ 2 - 3
components/store/CommodityInfo.vue

@@ -46,10 +46,10 @@
               <span class="name">包&nbsp;装</span>:<span v-text="commodity.packaging || '无包装信息'"></span>
             </div>
             <div class="com-info">
-              <span class="name" style="letter-spacing: 1.5px;">最小包装数</span>:<span v-text="commodity.minPackQty || '无最小包装数信息'"></span>
+              <span class="name">规&nbsp;格</span>:<span v-text="commodity.spec || '无规格信息'"></span>
             </div>
             <div class="com-info">
-              <span class="name">规&nbsp;格</span>:<span v-text="commodity.spec || '无规格信息'"></span>
+              <span class="name" style="letter-spacing: 1.5px;">最小包装数</span>:<span v-text="commodity.minPackQty || '无最小包装数信息'"></span>
             </div>
             <div class="com-info">
               <span class="name">库&nbsp;存</span>:<span v-text="commodity.reserve || 0"></span><em style="margin-left: 3px;">PCS</em>
@@ -218,7 +218,6 @@
         return this.$store.state.shop.storeInfo.store.data
       },
       commodity () {
-        console.log('commodity', this.$store.state.shop.storeInfo.commodity.data)
         let commodity = this.$store.state.shop.storeInfo.commodity.data
         this.fragment = initFragment(commodity)
         return commodity

+ 0 - 1
components/store/CommodityList.vue

@@ -227,7 +227,6 @@ export default {
   },
   computed: {
     commodities () {
-      console.log('commodities', this.$store.state.shop.storeInfo.storeCommodity.data)
       return this.$store.state.shop.storeInfo.storeCommodity.data
     },
     storeInfo () {

+ 0 - 1
pages/product/brand/_code.vue

@@ -39,7 +39,6 @@
       }
     },
     fetch ({ store, params }) {
-      console.log('code', params)
       return Promise.all([
         store.dispatch('loadBrandDetail', { id: params.code }),
         store.dispatch('product/loadSupplierInformation', { uuid: params.code, count: 5, page: 1 })

+ 0 - 1
store/shop.js

@@ -104,7 +104,6 @@ export const actions = {
     commit('storeInfo/REQUEST_FOCUSLIST')
     return axios.get(`/trade/storeFocus/ifFocus?storeid=${params.id}`)
       .then(response => {
-        console.log(response.data)
         commit('storeInfo/GET_FOCUSLIST_SUCCESS', response.data)
       }, err => {
         commit('storeInfo/GET_FOCUSLIST_FAILURE', err)