diff --git a/.env b/.env index 3c5303b5..c079b153 100644 --- a/.env +++ b/.env @@ -11,7 +11,7 @@ VITE_OPEN=true VITE_APP_TENANT_ENABLE=true # 验证码的开关 -VITE_APP_CAPTCHA_ENABLE=true +VITE_APP_CAPTCHA_ENABLE=false # 百度统计 VITE_APP_BAIDU_CODE = a1ff8825baa73c3a78eb96aa40325abc diff --git a/package.json b/package.json index 41a18d9b..dfa65cd9 100644 --- a/package.json +++ b/package.json @@ -58,6 +58,7 @@ "pinia": "^2.1.7", "qrcode": "^1.5.3", "qs": "^6.11.2", + "sortablejs": "^1.15.0", "steady-xml": "^0.1.0", "url": "^0.11.3", "video.js": "^7.21.5", @@ -84,6 +85,7 @@ "@types/nprogress": "^0.2.1", "@types/qrcode": "^1.5.2", "@types/qs": "^6.9.8", + "@types/sortablejs": "^1.15.4", "@typescript-eslint/eslint-plugin": "^6.7.5", "@typescript-eslint/parser": "^6.7.5", "@unocss/transformer-variant-group": "^0.56.5", diff --git a/src/views/mall/product/spu/form/ActivityOrdersSort.vue b/src/views/mall/product/spu/form/ActivityOrdersSort.vue new file mode 100644 index 00000000..eb524860 --- /dev/null +++ b/src/views/mall/product/spu/form/ActivityOrdersSort.vue @@ -0,0 +1,59 @@ + + diff --git a/src/views/mall/product/spu/form/OtherSettingsForm.vue b/src/views/mall/product/spu/form/OtherSettingsForm.vue index d7217cfe..24498860 100644 --- a/src/views/mall/product/spu/form/OtherSettingsForm.vue +++ b/src/views/mall/product/spu/form/OtherSettingsForm.vue @@ -41,16 +41,11 @@ - - - {{ type.label }} - + @@ -115,6 +110,7 @@ import { copyValueToTarget } from '@/utils' import { otherSettingsSchema } from './spu.data' import { DICT_TYPE, DictDataType, getIntDictOptions } from '@/utils/dict' import CouponSelect from './CouponSelect.vue' +import ActivityOrdersSort from './ActivityOrdersSort.vue' defineOptions({ name: 'OtherSettingsForm' })