Commit Graph

349 Commits

Author SHA1 Message Date
duanshuwen
f534a2ea89 refactor(styles): replace custom scroll classes with overflow utils
Remove the deprecated scroll.scss stylesheet and its import from the main SCSS index file. Replace all usages of the custom .scroll-y and .scroll-x classes across Vue templates with the corresponding overflow utility classes. Fix a malformed scroll-view tag in the goods album page template.
2026-07-25 10:21:28 +08:00
duanshuwen
06119f00db refactor: replace legacy height utility classes with inline pixel units
Remove the unused height.scss partial and its import from the main SCSS entry file. Update all component templates to use explicit h-[numberpx] classes instead of the legacy h-* height utilities, eliminating the separate dependency file.
2026-07-25 10:18:12 +08:00
duanshuwen
15560574e0 refactor: replace legacy flex utility classes and remove flex.scss
Replace all instances of prefixed flex utility classes (like flex-items-center, flex-justify-between, flex-full, flex-shrink-0) with their standard un-prefixed counterparts (items-center, justify-between, flex-1, shrink-0) across the codebase. Remove the deprecated src/static/scss/flex.scss partial file as it is no longer needed after these updates.
2026-07-25 10:03:01 +08:00
duanshuwen
1df4b328dd style: fix invalid color refs and standardize hex
Fix invalid SCSS variable syntax in the NoticeMessage component by replacing invalid $text-[#xxx] references with direct hex codes. Replace SCSS color variable usages with hardcoded hex values across multiple UI components. Standardize hex color values to lowercase in the global SCSS file, and fix the trailing newline in src/uni.scss.
2026-07-24 22:37:33 +08:00
duanshuwen
4af4255610 refactor: migrate to tailwind arbitrary width classes
remove the unused src/static/scss/width.scss file and its import from index.scss, replace all existing custom width utility class usages with the equivalent Tailwind arbitrary width syntax
2026-07-24 22:28:16 +08:00
duanshuwen
3d41691b65 refactor(scss, vue): remove unused min-height and min-width utility classes
remove the unused min-height.scss and min-width.scss source files
delete their @import statements from src/static/scss/index.scss
strip the min-width-0 and min-height-0 class attributes from the relevant Vue components
2026-07-24 22:21:14 +08:00
duanshuwen
2b12398f2a refactor: replace custom ellipsis classes with native utilities
delete unused ellipsis.scss partial and its import, update all components to use truncate and line-clamp-2 utilities
2026-07-24 22:19:35 +08:00
duanshuwen
157b4f7e22 refactor: remove font-size utility file and replace with inline text classes
Delete the src/static/scss/font-size.scss utility file, and replace all legacy `font-size-*` class usages across the codebase with inline `text-[numberpx]` styling to consolidate font size definitions and remove redundant utility code.
2026-07-24 22:10:16 +08:00
duanshuwen
872a3fac18 refactor: remove custom font-weight scss and update class usages
Delete the standalone font-weight.scss utility file, remove its import from the main scss index, and update all existing references to the custom font-{weight} classes to use either built-in semantic font utilities or inline functional font weight classes matching the project's utility-first styling pattern.
2026-07-24 22:05:42 +08:00
duanshuwen
c125154a75 refactor: remove margin utils, use inline pixel spacing
Delete the src/static/scss/margin.scss utility file, update all component templates to replace pre-defined margin classes with inline arbitrary pixel values (e.g. mb-[4px] instead of mb-4), and clean up long template lines for better readability.
2026-07-24 22:02:09 +08:00
duanshuwen
0883d2b9c9 refactor: replace rounded utility classes and clean up unused scss files
Removed unused text-align.scss, position.scss, and rounded.scss utility files along with their imports from scss/index.scss. Updated all existing uses of the rounded-* utility classes in vue components to use inline border-radius syntax like rounded-[10px] instead.
2026-07-24 21:46:42 +08:00
duanshuwen
5f06d8ef11 refactor: migrate legacy color classes to inline tailwind text utilities
Replace all usages of legacy `.color-*` and `.text-color-*` SCSS utility classes with inline Tailwind `text-[#hexcode]` arbitrary value classes. Remove the deprecated `src/static/scss/colors.scss` file, and fix minor formatting/indentation issues across multiple component files.
2026-07-24 21:38:17 +08:00
duanshuwen
01fdf80a72 refactor: replace custom line-height classes with tailwind leading utils
Remove the deprecated src/static/scss/line-height.scss custom utility file, and update all component template instances of line-height-* classes to use the equivalent tailwind leading-[xxpx] utilities. This standardizes line height styling across the codebase by using native tailwind classes instead of custom SCSS helpers.
2026-07-24 17:00:35 +08:00
duanshuwen
39b91a8d05 refactor: remove gap.scss and inline gap classes
delete the standalone gap.scss utility file, remove its import from src/static/scss/index.scss, and update all component templates to replace predefined gap-* classes with inline gap-[px] notation
2026-07-24 16:54:46 +08:00
duanshuwen
e174e3b726 style: remove redundant box-border utility classes
Remove the unnecessary box-border CSS class from component template class lists across the codebase, cleaning up styling without altering any component functionality.
2026-07-24 16:50:53 +08:00
duanshuwen
cb7054cd90 refactor: replace border-box with box-border and clean up unused scss
Remove the unused box-sizing.scss stylesheet and its import from the main SCSS index file.
Update all Vue component template class references from the custom border-box class to the
native box-border utility class to eliminate redundant custom CSS and align with the project's
utility class conventions.
2026-07-24 16:48:07 +08:00
duanshuwen
79b101978a style: replace legacy padding classes with inline pixel values
Remove the unused padding.scss stylesheet and its import from the main SCSS entrypoint. Update all legacy padding utility class names across every Vue component to use inline pixel-based utility classes (such as replacing `pl-12` with `pl-[12px]`). Also clean up extraneous whitespace and line breaks in component templates for improved readability.
2026-07-24 16:36:44 +08:00
duanshuwen
e57617d2c6 refactor: replace theme color utility classes with direct hex values
remove unused theme color background utility classes from background.scss,
swap all instances of bg-theme-color-50 and bg-theme-color-500 with their
corresponding hex values across vue components, and update bg-liner gradient
to use direct hex colors instead of theme variables
2026-07-24 16:03:00 +08:00
duanshuwen
aa0203819c refactor: convert legacy color classes to tailwind syntax
Replace all custom `bg-*` utility classes across Vue components with Tailwind's arbitrary hex color notation (e.g. `bg-[#f7f7f7]`). Remove redundant hardcoded background color definitions from src/static/scss/background.scss, clean up template formatting, and update gradient button styles to use direct hex values.
2026-07-24 15:56:35 +08:00
duanshuwen
d3d15b1a19 chore: remove unused SCSS and fix component styles
- remove unused z-index and word-break SCSS utility files and their imports from src/static/scss/index.scss
- standardize padding unit notation to [px] format in ChatQuickAccess component
- reformat long class attributes and clean up whitespace in GeneratorPhotoComponent
- fix trailing whitespace and formatting for the navigateTo call in GeneratorPhotoComponent
2026-07-24 15:36:06 +08:00
duanshuwen
4a30777ee0 chore: clean up unused legacy components and assets
remove deprecated unused component implementations, their image assets, prompt, README, demo and style sheet files
update AGENTS.md to remove references to the removed components and refine the project's style guidance
2026-07-24 15:28:10 +08:00
9506a9034a feat: 去掉探索服务 2026-07-17 21:24:14 +08:00
ccc927b89f Merge branch 'aigc' of https://git.nianxx.cn/zoujing/YGChatCS into home3.0 2026-07-16 22:14:28 +08:00
e75c83e592 feat: 添加呼叫热线 2026-07-16 22:14:10 +08:00
duanshuwen
52b6722842 feat(aigc): add video save support and improve consent flow
- add support for saving both image and video AIGC generation results
- refactor ResultActions component to accept mediaType prop and use dynamic save button text
- remove AIGC consent dialog from ChatQuickAccess and implement it on AIGC home page
- add WeChat mini-program privacy authorization check before saving media
- create reusable AigcConsentDialog component with proper styling
2026-07-16 21:49:00 +08:00
cd61685b0b feat: 商品详情的展示问题处理 2026-07-15 17:14:34 +08:00
duanshuwen
c7785e55d7 feat(aigc): add standalone AIGC task progress page
- Add dedicated progress page for viewing AIGC generation task status
- Extract reusable GeneratingProgressPanel component
- Update task record cards to link to progress page for pending tasks
- Rework useTemplate flow to redirect to progress page post task creation
- Remove unused inline generating code and styles from useTemplate
- Adjust quick access menu item order
2026-07-15 11:24:28 +08:00
2e56e20f06 feat: 消息轮播上下滚动 2026-07-14 11:28:57 +08:00
71e0d0003e feat; 先屏蔽三个组件 2026-07-14 11:18:40 +08:00
284becd6a8 feat: 调整了组件的样式 2026-07-14 11:15:49 +08:00
515e02f3af feat: 首页交互的 2026-07-14 10:09:26 +08:00
b3a15eee9b feat: 卡片数据调整对应 2026-07-14 09:17:49 +08:00
68ffab28bd feat: 头部调高4px 2026-07-14 09:17:18 +08:00
0b25023f60 feat:去掉快捷提问 旅行记录改为我的订单 2026-07-10 11:20:15 +08:00
duanshuwen
a44f0ee052 style: adjust ai tab switch gap and clean up code
- reduce gap in AiTabSwitch styles from 40px to 20px
- format component tags in Discovery page for better readability
- update tab label check in isPanoramaGuideTab from "全景攻略" to "测试-2.0"
2026-07-07 11:23:30 +08:00
duanshuwen
409559e885 feat(aigc): add animated progress and completion redirect
enhance GeneratingProgressPanel with smooth width transition and animated progress increments
add active/complete step styling for progress panel items
emit complete event when generation finishes, add navigation to AIGC detail page on completion
clean up MineSetting component: format menu-item v-for and comment out unused phone row
2026-07-07 11:06:34 +08:00
duanshuwen
4fb43876f5 feat(discovery): switch card component based on active tab
add computed property to check panorama guide tab, import required dependencies and CardSwiper component, update template conditional rendering
2026-07-07 09:36:31 +08:00
duanshuwen
191ba48b9d feat(aigc): implement travel AIGC feature and clean up legacy assets
- Replace all local static AIGC assets with OSS hosted URLs to reduce bundle size
- Add travelAIGC command to ChatModel and update quick access menu to link to AIGC home
- Implement AIGC user consent flow with local storage persistence for compliance
- Refactor Discovery page layout, remove unused HeritageDiscoverySection component
- Update ChatTopNavBar to support dynamic navigation bar height based on system info
- Restructure ChatMainList layout for better discovery panel interaction
- Remove deprecated local asset files and clean up unused imports across codebase
2026-07-06 22:40:36 +08:00
duanshuwen
bfda50e14a feat: add collapsible welcome and sticky tabs
Wrap the home welcome component in a collapsible container with smooth transitions. Implement scroll-based collapse and expand logic for the banner in the chat main list. Add sticky tab header styling and updated page layout for the discovery page.
2026-07-06 20:57:10 +08:00
duanshuwen
aa07286010 feat: add discovery tool cards, refactor AiTabSwitch and update client configs
- Update xiaoqi client configuration: adjust clientId, sync appid across config files and switch to production build by setting developVersion to false
- Refactor AiTabSwitch component to use background images instead of inline image tags, clean up redundant SCSS styles and replace tab icon assets
- Add three new Discovery page tool components: audio guide, map guide and photo generator cards
- Clean up unused code in Discovery page and ChatMainList component, remove unused scroll view and computed property
- Fix regex pattern and formatting issues in update-appid.js script
- Comment out unused SpriteAnimator component in ChatMainList
2026-07-06 20:51:45 +08:00
duanshuwen
ca680ab41b feat: add heritage discovery tab and AIGC consent dialog
- Add new HeritageDiscoverySection and HeritageQuickPrompts components for dedicated heritage discovery view
- Implement reusable AigcConsentDialog component for AI service user agreement prompts
- Update Discovery page to toggle between explore and heritage tab layouts
- Refactor legacy CardSwiper component into generic ExploreCards
- Adjust ChatMainList layout to include home hero sprite animation and restructure welcome section
- Refine NoticeMessage component styling and layout for better consistency
- Add build best practices guidance to AGENTS.md documentation
- Clean up minor config whitespace and formatting issues across files
2026-07-05 14:56:55 +08:00
bae06f876e feat: aigc 点击事件 2026-06-14 16:41:05 +08:00
771bc6391c feat: aigc组件的数据结构调整 2026-06-13 13:15:58 +08:00
74cdf80b76 feat: ip 位置调整 2026-06-12 16:01:47 +08:00
395ed154b2 feat: 增加对比组件 2026-06-12 15:35:02 +08:00
4b4554e901 feat: 调整了一下组件的顺序 2026-06-12 14:47:57 +08:00
e87865ae09 feat: 完整路线和设备设施组件 2026-06-12 14:34:20 +08:00
333d3b5dbc feat: 预览组件 2026-06-09 11:18:02 +08:00
defab85b9c Merge branch 'home3.0' of https://git.nianxx.cn/zoujing/YGChatCS into home3.0 2026-06-08 17:45:25 +08:00
b4871d9cff feat: 增加区分预览版的模块 2026-06-08 17:45:20 +08:00