code: remove some invalid imported.

This commit is contained in:
ShawnPhang 2024-03-11 01:45:16 +08:00
parent d65b1081d2
commit 36b737e590
16 changed files with 30 additions and 36 deletions

View File

@ -6,10 +6,10 @@
迅排设计是一款漂亮易用且功能强大的开源创意图片编辑器是对标稿定设计、创客贴、Canva 等商业产品的免费在线设计工具。
适用于多种场景:海报图片生成、电商分享图、文章长图、视频/公众号封面等,无需下载软件即可轻松实现云端编辑、迅速完成图文排版。
[![](https://xp.palxp.cn/images/2023-7-16-1689500112694.gif)](https://design.palxp.cn/)
适用于多种场景:海报图片生成、电商分享图、文章长图、视频/公众号封面等,无需下载软件即可轻松实现云端编辑、迅速完成图文排版。
- 丝滑的页面操作体验,丰富的交互细节,基础功能完善
- 采用服务端生成图片,能确保多端出图统一性,支持各种 CSS 特性
- 简易 AI 抠图工具,上传图片一键去除背景

View File

@ -2,7 +2,7 @@
* @Author: ShawnPhang
* @Date: 2022-03-16 09:15:52
* @Description:
* @LastEditors: ShawnPhang <https://m.palxp.cn>, Jeremy Yu <https://github.com/JeremyYu-cn>
* @LastEditors: ShawnPhang <https://m.palxp.cn>
* @Date: 2024-03-04 18:50:00
-->
<template>
@ -10,7 +10,7 @@
</template>
<script lang="ts" setup>
import { onMounted, ref, watch, nextTick, defineProps } from 'vue'
import { onMounted, ref, watch, nextTick } from 'vue'
import QRCodeStyling, {DotType, Options } from 'qr-code-styling'
import { debounce } from 'throttle-debounce'
import { generateOption } from './method'

View File

@ -2,8 +2,8 @@
* @Author: ShawnPhang
* @Date: 2022-04-10 12:12:57
* @Description: tooltip提示
* @LastEditors: ShawnPhang
* @LastEditTime: 2022-04-10 12:42:02
* @LastEditors: ShawnPhang <https://m.palxp.cn>
* @LastEditTime: 2024-03-11 01:41:20
-->
<template>
<el-popover ref="popover" :placement="position" :title="title" :width="width" trigger="hover" :content="content">
@ -14,8 +14,6 @@
</template>
<script lang="ts" setup>
import { defineProps } from 'vue'
type TProps = {
title: string
width: number

View File

@ -2,7 +2,7 @@
* @Author: ShawnPhang
* @Date: 2021-12-28 09:29:42
* @Description: 百分比进度条
* @LastEditors: ShawnPhang <site: book.palxp.com>, Jeremy Yu <https://github.com/JeremyYu-cn>
* @LastEditors: ShawnPhang <https://m.palxp.cn>
* @Date: 2024-03-05 10:50:00
-->
<template>
@ -17,7 +17,7 @@
</template>
<script lang="ts" setup>
import { watch, defineProps, defineEmits } from 'vue'
import { watch } from 'vue'
import { ElProgress } from 'element-plus'
type TProps = {

View File

@ -2,7 +2,7 @@
* @Author: ShawnPhang
* @Date: 2021-08-29 18:17:13
* @Description: 二次封装上传组件
* @LastEditors: ShawnPhang <https://m.palxp.cn>, Jeremy Yu <https://github.com/JeremyYu-cn>
* @LastEditors: ShawnPhang <https://m.palxp.cn>
* @Date: 2024-03-05 10:50:00
-->
<template>
@ -14,7 +14,7 @@
</template>
<script lang="ts" setup>
import { onMounted, nextTick, defineProps, withDefaults, defineEmits } from 'vue'
import { onMounted, nextTick, withDefaults } from 'vue'
import { ElUpload, UploadRequestOptions } from 'element-plus'
import Qiniu from '@/common/methods/QiNiu'
import { getImage } from '@/common/methods/getImgDetail'

View File

@ -58,7 +58,7 @@
</template>
<script lang="ts" setup>
import { nextTick, defineProps, onMounted, ref } from 'vue'
import { nextTick, onMounted, ref } from 'vue'
import { mapGetters, mapActions, useStore } from 'vuex'
import { getTarget } from '@/common/methods/target'

View File

@ -2,15 +2,15 @@
* @Author: ShawnPhang
* @Date: 2022-04-08 10:31:34
* @Description:
* @LastEditors: ShawnPhang <site: book.palxp.com>
* @LastEditTime: 2023-06-29 18:07:40
* @LastEditors: ShawnPhang <https://m.palxp.cn>
* @LastEditTime: 2024-03-11 01:42:25
-->
<template>
<div></div>
</template>
<script lang="ts" setup>
import { watch, defineProps } from 'vue'
import { watch } from 'vue'
import { useStore } from 'vuex'
import Guides, { GuideOptions } from '@scena/guides'

View File

@ -3,7 +3,7 @@
* @Date: 2021-08-27 15:16:07
* @Description: 背景图
* @LastEditors: ShawnPhang <https://m.palxp.cn>
* @LastEditTime: 2024-01-24 16:39:27
* @LastEditTime: 2024-03-11 01:42:36
-->
<template>
<div class="wrap">
@ -23,7 +23,7 @@
</template>
<script lang="ts" setup>
import { reactive, computed, defineProps, defineExpose } from 'vue'
import { reactive, computed } from 'vue'
import api from '@/api'
import { useStore } from 'vuex'
import { ElImage } from 'element-plus'

View File

@ -3,7 +3,7 @@
* @Date: 2022-02-13 22:18:35
* @Description: 我的
* @LastEditors: ShawnPhang <https://m.palxp.cn>
* @LastEditTime: 2023-12-11 11:50:34
* @LastEditTime: 2024-03-11 01:42:44
-->
<template>
<div class="wrap">
@ -36,7 +36,7 @@
</template>
<script lang="ts" setup>
import { reactive, toRefs, watch, nextTick, ref, onMounted, defineProps, defineExpose } from 'vue'
import { reactive, toRefs, watch, nextTick, ref, onMounted } from 'vue'
import { ElTabPane, ElTabs, TabPaneName } from 'element-plus'
import { useRouter } from 'vue-router'
import { useStore } from 'vuex'

View File

@ -2,7 +2,7 @@
* @Author: ShawnPhang
* @Date: 2023-10-04 02:04:04
* @Description: 列表分类头部
* @LastEditors: ShawnPhang <https://m.palxp.cn>, Jeremy Yu <https://github.com/JeremyYu-cn>
* @LastEditors: ShawnPhang <https://m.palxp.cn>
* @Date: 2024-03-06 21:16:00
-->
<template>
@ -22,8 +22,6 @@
</template>
<script lang="ts" setup>
import { defineProps, defineEmits } from 'vue'
export type TClassHeaderTypeData = {
name: string
}

View File

@ -2,7 +2,7 @@
* @Author: ShawnPhang
* @Date: 2023-10-04 19:12:40
* @Description: 图片描述ToolTip
* @LastEditors: ShawnPhang <https://m.palxp.cn>, Jeremy Yu <https://github.com/JeremyYu-cn>
* @LastEditors: ShawnPhang <https://m.palxp.cn>
* @Date: 2024-03-06 21:16:00
-->
<template>
@ -18,7 +18,6 @@
</template>
<script lang="ts" setup>
import { defineProps } from 'vue'
export type TImageTipDetailData = {
author: string

View File

@ -2,7 +2,7 @@
* @Author: ShawnPhang
* @Date: 2021-12-16 16:20:16
* @Description: 瀑布流组件
* @LastEditors: ShawnPhang <https://m.palxp.cn>, Jeremy Yu <https://github.com/JeremyYu-cn>
* @LastEditors: ShawnPhang <https://m.palxp.cn>
* @Date: 2024-03-06 21:16:00
-->
<template>
@ -27,7 +27,7 @@
<script lang="ts" setup>
// const NAME = 'img-water-fall'
import { IGetTempListData } from '@/api/home';
import { reactive, watch, defineProps, defineExpose, defineEmits } from 'vue'
import { reactive, watch } from 'vue'
type TProps = {
listData: IGetTempListData[]

View File

@ -2,7 +2,7 @@
* @Author: ShawnPhang
* @Date: 2022-02-23 15:48:52
* @Description: 图片列表组件 Bookshelf Layout
* @LastEditors: ShawnPhang <https://m.palxp.cn>, Jeremy Yu <https://github.com/JeremyYu-cn>
* @LastEditors: ShawnPhang <https://m.palxp.cn>
* @Date: 2024-03-06 21:16:00
-->
<template>
@ -39,7 +39,7 @@
</template>
<script lang="ts" setup>
import { reactive, watch, nextTick, defineProps, defineExpose, defineEmits, ref } from 'vue'
import { reactive, watch, nextTick, ref } from 'vue'
import DragHelper from '@/common/hooks/dragHelper'
import setImageData, { TItem2DataParam } from '@/common/methods/DesignFeatures/setImage'
import { IGetTempListData } from '@/api/home';

View File

@ -2,7 +2,7 @@
* @Author: ShawnPhang
* @Date: 2022-01-27 11:05:48
* @Description:
* @LastEditors: ShawnPhang <https://m.palxp.cn>, Jeremy Yu <https://github.com/JeremyYu-cn>
* @LastEditors: ShawnPhang <https://m.palxp.cn>
* @Date: 2024-03-06 21:16:00
-->
<template>
@ -30,7 +30,7 @@
</div>
</template>
<script lang="ts" setup>
import { reactive, toRefs, watch, defineProps, defineEmits, defineExpose } from 'vue'
import { reactive, toRefs, watch } from 'vue'
import { ElDropdown, ElDropdownItem, ElDropdownMenu } from 'element-plus'
import { useRoute } from 'vue-router'
import api from '@/api'

View File

@ -3,7 +3,7 @@
* @Date: 2021-08-09 14:00:23
* @Description: 文字特效选择框组件
* @LastEditors: ShawnPhang <https://m.palxp.cn>
* @LastEditTime: 2023-11-30 10:14:30
* @LastEditTime: 2024-03-11 01:43:21
-->
<template>
<el-card class="box-card" shadow="hover" :body-style="{ padding: '20px' }">
@ -109,8 +109,7 @@
<script lang="ts" setup>
import {
reactive, watch, onMounted, nextTick, computed,
defineProps, defineEmits, defineExpose
reactive, watch, onMounted, nextTick, computed
} from 'vue'
import colorSelect from '../colorSelect.vue'
import { ElInputNumber, ElCheckbox } from 'element-plus'

View File

@ -3,7 +3,7 @@
* @Date: 2022-01-12 11:26:53
* @Description: 顶部操作按钮组
* @LastEditors: ShawnPhang <https://m.palxp.cn>
* @LastEditTime: 2023-12-11 12:40:59
* @LastEditTime: 2024-03-11 01:43:30
-->
<template>
<div class="top-title"><el-input v-model="state.title" placeholder="未命名的设计" class="input-wrap" /></div>
@ -27,7 +27,7 @@
<script lang="ts" setup>
import api from '@/api'
import { reactive, toRefs, defineEmits, defineProps, ref } from 'vue'
import { reactive, toRefs, ref } from 'vue'
import { mapGetters, mapActions, useStore } from 'vuex'
import { useRoute, useRouter } from 'vue-router'
import _dl from '@/common/methods/download'