修改页面

main
Ly 2 weeks ago
parent 4bafc6fc93
commit e0a4a0ac89
  1. 1
      src/views/largeDataScreen/home.vue
  2. 10
      src/views/resultsAnnounced/index.vue
  3. 16
      src/views/subjectTest/index.vue
  4. 27
      src/views/target/index.vue

@ -752,6 +752,7 @@ const product = ref<Falg>(Boolean(localStorage.getItem("product")) || false);
const step = ref<Step>(0);
const popover1 = ref<any>(null);
const popover2 = ref<any>(null);
const radio1 = ref<any>('接受')
const dialogVisible = ref<Falg>(false);
const Installation = ref<Falg>(false);
const Popup = ref<Falg>(false);

@ -57,7 +57,7 @@
</div>
</div>
<div class="footer">
<button class="btn1">去学习</button>
<button class="btn1" @click="Study">去学习</button>
<button class="btn2" @click="Recreate">重做</button>
<button class="btn3" @click="Back">回首页</button>
</div>
@ -78,6 +78,12 @@ const Props = defineProps({
//
const emit = defineEmits(['recreate']);
//
const Study =()=>{
router.push('/studyPage')
}
//
const Recreate=()=>{
//
@ -87,7 +93,7 @@ const Recreate=()=>{
//
const router = useRouter();
const Back =()=>{
router.push('/'); //
router.push('/spacePage'); //
}
</script>

@ -49,6 +49,7 @@ import settingStore from "@/store/modules/setting";
import {subTestapi,checkapi} from '@/api/index.ts'
import { ref,computed,onMounted, onUnmounted} from "vue"
import { ElMessage } from 'element-plus'
import { useRouter } from 'vue-router';
const setting = settingStore();
//
const SubLeft =()=>{
@ -153,8 +154,9 @@ import { ElMessage } from 'element-plus'
}
};
// 退
const router = useRouter()
const resetAnswers = () => {
router.push('/spacePage')
};
//
const timer = ref<number | null>(null); // setInterval
@ -273,12 +275,12 @@ import { ElMessage } from 'element-plus'
font-size: 55px; /* 数字字体大小 */
}
.timer{
font-size: 20px; /* 字体大小 */
font-size: 19.5px; /* 字体大小 */
letter-spacing: 3px; /* 字符间距 */
text-align: right;
position: absolute; /* 使用绝对定位 */
top: 24.5%; /* 距离顶部 */
left: 71.4%; /* 距离左侧 */
top: 22%; /* 距离顶部 */
left: 69%; /* 距离左侧 */
}
.questions{
font-size: 23px; /* 字体大小 */
@ -293,7 +295,7 @@ import { ElMessage } from 'element-plus'
}
.txt {
margin-top: 18px;
font-size: 18px; /* 字体大小 */
font-size: 22px; /* 字体大小 */
font-family: Consolas, sans-serif; /* 字体样式 */
letter-spacing: 1.5px; /* 字符间距,单位可以是 px、em 等 */
line-height: 1.5; /* 行间距,1.5 表示字体大小的 1.5 倍 */
@ -310,7 +312,7 @@ import { ElMessage } from 'element-plus'
/* 单个选项样式 */
.option {
padding: 5px 10px; /* 内边距,让按钮看起来更舒适 */
font-size: 18px; /* 字体大小 */
font-size: 20px; /* 字体大小 */
letter-spacing: 1.5px; /* 字符间距,单位可以是 px、em 等 */
text-align: left; /* 设置文字左对齐 */
margin-top: 5px;
@ -348,7 +350,7 @@ import { ElMessage } from 'element-plus'
cursor: pointer; /* 鼠标悬停时显示手型 */
width: 300px;
height: 41px;
font-size: 17px;
font-size: 18px;
font-weight: bold; /* 文字加粗 */
color: #fff;
}

@ -12,10 +12,10 @@
<el-scrollbar height="330px"> <div class="txt" v-html="Text"></div> </el-scrollbar>
</div>
<div class="submit-buttons">
<!-- <button class="submit-btn" @click="reset">退出</button> -->
<!-- <button class="submit-btn" @click="enter">进入仿真实验</button> -->
<router-link class="submit-btn" to="">退出</router-link>
<router-link class="submit-btn" to="/program">进入仿真实验</router-link>
<button class="submit-btn" @click="reset">退出</button>
<button class="submit-btn" @click="enter">进入仿真实验</button>
<!-- <router-link class="submit-btn" to="">退出</router-link>
<router-link class="submit-btn" to="/program">进入仿真实验</router-link> -->
</div>
</div>
@ -45,6 +45,16 @@ import { useRouter } from 'vue-router';
}
//仿
const router = useRouter();
const enter =()=>{
router.push('/program');
}
//退
const reset =()=>{
router.push('/spacePage');
}
onMounted(() => {getContent()});
</script>
@ -131,7 +141,7 @@ import { useRouter } from 'vue-router';
margin-top: 18px;
margin-left: 20px;
margin-right: 20px;
font-size: 18px; /* 字体大小 */
font-size: 21px; /* 字体大小 */
font-family: Consolas, sans-serif; /* 字体样式 */
letter-spacing: 1.5px; /* 字符间距,单位可以是 px、em 等 */
line-height: 1.5; /* 行间距,1.5 表示字体大小的 1.5 倍 */
@ -154,13 +164,10 @@ import { useRouter } from 'vue-router';
cursor: pointer; /* 鼠标悬停时显示手型 */
width: 300px;
height: 41px;
font-size: 17px;
font-size: 18px;
font-weight: bold; /* 文字加粗 */
color: #fff;
display: flex;
align-items: center; /* 垂直居中 */
justify-content: center; /* 水平居中 */
text-decoration: none
}
}

Loading…
Cancel
Save