Commit 03d8269b by lizhi

优化

parent 95e80128
......@@ -28,7 +28,8 @@ moment.locale("zh-cn");
Vue.prototype.$UPLOAD_BASE_URL = process.env.BASE_API; //图片上传的服务器地址
// Vue.prototype.$H5_BASE_URL = "http://192.168.10.108:8081/#/"; //H5服务器地址
// Vue.prototype.$UPLOAD_BASE_URL = "http://test.csasedu.com:10032"; //图片上传的服务器地址
Vue.prototype.$H5_BASE_URL = "http://test.csasedu.com:10034/#/"; //H5跳转的网页地址
// Vue.prototype.$H5_BASE_URL = "http://test.csasedu.com:10034/#/"; //H5跳转的网页地址
Vue.prototype.$H5_BASE_URL = process.env.BASE_API + "/#/"; //H5跳转的网页地址
Vue.use(ElementUI, { locale });
Vue.use(VCharts);
......
......@@ -12,23 +12,26 @@
</div>
<div v-for="(item, index) in courseList" :key="index" class="courseList">
<h3>{{ item.costTag }}</h3>
<!-- <h3 class="costTag">{{ item.costTag }}</h3> -->
<div class="costTag">
<span>{{ item.costTag }}</span>
</div>
<div class="titleLine">
<div class="box">
<span>课程数量:</span>
<span>{{ item.userCourseList.length }}</span>
<span class="fuck">{{ item.userCourseList.length }}</span>
</div>
<div class="box">
<span>审课学姐:</span>
<span>{{ item.auditSenior }}</span>
<span class="fuck">{{ item.auditSenior }}</span>
</div>
<div class="box">
<span>授课形式:</span>
<span>{{ item.teachWay }}</span>
<span class="fuck">{{ item.teachWay }}</span>
</div>
<div class="box">
<span>审课大学:</span>
<span>{{ item.auditSchool }}</span>
<span class="fuck">{{ item.auditSchool }}</span>
</div>
<div class="box">
<el-button size="mini" @click="editCourseTitle(index)"
......@@ -1319,13 +1322,28 @@ export default {
margin: 15px;
}
.courseList {
.costTag {
span {
border: 3px solid #3498db;
color: #3498db;
font-weight: bold;
padding: 5px 10px;
margin: 10px;
border-radius: 20px;
margin-left: 0;
}
margin-bottom: 20px;
}
.titleLine {
display: flex;
align-items: center;
margin-bottom: 20px;
// justify-content: space-between;
.box {
margin-right: 50px;
margin-right: 30px;
.fuck {
color: #3498db;
}
}
}
}
......
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