文件操作 - index.vue
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/pages/form/thanks/index.vue
编辑文件内容
<script lang="ts" setup> const { t } = useI18n(); const runtimeConfig = useRuntimeConfig(); const email = `<a href="mailto:${runtimeConfig.public.email}" target="_blank">${runtimeConfig.public.email}</a>`; const phone = `<a href="tel:${runtimeConfig.public.phone.replace( /[^0-9+]/g, '' )}">${runtimeConfig.public.phone}</a>`; useHead({ title: t('form.thanks.head.title'), }); </script> <template> <main class="page-main"> <div class="container"> <h1 class="page-title h2">{{ $t('form.thanks.title') }}</h1> <div class="page-desc" v-html="$t('form.thanks.desc', { email: email, phone: phone })" ></div> </div> </main> </template> <style lang="less" scoped> .page-desc { text-align: center; max-width: 980px; margin: 0 auto; letter-spacing: -0.02em; @media @md_ { font-size: 20px; font-weight: 500; } :deep(a) { color: inherit; transition: color 0.4s; &:hover { color: @link; } &[href^='tel:'] { white-space: nowrap; } } } </style>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件