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:
39
src/pages/home/components/SharedVisual/DetailShell.vue
Normal file
39
src/pages/home/components/SharedVisual/DetailShell.vue
Normal file
@@ -0,0 +1,39 @@
|
||||
<template>
|
||||
<CardShell variant="detail">
|
||||
<div class="visual-detail__header flex flex-items-center px-16 border-box border-bottom-F1F5F9">
|
||||
<div class="visual-detail__back mr-8 rounded-full bg-F8FAFC color-334155 font-900 text-center"
|
||||
@click="$emit('back')">
|
||||
<uni-icons type="left" size="16" color="#CBD5E1"></uni-icons>
|
||||
</div>
|
||||
<div class="visual-detail__title flex-full color-1E293B font-size-14 font-900 ellipsis-1">{{ title }}</div>
|
||||
<BadgePill v-if="tag" :label="tag" :tone="tone" />
|
||||
</div>
|
||||
<slot />
|
||||
</CardShell>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import CardShell from "./CardShell.vue";
|
||||
import BadgePill from "./BadgePill.vue";
|
||||
|
||||
defineProps({
|
||||
title: {
|
||||
type: String,
|
||||
default: "",
|
||||
},
|
||||
tag: {
|
||||
type: String,
|
||||
default: "",
|
||||
},
|
||||
tone: {
|
||||
type: String,
|
||||
default: "green",
|
||||
},
|
||||
});
|
||||
|
||||
defineEmits(["back"]);
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
@import "./styles/index.scss";
|
||||
</style>
|
||||
Reference in New Issue
Block a user