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:
115
src/pages/home/components/PoiCompareCard/mocks.js
Normal file
115
src/pages/home/components/PoiCompareCard/mocks.js
Normal file
@@ -0,0 +1,115 @@
|
||||
export default {
|
||||
icon: "✧",
|
||||
title: "小七对比:卧龙潭 vs 鸳鸯湖",
|
||||
detailButtonText: "查看详细对比",
|
||||
items: [
|
||||
{
|
||||
id: "wolongtan",
|
||||
name: "卧龙潭",
|
||||
image: "https://images.unsplash.com/photo-1559734840-f9509ee5677f?auto=format&fit=crop&w=700&q=80",
|
||||
fields: [
|
||||
{
|
||||
label: "景观类型",
|
||||
value: "深潭观景",
|
||||
},
|
||||
{
|
||||
label: "额外付费",
|
||||
value: "免费",
|
||||
tone: "green",
|
||||
},
|
||||
{
|
||||
label: "开放时间",
|
||||
value: "08:00–18:00",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "yuanyanghu",
|
||||
name: "鸳鸯湖",
|
||||
image: "https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=700&q=80",
|
||||
fields: [
|
||||
{
|
||||
label: "景观类型",
|
||||
value: "湖泊划船",
|
||||
},
|
||||
{
|
||||
label: "额外付费",
|
||||
value: "需付费",
|
||||
tone: "amber",
|
||||
},
|
||||
{
|
||||
label: "开放时间",
|
||||
value: "08:00–17:30",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
detail: {
|
||||
title: "详细对比",
|
||||
compareLabel: "卧龙潭 vs 鸳鸯湖",
|
||||
rows: [
|
||||
{
|
||||
label: "景观类型",
|
||||
values: [
|
||||
{
|
||||
text: "深潭观景",
|
||||
},
|
||||
{
|
||||
text: "湖泊划船",
|
||||
tone: "green",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "额外付费",
|
||||
values: [
|
||||
{
|
||||
text: "免费",
|
||||
},
|
||||
{
|
||||
text: "需付费",
|
||||
tone: "green",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "开放时间",
|
||||
values: [
|
||||
{
|
||||
text: "08:00–18:00",
|
||||
},
|
||||
{
|
||||
text: "08:00–17:30",
|
||||
tone: "green",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
recommendTitle: "小七推荐",
|
||||
tips: [
|
||||
{
|
||||
tone: "green",
|
||||
text: "拍照 / 打卡 → 选卧龙潭,碧绿深潭配青山,随手出片。",
|
||||
},
|
||||
{
|
||||
tone: "blue",
|
||||
text: "带小孩 / 慢玩 → 选鸳鸯湖,划船探险,时间充裕不赶路。",
|
||||
},
|
||||
],
|
||||
actions: [
|
||||
{
|
||||
id: "go-wolongtan",
|
||||
text: "去卧龙潭",
|
||||
icon: "↗",
|
||||
targetId: "wolongtan",
|
||||
primary: true,
|
||||
},
|
||||
{
|
||||
id: "go-yuanyanghu",
|
||||
text: "去鸳鸯湖",
|
||||
icon: "↗",
|
||||
targetId: "yuanyanghu",
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user