feat(aigc): add user agreement page and update consent dialog

Add new AIGC user agreement page with scrollable markdown rendering, loading and retry states.
Register the new route in pages.json.
Restructure AigcConsentDialog's content into styled sections, and update its rule click handler to navigate directly to the new agreement page.
This commit is contained in:
duanshuwen
2026-07-23 20:45:30 +08:00
parent 021d1fc77d
commit d71bda5e0b
5 changed files with 223 additions and 81 deletions

View File

@@ -158,56 +158,62 @@
{
"root": "pages-aigc",
"pages": [
{
"path": "home/home",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "useTemplate/useTemplate",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "progress/progress",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "detail/detail",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "sharedWork/sharedWork",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "recharge/recharge",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pointsDetails/pointsDetails",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "record/record",
"style": {
"navigationStyle": "custom"
}
}
]
}
{
"path": "home/home",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "agreement/agreement",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "useTemplate/useTemplate",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "progress/progress",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "detail/detail",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "sharedWork/sharedWork",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "recharge/recharge",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pointsDetails/pointsDetails",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "record/record",
"style": {
"navigationStyle": "custom"
}
}
]
}
],
"globalStyle": {
"navigationBarTextstyle": "black",