chore: remove unused SCSS and fix component styles

- remove unused z-index and word-break SCSS utility files and their imports from src/static/scss/index.scss
- standardize padding unit notation to [px] format in ChatQuickAccess component
- reformat long class attributes and clean up whitespace in GeneratorPhotoComponent
- fix trailing whitespace and formatting for the navigateTo call in GeneratorPhotoComponent
This commit is contained in:
duanshuwen
2026-07-24 15:36:06 +08:00
parent 4a30777ee0
commit d3d15b1a19
5 changed files with 7 additions and 26 deletions

View File

@@ -1,6 +1,6 @@
<template> <template>
<view> <view>
<view class="quick-access flex flex-row ml-[12px] pt-8 pb-8 scroll-x whitespace-nowrap"> <view class="quick-access flex flex-row ml-[12px] pt-[8px] pb-[8px] scroll-x whitespace-nowrap">
<view class="item border-box rounded-50 flex flex-row items-center" v-for="(item, index) in itemList" :key="index" <view class="item border-box rounded-50 flex flex-row items-center" v-for="(item, index) in itemList" :key="index"
@click="sendReply(item)"> @click="sendReply(item)">
<view class="flex items-center justify-center"> <view class="flex items-center justify-center">

View File

@@ -18,9 +18,10 @@
{{ componentDataMap.description }} {{ componentDataMap.description }}
</text> </text>
<view class="w-full border-box px-12 pb-8 flex flex-row" @click="jumpClick"> <view class="w-full border-box px-12 pb-[8px] flex flex-row" @click="jumpClick">
<view class="btn-bg w-full border-box p-4 rounded-24 flex flex-row"> <view class="btn-bg w-full border-box p-4 rounded-24 flex flex-row">
<view class="btn-bg-sub w-full border-box p-16 rounded-20 flex flex-row flex-items-center flex-justify-center color-white text-center font-size-18 font-800"> <view
class="btn-bg-sub w-full border-box p-16 rounded-20 flex flex-row flex-items-center flex-justify-center color-white text-center font-size-18 font-800">
{{ componentDataMap.buttonName }} {{ componentDataMap.buttonName }}
</view> </view>
</view> </view>

View File

@@ -17,10 +17,8 @@
@import "./overflow.scss"; @import "./overflow.scss";
@import "./scroll.scss"; @import "./scroll.scss";
@import "./width.scss"; @import "./width.scss";
@import "./z-index.scss";
@import "./white-space.scss"; @import "./white-space.scss";
@import "./box-sizing.scss"; @import "./box-sizing.scss";
@import "./word-break.scss";
@import "./min-height.scss"; @import "./min-height.scss";
@import "./min-width.scss"; @import "./min-width.scss";
@import "./gap.scss"; @import "./gap.scss";

View File

@@ -1,3 +0,0 @@
.break-all {
word-break: break-all;
}

View File

@@ -1,15 +0,0 @@
.z-0 {
z-index: 0;
}
.z-10 {
z-index: 10;
}
.z-20 {
z-index: 20;
}
.z-30 {
z-index: 30;
}