Commit ca124670 authored by 林文清's avatar 林文清

update:学习样式文案调整

parent b4fb3328
......@@ -81,8 +81,7 @@
</view>
</view>
</view>
<view class="title u-margin-top-30 u-margin-bottom-30">技能课程</view>
<view class="learn-currency-class u-margin-bottom-20" style="padding-bottom: 300rpx;">
<view class="learn-currency-class u-margin-bottom-20 u-margin-top-30" style="padding-bottom: 300rpx;">
<view class="learn-class1" @click="goPlay(courselist[2])">
<image class="learn-img" :src="courselist[2].pic" mode=""></image>
<image class="bofang" :src="bofang" mode=""></image>
......@@ -151,8 +150,8 @@
var json = {
dev: [
{
title: "服务规范",
desc: "为用户提供更好服务,自己赚更多钱",
title: "安装材料及工具准备",
desc: "前期的安装材料及安装工具的准备是工作的良好开始",
pic: process.uniEnv.qn_base_url + "fwgf-3x-v2.png",
percent: 0,
status: "",
......@@ -160,8 +159,8 @@ var json = {
sectionId: "",
},
{
title: "接单规范",
desc: "快速学习,使用APP 接单、抢单",
title: "服务理念与时效",
desc: "为用户提供更好的服务,自己赚更多的钱",
pic: process.uniEnv.qn_base_url + "jdgf-3x-v2.png",
percent: 0,
status: "",
......@@ -169,8 +168,8 @@ var json = {
sectionId: "",
},
{
title: "从0-1学习充电桩安装服务",
desc: "让你全面了解充电桩市场及服务规范",
title: "充电桩安装要点提示",
desc: "在充电装安装过程中需要着重注意的要点",
pic: process.uniEnv.qn_base_url + "cdz-3x-v2.png",
percent: 0,
status: "",
......@@ -180,8 +179,8 @@ var json = {
],
test: [
{
title: "服务规范",
desc: "为用户提供更好服务,自己赚更多钱",
title: "安装材料及工具准备",
desc: "前期的安装材料及安装工具的准备是工作的良好开始",
pic: process.uniEnv.qn_base_url + "fwgf-3x-v2.png",
percent: 0,
status: "",
......@@ -189,8 +188,8 @@ var json = {
sectionId: "",
},
{
title: "接单规范",
desc: "快速学习,使用APP 接单、抢单",
title: "服务理念与时效",
desc: "为用户提供更好的服务,自己赚更多的钱",
pic: process.uniEnv.qn_base_url + "jdgf-3x-v2.png",
percent: 0,
status: "",
......@@ -198,8 +197,8 @@ var json = {
sectionId: "",
},
{
title: "从0-1学习充电桩安装服务",
desc: "让你全面了解充电桩市场及服务规范",
title: "充电桩安装要点提示",
desc: "在充电装安装过程中需要着重注意的要点",
pic: process.uniEnv.qn_base_url + "cdz-3x-v2.png",
percent: 0,
status: "",
......@@ -209,24 +208,24 @@ var json = {
],
prod: [
{
title: "服务规范",
desc: "为用户提供更好服务,自己赚更多钱",
title: "安装材料及工具准备",
desc: "前期的安装材料及安装工具的准备是工作的良好开始",
pic: process.uniEnv.qn_base_url + "fwgf-3x-v2.png",
percent: 0,
status: "",
sectionId: "",
},
{
title: "接单规范",
desc: "快速学习,使用APP 接单、抢单",
title: "服务理念与时效",
desc: "为用户提供更好的服务,自己赚更多的钱",
pic: process.uniEnv.qn_base_url + "jdgf-3x-v2.png",
percent: 0,
status: "",
sectionId: "",
},
{
title: "从0-1学习充电桩安装服务",
desc: "让你全面了解充电桩市场及服务规范",
title: "充电桩安装要点提示",
desc: "在充电装安装过程中需要着重注意的要点",
pic: process.uniEnv.qn_base_url + "cdz-3x-v2.png",
percent: 0,
status: "",
......@@ -238,7 +237,7 @@ var json = {
var examJson = {
dev: [
{
title: "服务规范",
title: "安装材料及工具准备",
desc: "通过本认证,是接单的必要条件",
condition: "随机20题,及格20题",
status: "",
......@@ -264,7 +263,7 @@ var examJson = {
],
test: [
{
title: "服务规范",
title: "安装材料及工具准备",
desc: "通过本认证,是接单的必要条件",
condition: "随机10题,及格10题",
status: "",
......@@ -290,7 +289,7 @@ var examJson = {
],
prod: [
{
title: "服务规范",
title: "安装材料及工具准备",
desc: "通过本认证,是接单的必要条件",
condition: "随机20题,及格20题",
status: "",
......@@ -327,7 +326,7 @@ export default {
name: "交付规范",
},
{
name: "培训通知",
name: "消息通知",
},
{
name: "在线学习",
......@@ -709,31 +708,9 @@ export default {
index
].questionTime;
var examInfo = this.examList[index];
if (examInfo.examStatus == 0) {
wx.navigateTo({
url: "/pages/learn/assessment?examId=" + examInfo.id,
});
} else if (examInfo.examStatus == 1) {
let url = '';
if (examInfo.status == "已通过") {
url = "/pages/learn/exam-pass?userExamId=" +
examInfo.examId +
"&examId=" +
examInfo.id;
} else {
url = "/pages/learn/result?userExamId=" +
examInfo.examId +
"&examId=" +
examInfo.id
}
wx.navigateTo({
url: url,
});
} else if (examInfo.examStatus == 2) {
wx.navigateTo({
url: "/pages/learn/assessment?examId=" + examInfo.id,
});
}
wx.navigateTo({
url: "/pages/learn/assessment?examId=" + examInfo.id,
});
},
//跳转到播放
goPlay(info) {
......
......@@ -368,7 +368,7 @@ export default {
var wz = str.indexOf(".");
let str1 = str.substring(wz + 1);
console.log(that.currentItem);
that.currentItem.question.content = str1;
that.currentItem.question.content = str1.replace('*', '');
console.log(str1, "切割的字符串");
}
if (res.data.data.answerList) {
......@@ -682,6 +682,7 @@ export default {
display: flex;
justify-content: space-between;
align-items: center;
padding-right: 30rpx;
.title-text {
border-radius: 8rpx;
......
......@@ -206,7 +206,7 @@ export default {
font-size: 40rpx;
font-weight: bold;
color: #333333;
line-height: 20px;
line-height: 68rpx;
padding: 50rpx 58rpx 46rpx 30rpx;
}
......
......@@ -11,7 +11,7 @@
<view class="title-content">
<view class="item-content">
<view class="item-st">
<image style="width: 80rpx; height: 36rpx" :src="kcImage"></image>
<image class="kc-image" :src="kcImage"></image>
<text class="item-st-text">{{ courseTotal }}课时</text>
</view>
<view class="item-title">{{ courseTitle }}</view>
......@@ -20,17 +20,16 @@
</view>
<view class="learn-view" v-if="courseId >= 0">
<view class="learn-view-title color-teacher">课程讲师</view>
<view class="" style="padding-top: 30rpx;display: flex;padding-left: 30rpx;">
<view class="teacher-desc">
<u-avatar :style="{'width':'100rpx', 'height':'100rpx'}" :src="teacherImage" mode="circle">
</u-avatar>
<view style="height:120rpx;font-size: 30rpx;padding-left:30rpx;padding-right: 30rpx;">
<view class="" style="display: flex;font-size: 32rpx;">
<view class="teacher-right">
<view class="teacher-right-top">
<view class="" style="font-size: 32rpx;font-weight: bold;">{{ teacher.name }}</view>
<view class=""
style="font-size: 24rpx;margin-left: 30rpx;margin-top: 6rpx;color: #999999;">课程讲师
<view class="teacher-disc">课程讲师
</view>
</view>
<view class="" style="font-size: 24rpx;margin-top: 30rpx;">{{ teacherIntro }}</view>
<view class="teacher-intro">{{ teacherIntro }}</view>
</view>
</view>
<view class="learn-view-title">目录</view>
......@@ -456,10 +455,9 @@
width: 100%;
height: 150rpx;
overflow: hidden;
// padding: 20rpx;
padding-left: 20rpx;
background: #fff;
// border: 1px solid red;
margin-top: 30rpx;
}
.scroll_box scroll-view {
......@@ -484,4 +482,38 @@
border: 2rpx solid #2272FF;
box-sizing: border-box;
}
.teacher-intro {
font-size: 24rpx;
margin-top: 15rpx;
}
.teacher-disc {
font-size: 24rpx;
margin-left: 30rpx;
margin-top: 6rpx;
color: #999999;
}
.kc-image {
width: 80rpx;
height: 36rpx
}
.teacher-desc {
padding-top: 30rpx;
display: flex;
padding-left: 30rpx;
}
.teacher-right {
font-size: 30rpx;
padding-left: 30rpx;
padding-right: 30rpx;
}
.teacher-right-top {
display: flex;
font-size: 32rpx;
}
</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