hookehuyr

chore: 更新演示和测试文档的URL

将文档预览、收藏夹、首页热门素材和产品详情页中的示例PDF和Word文档URL统一替换为测试文件URL,以便进行功能演示和测试
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
9 <nut-tab-pane title="PDF 预览" pane-key="pdf"> 9 <nut-tab-pane title="PDF 预览" pane-key="pdf">
10 <DocumentPreview 10 <DocumentPreview
11 v-if="activeTab === 'pdf'" 11 v-if="activeTab === 'pdf'"
12 - src="https://cdn.ipadbiz.cn/manulife/document/3de8b292dned48c8d7f7e83e9dcba119.pdf" 12 + src="https://cdn.ipadbiz.cn/manulife/document/test.pdf"
13 fileType="pdf" 13 fileType="pdf"
14 fileName="示例 PDF 文档.pdf" 14 fileName="示例 PDF 文档.pdf"
15 @rendered="handleRendered" 15 @rendered="handleRendered"
......
...@@ -98,7 +98,7 @@ const list = ref([ ...@@ -98,7 +98,7 @@ const list = ref([
98 category: '入职培训', 98 category: '入职培训',
99 date: '2024-01-15', 99 date: '2024-01-15',
100 type: 'onboarding', 100 type: 'onboarding',
101 - downloadUrl: 'https://cdn.ipadbiz.cn/manulife/document/3de8b292dned48c8d7f7e83e9dcba119.pdf' 101 + downloadUrl: 'https://cdn.ipadbiz.cn/manulife/document/test.pdf'
102 }, 102 },
103 { 103 {
104 id: 2, 104 id: 2,
...@@ -106,7 +106,7 @@ const list = ref([ ...@@ -106,7 +106,7 @@ const list = ref([
106 category: '签单相关', 106 category: '签单相关',
107 date: '2024-01-14', 107 date: '2024-01-14',
108 type: 'signing', 108 type: 'signing',
109 - downloadUrl: 'https://cdn.ipadbiz.cn/manulife/document/%E8%80%81%E6%9D%A5%E8%B5%9B%E9%9A%90%E7%A7%81%E6%94%BF%E7%AD%96.docx' 109 + downloadUrl: 'https://cdn.ipadbiz.cn/manulife/document/%E7%94%A8%E6%88%B7%E5%8D%8F%E8%AE%AE%E6%9C%80%E7%BB%88v3.1.docx'
110 }, 110 },
111 { 111 {
112 id: 3, 112 id: 3,
......
...@@ -248,7 +248,7 @@ const hotMaterials = ref([ ...@@ -248,7 +248,7 @@ const hotMaterials = ref([
248 collected: false, 248 collected: false,
249 // PDF 文件 249 // PDF 文件
250 fileName: '2024年保险市场趋势分析报告.pdf', 250 fileName: '2024年保险市场趋势分析报告.pdf',
251 - downloadUrl: 'https://cdn.ipadbiz.cn/manulife/document/3de8b292dned48c8d7f7e83e9dcba119.pdf' 251 + downloadUrl: 'https://cdn.ipadbiz.cn/manulife/document/test.pdf'
252 }, 252 },
253 { 253 {
254 title: '高净值客户产品配置方案模板', 254 title: '高净值客户产品配置方案模板',
...@@ -257,7 +257,7 @@ const hotMaterials = ref([ ...@@ -257,7 +257,7 @@ const hotMaterials = ref([
257 collected: true, 257 collected: true,
258 // Word 文件 258 // Word 文件
259 fileName: '高净值客户产品配置方案模板.docx', 259 fileName: '高净值客户产品配置方案模板.docx',
260 - downloadUrl: 'https://cdn.ipadbiz.cn/manulife/document/3de8b292dned48c8d7f7e83e9dcba119.pdf' 260 + downloadUrl: 'https://cdn.ipadbiz.cn/manulife/document/test.pdf'
261 }, 261 },
262 { 262 {
263 title: '产品收益率测算表(2024版)', 263 title: '产品收益率测算表(2024版)',
...@@ -266,7 +266,7 @@ const hotMaterials = ref([ ...@@ -266,7 +266,7 @@ const hotMaterials = ref([
266 collected: false, 266 collected: false,
267 // Excel 文件 267 // Excel 文件
268 fileName: '产品收益率测算表.xlsx', 268 fileName: '产品收益率测算表.xlsx',
269 - downloadUrl: 'https://cdn.ipadbiz.cn/manulife/document/3de8b292dned48c8d7f7e83e9dcba119.pdf' 269 + downloadUrl: 'https://cdn.ipadbiz.cn/manulife/document/test.pdf'
270 } 270 }
271 ]); 271 ]);
272 272
......
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
105 <span class="text-[#9CA3AF] text-[24rpx]">{{ file.size }}</span> 105 <span class="text-[#9CA3AF] text-[24rpx]">{{ file.size }}</span>
106 </div> 106 </div>
107 </div> 107 </div>
108 - <IconFont name="download" size="20" color="#2563EB" @tap="viewFile(file)" /> 108 + <IconFont name="eye" size="20" color="#2563EB" @tap="viewFile(file)" />
109 </div> 109 </div>
110 </div> 110 </div>
111 </div> 111 </div>
...@@ -194,7 +194,7 @@ const files = ref([ ...@@ -194,7 +194,7 @@ const files = ref([
194 name: '产品条款.pdf', 194 name: '产品条款.pdf',
195 size: '2.3MB', 195 size: '2.3MB',
196 fileName: '产品条款.pdf', 196 fileName: '产品条款.pdf',
197 - downloadUrl: 'https://cdn.ipadbiz.cn/manulife/document/3de8b292dned48c8d7f7e83e9dcba119.pdf', 197 + downloadUrl: 'https://cdn.ipadbiz.cn/manulife/document/test.pdf',
198 iconName: 'order', 198 iconName: 'order',
199 iconColor: '#EF4444', 199 iconColor: '#EF4444',
200 fileType: 'pdf', 200 fileType: 'pdf',
...@@ -205,7 +205,7 @@ const files = ref([ ...@@ -205,7 +205,7 @@ const files = ref([
205 name: '投保须知.docx', 205 name: '投保须知.docx',
206 size: '1.8MB', 206 size: '1.8MB',
207 fileName: '投保须知.docx', 207 fileName: '投保须知.docx',
208 - downloadUrl: 'https://cdn.ipadbiz.cn/manulife/document/%E8%80%81%E6%9D%A5%E8%B5%9B%E9%9A%90%E7%A7%81%E6%94%BF%E7%AD%96.docx', 208 + downloadUrl: 'https://cdn.ipadbiz.cn/manulife/document/%E7%94%A8%E6%88%B7%E5%8D%8F%E8%AE%AE%E6%9C%80%E7%BB%88v3.1.docx',
209 iconName: 'order', 209 iconName: 'order',
210 iconColor: '#2563EB', 210 iconColor: '#2563EB',
211 fileType: 'docx', 211 fileType: 'docx',
...@@ -227,7 +227,7 @@ const files = ref([ ...@@ -227,7 +227,7 @@ const files = ref([
227 name: '保险责任说明.xlsx', 227 name: '保险责任说明.xlsx',
228 size: '1.5MB', 228 size: '1.5MB',
229 fileName: '保险责任说明.xlsx', 229 fileName: '保险责任说明.xlsx',
230 - downloadUrl: 'https://cdn.ipadbiz.cn/manulife/document/%E8%80%81%E6%9D%A5%E8%B5%9B%E9%9A%90%E7%A7%81%E6%94%BF%E7%AD%96.docx', 230 + downloadUrl: 'https://cdn.ipadbiz.cn/manulife/document/%E7%94%A8%E6%88%B7%E5%8D%8F%E8%AE%AE%E6%9C%80%E7%BB%88v3.1.docx',
231 iconName: 'order', 231 iconName: 'order',
232 iconColor: '#10B981', 232 iconColor: '#10B981',
233 fileType: 'xlsx', 233 fileType: 'xlsx',
......