feat: add new features, update theme and build config

- Add 40+ new UI components including chat modules, discovery cards, photo galleries, FAQ and booking tools
- Standardize brand color across all styles by replacing $theme-color-500 SCSS variables with #0ccd58
- Add sass 1.58.3 dependency and update vite config for modern scss compiler support
- Refactor existing components (AddCarCrad, login page) and remove unused /quick/list router route
- Add utility functions for URL parameter handling
- Add static assets including custom znicons font, component images and icons
- Fix scss syntax issues and deprecation warnings
This commit is contained in:
duanshuwen
2026-05-26 22:49:52 +08:00
parent 548df7020c
commit ac8f5b5f64
159 changed files with 12439 additions and 629 deletions

View File

@@ -0,0 +1,52 @@
<template>
<div class="faq-help-card bg-white rounded-24 w-full">
<div class="faq-help-card__header flex flex-items-center">
<div class="faq-help-card__icon flex flex-items-center flex-justify-center rounded-full font-size-16 font-900">
{{ data.icon }}
</div>
<div class="faq-help-card__title color-1E293B font-size-20 font-900">
{{ data.title }}
</div>
</div>
<div class="faq-help-card__divider"></div>
<div class="faq-help-card__list">
<div v-for="item in questions" :key="item.id || item.text" class="faq-help-card__item flex flex-items-center"
:class="{ 'is-disabled': disabled }" @click="handleSelect(item)">
<div class="faq-help-card__question color-475569 font-size-18 font-900 ellipsis-1 flex-full">
{{ item.text }}
</div>
<uni-icons type="right" size="16" color="#CBD5E1"></uni-icons>
</div>
</div>
</div>
</template>
<script setup>
import { computed } from "vue";
const props = defineProps({
data: {
type: Object,
default: () => ({}),
},
disabled: {
type: Boolean,
default: false,
},
});
const emit = defineEmits(["select"]);
const questions = computed(() => props.data.questions || []);
const handleSelect = (item) => {
if (props.disabled) return;
emit("select", item);
};
</script>
<style scoped lang="scss">
@import "./styles/index.scss";
</style>