Commit 1dc668b1 authored by zhengzy's avatar zhengzy

首次提交

parent 5a886c46
This diff is collapsed.
......@@ -20,8 +20,7 @@
"build:quickapp-webview-huawei": "cross-env NODE_ENV=production UNI_PLATFORM=quickapp-webview-huawei vue-cli-service uni-build",
"build:quickapp-webview-union": "cross-env NODE_ENV=production UNI_PLATFORM=quickapp-webview-union vue-cli-service uni-build",
"devt:mp-weixin": "cross-env NODE_ENV=development UNI_PLATFORM=mp-weixin vue-cli-service uni-build",
"dev:app-plus": "cross-env NODE_ENV=development UNI_PLATFORM=app-plus vue-cli-service uni-build --watch",
"dev:app-plus": "cross-env NODE_ENV=development UNI_PLATFORM=app-plus vue-cli-service uni-build --watch",
"dev:custom": "cross-env NODE_ENV=development uniapp-cli custom",
"dev:h5": "cross-env NODE_ENV=development UNI_PLATFORM=h5 vue-cli-service uni-serve",
"dev:mp-360": "cross-env NODE_ENV=development UNI_PLATFORM=mp-360 vue-cli-service uni-build --watch",
......
{
{
"easycom": {
"^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "uni-app"
}
},
{
"path": "pages/learn/index",
"style": {
"navigationBarTitleText": "uni-xue"
}
},
{
"path":"pages/learn/assessment",
"style": {
"navigationBarTitleText":"认证介绍"
}
},
{
"path":"pages/learn/answer",
"style": {
"navigationBarTitleText":"考试答题"
}
},
{
"path":"pages/learn/result",
"style":{
"navigationBarTitleText":"考试结果页"
}
},
{
"path":"pages/learn/news-details",
"style":{
"navigationBarTitleText":""
}
},
{
"path":"pages/learn/curriculum",
"style":{
"navigationBarTitleText":""
}
}
],
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
}
}
<template>
<view class="content">
<view class="">
<text class="dx">多选</text><text class="num">第1题</text><text class="all">/共30题</text>
<view class="">
一下对压缩机故障描述有误的是?
</view>
<view class="">
<button>A</button>
<button>B</button>
<button>C</button>
<button>D</button>
<button>E</button>
</view>
<button class="btn">下一题</button>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style>
.content{
width: 600rpx;
height: 800rpx;
/* background: #8F8F94; */
margin: 0 auto ;
}
.dx{
padding: 0rpx;
background: #2979FF;
color: #FFFFFF;
border-radius: 0px;
}
.num{
color: #2B85E4;
}
.all{
color: #8F8F94;
}
.btn{
margin-top:0rpx;
}
</style>
<template>
<view class="content">
<view class="title">考试规则说明</view>
<view class="test">
<view class="text">
<text class="left">考试科目:</text><text style="color: #007AFF;">服务规范</text>
</view>
<view class="text">
<text class="left">合格条件:</text><text>随机20题,答对20题</text>
</view>
<view class="text">
<text class="left">考试时间:</text><text>30分钟</text>
</view>
<view class="text">
<text class="left">题目规则:</text><text>题库100题,随机抽20题</text>
</view>
<view class="text">
<text class="left">备注说明:</text><text></text>
</view>
</view>
<button @click="aaa">开始考试</button>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
aaa(){
wx.navigateTo({
url:'./answer'
})
}
}
}
</script>
<style >
.content{
margin: 187rpx 80rpx;
}
.title{
font-size: 17px;
text-align: center;
}
.test{
margin: 0 0 ;
}
.left{
margin-right: 8rpx;
margin-left: 68rpx;
}
.text{
margin: 50rpx 0;
}
button{
width:364rpx;
height: 56rpx;
background: #007AFF;
font-size: 24rpx;
color: #FFFFFF;
}
</style>
<template>
<view>
<view class="title">
课程简介
</view>
<view class="lecturer">
<view class="" style="font-size: 40rpx;font-weight: bold;margin: 30rpx 0;">
讲师
</view>
<view class="" style="display: flex;">
<image src="../../static/logo.png" mode=""></image>
<view style="font-size: 30rpx;font-weight:1000;margin: 19px 24px;">扳手卢老师</view>
</view>
<view class="" style="margin: 36rpx 0;">
<view class="" style="font-size: 40rpx;font-weight:1000">
目录
</view>
<view class="" style="font-size: 40rpx;font-weight: 1000;">
第一章 充电桩常见问题答疑
</view>
<view class="" >
<view class="" style="display: flex; margin: 20rpx 0;">
<view class="" style="width: 100rpx;height:38rpx;border: 1px solid #8F8F94;text-align: center;line-height: 38rpx;">
视频
</view>
<text style="margin-left: 44rpx;">1-1唯修汇公司简介</text>
</view>
<view class="" style="display: flex;margin:20rpx 0;">
<view class="" style="width: 100rpx;height:38rpx;border:1px solid #8F8F94;text-align: center;line-height: 38rpx;" >
视频
</view>
<text style="margin-left:44rpx;">1-2可接单评定标准</text>
</view>
<view class="" style="display: flex;margin:20rpx 0;">
<view class="" style="width: 100rpx;height: 38rpx;border:1px solid #8F8F94;text-align: center;line-height: 38rpx;">
视频
</view>
<text style="margin-left:44rpx;">1-3结算规则</text>
</view>
<view class="" style="display: flex;margin: 20rpx 0;">
<view class="" style="width: 100rpx;height: 38rpx;border:1px solid #8F8F94;text-align: center;line-height: 38rpx;">
视频
</view>
<text style="margin-left: 44rpx;">1-4充电桩安装开城计划</text>
</view>
<view class="" style="display: flex;margin: 20rpx 0;">
<view class="" style="width: 100rpx;height: 38rpx;border:1px solid #8F8F94;text-align: center;line-height: 38rpx;">
视频
</view>
<text style="margin-left: 44rpx;">1-5缴纳质保金和费用答疑</text>
</view>
<view class="" style="display: flex;margin: 20rpx 0;">
<view class="" style="width: 100rpx;height: 38rpx;border: 1px solid #8F8F94;text-align: center;line-height: 38rpx;">
视频
</view>
<text style="margin-left:44rpx;">1-6安装材料品牌答疑1</text>
</view>
<view class="" style="display: flex;margin: 20rpx 0;">
<view class="" style="width: 100rpx;height: 38rpx;border:1px solid #8F8F94;text-align: center;line-height: 38rpx;">
视频
</view>
<text style="margin-left:44rpx;">1-7安装材料答疑2</text>
</view>
<view class="" style="display: flex;margin: 20rpx 0;">
<view class="" style="width: 100rpx;height: 38rpx;border:1px solid #8F8F94;text-align: center;">
视频
</view>
<text style="margin-left:44rpx;">1-8其他问题答疑</text>
</view>
<view class="" style="display: flex;margin: 20rpx 0;">
<view class="" style="width: 100rpx;height: 38rpx;border: 1px solid #8F8F94;text-align: center;">
</view>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style>
.title{
height: 164rpx;
font-size: 40rpx;
font-weight: bold;
margin: 24rpx 34rpx;
}
.lecturer{
height: 264rpx;
padding-left: 30rpx;
}
image{
width: 128rpx;
height: 128rpx;
}
</style>
This diff is collapsed.
<template>
<view>
<view class="title">
《关于充电桩xxxx》
</view>
<view class="content">
于2021年3月23日 10:00 进行《xxx》内容进行培训。
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo commodo. Proin sodales pulvinar sic tempor. Sociis natoque penatibus et magnis dis parturient montes,
nascetur ridiculus mus. Nam fermentum, nulla luctus pharetra vulputate, felis tellus 。
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style>
.title{
text-align: center;
margin: 34rpx;
}
.content{
padding: 38rpx;
}
</style>
<template>
<view class="content">
<view class="title">
考试结果
</view>
<view class="result">
考试不通过
</view>
<view class="details">
<view class="text1">
<text>合格条件:</text><text>答对20题</text>
</view>
<view class="text1">
<text>考试结果:</text><text>答对10题</text>
</view>
<view class="text1">
<text>考试用时:</text><text>16分29秒</text>
</view>
<button class="btn">再答一次</button>
<button class="btn2">退出重考</button>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style>
.content{
width: 592rpx;
height: 800rpx;
/* background: #19BE6B; */
margin: 84rpx auto;
overflow: hidden;
}
.title{
margin:7px 13px;
}
.result{
color: red;
font-size: 56rpx;
text-align: center;
margin: 52rpx 0;
}
.details{
height: 400rpx;
border-top: 1px dashed #808080;
}
.text1{
margin: 16rpx 24rpx;
}
.btn{
width: 476rpx;
height: 80rpx;
background: #007AFF;
font-size: 32rpx;
margin:206rpx auto 38rpx ;
}
.btn2{
width: 476rpx;
height: 80rpx;
font-size: 30rpx;
margin: 0 auto ;
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment