chore:名片样式新增
This commit is contained in:
12
pages.json
12
pages.json
@@ -1482,6 +1482,18 @@
|
||||
"navigationBarTextStyle": "white"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "card/exchange",
|
||||
"style": {
|
||||
"navigationBarTitleText": "名片交换请求"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "card/style",
|
||||
"style": {
|
||||
"navigationBarTitleText": "名片样式"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "card/edit",
|
||||
"style": {
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
<!-- #endif -->
|
||||
</view>
|
||||
|
||||
<!-- 功能入口宫格(参考图: 发名片下方五等分图标入口) -->
|
||||
<!-- 功能入口宫格(参考图: 发名片下方四等分图标入口) -->
|
||||
<view class="entry-grid" v-if="relation">
|
||||
<view class="eg-item" @tap="goList">
|
||||
<text class="eg-icon iconfont icon-list"></text>
|
||||
@@ -74,10 +74,6 @@
|
||||
<text class="eg-icon iconfont icon-erweima"></text>
|
||||
<text class="eg-text">名片二维码</text>
|
||||
</view>
|
||||
<view class="eg-item" @tap="goEdit">
|
||||
<text class="eg-icon iconfont icon-bianji"></text>
|
||||
<text class="eg-text">编辑名片</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 交换名片请求提醒条(参考图: 宫格下方出现对方要交换的名片) -->
|
||||
@@ -358,14 +354,16 @@ export default {
|
||||
this.buildShareInfo();
|
||||
this.showShare = true;
|
||||
},
|
||||
// 「名片样式」: 与分享二维码无关, 不再打开分享抽屉。
|
||||
// 样式选择页尚未开发, 先给占位提示; 后续实现后把这里换成跳转/弹层即可。
|
||||
// 「名片样式」: 进入样式选择页(名片模板 / 分享封面)
|
||||
onStyleTap() {
|
||||
uni.showToast({ title: '名片样式功能开发中', icon: 'none' });
|
||||
const url = this.cardId
|
||||
? '/pages_tool/card/style?card_id=' + encodeURIComponent(this.cardId)
|
||||
: '/pages_tool/card/style';
|
||||
uni.navigateTo({ url: url });
|
||||
},
|
||||
// 「交换名片」提醒条: 静态占位, 接口就绪后替换数据源并接真实请求
|
||||
// 「交换名片」提醒条: 点右侧箭头/整条 → 进入交换请求列表页
|
||||
goExchangeReq() {
|
||||
uni.showToast({ title: '交换名片功能开发中', icon: 'none' });
|
||||
uni.navigateTo({ url: '/pages_tool/card/exchange' });
|
||||
},
|
||||
viewExchangeCard() {
|
||||
uni.showToast({ title: '查看对方名片(接口待接入)', icon: 'none' });
|
||||
|
||||
Reference in New Issue
Block a user