@@ -13,6 +13,8 @@ import CategorySecond from "/src/components/CategorySecond.vue";
13
13
import DownloadButton from " ./components/DownloadButton.vue" ;
14
14
import { onMounted , ref } from " vue" ;
15
15
import VCodeBlock from ' @wdns/vue-code-block' ;
16
+ import {toUrl } from ' /src/utils/utils.js'
17
+
16
18
let msStoreScript = document .createElement (" script" );
17
19
msStoreScript .setAttribute (
18
20
" src" ,
@@ -127,6 +129,11 @@ const xingxia2List = ref([
127
129
},
128
130
]);
129
131
132
+ function getAntongDate () {
133
+ let dateStr = versionArch .value .filter ((v ) => v .arch == " amd64" )[0 ].date ;
134
+ return ` ${ dateStr .substring (0 , 4 )} /${ dateStr .substring (4 , 6 )} /${ dateStr .substring (6 , 8 )} ` ;
135
+ }
136
+
130
137
/**
131
138
* 根据架构找出最新的下载信息
132
139
*/
@@ -152,7 +159,10 @@ function getNewVersioArch(arch) {
152
159
<div class =" text-aosc-os" >
153
160
<p style =" font-size : 32pt " >安同 OS</p >
154
161
<p style =" font-size : 14pt " >称心得意的桌面操作系统</p >
155
- <p style =" font-size : 10pt " >2024/3/3·发行说明·配置需求</p >
162
+ <p style =" font-size : 10pt " >
163
+ {{getAntongDate()}}·
164
+ <span class =" cursor-pointer" @click =" toUrl('/aosc-os/relnote')" >发行说明</span >·
165
+ <span class =" cursor-pointer" @click =" toUrl('/aosc-os/requirements')" >配置需求</span ></p >
156
166
</div >
157
167
<div class =" button-container-aoscos buttons-col" >
158
168
<span v-for =" item in antong1List" :key =" item.title" >
@@ -172,17 +182,17 @@ function getNewVersioArch(arch) {
172
182
<p style =" font-size : 32pt ; color : #fff " >星霞 OS</p >
173
183
<p style =" font-size : 14pt ; color : #fff " >老设备也能发光发热</p >
174
184
<p style =" font-size : 10pt ; color : #fff " >
175
- 2024/3/3·发行说明·配置需求
185
+ 敬请期待...
176
186
</p >
177
187
</div >
178
- <div class =" button-container-afterglow buttons-col" >
188
+ <!-- < div class="button-container-afterglow buttons-col">
179
189
<span v-for="item in xingxia1List" :key="item.title">
180
190
<download-button
181
191
v-if="item.info != undefined"
182
192
:isaInfo="item"
183
193
></download-button>
184
194
</span>
185
- </div >
195
+ </div> -->
186
196
</div >
187
197
<div class =" pt-[4.5rem] min-w-[96px] w-[30%]" >
188
198
<img src =" /assets/download/afterglow-web.svg" />
@@ -204,7 +214,7 @@ function getNewVersioArch(arch) {
204
214
</span >
205
215
</div >
206
216
</div >
207
- <category-second title =" 星霞 OS(其他版本)" />
217
+ <!-- < category-second title="星霞 OS(其他版本)" />
208
218
<div class="pt-[20px] pb-[30px] px-[30px]">
209
219
<div class="text-[14pt] mb-[20px]">
210
220
星霞OS支持许多来自不同年代和不同形式的设备,点击下方对应您设备的下载按钮即可。
@@ -217,7 +227,7 @@ function getNewVersioArch(arch) {
217
227
/>
218
228
</span>
219
229
</div>
220
- </div >
230
+ </div> -->
221
231
<category-second title =" 容器镜像" />
222
232
<div class =" pt-[20px] pb-[30px] px-[30px]" >
223
233
<div class =" text-[14pt] mb-[20px]" >
0 commit comments