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,40 @@
<template>
<div class="aigc-photo-card relative rounded-24 overflow-hidden w-full" :class="{ 'is-disabled': disabled }"
@click="handleAction">
<img class="aigc-photo-card__image block w-full" :src="data.cover" />
<div class="aigc-photo-card__shade"></div>
<div class="aigc-photo-card__play flex flex-items-center flex-justify-center rounded-full">
<div class="aigc-photo-card__triangle"></div>
</div>
<div class="aigc-photo-card__title color-white font-size-16 font-900">
{{ data.title }}
</div>
</div>
</template>
<script setup>
const props = defineProps({
data: {
type: Object,
default: () => ({}),
},
disabled: {
type: Boolean,
default: false,
},
});
const emit = defineEmits(["select", "action"]);
const handleAction = () => {
if (props.disabled) return;
emit("select", props.data);
emit("action", props.data);
};
</script>
<style scoped lang="scss">
@import "./styles/index.scss";
</style>

View File

@@ -0,0 +1,8 @@
export default {
id: "xiaoqikong-flying",
title: "沉浸式飞越 · 小七孔",
cover: "https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1000&q=80",
action: {
type: "play",
},
};

View File

@@ -0,0 +1,54 @@
.aigc-photo-card {
height: 272px;
background: #0f172a;
}
.aigc-photo-card:active {
opacity: 0.86;
}
.aigc-photo-card.is-disabled {
opacity: 0.55;
}
.aigc-photo-card__image {
height: 100%;
}
.aigc-photo-card__shade {
position: absolute;
inset: 0;
background: rgba(15, 23, 42, 0.38);
}
.aigc-photo-card__play {
position: absolute;
left: 50%;
top: 50%;
width: 76px;
height: 76px;
border: 1px solid rgba(255, 255, 255, 0.48);
background: rgba(255, 255, 255, 0.28);
transform: translate(-50%, -50%);
box-sizing: border-box;
}
.aigc-photo-card__triangle {
width: 0;
height: 0;
margin-left: 6px;
border-top: 17px solid transparent;
border-bottom: 17px solid transparent;
border-left: 23px solid #fff;
}
.aigc-photo-card__title {
position: absolute;
left: 0;
right: 0;
bottom: 72px;
text-align: center;
line-height: 22px;
letter-spacing: 0;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
}