专项练习

This commit is contained in:
2025-10-31 10:18:44 +08:00
parent 2cc5d98763
commit c98f54ade6
10 changed files with 48 additions and 15 deletions

View File

@@ -1,36 +1,41 @@
<template> <template>
<AppLayout title="技能评价"> <!-- <AppLayout title=""> -->
<view class="tab-container"> <view class="tab-container">
<view class="btns">培训视频</view> <view class="btns" @click="jumps('')">培训视频</view>
<view class="btns">专项练习</view> <view class="btns" @click="jumps('/packageB/train/practice/startPracticing')">专项练习</view>
<view class="btns">模拟考试</view> <view class="btns" @click="jumps('')">模拟考试</view>
<view class="btns">错题本</view> <view class="btns" @click="jumps('')">错题本</view>
</view> </view>
</AppLayout> <!-- </AppLayout> -->
</template> </template>
<script setup> <script setup>
import { reactive, inject, watch, ref, onMounted } from 'vue'; import { reactive, inject, watch, ref, onMounted } from 'vue';
import { onLoad, onShow } from '@dcloudio/uni-app'; import { onLoad, onShow } from '@dcloudio/uni-app';
const { $api, navTo, vacanciesTo, formatTotal, config } = inject('globalFunction');
import useUserStore from '@/stores/useUserStore'; import useUserStore from '@/stores/useUserStore';
import useDictStore from '@/stores/useDictStore'; import useDictStore from '@/stores/useDictStore';
function jumps(url){
navTo(url);
}
</script> </script>
<style lang="stylus" scoped> <style lang="stylus" scoped>
.tab-container .tab-container{
// height: 100% height: 100vh;
// width: 100% width: 100%;
padding: 20rpx 28rpx background: url('@/static/images/train/bj.jpg') center center no-repeat;
// box-sizing: border-box background-size: 100% 100%;
.btns .btns{
background-color: #0036B0 background-color: #0036B0
border-radius: 5rpx border-radius: 5rpx
padding: 20rpx; padding: 20rpx;
box-sizing: border-box; box-sizing: border-box
color: #fff color: #fff
text-align: center text-align: center
margin-bottom: 30rpx; margin-bottom: 30rpx
}
}
</style> </style>

View File

@@ -0,0 +1,8 @@
<template>
</template>
<script>
</script>
<style>
</style>

View File

@@ -0,0 +1,11 @@
<template>
<view class="">
专项练习
</view>
</template>
<script>
</script>
<style>
</style>

View File

@@ -366,6 +366,15 @@
"navigationBarTitleTextSize": "30rpx" "navigationBarTitleTextSize": "30rpx"
// "navigationStyle": "custom" // "navigationStyle": "custom"
} }
},
{
"path" : "train/practice/startPracticing",
"style" :
{
"navigationBarTitleText" : "专项训练",
"navigationBarTitleTextSize": "30rpx"
// "navigationStyle": "custom"
}
} }
] ]
}], }],

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 B

BIN
static/images/train/bj.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB