|
|
0b8ea2cdf0
|
fix: 工作台-消息中心跳转
|
2026-06-09 23:57:45 +08:00 |
|
liulong
|
a37b2b0eba
|
feat(hyzt): 外部链接直接 window.open 打开
goToHref 收到 http(s) 链接时直接新窗口打开,不再走"敬请期待"。
href 兜底判空,避免 undefined 抛 TypeError。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-09 23:09:19 +08:00 |
|
liulong
|
6ae90999e6
|
fix(xqsc): 移除调试 console.log & 补全 return 分号
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-09 23:08:05 +08:00 |
|
liulong
|
9b38e6c8b6
|
fix(nav): 工作台跳转去重 & footer 间距微调 & 收录数据修复脚本
- nav/index2: goyhzx 在当前已为 /yhzx/gzt 时直接 return,避免重复 push
- footer: 联系列 / 友情链接列 row-gap 10→7,底部 padding 40→20
- sql: 新增 fix_gxnl_slxxb_wz_lj_20260609 收录数据修正脚本
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-09 22:02:46 +08:00 |
|
liulong
|
b57a015ae4
|
refactor: 统一调用 showComingSoon & 防止重复触发
- coming-soon-mixin: 全局 \.info 配置 3s 自动关闭、顶部居中
- fwsc/xqsc: 禁用 tab 改走 showComingSoon
- qych: 卡片按钮使用 showComingSoon,外部链接固定 _blank 打开
- hyzt: 进入专题时加 messageShowing 锁,避免连点产生重复 toast
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-09 22:02:13 +08:00 |
|
liulong
|
cbb4096ea4
|
fix(ggwhglHtgl): 移除未注册的 Footer 组件
components 中引用了 Footer 但未 import,运行时报
ReferenceError: Footer is not defined 导致路由加载失败。
Footer 由 main.vue 全局渲染,子页面无需重复注册。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-09 22:01:41 +08:00 |
|
liulong
|
f103fae39b
|
style(xqsc): 碳需求市场样式与碳服务市场保持一致
- 外层接入 portal-figma-scale-viewport/stage 外壳
- script 引入 portalFigmaScaleMixin、comingSoonMixin、scrollPortalContentToTop
- 卡片 class 命名统一为 card-list/service-grid/service-card/card-title-main
- nav-tab 圆角 32px 胶囊改 6px 长方形+圆角
- card-header/card-footer 改为 min-height + height:auto
- card-desc 改为 -webkit-box 三行截断
- card-actions 圆角 4px 改 6px 并补全 inline-flex 排版
- 容器背景 #f5f5f5 改 #F6F7FA + portal-figma-scale-page() mixin
- 移动端响应式与分页样式与 fwsc.vue 完全对齐
- 保留需求市场特有:预算展示、联系客户弹窗、需求类型/服务地区/所属行业筛选项、急用需求标题高亮
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-09 01:33:48 +08:00 |
|
liulong
|
21c894e025
|
fix(gxnlpt): 收录/收藏切换时主滚动容器scrollTop跳变引起抖动
- 新增 _resetScrollToTopForViewSwitch:
在 contentView 切换前瞬时(behavior:'auto')把 .content-wrap 的 scrollTop 复位到 0
- openSubmitView/openFavoritesView 切换 contentView 之前调用
根因:
list 视图主内容区高 ~3000px,submit/favorites 视图高 ~1200px。
用户从 list 视图某个分类(如"碳认证机构")点击收录/收藏时,
当前 scrollTop 通常 ~1500px,切换后 scrollTop 1500 > scrollHeight 1200,
浏览器自动把 scrollTop 钳到 0,造成"页面瞬间跳到顶部"的视觉抖动,
sidebar sticky 周围容器/背景也被一起拉到顶部,共同表现为"侧边栏抖动"。
方案:
contentView 切换前先瞬时复位 scrollTop,让浏览器只看到 1 次 layout,
避免 scrollTop 跳变。瞬时(behavior:'auto')而不是平滑(smooth),
因为平滑动画与 contentView 切换并行会多次回流反而更抖。
配合之前 deactived 钩子修复,本次一并提交。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-09 01:30:59 +08:00 |
|
liulong
|
6b8e38e3d7
|
fix(gxnlpt): 收录/收藏切换时侧边栏sticky元素错位
- initSidebarSticky 移除 contentView !== 'list' 早退条件
sticky 内容(分类+收录/收藏按钮)在 list/submit/favorites 三个视图下完全一致,
移除 portal 与 inline 定位的视图限制,避免切换后 CSS 默认 top:0/left:0 飘到视口左上角
- openSubmitView/openFavoritesView 不再 destroySidebarSticky
改为 $nextTick 调 refreshSidebarStickyGeometry 重新测量并刷新 left/width/top
- 新增 refreshSidebarStickyGeometry
清掉 _lastSticky* 死区缓存,强制 _applySidebarSticky 把新值写到 element.style
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-09 00:27:03 +08:00 |
|
liulong
|
1beb24053f
|
feat(mhzc-footer): 页脚按Figma精确还原 & 邮箱/友链文本去除hover
- 重构首页底部信息块为 Figma 150904:8642 精确对照版
- 邮箱、上海浦江数链数字科技有限公司改为普通文本(不可点击)
- hover 变绿效果仅作用于真实链接 a.footer-text
- main.vue 统一渲染 footer,各页面移除重复 Footer 组件
- home2 缩放容器不再包裹 footer,修复首页页脚宽度与样式问题
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-08 23:28:05 +08:00 |
|
liulong
|
ec74735f94
|
feat: 后端模式开关 & 页脚UI重构 & 登录认证链路改造
【变更概要】
1. 后端模式开关: 新增 backend-mode.js / USE_NEW_BACKEND 控制走老/新后端
2. token 同步链路: 新增 auth-token-store.js, 改造 request.js 拦截器支持 Bearer token
3. auth 重构 API: 新增 auth-refactor.js (独立模块, 不修改老 login.js)
4. user store: Login action 根据 USE_NEW_BACKEND 切换登录接口
5. login 页: 登录后跳转首页, 错误提示优化
6. dev-server proxy: vue.config.js 动态路由, 支持后端模式切换
7. 页脚 UI 重构: 品牌列 + 4 标题列布局, 响应式适配
8. main.vue 弹窗美化, home2 footer 反向缩放, page-layout CSS 变量调整
9. 双开调试配置: .env.development.new
【生产安全注意点 - 请务必确认】
- 生产构建 CI/CD 不得设置 VUE_APP_USE_NEW_BACKEND=true, 否则 Login 将走新后端
(默认未定义 = false, 走老后端 ry-cloud)
- request.js 的 Authorization 头注入仅在 localStorage 有 txw_access_token 时生效,
老用户无此 key, 不会加头, 不影响老后端请求
- 响应拦截器的 token 同步逻辑仅处理含 accessToken 字段的响应体,
老后端不返回该字段, 不会触发
- vue.config.js 仅作用于 dev-server, 生产 Nginx 配置不受影响
|
2026-06-08 18:00:21 +08:00 |
|
liulong
|
d8f7f2f94f
|
fix(gxnlpt): 修复导航栏固定定位异常
根因: _measureStickyGeometry 在任意 scroll 位置测量 sidebarInitialTop,未归一化到 scroll 0,导致 keep-alive 页面返回或点击靠后分类后 sidebarInitialTop 错误,sticky 被钳到视口外消失并产生顶部空白
修复: 在测量 sidebarInitialTop 时加上当前 scrollTop 修正值,确保始终为 scroll 0 时的正确基准位置
同时补全 scheduleScrollUnlock 的 scrollend 兼容性轮询兜底,消除分类高亮在滚动动画中被错误更新的问题
.sidebar 补 min-height 约束防止 portal 后容器高度塌缩导致 sticky 边界计算错误
|
2026-06-08 17:30:07 +08:00 |
|
liulong
|
99d351eb1f
|
feat(gxnlpt): sidebar sticky 重构为 portal + fixed 定位
- sidebar-sticky 元素 portal 到 body,避开 scale-stage transform 上下文
- 改用 top/left/width 而非 transform,sticky 在 fixed 时正确锚定 viewport
- _measureStickyGeometry 重写,sticky 视觉位置独立于滚动
- 组件 destroy 时把 sticky 移回原父节点,避免 DOM 泄漏
- 加 gxnlpt-sidebar-bg 视觉白底铺满
- 重构:_lastStickyOffset 拆为 _lastStickyTop/Left/Width
兼容性:本改动纯前端 DOM 操作,不涉及任何后端 API 调用,
不影响登录态、不改 .env.development、不动 request.js 拦截器,
老后端(ry-cloud 9300)和 txw-cloud(8080)都能跑。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-08 12:09:44 +08:00 |
|
liulong
|
b984406b86
|
fix(dev-server): proxy /sso/did/pub to txw-cloud gateway (BUG-D)
login.vue 的 DID 扫码登录轮询(每 2s 一次)打
GET /sso/did/pub/backresult/login?reqId=xxx 查扫码结果。
老栈 target = https://www.cciw.com.cn (生产),
本地的 reqId 在生产查不到,cookie 里的 admin/admin123 也跟
生产不匹配,结果轮询一直返回"密码错误"。
跟 BUG-C 一样的修法:vue.config.js 新增 '^/sso/did/pub' 代理
(target = http://localhost:8080, pathRewrite: /sso/did/pub -> /auth/did/pub),
把请求改写到新栈 8080 gateway 的 /auth/did/pub/**。nacos 白名单里
这个接口是开放的。
这条规则必须放在 '^/sso' 之前,否则会被广匹配的 '^/sso' 截走,
再次落到生产。
|
2026-06-07 14:59:01 +08:00 |
|
liulong
|
3189873e54
|
fix(dev-server): proxy /auth to txw-cloud gateway
阶段 1 收尾 BUG-C:auth-refactor.js 调 /auth/loginByPassword
(txw-cloud 新栈),vue.config.js 的 devServer.proxy 缺 ^/auth 条目,
dev server 不知把请求转给 8080 gateway,请求落到 SPA fallback
返回 index.html,登录永远走不通。
target 指向 http://localhost:8080(与 .env.development.new
中 VUE_APP_MHZC_PROXY 一致,8080 是新 gateway,auth 9200 /
system 9201 都在它后面)。
不破坏 9002 老栈:^/sso / ^/mhzc / ^/gxzx / ^/yygl 保持原状。
验收:点登录按钮 → localStorage 自动出现 txw_access_token →
/system/user/getInfo 请求头带 Authorization: Bearer ...
|
2026-06-07 13:48:22 +08:00 |
|
|
|
b266f36ce2
|
fix: 验证码多次加载
|
2026-06-05 18:24:08 +08:00 |
|
|
|
d43b4b17e2
|
fix: 首屏视频出现播放按钮
|
2026-06-05 14:34:51 +08:00 |
|
liulong
|
8449757995
|
feat:修复小bug
|
2026-06-05 14:18:08 +08:00 |
|
liulong
|
cd03f0fa3d
|
feat: 样式调整
|
2026-06-05 13:50:47 +08:00 |
|
liulong
|
68bc750604
|
feat:修复部分问题
|
2026-06-05 12:54:11 +08:00 |
|
|
|
e724bc3326
|
fix: 文档无刷新的问题
|
2026-06-05 00:59:09 +08:00 |
|
liulong
|
36843fb304
|
feat:优化部分页面问题
|
2026-06-05 00:19:34 +08:00 |
|
liulong
|
63eebcea09
|
feat:修复部分页面问题,新增共性能力后端接口
|
2026-06-05 00:18:15 +08:00 |
|
|
|
12d76349b6
|
fix: 修复“敬请期待”展示问题
|
2026-06-04 19:30:33 +08:00 |
|
|
|
37f2f4e754
|
fix: 共性能力跳转
|
2026-06-04 14:21:25 +08:00 |
|
liulong
|
ff5bcae58f
|
feat:修复部分问题
|
2026-06-02 23:28:48 +08:00 |
|
liulong
|
60abcddfdf
|
feat(web): call getProfile in auth-guard, handle 401
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-01 21:33:14 +08:00 |
|
liulong
|
65de9c6fce
|
feat(web): add mhzc-user API module
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-01 21:09:49 +08:00 |
|
liulong
|
5e650aef52
|
feat:修复页面自适应问题,添加共性能力后端接口
|
2026-05-29 00:18:14 +08:00 |
|
liulong
|
e40076ff25
|
feat:不同分辨率下的自适应,部分页面改动
|
2026-05-28 17:20:09 +08:00 |
|
liulong
|
cb751a5e7a
|
feat:条形码修正
|
2026-05-28 11:20:47 +08:00 |
|
liulong
|
458614566e
|
Merge branch 'refactor/clear' of https://git.liantu.tech/xiaoyu/txw into refactor/clear
|
2026-05-27 23:02:07 +08:00 |
|
liulong
|
95b9d928db
|
feat:修复部分问题
|
2026-05-27 23:01:59 +08:00 |
|
|
|
6b7c182f61
|
fix: 修复碳证中心滚动条、footer问题
|
2026-05-27 22:56:20 +08:00 |
|
liulong
|
a141806d73
|
feat:修复碳证中心部分问题
|
2026-05-26 22:29:37 +08:00 |
|
liulong
|
692173e654
|
feat:0
|
2026-05-26 21:56:49 +08:00 |
|
liulong
|
5b6600be63
|
feat:修复页脚问题
|
2026-05-26 21:42:20 +08:00 |
|
|
|
c10dc212b0
|
feat: 碳证中心页面调整高度,添加footer
|
2026-05-26 19:42:14 +08:00 |
|
liulong
|
b7af8a9ce7
|
feat:修复移动端适配的部分问题
|
2026-05-26 18:01:25 +08:00 |
|
liulong
|
34c7cc4393
|
feat:新增移动端适配
|
2026-05-26 15:38:01 +08:00 |
|
liulong
|
5147a55915
|
feat:1.标签多余及省略 2.调整政策页面 3.布局优化
|
2026-05-25 21:23:43 +08:00 |
|
liulong
|
1888d64850
|
feat:新增收藏校验逻辑
|
2026-05-25 20:19:55 +08:00 |
|
liulong
|
0ebca75894
|
feat:新增测试环境docker部署
|
2026-05-24 14:16:34 +08:00 |
|
liulong
|
6f174c20e7
|
feat:所有页面重做优化
|
2026-05-24 10:55:36 +08:00 |
|
liulong
|
48f89684ed
|
feat:更新核心驱动页面UI设计
|
2026-05-22 14:49:39 +08:00 |
|
liulong
|
f1f05ca8cb
|
feat:重构优化五个页面前端展示,修复部分问题,修正未登录态下类型错误异常捕获问题,本地改动部分后端配置,前后端联调,经检查不影响其余开发人员
|
2026-05-22 12:34:42 +08:00 |
|
liulong
|
08f66e895b
|
style:修改首页前端样式
|
2026-05-19 11:32:31 +08:00 |
|
liulong
|
5ba99fddc0
|
stytle:优化前端页面,修改了部分样式
|
2026-05-18 19:39:49 +08:00 |
|
|
|
a6a16af889
|
feat: 碳证中心添加单独页面,配置共性能力平台链接、调整文档联系人方式
|
2026-05-12 10:53:36 +08:00 |
|
|
|
02245366b2
|
feat: 上线调整
|
2026-05-12 10:10:21 +08:00 |
|