<template>
|
|
<!-- <view>基本考核完成</view> -->
|
|
<view class="page po-r">
|
|
<image src="" mode="" class="mainBg"></image>
|
|
<view class="w-100 po-a content">
|
|
<stepProgress :step="2"></stepProgress>
|
|
|
|
<view class="info">
|
|
<view class="top">
|
|
<view class="flex-rowl top-title">
|
|
<up-icon class="icon" name="checkmark-circle-fill" color="#FFBF60" size="34rpx"></up-icon>
|
|
<text>基本考核答题已完成</text>
|
|
</view>
|
|
<view class="flex-rowl top-desc">
|
|
<up-icon class="icon" name="error-circle" color="#707070" size="27rpx"></up-icon>
|
|
<text>进行培训考核的答题前请认真观看下面的视频和资料!</text>
|
|
</view>
|
|
</view>
|
|
<view class="info-box">
|
|
<view class="info-box-title">
|
|
平台&服务介绍
|
|
</view>
|
|
<view class="info-box-content">
|
|
<view class="flex-colc info-item"
|
|
v-for="(item, index) in introList"
|
|
:key="`intro-${index}`"
|
|
>
|
|
<view class="video">
|
|
<video
|
|
:src="item.url"
|
|
play-btn-position="center"
|
|
:show-fullscreen-btn="false"
|
|
:show-center-play-btn="true"
|
|
:show-progress="false"
|
|
:show-play-btn="false"
|
|
:picture-in-picture-mode="[]"
|
|
></video>
|
|
</view>
|
|
<text class="desc">{{ item.title }}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="info-box">
|
|
<view class="info-box-title">
|
|
服务培训
|
|
</view>
|
|
<view class="info-box-content">
|
|
<view class="flex-colc info-item">
|
|
<image src="../static/examination/bg-train-manual.png" mode="widthFix"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="flex-rowc tools">
|
|
<view class="flex-rowc btn" @click="toNext">
|
|
进入培训考核
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { ref } from 'vue'
|
|
import { onShow } from '@dcloudio/uni-app'
|
|
import stepProgress from '../components/stepProgress.vue';
|
|
|
|
const toNext = () => {
|
|
uni.navigateTo({
|
|
url: "/otherPages/authentication/examination/train"
|
|
})
|
|
}
|
|
|
|
const introList = ref([])
|
|
|
|
onShow(() => {
|
|
// todo: delete test data
|
|
introList.value = [
|
|
{
|
|
url: '',
|
|
title: '猫妈狗爸平台介绍',
|
|
},
|
|
{
|
|
url: '',
|
|
title: '喂养学习视频',
|
|
},
|
|
]
|
|
})
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.page {
|
|
position: relative;
|
|
width: 100vw;
|
|
|
|
.mainBg {
|
|
width: 100vw;
|
|
height: 442rpx;
|
|
background-image: linear-gradient(to bottom, #FFBF60, #f5f5f5);
|
|
}
|
|
|
|
.content {
|
|
top: 0;
|
|
left: 0;
|
|
padding: 16rpx;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
}
|
|
|
|
.info{
|
|
margin-top: 22rpx;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
height: auto;
|
|
background-color: #FFFFFF;
|
|
padding: 22rpx 20rpx 38rpx 20rpx;
|
|
border-radius: 16rpx;
|
|
|
|
.top{
|
|
width: 100%;
|
|
background-color: #FFFCF1;
|
|
box-sizing: border-box;
|
|
padding: 19rpx 26rpx;
|
|
border-radius: 16rpx;
|
|
color: #707070;
|
|
|
|
&-title {
|
|
font-size: 28rpx;
|
|
|
|
.icon {
|
|
margin-right: 5rpx;
|
|
}
|
|
}
|
|
|
|
&-desc {
|
|
margin-top: 22rpx;
|
|
font-size: 22rpx;
|
|
|
|
.icon {
|
|
margin-right: 12rpx;
|
|
}
|
|
}
|
|
}
|
|
|
|
&-box {
|
|
margin-top: 30rpx;
|
|
|
|
&-title {
|
|
display: inline-block;
|
|
font-size: 30rpx;
|
|
|
|
&::before {
|
|
content: "";
|
|
display: inline-block;
|
|
width: 9rpx;
|
|
height: 33rpx;
|
|
background-color: #FFBF60;
|
|
margin-right: 7rpx;
|
|
border-radius: 5rpx;
|
|
}
|
|
}
|
|
|
|
&-content {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
grid-column-gap: 27rpx;
|
|
}
|
|
}
|
|
|
|
&-item {
|
|
width: 100%;
|
|
margin-top: 30rpx;
|
|
|
|
.video {
|
|
width: 100%;
|
|
height: 197rpx;
|
|
border-radius: 16rpx;
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
video {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
image {
|
|
width: 100%;
|
|
}
|
|
|
|
.desc {
|
|
color: #707070;
|
|
font-size: 22rpx;
|
|
line-height: 40rpx;
|
|
}
|
|
}
|
|
}
|
|
|
|
.tools {
|
|
margin-top: 79rpx;
|
|
}
|
|
|
|
.btn {
|
|
font-size: 30rpx;
|
|
line-height: 40rpx;
|
|
color: #fff;
|
|
width: 574rpx;
|
|
padding: 27rpx 0;
|
|
box-sizing: border-box;
|
|
border-radius: 41rpx;
|
|
background-color: #FFBF60;
|
|
}
|
|
</style>
|