diff --git a/pages/index/components/CompanyIntro.vue b/pages/index/components/CompanyIntro.vue index 75deb2c..6abd06f 100644 --- a/pages/index/components/CompanyIntro.vue +++ b/pages/index/components/CompanyIntro.vue @@ -60,18 +60,20 @@ + - 15999928161 - + {{ phone }} + [] } + }, + data() { + return { + phone: '15999928161' + } + }, + methods: { + // 复制电话号码到剪贴板(uni.setClipboardData 全端支持,无需条件编译) + copyPhone() { + uni.setClipboardData({ + data: this.phone, + success: () => { + uni.showToast({ + title: '电话已复制', + icon: 'none', + duration: 1500 + }) + } + }) + } } } diff --git a/pages/index/mock.js b/pages/index/mock.js index ae1d3ae..f632a91 100644 --- a/pages/index/mock.js +++ b/pages/index/mock.js @@ -10,32 +10,31 @@ export const trustStats = [ ] // 4步流程 -// 每一步对应一张预览大图(img 字段,目前暂用同一张占位图,设计师供图后替换即可) -const STEP_IMG = '/static/images/home/image_25_1484_1689.jpg' +// 每一步对应一张预览大图(img 字段):设计师切图已替换,文件见 static/images/home/step_*.jpg export const stepList = [ { step: '01', title: '选择产品', desc: '海量精选产品,满足多元定制需求', - img: STEP_IMG + img: '/static/images/home/step_01_select.jpg' }, { step: '02', title: '上传设计', desc: '可视化编辑器,轻松实现创意落地', - img: STEP_IMG + img: '/static/images/home/step_02_upload.jpg' }, { step: '03', title: '在线销售', desc: '一键开通店铺,多渠道触达目标客群', - img: STEP_IMG + img: '/static/images/home/step_03_sell.jpg' }, { step: '04', title: '生产配送', desc: '智能化柔性生产,快速响应全球配送', - img: STEP_IMG + img: '/static/images/home/step_04_produce.jpg' } ] @@ -76,32 +75,31 @@ export const podProducts = [ ] // 平台功能卡片 -// 每一张卡片对应一张「集成平台」大图(img 字段目前暂用同一张占位图,后端/设计师提供后替换即可) -const FEAT_IMG = '/static/images/home/Rectangle_64_1484_1735.jpg' +// 每一张卡片对应一张「集成平台」大图(img 字段):设计师切图已替换,文件见 static/images/home/feat_*.jpg export const featureList = [ { step: '01', title: '设计工具', desc: '轻松设计,快速定制', - img: FEAT_IMG + img: '/static/images/home/feat_design.jpg' }, { step: '02', title: '自动化履约', desc: '从生产到配送,全程无忧,准时交付', - img: FEAT_IMG + img: '/static/images/home/feat_auto.jpg' }, { step: '03', title: '全球配送', desc: '全球11国自营本土工厂', - img: FEAT_IMG + img: '/static/images/home/feat_global.jpg' }, { step: '04', title: '店铺集成', desc: '与全球主流电商平台无缝对接', - img: FEAT_IMG + img: '/static/images/home/feat_store.jpg' } ] diff --git a/static/images/home/Rectangle_64_1484_1735.jpg b/static/images/home/Rectangle_64_1484_1735.jpg deleted file mode 100644 index c9f6d78..0000000 Binary files a/static/images/home/Rectangle_64_1484_1735.jpg and /dev/null differ diff --git a/static/images/home/feat_auto.jpg b/static/images/home/feat_auto.jpg new file mode 100644 index 0000000..9bb6de6 Binary files /dev/null and b/static/images/home/feat_auto.jpg differ diff --git a/static/images/home/feat_design.jpg b/static/images/home/feat_design.jpg new file mode 100644 index 0000000..133872f Binary files /dev/null and b/static/images/home/feat_design.jpg differ diff --git a/static/images/home/feat_global.jpg b/static/images/home/feat_global.jpg new file mode 100644 index 0000000..7ee7107 Binary files /dev/null and b/static/images/home/feat_global.jpg differ diff --git a/static/images/home/feat_store.jpg b/static/images/home/feat_store.jpg new file mode 100644 index 0000000..2216392 Binary files /dev/null and b/static/images/home/feat_store.jpg differ diff --git a/static/images/home/image_25_1484_1689.jpg b/static/images/home/image_25_1484_1689.jpg deleted file mode 100644 index 5d26d3c..0000000 Binary files a/static/images/home/image_25_1484_1689.jpg and /dev/null differ diff --git a/static/images/home/step_01_select.jpg b/static/images/home/step_01_select.jpg new file mode 100644 index 0000000..9ae0411 Binary files /dev/null and b/static/images/home/step_01_select.jpg differ diff --git a/static/images/home/step_02_upload.jpg b/static/images/home/step_02_upload.jpg new file mode 100644 index 0000000..74da055 Binary files /dev/null and b/static/images/home/step_02_upload.jpg differ diff --git a/static/images/home/step_03_sell.jpg b/static/images/home/step_03_sell.jpg new file mode 100644 index 0000000..1513fae Binary files /dev/null and b/static/images/home/step_03_sell.jpg differ diff --git a/static/images/home/step_04_produce.jpg b/static/images/home/step_04_produce.jpg new file mode 100644 index 0000000..f548abe Binary files /dev/null and b/static/images/home/step_04_produce.jpg differ