feat: 小程序连接服务器IP + 同步未提交开发
- miniprogram/config.js: BASE_URL 指向 http://192.227.237.8:3001 - 动作标题中文化(nameZh),搜索匹配 name/nameZh/nameEn - 新增计划/收藏/我的 等页面与组件 - 后端 Docker 化(Dockerfile/.dockerignore)与翻译脚本 - .gitignore 补充 .DS_Store
This commit is contained in:
@@ -10,20 +10,51 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
padding: 0 28rpx;
|
||||
padding: 0 24rpx;
|
||||
}
|
||||
|
||||
/* 返回键:整块左侧区域可点,热区远大于图标本身 */
|
||||
.navbar__back {
|
||||
font-size: 56rpx;
|
||||
color: var(--gold);
|
||||
line-height: 1;
|
||||
width: 60rpx;
|
||||
position: relative;
|
||||
width: 72rpx;
|
||||
height: 88rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
margin-left: -10rpx; /* 让箭头更贴近系统返回键位置 */
|
||||
z-index: 2;
|
||||
}
|
||||
/* 扩展可点热区,提升命中率(左右留白也算可点) */
|
||||
.navbar__back::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: -24rpx;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
.navbar__back--hover { opacity: 0.5; }
|
||||
|
||||
/* 用 CSS 绘制清晰、较粗的左箭头,避免依赖字体渲染 ‹ 字符 */
|
||||
.navbar__arrow {
|
||||
width: 20rpx;
|
||||
height: 20rpx;
|
||||
border-left: 5rpx solid var(--gold);
|
||||
border-bottom: 5rpx solid var(--gold);
|
||||
transform: rotate(45deg);
|
||||
margin-left: 14rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.navbar__title {
|
||||
position: absolute;
|
||||
left: 0; right: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
font-size: 34rpx;
|
||||
font-weight: 700;
|
||||
letter-spacing: 2rpx;
|
||||
color: var(--text);
|
||||
z-index: 1;
|
||||
pointer-events: none; /* 不拦截返回键的点击 */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user