渐变文字标题、tailwindcss升级
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<template #upload-button>
|
||||
<div
|
||||
style="background-color: var(--color-fill-2); border: 1px dashed var(--color-fill-4)"
|
||||
class="rounded text-center p-7"
|
||||
class="rounded-sm text-center p-7"
|
||||
>
|
||||
<div>
|
||||
<icon-upload class="text-5xl text-gray-400" />
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
:hide-label="props.component.hideLabel"
|
||||
:content-class="props.component.contentClass"
|
||||
:feedback="props.component.feedback"
|
||||
:validate-trigger="props.component.validateTrigger ?? 'blur'"
|
||||
:validate-trigger="props.component.validateTrigger ?? 'blur-sm'"
|
||||
:validate-status="props.component.validateStatus"
|
||||
:class="[props.component.customClass]"
|
||||
>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
:title="props.component.title"
|
||||
:disabled="props.component.disabled"
|
||||
:icon="props.component.icon"
|
||||
:rounded="props.component.rounded"
|
||||
:rounded="props.component.rounded-sm"
|
||||
:multiple="props.component.multiple"
|
||||
:draggable="props.component.draggable"
|
||||
:size="props.component.size"
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
- @Link XXX
|
||||
-->
|
||||
<template>
|
||||
<div class="w-full p-2 resource-container h-full lg:flex lg:justify-between rounded-sm">
|
||||
<div class="w-full p-2 resource-container h-full lg:flex lg:justify-between rounded-xs">
|
||||
<a-modal v-model:visible="openNetworkModal" :ok-text="$t('sys.save')" :on-before-ok="saveNetworkImg" draggable>
|
||||
<template #title>{{ $t("maResource.saveNetworkImage") }}</template>
|
||||
<a-input v-model="networkImg" class="mb-3" :placeholder="$t('maResource.networkImageNotice')" allow-clear />
|
||||
<a-image :src="networkImg ?? ''" width="100%" style="min-height: 150px" />
|
||||
</a-modal>
|
||||
<div class="lg:w-1/5 w-full p-2 shadow">
|
||||
<div class="lg:w-1/5 w-full p-2 shadow-sm">
|
||||
<ma-tree-slider
|
||||
:data="sliderData"
|
||||
:search-placeholder="$t('maResource.searchResource')"
|
||||
@@ -37,7 +37,7 @@
|
||||
<a-spin :loading="resourceLoading" :tip="$t('maResource.loadingText')" class="h-full">
|
||||
<div class="resource-list mt-2" ref="rl" v-if="attachmentList && attachmentList.length > 0">
|
||||
<div
|
||||
class="item rounded-sm"
|
||||
class="item rounded-xs"
|
||||
v-for="(item, index) in attachmentList"
|
||||
:key="item.hash"
|
||||
@click="selectFile(item, index)"
|
||||
@@ -160,7 +160,7 @@ const searchFile = async () => {
|
||||
|
||||
const selectFile = (item, index) => {
|
||||
const children = rl.value.children
|
||||
const className = "item rounded-sm"
|
||||
const className = "item rounded-xs"
|
||||
|
||||
if (!/^(http|https)/g.test(item.url)) {
|
||||
item.url = tool.attachUrl(item.url, getStoreMode(item.storage_mode))
|
||||
@@ -191,7 +191,7 @@ const clearSelecteds = () => {
|
||||
if (rl.value && rl.value.children) {
|
||||
const children = rl.value.children
|
||||
for (let i = 0; i < children.length; i++) {
|
||||
children[i].className = "item rounded-sm"
|
||||
children[i].className = "item rounded-xs"
|
||||
}
|
||||
}
|
||||
if (props.multiple) {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<slot name="customer">
|
||||
<div
|
||||
style="background-color: var(--color-fill-2); border: 1px dashed var(--color-fill-4)"
|
||||
class="rounded text-center p-7 w-full"
|
||||
class="rounded-sm text-center p-7 w-full"
|
||||
>
|
||||
<div>
|
||||
<icon-upload class="text-5xl text-gray-400" />
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<slot name="customer">
|
||||
<div
|
||||
style="background-color: var(--color-fill-2); border: 1px dashed var(--color-fill-4)"
|
||||
class="rounded text-center p-7 w-full"
|
||||
class="rounded-sm text-center p-7 w-full"
|
||||
>
|
||||
<div>
|
||||
<icon-upload class="text-5xl text-gray-400" />
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
<template #upload-button>
|
||||
<slot name="customer">
|
||||
<div
|
||||
:class="'upload-skin ' + (config.rounded ? 'rounded-full' : 'rounded-sm')"
|
||||
:class="'upload-skin ' + (config.rounded ? 'rounded-full' : 'rounded-xs')"
|
||||
v-if="!props.modelValue || config.multiple"
|
||||
>
|
||||
<div class="icon text-3xl">
|
||||
|
||||
Reference in New Issue
Block a user