|
@@ -1338,7 +1338,14 @@ export default {
|
|
//提示
|
|
//提示
|
|
this.$request.sys_study_prompt().then((res) => {
|
|
this.$request.sys_study_prompt().then((res) => {
|
|
if (res.code==200&&res.data) {
|
|
if (res.code==200&&res.data) {
|
|
- this.$confirm(res.data, "提示", {
|
|
|
|
|
|
+ //var tipsss="【温馨提醒】<br>1.勿拉进度条或倍数观看;<br>2.勿使用照片进行识别;<br>3.勿在灯光昏暗处进行学习;<br>4.规范学习,勿在开车过程进行学习。<br>学习过程如出现违规现象,一律打回重修。"
|
|
|
|
+ var confirmText=res.data.split('\n')
|
|
|
|
+ const newDatas = [];
|
|
|
|
+ const h = this.$createElement;
|
|
|
|
+ for ( const i in confirmText ) {
|
|
|
|
+ newDatas.push( h( 'p', null, confirmText[ i ] ) );
|
|
|
|
+ }
|
|
|
|
+ this.$confirm(h( 'div', null, newDatas ), "提示", {
|
|
confirmButtonText: "确定",
|
|
confirmButtonText: "确定",
|
|
cancelButtonText: "取消",
|
|
cancelButtonText: "取消",
|
|
showCancelButton: false,
|
|
showCancelButton: false,
|
|
@@ -1540,6 +1547,9 @@ export default {
|
|
|
|
|
|
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
|
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|
|
|
|
+uni-modal .uni-modal__bd{
|
|
|
|
+ text-align: left;
|
|
|
|
+}
|
|
.oldPageJump {
|
|
.oldPageJump {
|
|
margin-top: 20px;
|
|
margin-top: 20px;
|
|
border: 1px solid #eee;
|
|
border: 1px solid #eee;
|