index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642
  1. <template>
  2. <div class="m-right-block fr mh576">
  3. <div class="right-block-bd ng-scope" ui-view="myStudyContent" style="position: relative;">
  4. <div class="panel-tit clear">
  5. <p class="fl">推荐课程</p>
  6. <ul class="fr tips-intro" style="color:royalblue" @mouseover="showTip=true" @mouseleave="showTip=false" >
  7. <li class="fs15 tit">
  8. <i class="p-ico questiong-ico" style="margin-right: 0px;"/> 已将近退休年龄,是否还需要参加继续教育?
  9. </li>
  10. </ul>
  11. <div class="fr tip-card" v-show="showTip" >
  12. <div class="p20">
  13. <h3 >一、建设从业人员:</h3>
  14. <h5 style="margin: 8px;">1、安管人员:</h5>
  15. <h5 style="margin-left: 16px;">①企业主要负责人(A证):年龄18周岁以上。</h5>
  16. <h5 style="margin-left: 16px;">②项目负责人(B证):年龄18周岁以上,65周岁以下。</h5>
  17. <h5 style="margin-left: 16px;">③安全生产管理人员(C证):年龄18周岁以上,60周岁以下。</h5>
  18. <h4 style="margin: 8px;">2、特种作业人员:年龄18周岁以上,男性55周岁以下,女性50周岁以下。</h4>
  19. <h4 style="margin: 8px;">3、八大员:年龄20周岁以上,且男性不超过60周岁,女性不超过55周岁。</h4>
  20. <h2 style="margin:8px 0 16px 0px;">二、执业注册人员:</h2>
  21. <h4 style="margin: 8px;">1、注册建造师(一级、二级)、注册监理工程师:年龄65周岁以下;</h4>
  22. <h4 style="margin: 8px;">2、其他执业资格注册证件无年龄要求。</h4>
  23. </div>
  24. </div>
  25. </div>
  26. <el-row class="pt-line mt20">
  27. <el-col :span="6" v-for="item in typeList" :key="item.id" v-if="item.isOpen && !item.isNew && !item.link">
  28. <span :class="{active:item.name==type }" class="nav-btn w220" @click="type=item.name">{{item.name}} </span>
  29. </el-col>
  30. </el-row>
  31. <div class="mt10" v-if="type=='施工现场专业人员'">
  32. <p style="color: red;font-size: 16px;">
  33. 报名对象为:2020年度及以后由培训单位核发的和2021年度换发的“电子培训合格证”且每年度需参加继续教育人员
  34. </p>
  35. <p style="color: red;font-size: 16px;">
  36. 注意:继续教育学员请先下载
  37. <a style="color: blue;cursor: hand;" href="https://sm.hqedust.com/cdn/%E7%BB%A7%E7%BB%AD%E6%95%99%E8%82%B2%E5%A7%94%E6%89%98%E5%9F%B9%E8%AE%AD%E3%80%81%E6%89%BF%E8%AF%BA%E5%87%BD.doc">
  38. 《继续教育委托培训、承诺函》
  39. </a>
  40. ,填写并加盖单位公章后,在申请开通课程界面上传扫描件、并缴费
  41. </p>
  42. </div>
  43. <!-- <div class="mt10" v-if="type=='燃气经营企业'">
  44. <p style="color: red;font-size: 16px;">
  45. 注意:继续教育学员请先下载
  46. <a style="color: blue;cursor: hand;" href="https://sm.hqedust.com/cdn/%E7%87%83%E6%B0%94%E4%BA%BA%E5%91%98%E4%BA%BA%E5%91%98%E5%B2%97%E4%BD%8D%E7%BB%A7%E7%BB%AD%E6%95%99%E8%82%B2%E5%A7%94%E6%89%98%E5%9F%B9%E8%AE%AD%E3%80%81%E6%89%BF%E8%AF%BA%E5%87%BD.doc">
  47. 《燃气人员人员岗位继续教育委托培训、承诺函》
  48. </a>
  49. ,填写并加盖单位公章后,在申请开通课程界面上传扫描件、并缴费
  50. </p>
  51. </div> -->
  52. <ul class="pt-line mt20" v-if="ndList.length>1">
  53. <li style="float: left;font-size: 16px;margin: 4px;padding: 4px;" >
  54. <span>课程年度:</span>
  55. </li>
  56. <li v-for="item in ndList" style="float: left;">
  57. <span :class="{active:item==nd }" class="nav-btn-years" @click="nd=item">{{item}} </span>
  58. </li>
  59. </ul>
  60. <ul class="m-course-list clear mt10 classlist">
  61. <li v-for="(item,index) in list.slice(page*size-size, page*size)" :key="item.course_id" class="pt-sola mt20 pb10">
  62. <div>
  63. <span v-if="item.isFinish==1" class="p-ico2 ico-passed"></span>
  64. <div class="img">
  65. <img :src="item.tb">
  66. <div class="year-label">
  67. <span v-if="item.is_pay==0 && item.buyImg =='' && item.payNo == ''">
  68. 还未购买
  69. </span>
  70. <span v-else-if="item.is_pay==0" style="background-color: orange;">
  71. 等待审核
  72. </span>
  73. <span v-else-if="item.is_pay==2" style="background-color: #78335F;">申请驳回</span>
  74. <span v-else-if="!item.is_pass" style="background-color: blue;padding: 2px;border-radius: 2px;">在学习中</span>
  75. <span v-else style="background-color: green;padding: 2px;border-radius: 2px;">已经完成</span>
  76. </div>
  77. <div class="hover-block">
  78. <div class="mask-bg"></div>
  79. <el-button @click="gotoPlay(item.course_id)" v-if="item.is_pay==1" class="ui-btn btn-blue">进入学习</el-button>
  80. <el-button @click="goPay(item)" v-else-if="item.is_pay==2 || !!item.buyImg" class="ui-btn btn-w">补充材料</el-button>
  81. <el-button @click="goPay(item)" v-else-if="item.payErr" class="ui-btn btn-gr">申请购买</el-button>
  82. <el-button @click="goPay(item)" v-else class="ui-btn btn-o">购买课程</el-button>
  83. </div>
  84. </div>
  85. <div class="tit"><a>{{item.displayName || item.name}}</a>
  86. </div>
  87. <div class="info">
  88. <p class="w1"><span class="p-ico c1"></span> {{item.type}} </p>
  89. <p class="w2"><span class="p-ico c2"></span>{{item.nd||'2020'}}</p>
  90. <p class="w1">
  91. <span class="p-ico c5"></span> ¥{{item.fee/100}}元
  92. </p>
  93. <p class="w2">
  94. <span class="p-ico c3"></span> {{item.xs/10}}学时
  95. </p>
  96. </div>
  97. </div>
  98. </li>
  99. </ul>
  100. <div v-if="list.length==0" class="tc mt20 red">
  101. <span style="color: red;padding:40px;font-size: 26px;">已经最后一页了</span>
  102. </div>
  103. <el-pagination class="m-pages"
  104. @current-change="(page)=>{this.page=page}"
  105. :current-page="page"
  106. :page-size="size"
  107. layout="total, prev, pager, next"
  108. :total="list.length">
  109. </el-pagination>
  110. </div>
  111. <el-dialog title="申请开通课程" :visible.sync="buyCourseDialog"
  112. width="850px" top="20px" align="center">
  113. <el-form label-width="80px" label-position="right" :inline="true" :model="buyForm" status-icon :rules="rules" ref="elForm">
  114. <el-row align="left">
  115. <el-col :lg="12" class="pl20 pr20">
  116. <el-form-item lable="报考岗位" prop="courseName">
  117. <label slot="label">报考岗位</label>
  118. <el-input v-model="buyForm.courseName" type="text" placeholder="报考岗位" style="width: 260px;"></el-input>
  119. </el-form-item>
  120. </el-col>
  121. <el-col :lg="12" class="pl20 pr20">
  122. <el-form-item lable="证书编号" prop="rzCode">
  123. <label slot="label">证书编号</label>
  124. <el-input v-model="buyForm.rzCode" type="text" style="width: 260px;" >
  125. <template #suffix>
  126. <el-button @click="openShowAllRzcodeDialog" type="text">修改</el-button>
  127. </template>
  128. </el-input>
  129. </el-form-item>
  130. </el-col>
  131. <!-- <el-row>
  132. <span style="color: red;padding:10px"> 请认真核实报考岗位与证书编号,本课程不支持退款</span>
  133. </el-row> -->
  134. <el-col :lg="12" class="pl20 pr20">
  135. <el-form-item lable="邮箱地址" prop="email">
  136. <label slot="label">邮箱地址</label>
  137. <el-input v-model="buyForm.email" type="textarea" placeholder="邮箱地址" style="width: 260px;"></el-input>
  138. </el-form-item>
  139. </el-col>
  140. <el-col :span="12" class="pl20 pr20">
  141. <el-form-item lable="订单号" prop="payNo">
  142. <label slot="label">订单编号</label>
  143. <el-input v-model="buyForm.payNo" placeholder="输入订单编号后6位" style="width: 260px;" :minlength="6" :maxlength="6" show-word-limit ></el-input>
  144. </el-form-item>
  145. </el-col>
  146. </el-row>
  147. <el-row>
  148. <el-col :span="12" class="pl20 pr20">
  149. <el-form-item lable="工作单位" prop="company">
  150. <label slot="label">工作单位</label>
  151. <el-input v-model="buyForm.company" type="textarea" placeholder="工作单位" style="width: 260px;"></el-input>
  152. </el-form-item>
  153. </el-col>
  154. <el-col :span="12" class="pl20 pr20">
  155. <el-form-item lable="备注信息" prop="marks">
  156. <label slot="label">备注信息</label>
  157. <el-input v-model="buyForm.marks" type="textarea" placeholder="姓名+工种名称,例:张三+土建施工员" style="width: 260px;"></el-input>
  158. </el-form-item>
  159. </el-col>
  160. </el-row>
  161. <el-row v-if="hasPromise(type)">
  162. <div style="width: 700px;margin: 0 auto;text-align: left;color: red;">
  163. 提示:继续教育承诺函企业名称应与个人报名系统企业名称一致,如已变更单位的,
  164. 请先在个人系统帐号设置进入额外信息栏进行修改工作单位与报名承诺函工作单位相符后方可上传承诺函确认
  165. </div>
  166. <img :src="buyForm.buyImg" :onerror="errorImg" style="width: 160px;text-align: center;">
  167. <do-upload @onFinish="(url)=>{buyForm.buyImg=url}" placeholder="上传承诺书" width="160px"> </do-upload>
  168. </el-row>
  169. <el-row>
  170. <h2 class="tc"> 本课程费用: <strong style="color: red;"> {{buyForm.fee/100}} 元 </strong> </h2>
  171. <div style="width: 300px; margin: 0px auto;">
  172. <img src="/static/images/wxpay.jpg" width="300px" @click="showImg(buyForm.buyImg)">
  173. </div>
  174. </el-row>
  175. <el-row class="tc fc">
  176. <el-form-item >
  177. <el-button @click="cancelBuyCourse">取 消</el-button>
  178. <el-button @click="buyCourse" type="primary">确 定</el-button>
  179. </el-form-item>
  180. </el-row>
  181. </el-form>
  182. </el-dialog>
  183. <el-dialog :title="promiseType[promise.showType]" class="fc tc" :visible.sync="commitmentDialog">
  184. <div>
  185. <div>
  186. <div class="commitment-header"> {{promise.title}} </div>
  187. <div class="tl commitment">
  188. {{promise.content}}
  189. </div>
  190. <div class="commitment-footer">
  191. {{promise.footer}}
  192. </div>
  193. </div>
  194. <div class="tl commitment-content mt20" v-if="promise.showType==2">
  195. <el-radio-group v-model="isCommitment">
  196. <el-row class="mt10">
  197. <el-radio :label="true">本人作出上述承诺</el-radio>
  198. </el-row>
  199. <el-row class="mt10">
  200. <el-radio :label="false">本人不作出上述承诺</el-radio>
  201. </el-row>
  202. </el-radio-group>
  203. </div>
  204. <span slot="footer" class="dialog-footer" v-if="promise.showType==2">
  205. <el-button @click="commitmentDialog = false">取 消</el-button>
  206. <el-button type="primary" :disabled="isCommitment?false:true" @click="buyCourseDialog=true">确 定</el-button>
  207. </span>
  208. <div slot="footer" class="dialog-footer mt20" v-else>
  209. <el-button @click="commitmentDialog = false">取 消</el-button>
  210. <el-button type="primary" @click="buyCourseDialog=true">继续购买</el-button>
  211. </div>
  212. </div>
  213. </el-dialog>
  214. <el-dialog append-to-body close-on-click-modal :visible.sync="showImgDialog" style="margin-top: 0px;" :width="width">
  215. <img :src="imgUrl" @load="onLoad" alt="" />
  216. </el-dialog>
  217. <el-dialog append-to-body close-on-click-modal :visible.sync="showAllRzcodeDialog" width="1024">
  218. <el-table v-if="buyForm.list.length>0" :data="buyForm.list" border >
  219. <el-table-column label="证书编号" prop="certificateNum" align="center" />
  220. <el-table-column label="岗位名称" prop="positionName" align="center" />
  221. <el-table-column label="证书状态" prop="certificateStatus" align="center" />
  222. <el-table-column label="发证机关" prop="certificateOrgan" align="center" />
  223. <el-table-column label="发证时间" prop="startTime" align="center" />
  224. <el-table-column label="选择" prop="reviewTime" align="center">
  225. <template slot-scope="{row}">
  226. <el-button @click="selectRzcode(row)" type="primary">选择</el-button>
  227. </template>
  228. </el-table-column>
  229. </el-table>
  230. </el-dialog>
  231. </div>
  232. </template>
  233. <script>
  234. import {
  235. httpServer
  236. } from "@/components/httpServer/httpServer.js";
  237. import {
  238. MessageBox
  239. } from "element-ui";
  240. import {
  241. parseTime
  242. } from "@/utils";
  243. import DoUpload from '@/components/upload/index.vue'
  244. import exampleImg from '@/assets/template.png'
  245. import {
  246. mapGetters,
  247. mapActions
  248. } from "vuex";
  249. export default {
  250. name: "Index",
  251. data() {
  252. return {
  253. page: 1,
  254. size: 6,
  255. total: 0,
  256. stage: 0,
  257. isCompanyPay: 0,
  258. showTip: false,
  259. width: "",
  260. type: '',
  261. list: [],
  262. nd: new Date().getFullYear()+'',
  263. ndList:[],
  264. allList:[],
  265. isCommitment: "",
  266. buyCourseDialog: false,
  267. showExample: false,
  268. showImgDialog: false,
  269. showAllRzcodeDialog: false,
  270. promiseType:{1:'温馨提示', 2:'承诺书', 3:'委 托 书'},
  271. buyForm: {
  272. marks: '',
  273. rzCode: '',
  274. payNo:'',
  275. email:'',
  276. company:'',
  277. buyImg:'',
  278. name:'',
  279. courseName: '',
  280. list:[]
  281. },
  282. promise:{status:0,showType:1},
  283. promiseList: [],
  284. imgUrl: '',
  285. qrcodeUrl: "",
  286. outTradeNo: "",
  287. courseFee: 0,
  288. title: '',
  289. timer: null,
  290. tickCount: 0,
  291. listLoading: false,
  292. media: {},
  293. commitmentDialog: false,
  294. exampleImg: exampleImg,
  295. rules: {
  296. rzCode: [{
  297. required: true,
  298. message: '请输入证书编号'
  299. }],
  300. payNo:[
  301. {
  302. required: true,
  303. message: '请输入订单编号后六位'
  304. }
  305. ],
  306. marks:[
  307. {
  308. required: true,
  309. message: '请输入备注信息'
  310. }
  311. ],
  312. email: [{
  313. required: true,
  314. message: '请输入有效邮箱'
  315. },
  316. {
  317. type: 'string',
  318. message: '邮箱格式不正确',
  319. trigger: 'blur',
  320. transform(value) {
  321. if (!/^\w+((-\w+)|(\.\w+))*@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(value)) {
  322. return true
  323. } else {}
  324. }
  325. }
  326. ],
  327. company: [{
  328. required: true,
  329. message: '请输入所在企业'
  330. }],
  331. courseName: [{
  332. required: true,
  333. message: '请输入报考岗位'
  334. }]
  335. },
  336. errorImg: 'this.src="' + require('../../../assets/images/no-data_hash5abcd2ef62.png') + '"'
  337. };
  338. },
  339. computed: {
  340. ...mapGetters("user", ["typeList", "userInfo"])
  341. },
  342. components: {
  343. DoUpload
  344. },
  345. filters: {
  346. dateFilter(val) {
  347. return parseTime(val, '{y}-{m}-{d}')
  348. }
  349. },
  350. created(){
  351. // 获取所有承诺书
  352. httpServer("course.GetAllCoursePromise", {}).then((res) => {
  353. if (res.code != 200) return;
  354. this.promiseList = res.data.list;
  355. });
  356. },
  357. watch: {
  358. type(val) {
  359. this.page = 1
  360. this.nd = new Date().getFullYear()+''
  361. this.getData()
  362. },
  363. nd(val){
  364. this.filterData()
  365. },
  366. isCommitment(val) {
  367. console.log(val)
  368. }
  369. },
  370. beforeMount() {
  371. this.type = this.$route.query.type||''
  372. if( this.type ){
  373. this.getData();
  374. }
  375. },
  376. mounted(){
  377. if (!this.type && this.typeList.length > 0) {
  378. for( let i in this.typeList){
  379. let item = this.typeList[i];
  380. if(item.isOpen && !item.isNew ){
  381. this.type = item.name;
  382. break;
  383. }
  384. }
  385. }
  386. },
  387. beforeDestroy() {
  388. if (this.timer) window.clearInterval(this.timer);
  389. },
  390. methods: {
  391. showImg(url) {
  392. if (!url) return;
  393. this.imgUrl = url;
  394. this.showImgDialog = true;
  395. },
  396. closeDialog() {
  397. if (this.timer) window.clearInterval(this.timer);
  398. },
  399. onLoad(e) {
  400. const img = e.target;
  401. let width = 0;
  402. if (img.fileSize > 0 || (img.width > 1 && img.height > 1)) {
  403. width = img.width + 40;
  404. }
  405. this.width = width + "px";
  406. },
  407. matchPromise( name ){
  408. let type = this.type;
  409. let isMatch = false
  410. for( let i in this.promiseList){
  411. let item = this.promiseList[i];
  412. if( name == item.type || item.type == type ){
  413. this.promise = Object.assign( this.promise, item);
  414. console.log("promise", this.promise);
  415. isMatch = true
  416. } else if( !isMatch && item.type == '默认类型'){
  417. this.promise = Object.assign( this.promise, item);
  418. }
  419. }
  420. },
  421. getData() {
  422. if (!this.type) return;
  423. // 匹配承诺书
  424. let param = {
  425. size: 100,
  426. type: this.type,
  427. from: 0
  428. }
  429. httpServer("course.getcoursemarket", param).then((res) => {
  430. if (res.code == 200) {
  431. this.allList = res.data.list;
  432. this.ndList = [];
  433. for( let i in this.allList ){
  434. let nd = this.allList[i].nd;
  435. if(this.ndList.indexOf( nd ) == -1 ) this.ndList.push( nd );
  436. }
  437. this.filterData()
  438. }
  439. });
  440. },
  441. filterData(){
  442. let nd = this.nd;
  443. this.list = this.allList.filter( res=>{
  444. return res.nd == nd;
  445. })
  446. },
  447. cancelBuyCourse(){
  448. this.$refs["elForm"].resetFields();
  449. this.buyCourseDialog=false
  450. this.commitmentDialog = false;
  451. },
  452. openShowAllRzcodeDialog(){
  453. this.showAllRzcodeDialog = true;
  454. },
  455. selectRzcode( row ){
  456. this.buyForm.rzCode = row.certificateNum;
  457. this.showAllRzcodeDialog = false;
  458. },
  459. buyCourse() {
  460. this.$refs["elForm"].validate((valid) => {
  461. if (!valid) return;
  462. let { marks, company, payNo, course_id, courseName, rzCode, name, email, buyImg} = this.buyForm;
  463. if (courseName != name) {
  464. this.$message.errorMsg("报考岗位有误", 1)
  465. return;
  466. }
  467. let param = { marks, payNo, company,courseId: course_id, courseName,rzCode,email,buyImg }
  468. httpServer("course.buyCourse", param).then((res) => {
  469. if (res.code == 200) {
  470. this.$message.successMsg("申请购买成功", 1);
  471. this.buyForm.temp.marks = this.buyForm.marks
  472. Object.assign( this.buyForm.temp, param);
  473. this.$refs["elForm"].resetFields();
  474. this.buyForm.temp.is_pay = 0
  475. this.buyCourseDialog = false;
  476. this.commitmentDialog = false;
  477. }
  478. });
  479. })
  480. },
  481. gotoDetail(courseId) {
  482. this.$router.push(`/main/course/${courseId}`);
  483. },
  484. uploadBuyImg(url) {
  485. this.buyForm.buyImg = url;
  486. },
  487. hasPromise( type ){
  488. return type == '施工现场专业人员'
  489. },
  490. hasNotice(){
  491. return this.buyForm.name =='施工现场电焊工'
  492. },
  493. testBuyOK(item){
  494. this.stage = 2;
  495. this.isCompanyPay = 1;
  496. this.isCommitment=''
  497. this.buyForm.rzCode = item.rzCode;
  498. this.buyForm.company = 'ssss';
  499. this.buyForm.name = item.courseName;
  500. // let isEdu = this.hasPromise(item.type);
  501. if( this.promise.status ==1){
  502. this.commitmentDialog = true;
  503. this.buyCourseDialog = false;
  504. }else{
  505. this.buyCourseDialog = true;
  506. this.commitmentDialog = false;
  507. }
  508. // if( isEdu || this.hasNotice() ){
  509. // this.buyCourseDialog = false;
  510. // this.commitmentDialog = true;
  511. // }else{
  512. // this.buyCourseDialog = true;
  513. // this.commitmentDialog = false;
  514. // }
  515. },
  516. goPay( item ) {
  517. this.buyForm = Object.assign(this.buyForm, item)
  518. this.buyForm.company = this.userInfo.company;
  519. this.buyForm.temp = item;
  520. this.buyForm.courseName = item.name;
  521. this.matchPromise( item.name );
  522. // this.testBuyOK(item)
  523. // return;
  524. // 检查
  525. item.payErr = true;
  526. httpServer("weixin.docheckpay", {
  527. courseId: item.course_id
  528. }).then((res) => {
  529. if (res.code == 200) {
  530. this.stage = 2;
  531. this.isCompanyPay = 0;
  532. this.isCommitment=''
  533. Object.assign( this.buyForm, res.data);
  534. if( this.promise.status ==1){
  535. this.commitmentDialog = true;
  536. this.buyCourseDialog = false;
  537. }else{
  538. this.buyCourseDialog = true;
  539. this.commitmentDialog = false;
  540. }
  541. }else{
  542. console.log("payErr")
  543. item.payErr = true;
  544. }
  545. });
  546. },
  547. gotoPlay(courseId) {
  548. this.$router.push(`/center/class/train`);
  549. },
  550. handleCurrentChange(page) {
  551. this.page = page;
  552. this.getData()
  553. }
  554. },
  555. };
  556. </script>
  557. <style>
  558. @import "../../../assets/css/content.css";
  559. @import "../../../assets/css/course.css";
  560. @import url("./index.css");
  561. .buyForm-title {
  562. width: 90px;
  563. padding: 2px;
  564. text-align: center;
  565. }
  566. .commitment-header {
  567. font-size: 16px;
  568. text-align: left;
  569. }
  570. .commitment {
  571. text-indent: 30px;
  572. margin-top: 20px;
  573. font-size: 16px;
  574. line-height: 200%;
  575. }
  576. .commitment-footer {
  577. margin-top: 30px;
  578. text-indent: 50px;
  579. font-size: 16px;
  580. text-align: left;
  581. }
  582. .commitment-content {
  583. font-size: 16px;
  584. }
  585. .tip-card{
  586. border-radius: 20px;
  587. font-size:14px;
  588. float: right;
  589. width: 420px;
  590. right: 20px;
  591. position: absolute;
  592. top:50px;
  593. color: white;
  594. background-color: #7fbae4 ;
  595. z-index: 1000;
  596. }
  597. .tips-intro {
  598. color: #468cf2;
  599. cursor: pointer;
  600. position: relative;
  601. }
  602. </style>