- 中宣部授予肖文儒“时代楷模”...
+ 中宣部授予肖文儒“时代楷模”楷模楷模楷模楷模楷模楷模楷模楷模楷模楷模楷模楷模楷模楷模
模特姓名:肖文儒
- 38年来,国家安全生产应急救援中心副主任兼工程师肖文儒参与过多次重...
+ 38年来,国家安全生产应急救援中心副主任兼工程师肖文儒参与过多次重大建设工程重大建设工程重大建设工程重大建设工程重大建设工程重大建设工程重大建设工程
@@ -60,7 +60,7 @@
return this.isRed ? 'red' : 'black'
},
imagepaths() {
- const base_url = "http://124.93.196.45:10091/Neusoft/times-model/appStudy/app/historyList"
+
let Path = Array.from({
length: 6
}, (_, x) => `../../static/c${x+1}.png`);
@@ -68,17 +68,7 @@
// length: 6
// }, (_, x) => `英雄故事`);
let value = ["楷模列表", "英雄故事", "身边英雄", "物资捐赠", "数据分析", "更多"]
- async function text() {
- const text = await fetch(base_url, {
- method: "GET",
- headers: {
- "Content-Type": "application/json",
- "Authorization": "eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6ImIyOGYwYjkzLTU0ZTktNDM3MC05NTczLWUzMWE5MDA2OGM5MyJ9.Gqqt22q3ZxXWZ04gHq5F0tTKPypHRqjGOhCe1NcUjvSplv6GschoZW_3xc_MOI-T38u_81kTXX7LAt7PXemM3w"
- }
- })
- return await text.json()
- }
- text().then(data => console.log(data));
+
return Path.map((path, index) => ({
path: path,
value: value[index]
@@ -89,14 +79,13 @@
toggleColor() {
this.isRed = !this.isRed
}
- }
- }
+ }}
+
+
\ No newline at end of file
diff --git a/pages/index/student.vue b/pages/index/student.vue
index 94574d7..f61a7e4 100644
--- a/pages/index/student.vue
+++ b/pages/index/student.vue
@@ -7,10 +7,42 @@
activeColor="red">