generated from duanshuwen/webapp-vue-frontend
feat: 单行限制
This commit is contained in:
@@ -93,9 +93,7 @@ const lookPicture = (item: TaskItem) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const getTaskList = () => {
|
const getTaskList = () => {
|
||||||
showLoadingToast('加载中...');
|
|
||||||
generatorPhotoTaskList({ pageNum: 1, pageSize: 20 }).then(res => {
|
generatorPhotoTaskList({ pageNum: 1, pageSize: 20 }).then(res => {
|
||||||
closeToast(); // 关闭加载提示
|
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
const data = res.data || [];
|
const data = res.data || [];
|
||||||
list.splice(0, list.length, ...data.map(item => {
|
list.splice(0, list.length, ...data.map(item => {
|
||||||
|
|||||||
@@ -359,6 +359,10 @@ onMounted(() => {
|
|||||||
letter-spacing: 2px;
|
letter-spacing: 2px;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-family: LogoSC Unbounded Sans, LogoSC Unbounded Sans;
|
font-family: LogoSC Unbounded Sans, LogoSC Unbounded Sans;
|
||||||
|
/* ✅ 单行限制核心 */
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 底部操作区 */
|
/* 底部操作区 */
|
||||||
|
|||||||
Reference in New Issue
Block a user