diff --git a/pages_tool/member/index.vue b/pages_tool/member/index.vue index 5c3c5f7..f5e276c 100644 --- a/pages_tool/member/index.vue +++ b/pages_tool/member/index.vue @@ -19,6 +19,15 @@ + + + 📇 + 我的名片夹 + › + + {{ $lang('privacyPolicy') }} @@ -230,4 +239,33 @@ export default { background-color:var(--main-color); color: #fff; } + +/* 我的名片夹固定入口(P1) */ +.card-wallet-entry { + display: flex; + align-items: center; + width: 80%; + margin: 40rpx auto 0; + padding: 24rpx 30rpx; + background-color: #fff; + border-radius: 16rpx; + box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.04); + + .entry-icon { + font-size: 32rpx; + margin-right: 16rpx; + } + + .entry-title { + flex: 1; + font-size: 28rpx; + color: #333; + font-weight: 500; + } + + .entry-arrow { + color: #ccc; + font-size: 36rpx; + } +} \ No newline at end of file diff --git a/tests/card-platform.test.js b/tests/card-platform.test.js index 25fbf60..97f92ea 100644 --- a/tests/card-platform.test.js +++ b/tests/card-platform.test.js @@ -315,8 +315,8 @@ test('端到端: 三端分享面板按钮矩阵(静态推导)', () => { // ============================================================ test('选择链接: PAGE_KEY_MAP 含 card 两个页面常量', () => { const utilSrc = fs.readFileSync(path.resolve(__dirname, '../common/js/util.js'), 'utf8'); - const m = utilSrc.match(/PAGE_CARD_LIST:/s*'([^']+)'/); - const m2 = utilSrc.match(/PAGE_CARD_LEADS:/s*'([^']+)'/); + const m = utilSrc.match(/PAGE_CARD_LIST:\s*'([^']+)'/); + const m2 = utilSrc.match(/PAGE_CARD_LEADS:\s*'([^']+)'/); assert.ok(m, 'PAGE_KEY_MAP 应有 PAGE_CARD_LIST'); assert.ok(m2, 'PAGE_KEY_MAP 应有 PAGE_CARD_LEADS'); assert.equal(m[1], '/pages_tool/card/list');