Ver Fonte

change: new product页面商品改用上架时间排序.

peter há 1 semana atrás
pai
commit
46f53a3e11

+ 3 - 3
.nuxt/components/index.js

@@ -38,9 +38,6 @@ export const TinymceToolbar = () => import('../../components/Tinymce/toolbar.js'
 export const ProductLeft = () => import('../../components/product/ProductLeft.vue' /* webpackChunkName: "components/product-left" */).then(c => wrapFunctional(c.default || c))
 export const ProductRight = () => import('../../components/product/ProductRight.vue' /* webpackChunkName: "components/product-right" */).then(c => wrapFunctional(c.default || c))
 export const ProductQuote = () => import('../../components/product/Quote.vue' /* webpackChunkName: "components/product-quote" */).then(c => wrapFunctional(c.default || c))
-export const CustomElSliderButton = () => import('../../components/custom-el-slider/button.vue' /* webpackChunkName: "components/custom-el-slider-button" */).then(c => wrapFunctional(c.default || c))
-export const CustomElSlider = () => import('../../components/custom-el-slider/index.vue' /* webpackChunkName: "components/custom-el-slider" */).then(c => wrapFunctional(c.default || c))
-export const CustomElSliderMarker = () => import('../../components/custom-el-slider/marker.vue' /* webpackChunkName: "components/custom-el-slider-marker" */).then(c => wrapFunctional(c.default || c))
 export const TableChangeTable = () => import('../../components/table/ChangeTable.vue' /* webpackChunkName: "components/table-change-table" */).then(c => wrapFunctional(c.default || c))
 export const TableMailTable = () => import('../../components/table/MailTable.vue' /* webpackChunkName: "components/table-mail-table" */).then(c => wrapFunctional(c.default || c))
 export const TableNewPriceTable = () => import('../../components/table/NewPriceTable.vue' /* webpackChunkName: "components/table-new-price-table" */).then(c => wrapFunctional(c.default || c))
@@ -48,6 +45,9 @@ export const TableStockTable = () => import('../../components/table/StockTable.v
 export const TableTotalTable = () => import('../../components/table/TotalTable.vue' /* webpackChunkName: "components/table-total-table" */).then(c => wrapFunctional(c.default || c))
 export const TableUnitTable = () => import('../../components/table/UnitTable.vue' /* webpackChunkName: "components/table-unit-table" */).then(c => wrapFunctional(c.default || c))
 export const TableParamTable = () => import('../../components/table/paramTable.vue' /* webpackChunkName: "components/table-param-table" */).then(c => wrapFunctional(c.default || c))
+export const CustomElSliderButton = () => import('../../components/custom-el-slider/button.vue' /* webpackChunkName: "components/custom-el-slider-button" */).then(c => wrapFunctional(c.default || c))
+export const CustomElSlider = () => import('../../components/custom-el-slider/index.vue' /* webpackChunkName: "components/custom-el-slider" */).then(c => wrapFunctional(c.default || c))
+export const CustomElSliderMarker = () => import('../../components/custom-el-slider/marker.vue' /* webpackChunkName: "components/custom-el-slider-marker" */).then(c => wrapFunctional(c.default || c))
 export const TinymceComponentsEditorImage = () => import('../../components/Tinymce/components/EditorImage.vue' /* webpackChunkName: "components/tinymce-components-editor-image" */).then(c => wrapFunctional(c.default || c))
 
 // nuxt/nuxt.js#8607

+ 3 - 3
.nuxt/components/readme.md

@@ -46,9 +46,6 @@ You can directly use them in pages and other components without the need to impo
 - `<ProductLeft>` | `<product-left>` (components/product/ProductLeft.vue)
 - `<ProductRight>` | `<product-right>` (components/product/ProductRight.vue)
 - `<ProductQuote>` | `<product-quote>` (components/product/Quote.vue)
-- `<CustomElSliderButton>` | `<custom-el-slider-button>` (components/custom-el-slider/button.vue)
-- `<CustomElSlider>` | `<custom-el-slider>` (components/custom-el-slider/index.vue)
-- `<CustomElSliderMarker>` | `<custom-el-slider-marker>` (components/custom-el-slider/marker.vue)
 - `<TableChangeTable>` | `<table-change-table>` (components/table/ChangeTable.vue)
 - `<TableMailTable>` | `<table-mail-table>` (components/table/MailTable.vue)
 - `<TableNewPriceTable>` | `<table-new-price-table>` (components/table/NewPriceTable.vue)
@@ -56,4 +53,7 @@ You can directly use them in pages and other components without the need to impo
 - `<TableTotalTable>` | `<table-total-table>` (components/table/TotalTable.vue)
 - `<TableUnitTable>` | `<table-unit-table>` (components/table/UnitTable.vue)
 - `<TableParamTable>` | `<table-param-table>` (components/table/paramTable.vue)
+- `<CustomElSliderButton>` | `<custom-el-slider-button>` (components/custom-el-slider/button.vue)
+- `<CustomElSlider>` | `<custom-el-slider>` (components/custom-el-slider/index.vue)
+- `<CustomElSliderMarker>` | `<custom-el-slider-marker>` (components/custom-el-slider/marker.vue)
 - `<TinymceComponentsEditorImage>` | `<tinymce-components-editor-image>` (components/Tinymce/components/EditorImage.vue)

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
.nuxt/dist/client/9087ec1.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
.nuxt/dist/client/9087ec1.js.map


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
.nuxt/dist/client/970ee46.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
.nuxt/dist/client/970ee46.js.map


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
.nuxt/dist/client/bdfa56f.js.map


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
.nuxt/dist/client/d1250f3.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
.nuxt/dist/client/d1250f3.js.map


Diff do ficheiro suprimidas por serem muito extensas
+ 206 - 206
.nuxt/dist/server/client.manifest.json


+ 1 - 1
.nuxt/dist/server/index.spa.html

@@ -5,5 +5,5 @@
   <link href="/_nuxt/css/9b69cf1.css" rel="stylesheet"><link href="/_nuxt/css/ad7d3a1.css" rel="stylesheet"></head>
   <body {{ body_attrs }}>
     {{ APP }}
-  <script src="/_nuxt/3da0f65.js"></script><script src="/_nuxt/1d2d4a5.js"></script><script src="/_nuxt/00e8603.js"></script><script src="/_nuxt/6c07f15.js"></script></body>
+  <script src="/_nuxt/d1250f3.js"></script><script src="/_nuxt/1d2d4a5.js"></script><script src="/_nuxt/00e8603.js"></script><script src="/_nuxt/970ee46.js"></script></body>
 </html>

+ 3 - 2
.nuxt/dist/server/pages/category/_firstCategory/_secondCategory/_thirdCategory/index.js

@@ -3974,7 +3974,8 @@ const defaultSortFunc = (a, b) => {
               pricePoint: [],
               compliance: [],
               create_time: item.create_time ? new Date(item.create_time).getTime() : new Date().getTime(),
-              ranking: item.rank ? parseInt(item.rank) : Math.floor(Math.random() * 10000)
+              ranking: item.rank ? parseInt(item.rank) : Math.floor(Math.random() * 10000),
+              sale_time: item.sale_time ? new Date(item.sale_time).getTime() : 0
             };
             const min = Number(item.price_min);
             const max = Number(item.price_max);
@@ -4044,7 +4045,7 @@ const defaultSortFunc = (a, b) => {
 
         if (!this.$route.fullPath.includes('searchResult')) {
           if (this.$route.query.feature && Number(this.$route.query.feature) === 54) {
-            temp.sort((a, b) => b.create_time - a.create_time);
+            temp.sort((a, b) => b.sale_time - a.sale_time);
           } else {
             temp.sort(sortFunc);
           }

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
.nuxt/dist/server/pages/category/_firstCategory/_secondCategory/_thirdCategory/index.js.map


+ 3 - 2
.nuxt/dist/server/pages/category/_firstCategory/_secondCategory/index.js

@@ -3974,7 +3974,8 @@ const defaultSortFunc = (a, b) => {
               pricePoint: [],
               compliance: [],
               create_time: item.create_time ? new Date(item.create_time).getTime() : new Date().getTime(),
-              ranking: item.rank ? parseInt(item.rank) : Math.floor(Math.random() * 10000)
+              ranking: item.rank ? parseInt(item.rank) : Math.floor(Math.random() * 10000),
+              sale_time: item.sale_time ? new Date(item.sale_time).getTime() : 0
             };
             const min = Number(item.price_min);
             const max = Number(item.price_max);
@@ -4044,7 +4045,7 @@ const defaultSortFunc = (a, b) => {
 
         if (!this.$route.fullPath.includes('searchResult')) {
           if (this.$route.query.feature && Number(this.$route.query.feature) === 54) {
-            temp.sort((a, b) => b.create_time - a.create_time);
+            temp.sort((a, b) => b.sale_time - a.sale_time);
           } else {
             temp.sort(sortFunc);
           }

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
.nuxt/dist/server/pages/category/_firstCategory/_secondCategory/index.js.map


+ 3 - 2
.nuxt/dist/server/pages/category/_firstCategory/index.js

@@ -3974,7 +3974,8 @@ const defaultSortFunc = (a, b) => {
               pricePoint: [],
               compliance: [],
               create_time: item.create_time ? new Date(item.create_time).getTime() : new Date().getTime(),
-              ranking: item.rank ? parseInt(item.rank) : Math.floor(Math.random() * 10000)
+              ranking: item.rank ? parseInt(item.rank) : Math.floor(Math.random() * 10000),
+              sale_time: item.sale_time ? new Date(item.sale_time).getTime() : 0
             };
             const min = Number(item.price_min);
             const max = Number(item.price_max);
@@ -4044,7 +4045,7 @@ const defaultSortFunc = (a, b) => {
 
         if (!this.$route.fullPath.includes('searchResult')) {
           if (this.$route.query.feature && Number(this.$route.query.feature) === 54) {
-            temp.sort((a, b) => b.create_time - a.create_time);
+            temp.sort((a, b) => b.sale_time - a.sale_time);
           } else {
             temp.sort(sortFunc);
           }

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
.nuxt/dist/server/pages/category/_firstCategory/index.js.map


+ 3 - 2
.nuxt/dist/server/pages/category/index.js

@@ -3974,7 +3974,8 @@ const defaultSortFunc = (a, b) => {
               pricePoint: [],
               compliance: [],
               create_time: item.create_time ? new Date(item.create_time).getTime() : new Date().getTime(),
-              ranking: item.rank ? parseInt(item.rank) : Math.floor(Math.random() * 10000)
+              ranking: item.rank ? parseInt(item.rank) : Math.floor(Math.random() * 10000),
+              sale_time: item.sale_time ? new Date(item.sale_time).getTime() : 0
             };
             const min = Number(item.price_min);
             const max = Number(item.price_max);
@@ -4044,7 +4045,7 @@ const defaultSortFunc = (a, b) => {
 
         if (!this.$route.fullPath.includes('searchResult')) {
           if (this.$route.query.feature && Number(this.$route.query.feature) === 54) {
-            temp.sort((a, b) => b.create_time - a.create_time);
+            temp.sort((a, b) => b.sale_time - a.sale_time);
           } else {
             temp.sort(sortFunc);
           }

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
.nuxt/dist/server/pages/category/index.js.map


+ 3 - 2
.nuxt/dist/server/pages/category/searchResult/index.js

@@ -3974,7 +3974,8 @@ const defaultSortFunc = (a, b) => {
               pricePoint: [],
               compliance: [],
               create_time: item.create_time ? new Date(item.create_time).getTime() : new Date().getTime(),
-              ranking: item.rank ? parseInt(item.rank) : Math.floor(Math.random() * 10000)
+              ranking: item.rank ? parseInt(item.rank) : Math.floor(Math.random() * 10000),
+              sale_time: item.sale_time ? new Date(item.sale_time).getTime() : 0
             };
             const min = Number(item.price_min);
             const max = Number(item.price_max);
@@ -4044,7 +4045,7 @@ const defaultSortFunc = (a, b) => {
 
         if (!this.$route.fullPath.includes('searchResult')) {
           if (this.$route.query.feature && Number(this.$route.query.feature) === 54) {
-            temp.sort((a, b) => b.create_time - a.create_time);
+            temp.sort((a, b) => b.sale_time - a.sale_time);
           } else {
             temp.sort(sortFunc);
           }

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
.nuxt/dist/server/pages/category/searchResult/index.js.map


+ 6 - 6
.nuxt/dist/server/server.js

@@ -71166,9 +71166,6 @@ __webpack_require__.d(components_namespaceObject, "TinymceToolbar", function() {
 __webpack_require__.d(components_namespaceObject, "ProductLeft", function() { return ProductLeft; });
 __webpack_require__.d(components_namespaceObject, "ProductRight", function() { return ProductRight; });
 __webpack_require__.d(components_namespaceObject, "ProductQuote", function() { return ProductQuote; });
-__webpack_require__.d(components_namespaceObject, "CustomElSliderButton", function() { return CustomElSliderButton; });
-__webpack_require__.d(components_namespaceObject, "CustomElSlider", function() { return CustomElSlider; });
-__webpack_require__.d(components_namespaceObject, "CustomElSliderMarker", function() { return CustomElSliderMarker; });
 __webpack_require__.d(components_namespaceObject, "TableChangeTable", function() { return TableChangeTable; });
 __webpack_require__.d(components_namespaceObject, "TableMailTable", function() { return TableMailTable; });
 __webpack_require__.d(components_namespaceObject, "TableNewPriceTable", function() { return TableNewPriceTable; });
@@ -71176,6 +71173,9 @@ __webpack_require__.d(components_namespaceObject, "TableStockTable", function()
 __webpack_require__.d(components_namespaceObject, "TableTotalTable", function() { return TableTotalTable; });
 __webpack_require__.d(components_namespaceObject, "TableUnitTable", function() { return TableUnitTable; });
 __webpack_require__.d(components_namespaceObject, "TableParamTable", function() { return TableParamTable; });
+__webpack_require__.d(components_namespaceObject, "CustomElSliderButton", function() { return CustomElSliderButton; });
+__webpack_require__.d(components_namespaceObject, "CustomElSlider", function() { return CustomElSlider; });
+__webpack_require__.d(components_namespaceObject, "CustomElSliderMarker", function() { return CustomElSliderMarker; });
 __webpack_require__.d(components_namespaceObject, "TinymceComponentsEditorImage", function() { return TinymceComponentsEditorImage; });
 
 // EXTERNAL MODULE: external "vue"
@@ -72762,9 +72762,6 @@ const TinymceToolbar = () => __webpack_require__.e(/* import() | components/tiny
 const ProductLeft = () => __webpack_require__.e(/* import() | components/product-left */ 25).then(__webpack_require__.bind(null, 298)).then(c => wrapFunctional(c.default || c));
 const ProductRight = () => __webpack_require__.e(/* import() | components/product-right */ 27).then(__webpack_require__.bind(null, 299)).then(c => wrapFunctional(c.default || c));
 const ProductQuote = () => __webpack_require__.e(/* import() | components/product-quote */ 26).then(__webpack_require__.bind(null, 227)).then(c => wrapFunctional(c.default || c));
-const CustomElSliderButton = () => __webpack_require__.e(/* import() | components/custom-el-slider-button */ 8).then(__webpack_require__.bind(null, 157)).then(c => wrapFunctional(c.default || c));
-const CustomElSlider = () => __webpack_require__.e(/* import() | components/custom-el-slider */ 7).then(__webpack_require__.bind(null, 159)).then(c => wrapFunctional(c.default || c));
-const CustomElSliderMarker = () => __webpack_require__.e(/* import() | components/custom-el-slider-marker */ 9).then(__webpack_require__.bind(null, 158)).then(c => wrapFunctional(c.default || c));
 const TableChangeTable = () => __webpack_require__.e(/* import() | components/table-change-table */ 35).then(__webpack_require__.bind(null, 229)).then(c => wrapFunctional(c.default || c));
 const TableMailTable = () => __webpack_require__.e(/* import() | components/table-mail-table */ 36).then(__webpack_require__.bind(null, 203)).then(c => wrapFunctional(c.default || c));
 const TableNewPriceTable = () => __webpack_require__.e(/* import() | components/table-new-price-table */ 37).then(__webpack_require__.bind(null, 200)).then(c => wrapFunctional(c.default || c));
@@ -72772,6 +72769,9 @@ const TableStockTable = () => __webpack_require__.e(/* import() | components/tab
 const TableTotalTable = () => __webpack_require__.e(/* import() | components/table-total-table */ 40).then(__webpack_require__.bind(null, 201)).then(c => wrapFunctional(c.default || c));
 const TableUnitTable = () => __webpack_require__.e(/* import() | components/table-unit-table */ 41).then(__webpack_require__.bind(null, 202)).then(c => wrapFunctional(c.default || c));
 const TableParamTable = () => __webpack_require__.e(/* import() | components/table-param-table */ 38).then(__webpack_require__.bind(null, 292)).then(c => wrapFunctional(c.default || c));
+const CustomElSliderButton = () => __webpack_require__.e(/* import() | components/custom-el-slider-button */ 8).then(__webpack_require__.bind(null, 157)).then(c => wrapFunctional(c.default || c));
+const CustomElSlider = () => __webpack_require__.e(/* import() | components/custom-el-slider */ 7).then(__webpack_require__.bind(null, 159)).then(c => wrapFunctional(c.default || c));
+const CustomElSliderMarker = () => __webpack_require__.e(/* import() | components/custom-el-slider-marker */ 9).then(__webpack_require__.bind(null, 158)).then(c => wrapFunctional(c.default || c));
 const TinymceComponentsEditorImage = () => __webpack_require__.e(/* import() | components/tinymce-components-editor-image */ 43).then(__webpack_require__.bind(null, 387)).then(c => wrapFunctional(c.default || c));
 
 // nuxt/nuxt.js#8607

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
.nuxt/dist/server/server.js.map


+ 9 - 9
.nuxt/vetur/tags.json

@@ -119,15 +119,6 @@
   "ProductQuote": {
     "description": "Auto imported from components/product/Quote.vue"
   },
-  "CustomElSliderButton": {
-    "description": "Auto imported from components/custom-el-slider/button.vue"
-  },
-  "CustomElSlider": {
-    "description": "Auto imported from components/custom-el-slider/index.vue"
-  },
-  "CustomElSliderMarker": {
-    "description": "Auto imported from components/custom-el-slider/marker.vue"
-  },
   "TableChangeTable": {
     "description": "Auto imported from components/table/ChangeTable.vue"
   },
@@ -149,6 +140,15 @@
   "TableParamTable": {
     "description": "Auto imported from components/table/paramTable.vue"
   },
+  "CustomElSliderButton": {
+    "description": "Auto imported from components/custom-el-slider/button.vue"
+  },
+  "CustomElSlider": {
+    "description": "Auto imported from components/custom-el-slider/index.vue"
+  },
+  "CustomElSliderMarker": {
+    "description": "Auto imported from components/custom-el-slider/marker.vue"
+  },
   "TinymceComponentsEditorImage": {
     "description": "Auto imported from components/Tinymce/components/EditorImage.vue"
   }

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff