fix: lint

This commit is contained in:
xingyu4j
2025-11-02 12:09:34 +08:00
parent a675e90328
commit adb5e3178b
9 changed files with 14 additions and 18 deletions

View File

@@ -3,4 +3,4 @@ export { default as KeFuMessageList } from './KeFuMessageList.vue';
export { default as MemberInfo } from './member/MemberInfo.vue'; export { default as MemberInfo } from './member/MemberInfo.vue';
// TODO @jawecomponents =》modules在 vben 里modules 是给自己用的,把一个大 vue 拆成 n 个小 vuecomponents 是给别的模块使用的; // TODO @jawecomponents =》modules在 vben 里modules 是给自己用的,把一个大 vue 拆成 n 个小 vuecomponents 是给别的模块使用的;
// TODO @jawe1组件名小写类似 conversation-list.vue2KeFu 开头可以去掉,因为已经是当前模块下,不用重复拼写; // TODO @jawe1组件名小写类似 conversation-list.vue2KeFu 开头可以去掉,因为已经是当前模块下,不用重复拼写;

View File

@@ -203,5 +203,3 @@ const [Grid, gridApi] = useVbenVxeGrid({
</Grid> </Grid>
</Page> </Page>
</template> </template>

View File

@@ -17,5 +17,5 @@ defineProps<{ property: ImageBarProperty }>();
> >
<IconifyIcon icon="ep:picture" class="text-3xl text-gray-600" /> <IconifyIcon icon="ep:picture" class="text-3xl text-gray-600" />
</div> </div>
<ElImage v-else class="block w-full h-full" :src="property.imgUrl" /> <ElImage v-else class="block h-full w-full" :src="property.imgUrl" />
</template> </template>

View File

@@ -13,8 +13,8 @@ defineProps<{ property: UserCardProperty }>();
</script> </script>
<template> <template>
<div class="flex flex-col"> <div class="flex flex-col">
<div class="flex items-center justify-between px-[18px] py-[24px]"> <div class="flex items-center justify-between px-4 py-6">
<div class="flex flex-1 items-center gap-[16px]"> <div class="flex flex-1 items-center gap-4">
<ElAvatar :size="60"> <ElAvatar :size="60">
<IconifyIcon icon="ep:avatar" :size="60" /> <IconifyIcon icon="ep:avatar" :size="60" />
</ElAvatar> </ElAvatar>
@@ -22,13 +22,11 @@ defineProps<{ property: UserCardProperty }>();
</div> </div>
<IconifyIcon icon="tdesign:qrcode" :size="20" /> <IconifyIcon icon="tdesign:qrcode" :size="20" />
</div> </div>
<div <div class="flex items-center justify-between bg-white px-5 py-2 text-xs">
class="flex items-center justify-between bg-white px-[20px] py-[8px] text-[12px]"
>
<span class="text-[#ff690d]">点击绑定手机号</span> <span class="text-[#ff690d]">点击绑定手机号</span>
<span class="rounded-[26px] bg-[#ff6100] px-[8px] py-[5px] text-white"> <span class="rounded-[26px] bg-[#ff6100] px-2 py-1.5 text-white">
去绑定 去绑定
</span> </span>
</div> </div>
</div> </div>
</template> </template>

View File

@@ -13,4 +13,4 @@ defineProps<{ property: UserOrderProperty }>();
<ElImage <ElImage
src="https://shopro.sheepjs.com/admin/static/images/shop/decorate/orderCardStyle.png" src="https://shopro.sheepjs.com/admin/static/images/shop/decorate/orderCardStyle.png"
/> />
</template> </template>

View File

@@ -17,4 +17,4 @@ const formData = useVModel(props, 'modelValue', emit);
<template> <template>
<ComponentContainerProperty v-model="formData.style" /> <ComponentContainerProperty v-model="formData.style" />
</template> </template>

View File

@@ -13,4 +13,4 @@ defineProps<{ property: UserWalletProperty }>();
<ElImage <ElImage
src="https://shopro.sheepjs.com/admin/static/images/shop/decorate/walletCardStyle.png" src="https://shopro.sheepjs.com/admin/static/images/shop/decorate/walletCardStyle.png"
/> />
</template> </template>

View File

@@ -40,7 +40,7 @@ const formData = useVModel(props, 'modelValue', emit);
:file-type="['mp4']" :file-type="['mp4']"
:limit="1" :limit="1"
:file-size="100" :file-size="100"
class="min-w-[80px]" class="min-w-20"
/> />
</ElFormItem> </ElFormItem>
<ElFormItem label="上传封面" prop="posterUrl"> <ElFormItem label="上传封面" prop="posterUrl">
@@ -49,7 +49,7 @@ const formData = useVModel(props, 'modelValue', emit);
draggable="false" draggable="false"
height="80px" height="80px"
width="100%" width="100%"
class="min-w-[80px]" class="min-w-20"
:show-description="false" :show-description="false"
> >
<template #tip> 建议宽度750 </template> <template #tip> 建议宽度750 </template>
@@ -60,4 +60,4 @@ const formData = useVModel(props, 'modelValue', emit);
</ElFormItem> </ElFormItem>
</ElForm> </ElForm>
</ComponentContainerProperty> </ComponentContainerProperty>
</template> </template>

View File

@@ -255,11 +255,11 @@ const eachCube = (callback: (x: number, y: number, cube: Cube) => void) => {
.cube { .cube {
box-sizing: border-box; box-sizing: border-box;
line-height: 1;
color: var(--el-text-color-secondary); color: var(--el-text-color-secondary);
text-align: center; text-align: center;
cursor: pointer; cursor: pointer;
border: 1px solid var(--el-border-color); border: 1px solid var(--el-border-color);
line-height: 1;
:deep(.iconify) { :deep(.iconify) {
display: inline-block; display: inline-block;