实测发现的真正问题:uni-image 内部填充元素缺宽高100%,高度塌成0,导致列表图片不显示或溢出卡片,这才是"图片没适配"的根因,补全局样式修复;本HBuilderX版本把rpx编译成按加载视口生成的固定px,大于768px时框架已自带把基准锁在375的响应式机制,之前误用zoom反而二次缩小,已移除;宽屏居中改用 uni-page-body 宽750rpx加important与margin auto,覆盖框架默认宽100%,两侧露出底色;跨768阈值缩放窗口时重载一次,让px基准与视口一致;悬浮球宽屏阈值同步改为769;删除index.html里vite残留的module script(控制台报错)。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
75 lines
1.3 KiB
JSON
75 lines
1.3 KiB
JSON
{
|
|
"easycom": {
|
|
|
|
"^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
|
|
|
|
},
|
|
"pages": [
|
|
// xuchao: 启动页为门票列表页(公众号菜单直链入口,进页需登录)
|
|
{
|
|
"path": "pages/ticket/scenic",
|
|
"style": {
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/ticket/scenicdetail",
|
|
"style": {
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/ticket/ordersure",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"app-plus": {
|
|
"softinputMode": "adjustResize"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/ticket/person",
|
|
"style": {
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/ticket/select",
|
|
"style": {
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/ticket/orderdetail",
|
|
"style": {
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/ticket/orderlist",
|
|
"style": {
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/ticket/paysuccess",
|
|
"style": {
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/index/authorization",
|
|
"style": {
|
|
"navigationBarTitleText": "质惠游",
|
|
"navigationBarBackgroundColor": "#ffffff"
|
|
}
|
|
}
|
|
],
|
|
"globalStyle": {
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarTitleText": "质惠游",
|
|
"navigationBarBackgroundColor": "#ffffff",
|
|
"backgroundColor": "#ffffff"
|
|
}
|
|
}
|