Explorar o código

更改定制项顺序

xiaohaizhao hai 1 ano
pai
achega
30c71ea925
Modificáronse 2 ficheiros con 3 adicións e 2 borrados
  1. 1 0
      pages/index/collect/modules/customMade/index.js
  2. 2 2
      utils/customItemType.js

+ 1 - 0
pages/index/collect/modules/customMade/index.js

@@ -25,6 +25,7 @@ Component({
     init(data, prefix = '') {
       return new Promise((resolve) => {
         getCustomItems(data, prefix).then(list => {
+          console.log("list",list)
           this.setData({
             list
           });

+ 2 - 2
utils/customItemType.js

@@ -1,8 +1,8 @@
 function getLabelList() {
 	let siteCustomLabel = {
 		"default": {
-			width: "宽",
 			length: "长",
+			width: "宽",
 			cheek: "边框",
 			color: "颜色",
 			material: "基材",
@@ -10,8 +10,8 @@ function getLabelList() {
 			custom: "定制"
 		},
 		"DLB": {
-			width: "宽",
 			length: "长",
+			width: "宽",
 			cheek: "工艺",
 			color: "颜色",
 			material: "选项",