diff --git a/api/member.js b/api/member.js index b3d9ab9..09ef174 100644 --- a/api/member.js +++ b/api/member.js @@ -162,6 +162,15 @@ export default { }) }, + //教练端-发布作业 + jlPublishJob(data = {}) { + let url = '/member/publish_job' + return http.post(url, data).then(res => { + return res; + }) + }, + + diff --git a/pages/coach/job/add.vue b/pages/coach/job/add.vue index b79c1df..77fec73 100644 --- a/pages/coach/job/add.vue +++ b/pages/coach/job/add.vue @@ -24,7 +24,6 @@ - @@ -41,6 +40,8 @@ + + 提交 @@ -49,7 +50,7 @@ @@ -134,6 +137,20 @@ export default { align-items: center; } } + .submet_btn{ + margin: 0 auto; + margin-top: 40rpx; + display: flex; + justify-content: center; + align-items: center; + background-color: #29d3b4; + border-radius: 8rpx; + + width: 648rpx; + height: 88rpx; + color: rgba(255,255,255,1); + font-size: 32rpx; + } }