diff --git a/src/components/Cropper/src/CopperModal.vue b/src/components/Cropper/src/CopperModal.vue index c303b58c..37b90452 100644 --- a/src/components/Cropper/src/CopperModal.vue +++ b/src/components/Cropper/src/CopperModal.vue @@ -220,7 +220,9 @@ $prefix-cls: #{$namespace}-cropper-am; transparent 75%, rgb(0 0 0 / 25%) 0 ); - background-position: 0 0, 12px 12px; + background-position: + 0 0, + 12px 12px; background-size: 24px 24px; } diff --git a/src/components/InputPassword/src/InputPassword.vue b/src/components/InputPassword/src/InputPassword.vue index 19ce032c..1fbcbedc 100644 --- a/src/components/InputPassword/src/InputPassword.vue +++ b/src/components/InputPassword/src/InputPassword.vue @@ -112,7 +112,9 @@ $prefix-cls: #{$namespace}-input-password; height: inherit; background-color: transparent; border-radius: inherit; - transition: width 0.5s ease-in-out, background 0.25s; + transition: + width 0.5s ease-in-out, + background 0.25s; &[data-score='0'] { width: 20%; diff --git a/src/layout/components/Message/src/Message.vue b/src/layout/components/Message/src/Message.vue index ddbbc426..0c1d7588 100644 --- a/src/layout/components/Message/src/Message.vue +++ b/src/layout/components/Message/src/Message.vue @@ -33,9 +33,12 @@ onMounted(() => { // 首次加载小红点 getUnreadCount() // 轮询刷新小红点 - timer = setInterval(() => { - getUnreadCount() - }, 1000 * 60 * 2) + timer = setInterval( + () => { + getUnreadCount() + }, + 1000 * 60 * 2 + ) }) onUnmounted(() => { clearInterval(timer) diff --git a/src/styles/index.scss b/src/styles/index.scss index 67ea23aa..65d2d4e9 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -24,7 +24,9 @@ } & .peg { - box-shadow: 0 0 10px var(--el-color-primary), 0 0 5px var(--el-color-primary) !important; + box-shadow: + 0 0 10px var(--el-color-primary), + 0 0 5px var(--el-color-primary) !important; } & .spinner-icon { diff --git a/src/views/mall/product/spu/components/SkuList.vue b/src/views/mall/product/spu/components/SkuList.vue index ed1a356d..7fbb9011 100644 --- a/src/views/mall/product/spu/components/SkuList.vue +++ b/src/views/mall/product/spu/components/SkuList.vue @@ -443,14 +443,15 @@ const generateTableData = (propertyList: any[]) => { */ const validateData = (propertyList: any[]) => { const skuPropertyIds: number[] = [] - formData.value!.skus!.forEach((sku) => - sku.properties - ?.map((property) => property.propertyId) - ?.forEach((propertyId) => { - if (skuPropertyIds.indexOf(propertyId!) === -1) { - skuPropertyIds.push(propertyId!) - } - }) + formData.value!.skus!.forEach( + (sku) => + sku.properties + ?.map((property) => property.propertyId) + ?.forEach((propertyId) => { + if (skuPropertyIds.indexOf(propertyId!) === -1) { + skuPropertyIds.push(propertyId!) + } + }) ) const propertyIds = propertyList.map((item) => item.id) return skuPropertyIds.length === propertyIds.length diff --git a/src/views/mall/promotion/combination/activity/CombinationActivityForm.vue b/src/views/mall/promotion/combination/activity/CombinationActivityForm.vue index 36ede848..115f8fd4 100644 --- a/src/views/mall/promotion/combination/activity/CombinationActivityForm.vue +++ b/src/views/mall/promotion/combination/activity/CombinationActivityForm.vue @@ -134,11 +134,7 @@ const open = async (type: string, id?: number) => { const data = (await CombinationActivityApi.getCombinationActivity( id )) as CombinationActivityApi.CombinationActivityVO - await getSpuDetails( - data.spuId!, - data.products?.map((sku) => sku.skuId), - data.products - ) + await getSpuDetails(data.spuId!, data.products?.map((sku) => sku.skuId), data.products) formRef.value.setValues(data) } finally { formLoading.value = false diff --git a/src/views/mall/promotion/seckill/activity/SeckillActivityForm.vue b/src/views/mall/promotion/seckill/activity/SeckillActivityForm.vue index ac7a06b6..049ab6b4 100644 --- a/src/views/mall/promotion/seckill/activity/SeckillActivityForm.vue +++ b/src/views/mall/promotion/seckill/activity/SeckillActivityForm.vue @@ -144,11 +144,7 @@ const open = async (type: string, id?: number) => { const data = (await SeckillActivityApi.getSeckillActivity( id )) as SeckillActivityApi.SeckillActivityVO - await getSpuDetails( - data.spuId!, - data.products?.map((sku) => sku.skuId), - data.products - ) + await getSpuDetails(data.spuId!, data.products?.map((sku) => sku.skuId), data.products) formRef.value.setValues(data) } finally { formLoading.value = false diff --git a/src/views/mall/trade/order/index.vue b/src/views/mall/trade/order/index.vue index 91e0a19e..d51ec11b 100644 --- a/src/views/mall/trade/order/index.vue +++ b/src/views/mall/trade/order/index.vue @@ -12,7 +12,7 @@ @@ -27,7 +27,7 @@ > @@ -48,7 +48,7 @@ @@ -58,7 +58,7 @@ diff --git a/src/views/mp/components/wx-msg/comment.scss b/src/views/mp/components/wx-msg/comment.scss index aaeaccaf..7812c2a3 100644 --- a/src/views/mp/components/wx-msg/comment.scss +++ b/src/views/mp/components/wx-msg/comment.scss @@ -90,8 +90,19 @@ padding: 15px; overflow: hidden; background: #fff; - font-family: Segoe UI, Lucida Grande, Helvetica, Arial, Microsoft YaHei, FreeSans, Arimo, - Droid Sans, wenquanyi micro hei, Hiragino Sans GB, Hiragino Sans GB W3, FontAwesome, + font-family: + Segoe UI, + Lucida Grande, + Helvetica, + Arial, + Microsoft YaHei, + FreeSans, + Arimo, + Droid Sans, + wenquanyi micro hei, + Hiragino Sans GB, + Hiragino Sans GB W3, + FontAwesome, sans-serif; color: #333; font-size: 14px; @@ -99,7 +110,16 @@ blockquote { margin: 0; - font-family: Georgia, Times New Roman, Times, Kai, Kaiti SC, KaiTi, BiauKai, FontAwesome, serif; + font-family: + Georgia, + Times New Roman, + Times, + Kai, + Kaiti SC, + KaiTi, + BiauKai, + FontAwesome, + serif; padding: 1px 0 1px 15px; border-left: 4px solid #ddd; }