Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
3455a3d2
Commit
3455a3d2
authored
May 07, 2021
by
Damon
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.banshouhui.com/lijundan/self-support
parents
c8ba2f4d
eea3f433
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
473 additions
and
382 deletions
+473
-382
pages.json
src/pages.json
+344
-342
answer.vue
src/pages/learn/answer.vue
+76
-21
assessment.vue
src/pages/learn/assessment.vue
+53
-19
examination.png
src/static/photo/examination.png
+0
-0
No files found.
src/pages.json
View file @
3455a3d2
{
{
"easycom"
:
{
"easycom"
:
{
"autoscan"
:
true
,
"autoscan"
:
true
,
"custom"
:
{
"custom"
:
{
"^u-(.*)"
:
"@/uview-ui/components/u-$1/u-$1.vue"
"^u-(.*)"
:
"@/uview-ui/components/u-$1/u-$1.vue"
}
}
},
},
"pages"
:
[
//pages数组中第一项表示应用启动页,参考:https
:
//uniapp.dcloud.io/collocation/pages
"pages"
:
[
//pages数组中第一项表示应用启动页,参考:https
:
//uniapp.dcloud.io/collocation/pages
{
{
"path"
:
"pages/index/index"
,
"path"
:
"pages/index/index"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"首页"
,
"navigationBarTitleText"
:
"首页"
,
"navigationStyle"
:
"custom"
,
"navigationStyle"
:
"custom"
,
"enablePullDownRefresh"
:
true
"enablePullDownRefresh"
:
true
}
}
},
},
{
{
"path"
:
"pages/order/index"
,
"path"
:
"pages/order/index"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"订单"
,
"navigationBarTitleText"
:
"订单"
,
"navigationStyle"
:
"custom"
,
"navigationStyle"
:
"custom"
,
"disableScroll"
:
true
"disableScroll"
:
true
}
}
},
},
{
{
"path"
:
"pages/order/complete"
,
"path"
:
"pages/order/complete"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"订单-完工配置"
,
"navigationBarTitleText"
:
"订单-完工配置"
,
"navigationStyle"
:
"custom"
,
"navigationStyle"
:
"custom"
,
"disableScroll"
:
true
"disableScroll"
:
true
}
}
},{
},{
"path"
:
"pages/order/feedback"
,
"path"
:
"pages/order/feedback"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"订单-过程反馈"
,
"navigationBarTitleText"
:
"订单-过程反馈"
,
"enablePullDownRefresh"
:
false
,
"enablePullDownRefresh"
:
false
,
"navigationStyle"
:
"custom"
,
//
隐藏系统导航栏
"navigationStyle"
:
"custom"
,
//
隐藏系统导航栏
"disableScroll"
:
true
"disableScroll"
:
true
}
}
},{
},{
"path"
:
"pages/order/refuse"
,
"path"
:
"pages/order/refuse"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"订单-拒单"
,
"navigationBarTitleText"
:
"订单-拒单"
,
"enablePullDownRefresh"
:
false
,
"enablePullDownRefresh"
:
false
,
"navigationStyle"
:
"custom"
,
//
隐藏系统导航栏
"navigationStyle"
:
"custom"
,
//
隐藏系统导航栏
"disableScroll"
:
true
"disableScroll"
:
true
}
}
},
},
{
{
"path"
:
"pages/mine/index"
,
"path"
:
"pages/mine/index"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"我的"
,
"navigationBarTitleText"
:
"我的"
,
"navigationStyle"
:
"custom"
"navigationStyle"
:
"custom"
}
}
},
},
{
{
"path"
:
"pages/login/index"
,
"path"
:
"pages/login/index"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"授权登录"
"navigationBarTitleText"
:
"授权登录"
}
}
},
},
{
{
"path"
:
"pages/settle/index"
,
"path"
:
"pages/settle/index"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"入驻"
,
"navigationBarTitleText"
:
"入驻"
,
"navigationStyle"
:
"custom"
,
//
隐藏系统导航栏
"navigationStyle"
:
"custom"
,
//
隐藏系统导航栏
"disableScroll"
:
true
"disableScroll"
:
true
}
}
},
},
{
{
"path"
:
"pages/settle/base"
,
"path"
:
"pages/settle/base"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"入驻"
,
"navigationBarTitleText"
:
"入驻"
,
"navigationStyle"
:
"custom"
,
"navigationStyle"
:
"custom"
,
"disableScroll"
:
true
"disableScroll"
:
true
}
}
},
},
{
{
"path"
:
"pages/learn/index"
,
"path"
:
"pages/learn/index"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"学习"
,
"navigationBarTitleText"
:
"学习"
,
"navigationStyle"
:
"custom"
//隐藏系统导航栏
"navigationStyle"
:
"custom"
//隐藏系统导航栏
}
}
},
},
{
{
"path"
:
"pages/learn/assessment"
,
"path"
:
"pages/learn/assessment"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"认证介绍"
"navigationBarTitleText"
:
"认证介绍"
,
}
"navigationStyle"
:
"custom"
},
}
{
},
"path"
:
"pages/learn/answer"
,
{
"style"
:
{
"path"
:
"pages/learn/answer"
,
"navigationBarTitleText"
:
"考试答题"
"style"
:
{
}
"navigationBarTitleText"
:
"考试答题"
,
},
"navigationStyle"
:
"custom"
}
},
{
{
"path"
:
"pages/learn/result"
,
"path"
:
"pages/learn/result"
,
"style"
:{
"style"
:{
"navigationBarTitleText"
:
"考试答题"
"navigationBarTitleText"
:
"考试答题"
}
}
},
},
{
{
"path"
:
"pages/learn/news-details"
,
"path"
:
"pages/learn/news-details"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
""
"navigationBarTitleText"
:
""
}
}
},
},
{
{
"path"
:
"pages/learn/section"
,
"path"
:
"pages/learn/section"
,
"style"
:{
"style"
:{
"navigationBarTitleText"
:
""
"navigationBarTitleText"
:
""
}
}
},
},
{
{
"path"
:
"pages/learn/curriculum"
,
"path"
:
"pages/learn/curriculum"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
""
"navigationBarTitleText"
:
""
}
}
},
},
{
{
"path"
:
"pages/settle/select"
,
"path"
:
"pages/settle/select"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"选择可服务的城市"
,
"navigationBarTitleText"
:
"选择可服务的城市"
,
"navigationBarBackgroundColor"
:
"#FFFFFF"
,
"navigationBarBackgroundColor"
:
"#FFFFFF"
,
"disableScroll"
:
true
"disableScroll"
:
true
}
}
},
},
{
{
"path"
:
"pages/settle/pay-ensure"
,
"path"
:
"pages/settle/pay-ensure"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"缴纳设备押金"
,
"navigationBarTitleText"
:
"缴纳设备押金"
,
"navigationStyle"
:
"custom"
,
"navigationStyle"
:
"custom"
,
"disableScroll"
:
true
"disableScroll"
:
true
}
}
},
},
{
{
"path"
:
"pages/settle/prompt"
,
"path"
:
"pages/settle/prompt"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"入驻提示"
,
"navigationBarTitleText"
:
"入驻提示"
,
"navigationStyle"
:
"custom"
,
"navigationStyle"
:
"custom"
,
"disableScroll"
:
true
"disableScroll"
:
true
}
}
},
},
{
{
"path"
:
"pages/settle/web"
,
"path"
:
"pages/settle/web"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"签约页面"
"navigationBarTitleText"
:
"签约页面"
}
}
},
},
{
{
"path"
:
"pages/settle/sign-contract"
,
"path"
:
"pages/settle/sign-contract"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"签约页面"
,
"navigationBarTitleText"
:
"签约页面"
,
"navigationStyle"
:
"custom"
,
//
隐藏系统导航栏
"navigationStyle"
:
"custom"
,
//
隐藏系统导航栏
"disableScroll"
:
true
"disableScroll"
:
true
}
}
},
},
{
{
"path"
:
"pages/settle/file"
,
"path"
:
"pages/settle/file"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"入驻资料"
,
"navigationBarTitleText"
:
"入驻资料"
,
"navigationStyle"
:
"custom"
,
"navigationStyle"
:
"custom"
,
"disableScroll"
:
true
"disableScroll"
:
true
}
}
},
},
{
{
"path"
:
"pages/exam/start"
,
"path"
:
"pages/exam/start"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"考试"
"navigationBarTitleText"
:
"考试"
}
}
},
},
{
{
"path"
:
"pages/exam/index"
,
"path"
:
"pages/exam/index"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"入驻考试"
,
"navigationBarTitleText"
:
"入驻考试"
,
"navigationStyle"
:
"custom"
,
"navigationStyle"
:
"custom"
,
"disableScroll"
:
true
"disableScroll"
:
true
}
}
},
},
{
{
"path"
:
"pages/learn/exam"
,
"path"
:
"pages/learn/exam"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"在线考试"
,
"navigationBarTitleText"
:
"在线考试"
,
"enablePullDownRefresh"
:
false
,
"enablePullDownRefresh"
:
false
,
"navigationStyle"
:
"custom"
,
//
隐藏系统导航栏
"navigationStyle"
:
"custom"
,
//
隐藏系统导航栏
"disableScroll"
:
true
"disableScroll"
:
true
}
}
},
},
{
{
"path"
:
"pages/learn/course-detail"
,
"path"
:
"pages/learn/course-detail"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"培训视频"
,
"navigationBarTitleText"
:
"培训视频"
,
"enablePullDownRefresh"
:
false
"enablePullDownRefresh"
:
false
}
}
}
}
,{
,{
//
订单详情页
//
订单详情页
"path"
:
"pages/order/detail"
,
"path"
:
"pages/order/detail"
,
"style"
:
"style"
:
{
{
"navigationStyle"
:
"custom"
//
隐藏系统导航栏
"navigationStyle"
:
"custom"
//
隐藏系统导航栏
}
}
},
},
{
{
"path"
:
"pages/photo/index"
,
"path"
:
"pages/photo/index"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"拍照小工具"
,
"navigationBarTitleText"
:
"拍照小工具"
,
"navigationBarBackgroundColor"
:
"#FFFFFF"
,
"navigationBarBackgroundColor"
:
"#FFFFFF"
,
"backgroundColor"
:
"#F4F5F7"
"backgroundColor"
:
"#F4F5F7"
}
}
},
},
{
{
"path"
:
"pages/photo/setting"
,
"path"
:
"pages/photo/setting"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"水印设置"
,
"navigationBarTitleText"
:
"水印设置"
,
"navigationBarBackgroundColor"
:
"#FFFFFF"
,
"navigationBarBackgroundColor"
:
"#FFFFFF"
,
"backgroundColor"
:
"#F4F5F7"
"backgroundColor"
:
"#F4F5F7"
//
"navigationBarBackgroundColor"
:
"#333333"
,
//
"navigationBarBackgroundColor"
:
"#333333"
,
//
"navigationBarTextStyle"
:
"#FFFFFF"
,
//
"navigationBarTextStyle"
:
"#FFFFFF"
,
//
"disableScroll"
:
true
//
"disableScroll"
:
true
}
}
},
},
{
{
"path"
:
"pages/photo/take"
,
"path"
:
"pages/photo/take"
,
"style"
:
{
"style"
:
{
"navigationStyle"
:
"custom"
,
"navigationStyle"
:
"custom"
,
"navigationBarTitleText"
:
"拍照"
,
"navigationBarTitleText"
:
"拍照"
,
"navigationBarBackgroundColor"
:
"#333333"
,
"navigationBarBackgroundColor"
:
"#333333"
,
"navigationBarTextStyle"
:
"#FFFFFF"
,
"navigationBarTextStyle"
:
"#FFFFFF"
,
"disableScroll"
:
true
"disableScroll"
:
true
}
}
},
},
{
{
"path"
:
"pages/photo/preview"
,
"path"
:
"pages/photo/preview"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"照片预览"
,
"navigationBarTitleText"
:
"照片预览"
,
"navigationBarBackgroundColor"
:
"#333333"
,
"navigationBarBackgroundColor"
:
"#333333"
,
"backgroundColor"
:
"#FFFFFF"
,
"backgroundColor"
:
"#FFFFFF"
,
"navigationBarTextStyle"
:
"white"
"navigationBarTextStyle"
:
"white"
}
}
},
},
{
{
"path"
:
"pages/photo/list"
,
"path"
:
"pages/photo/list"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"规范展示"
,
"navigationBarTitleText"
:
"规范展示"
,
"navigationBarBackgroundColor"
:
"#FFFFFF"
,
"navigationBarBackgroundColor"
:
"#FFFFFF"
,
"backgroundColor"
:
"#F4F5F7"
"backgroundColor"
:
"#F4F5F7"
}
}
}
}
,{
,{
"path"
:
"pages/order/search"
,
"path"
:
"pages/order/search"
,
"style"
:
"style"
:
{
{
"navigationBarTitleText"
:
""
,
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
,
"enablePullDownRefresh"
:
false
,
"navigationBarBackgroundColor"
:
"#F4F5F7"
"navigationBarBackgroundColor"
:
"#F4F5F7"
}
}
}
}
],
],
"globalStyle"
:
{
"globalStyle"
:
{
"navigationBarTextStyle"
:
"black"
,
"navigationBarTextStyle"
:
"black"
,
"navigationBarTitleText"
:
"uni-app"
,
"navigationBarTitleText"
:
"uni-app"
,
"navigationBarBackgroundColor"
:
"#F8F8F8"
,
"navigationBarBackgroundColor"
:
"#F8F8F8"
,
"backgroundColor"
:
"#F4F5F7"
"backgroundColor"
:
"#F4F5F7"
},
},
"tabBar"
:
{
"tabBar"
:
{
"color"
:
"#7A7E83"
,
"color"
:
"#7A7E83"
,
"selectedColor"
:
"#007AFF"
,
"selectedColor"
:
"#007AFF"
,
"borderStyle"
:
"white"
,
"borderStyle"
:
"white"
,
"backgroundColor"
:
"#FFFFFF"
,
"backgroundColor"
:
"#FFFFFF"
,
"list"
:
[
"list"
:
[
{
{
"pagePath"
:
"pages/index/index"
,
"pagePath"
:
"pages/index/index"
,
"iconPath"
:
"static/tab/shouye-0@3x.png"
,
"iconPath"
:
"static/tab/shouye-0@3x.png"
,
"selectedIconPath"
:
"static/tab/shouye-1@3x.png"
,
"selectedIconPath"
:
"static/tab/shouye-1@3x.png"
,
"text"
:
"首页"
"text"
:
"首页"
},
},
{
{
"pagePath"
:
"pages/order/index"
,
"pagePath"
:
"pages/order/index"
,
"iconPath"
:
"static/tab/dingdan-0@3x.png"
,
"iconPath"
:
"static/tab/dingdan-0@3x.png"
,
"selectedIconPath"
:
"static/tab/dingdan-1@3x.png"
,
"selectedIconPath"
:
"static/tab/dingdan-1@3x.png"
,
"text"
:
"订单"
"text"
:
"订单"
},
},
{
"pagePath"
:
"pages/learn/index"
,
"iconPath"
:
"static/tab/xuexi-0@3x.png"
,
"selectedIconPath"
:
"static/tab/xuexi-1@3x.png"
,
"text"
:
"学习"
},
{
"pagePath"
:
"pages/mine/index"
,
"iconPath"
:
"static/tab/wode-0@3x.png"
,
"selectedIconPath"
:
"static/tab/wode-1@3x.png"
,
"text"
:
"我的"
}
]
},
"condition"
:
{
//模式配置,仅开发期间生效
"current"
:
0
,
//当前激活的模式(list
的索引项)
"list"
:
[
{
"name"
:
"自营平台"
,
//模式名称
"path"
:
"pages/index/index"
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
},
{
"name"
:
"订单列表"
,
//模式名称
"path"
:
"pages/order/index"
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
},
{
"name"
:
"拍照小工具"
,
//模式名称
"path"
:
"pages/photo/index"
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
},
{
{
//
gaomingbo
"pagePath"
:
"pages/learn/index"
,
"name"
:
"工单-过程反馈"
,
"iconPath"
:
"static/tab/xuexi-0@3x.png"
,
"path"
:
"pages/order/feedback"
,
"selectedIconPath"
:
"static/tab/xuexi-1@3x.png"
,
"query"
:
""
"text"
:
"学习"
},
},
{
{
"name"
:
"订单详情"
,
//模式名称
"pagePath"
:
"pages/mine/index"
,
"path"
:
"pages/order/detail"
,
//启动页面,必选
"iconPath"
:
"static/tab/wode-0@3x.png"
,
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
"selectedIconPath"
:
"static/tab/wode-1@3x.png"
,
},
"text"
:
"我的"
{
}
"name"
:
"在线考试"
,
//模式名称
]
"path"
:
"pages/learn/exam"
,
//启动页面,必选
},
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
"condition"
:
{
//模式配置,仅开发期间生效
},
"current"
:
0
,
//当前激活的模式(list
的索引项)
{
"list"
:
[
"name"
:
"入驻考试"
,
//模式名称
{
"path"
:
"pages/exam/index"
,
//启动页面,必选
"name"
:
"自营平台"
,
//模式名称
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
"path"
:
"pages/index/index"
,
//启动页面,必选
},
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
{
},
"name"
:
"完工配置"
,
//模式名称
{
"path"
:
"pages/order/complete"
,
//启动页面,必选
"name"
:
"订单列表"
,
//模式名称
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
"path"
:
"pages/order/index"
,
//启动页面,必选
},
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
{
},
"name"
:
"资料信息"
,
//模式名称
{
"path"
:
"pages/settle/file"
,
//启动页面,必选
"name"
:
"拍照小工具"
,
//模式名称
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
"path"
:
"pages/photo/index"
,
//启动页面,必选
},
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
{
},
"name"
:
"缴纳保证金"
,
//模式名称
{
"path"
:
"pages/settle/pay-ensure"
,
//启动页面,必选
//
gaomingbo
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
"name"
:
"工单-过程反馈"
,
},
"path"
:
"pages/order/feedback"
,
{
"query"
:
""
"name"
:
"签约页面"
,
//模式名称
},
"path"
:
"pages/settle/sign-contract"
,
//启动页面,必选
{
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
"name"
:
"订单详情"
,
//模式名称
},
"path"
:
"pages/order/detail"
,
//启动页面,必选
{
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
"name"
:
"订单 - 拒单"
,
//模式名称
},
"path"
:
"pages/order/refuse"
,
//启动页面,必选
{
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
"name"
:
"在线考试"
,
//模式名称
},
"path"
:
"pages/learn/exam"
,
//启动页面,必选
{
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
"name"
:
"订单 - 过程反馈"
,
//模式名称
},
"path"
:
"pages/order/feedback"
,
//启动页面,必选
{
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
"name"
:
"入驻考试"
,
//模式名称
}
"path"
:
"pages/exam/index"
,
//启动页面,必选
]
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
}
},
{
"name"
:
"完工配置"
,
//模式名称
"path"
:
"pages/order/complete"
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
},
{
"name"
:
"资料信息"
,
//模式名称
"path"
:
"pages/settle/file"
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
},
{
"name"
:
"缴纳保证金"
,
//模式名称
"path"
:
"pages/settle/pay-ensure"
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
},
{
"name"
:
"签约页面"
,
//模式名称
"path"
:
"pages/settle/sign-contract"
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
},
{
"name"
:
"订单 - 拒单"
,
//模式名称
"path"
:
"pages/order/refuse"
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
},
{
"name"
:
"订单 - 过程反馈"
,
//模式名称
"path"
:
"pages/order/feedback"
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
}
]
}
}
}
\ No newline at end of file
src/pages/learn/answer.vue
View file @
3455a3d2
<
template
>
<
template
>
<view
class=
"content"
>
<view
class=
"answer-box"
>
<view
class=
""
>
<u-navbar
<view
class=
""
style=
"padding-left: 94rpx; margin: 36rpx 0"
>
title=
"考核认证"
<text
class=
"dx"
>
单选
</text
:background=
"background"
><text
class=
"all"
>
{{
ExaminationQuestions
.
progress
}}
</text>
:border-bottom=
"false"
></u-navbar>
<view
class=
"content"
>
<view
class=
""
>
<text
class=
"dx"
>
单选
</text>
</view>
</view>
<view
class=
""
style=
"text-align: center"
>
<view
class=
"topicView"
>
{{
ExaminationQuestions
.
question
.
content
}}
<text
class=
"topictext"
>
{{
ExaminationQuestions
.
question
.
content
}}
</text>
</view>
</view>
<view
class=
""
style=
"margin-top: 130rpx"
>
<view
class=
""
>
<view
class=
"list-box"
>
<view
class=
"list-box"
>
<view
<view
v-for=
"(item, index) in list"
v-for=
"(item, index) in list"
...
@@ -21,6 +27,7 @@
...
@@ -21,6 +27,7 @@
</view>
</view>
</view>
</view>
<button
class=
"btn"
@
click=
"getNextClick()"
>
下一题
</button>
<button
class=
"btn"
@
click=
"getNextClick()"
>
下一题
</button>
<text
class=
"all"
>
{{
ExaminationQuestions
.
progress
}}
</text>
</view>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -47,6 +54,9 @@ export default {
...
@@ -47,6 +54,9 @@ export default {
content
:
""
,
content
:
""
,
},
},
],
],
background
:
{
backgroundColor
:
"#F4F5F7"
,
},
isSelect
:
false
,
isSelect
:
false
,
selectId
:
[],
selectId
:
[],
userExamId
:
null
,
userExamId
:
null
,
...
@@ -199,20 +209,57 @@ export default {
...
@@ -199,20 +209,57 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.
content
{
.
answer-box
{
width
:
60
0rpx
;
width
:
75
0rpx
;
height
:
800rpx
;
height
:
100vh
;
/* background: #8F8F94; */
/* background: #8F8F94; */
margin
:
0
auto
;
margin
:
0
auto
;
}
}
.content
{
margin
:
30rpx
30rpx
;
overflow
:
hidden
;
border-radius
:
12rpx
;
padding
:
40rpx
30rpx
40rpx
30rpx
;
background-repeat
:
no-repeat
;
background-size
:
66%
;
background-color
:
#fff
;
background-position
:
right
bottom
;
min-height
:
800rpx
;
}
.dx
{
.dx
{
padding
:
0rpx
;
border-radius
:
8rpx
;
background
:
#2979ff
;
background-color
:
#ff930d
;
font-size
:
20rpx
;
color
:
#ffffff
;
color
:
#ffffff
;
border-radius
:
0px
;
width
:
72rpx
;
height
:
40rpx
;
display
:
-
webkit-box
;
display
:
-
webkit-flex
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
;
-webkit-box-pack
:
center
;
-webkit-justify-content
:
center
;
justify-content
:
center
;
}
.topicView
{
margin-top
:
40rpx
;
width
:
100%
;
display
:
-
webkit-box
;
display
:
-
webkit-flex
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
align-items
:
center
;
margin-bottom
:
40rpx
;
}
.topictext
{
color
:
#333333
;
font-size
:
32rpx
;
line-height
:
48rpx
;
font-weight
:
bold
;
}
}
.num
{
.num
{
color
:
#2b85e4
;
color
:
#2b85e4
;
}
}
...
@@ -263,10 +310,18 @@ export default {
...
@@ -263,10 +310,18 @@ export default {
/*未选择*/
/*未选择*/
.noselde
{
.noselde
{
background
:
#e4e7ed
;
margin-top
:
30rpx
;
color
:
#959595
;
background-color
:
#f4f5f7
;
border-radius
:
20upx
;
width
:
100%
;
font-size
:
20upx
;
padding
:
40rpx
30rpx
;
padding
:
0
10upx
;
display
:
-
webkit-box
;
display
:
-
webkit-flex
;
display
:
flex
;
-webkit-box-align
:
start
;
-webkit-align-items
:
flex-start
;
align-items
:
flex-start
;
border-radius
:
12rpx
;
border
:
2rpx
solid
transparent
;
font-size
:
28rpx
;
}
}
</
style
>
</
style
>
src/pages/learn/assessment.vue
View file @
3455a3d2
<
template
>
<
template
>
<view
class=
"content"
>
<view
class=
"content"
>
<view
class=
"title"
>
考试规则说明
</view>
<u-navbar
back-icon-color=
"#FFFFFF"
:background=
"background"
title-color=
"#fff"
:border-bottom=
"false"
></u-navbar>
<view
class=
"title"
>
考试规则
</view>
<view
class=
"test"
>
<view
class=
"test"
>
<view
class=
"slogan"
>
这是一场严肃的考试,请认真查看 规则,预祝您顺利通过考试!
</view
>
<view
class=
"text"
>
<view
class=
"text"
>
<text
class=
"left"
>
考试科目:
</text
<text
class=
"left"
>
考试科目:
</text
><text
style=
"color: #007aff"
>
服务规范
</text>
><text
style=
"color: #007aff"
>
服务规范
</text>
</view>
</view>
<view
class=
"text"
>
<view
class=
"text"
>
<text
class=
"left"
>
合格条件:
</text
<text
class=
"left"
>
合格条件:
</text><text>
60分
</text>
><text>
随机20题,答对20题
</text>
</view>
</view>
<view
class=
"text"
>
<view
class=
"text"
>
<text
class=
"left"
>
考试时间:
</text><text>
30分钟
</text>
<text
class=
"left"
>
考试时间:
</text><text>
30分钟
</text>
</view>
</view>
<view
class=
"text"
>
<view
class=
"text"
>
<text
class=
"left"
>
题目规则:
</text
<text
class=
"left"
>
题目来源:
</text><text>
系统随机20题
</text>
><text>
题库100题,随机抽20题
</text>
</view>
<view
class=
"text"
>
<text
class=
"left"
>
备注说明:
</text><text>
无
</text>
</view>
</view>
<button
@
click=
"getUserExamId()"
>
开始考试
</button>
</view>
</view>
<button
@
click=
"getUserExamId()"
>
开始考试
</button>
</view>
</view>
</
template
>
</
template
>
...
@@ -77,32 +81,62 @@ export default {
...
@@ -77,32 +81,62 @@ export default {
<
style
>
<
style
>
.content
{
.content
{
margin
:
187
rpx
80
rpx
;
width
:
750
rpx
;
height
:
100vh
;
overflow
:
auto
;
background-color
:
#f4f5f7
;
background-image
:
linear-gradient
(
to
top
,
#f4f5f7
0%
,
#2272ff
50%
);
background-size
:
750
rpx
600
rpx
;
background-repeat
:
no-repeat
;
}
}
.title
{
.title
{
font-size
:
17px
;
padding
:
30
rpx
30
rpx
46
rpx
;
text-align
:
center
;
line-height
:
40
rpx
;
font-size
:
40
rpx
;
color
:
#fff
;
}
}
.test
{
.test
{
margin
:
0
0
;
margin
:
0
30
rpx
;
overflow
:
hidden
;
border-radius
:
12
rpx
;
padding-bottom
:
60
rpx
;
background-image
:
url(../../static/photo/examination.png)
;
background-repeat
:
no-repeat
;
background-size
:
66%
;
background-color
:
#fff
;
background-position
:
right
bottom
;
min-height
:
800
rpx
;
}
.slogan
{
font-size
:
40
rpx
;
font-weight
:
bold
;
color
:
#333333
;
line-height
:
20px
;
padding
:
50
rpx
58
rpx
46
rpx
30
rpx
;
}
}
.left
{
.left
{
margin-right
:
8
rpx
;
margin-right
:
8
rpx
;
margin-left
:
68
rpx
;
margin-left
:
30
rpx
;
color
:
#666666
;
font-size
:
28
rpx
;
}
}
.text
{
.text
{
margin
:
5
0
rpx
0
;
margin
:
3
0
rpx
0
;
}
}
button
{
button
{
width
:
364
rpx
;
width
:
600
rpx
;
height
:
56
rpx
;
height
:
104
rpx
;
background
:
#007aff
;
background
:
#2272ff
;
font-size
:
24
rpx
;
font-size
:
32
rpx
;
font-weight
:
600
;
color
:
#ffffff
;
color
:
#ffffff
;
margin-top
:
237
rpx
;
border-radius
:
26px
;
line-height
:
104
rpx
;
}
}
</
style
>
</
style
>
src/static/photo/examination.png
0 → 100644
View file @
3455a3d2
15.7 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment