fix: remove stray 0s from Tailwind classes

- Also fix invalid margin classes (e.g. `ml-8` → `ml-[8px]`) and incorrect font weight classes (`font-weight-600` → `font-semibold`)
- Remove unused Feedback component SCSS file and inline its associated styles
- Correct invalid background class `bg-[#f0f8f3]0` to valid `bg-[#f0f8f3]`
This commit is contained in:
DEV_DSW
2026-05-29 11:13:30 +08:00
parent 265993313e
commit 702a7c1591
10 changed files with 13 additions and 34 deletions

View File

@@ -5,7 +5,7 @@
<span class="text-[12px] text-[#171717] mr-16">
{{ selectedDate.startDate }}
</span>
<span class="total rounded-[5px]0 flex items-center text-[11px] color-43669A relative">{{
<span class="total rounded-[5px] flex items-center text-[11px] color-43669A relative">{{
selectedDate.totalDays }}</span>
<span class="text-[12px] text-ink-400 ml-16">离店</span>
<span class="text-[12px] text-[#171717] ml-4">

View File

@@ -1,11 +1,11 @@
<template>
<div class="create-service-order">
<div class="w-full bg-white border-ff overflow-hidden rounded-[20px]">
<div class=" order-header w-full flex items-center justify-between bg-[#f0f8f3]">
<div class=" h-[48px] w-full flex items-center justify-between bg-[#f0f8f3]">
<span class="text-[18px] font-medium text-[#171717] text-left ml-[12px]">
{{ isCallSuccess ? "反馈已创建" : "反馈意见" }}
</span>
<img class="header-icon" src="https://oss.nianxx.cn/mp/static/version_101/home/feedback.png" />
<img class="w-[98px] h-[48px]" src="https://oss.nianxx.cn/mp/static/version_101/home/feedback.png" />
</div>
<div v-if="!isCallSuccess" class=" p-[12px]">
@@ -19,7 +19,7 @@
v-model="contactText" />
</div>
<div class="btn rounded-[5px]0 text-white bg-button flex items-center justify-center" @click="handleCall">
<div class="h-[44px] rounded-[5px] text-white bg-button flex items-center justify-center" @click="handleCall">
立即提交
</div>
</div>
@@ -34,7 +34,7 @@
</div>
<div class="footer-help flex items-center pl-12 mb-[12px]">
<img class="help-icon mr-[4px]" src="./images/icon_volume.png" />
<img class="w-[16px] h-[16px] mr-[4px]" src="./images/icon_volume.png" />
<span class="text-[12px] font-medium color-FA7319">
{{ appName }}收到您的意见将第一时间为您处理!
</span>
@@ -107,7 +107,3 @@ onMounted(() => {
});
});
</script>
<style scoped lang="scss">
@import "./styles/index.scss";
</style>

View File

@@ -1,17 +0,0 @@
.order-header {
height: 48px;
}
.header-icon {
width: 98px;
height: 48px;
}
.help-icon {
width: 16px;
height: 16px;
}
.btn {
height: 44px;
}

View File

@@ -14,7 +14,7 @@
<uni-icons fontFamily="znicons" size="20" color="#333">
{{ iconsMap["zn-refund"] }}
</uni-icons>
<span class="text-[14px] font-600 text-[#171717] ml-8">
<span class="text-[14px] font-600 text-[#171717] ml-[8px]">
{{ refundTitle }}
</span>
</div>

View File

@@ -10,7 +10,7 @@
<img class="w-full" :src="surveyData.bannerUrl" mode="widthFix" />
<div class="h-44 m-[12px] rounded-[5px]0 bg-button text-white flex items-center justify-center"
<div class="h-44 m-[12px] rounded-[5px] bg-button text-white flex items-center justify-center"
@click="handleCall">
前往填写
</div>

View File

@@ -11,11 +11,11 @@
<img v-if="coverImage" class="w-full block" :src="coverImage" mode="aspectFill" />
<div class="pt-16 px-12 pb-24 ">
<div class="text-[#171717] text-[16px] font-weight-600">{{ detailTitle }}</div>
<div class="text-[#171717] text-[16px] font-semibold">{{ detailTitle }}</div>
<div v-if="publishTime" class="notice-time-tag flex flex-row items-center mt-[16px]">
<uni-icons type="clock" size="18" color="#5A6780" />
<span class="text-[#171717] text-[12px] font-weight-600 ml-8">发布时间{{ publishTime }}</span>
<span class="text-[#171717] text-[12px] font-semibold ml-[8px]">发布时间{{ publishTime }}</span>
</div>
<div class="mt-[16px] mx-12 bg-gray w-full height-1"></div>

View File

@@ -1,5 +1,5 @@
<template>
<div class="visual-badge flex items-center justify-center rounded-[5px]0 font-size-10 font-800 whitespace-nowrap"
<div class="visual-badge flex items-center justify-center rounded-[5px] font-size-10 font-800 whitespace-nowrap"
:class="toneClass">
<slot>{{ label }}</slot>
</div>

View File

@@ -6,7 +6,7 @@
申请退款
</button>
<button :class="[
'right border-none rounded-[10px] flex flex-1 items-center justify-center text-[14px] font-medium bg-[#f0f8f3]0',
'right border-none rounded-[10px] flex flex-1 items-center justify-center text-[14px] font-medium bg-[#f0f8f3]',
{
'text-[#ff3d60]': statusCode === '0',
'text-white': ['1', '2', '3', '4', '5', '6'].includes(statusCode),

View File

@@ -22,7 +22,7 @@
</div>
<div class="flex items-center px-14 py-8 rounded-[8px]"
:class="[item.packageStatus === 0 ? 'bg-[#f0f8f3]0' : 'bg-gray']" @click="handleShowQrcode(item, index)">
:class="[item.packageStatus === 0 ? 'bg-[#f0f8f3]' : 'bg-gray']" @click="handleShowQrcode(item, index)">
<span v-if="item.packageStatus === 0" class="text-[14px] text-white">出示凭证</span>
<span v-else class="text-[14px] span-color-300">已核销</span>
</div>

View File

@@ -16,7 +16,7 @@
</div>
<!-- 几晚 -->
<span class="nights bg-E5E8EE text-[11px] font-medium text-ink-600 rounded-[5px]0 ml-8 mr-[8px]">
<span class="nights bg-E5E8EE text-[11px] font-medium text-ink-600 rounded-[5px] ml-[8px] mr-[8px]">
{{ selectedDate.totalDays }}
</span>