mytask.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618
  1. <template>
  2. <view>
  3. <!-- 胶囊 -->
  4. <mvBar :mysNavConfig="mysNavConfig"></mvBar>
  5. <view :style="{paddingTop:navH}" style="background-color: #fff;z-index: 10;"></view>
  6. <view class="menu" v-if="!loading">
  7. <view class="menu-item" @click="toAll()">
  8. <p v-bind:class="tab == 'all'?'lor':'unlor'">全部</p>
  9. </view>
  10. <view class="menu-item" @click="toApply()">
  11. <p v-bind:class="tab == 'apply'?'lor':'unlor'">已报名</p>
  12. </view>
  13. <view class="menu-item" @click="toexecute()">
  14. <p v-bind:class="tab == 'execute'?'lor':'unlor'">执行中</p>
  15. </view>
  16. <view class="menu-item" @click="toEnd()">
  17. <p v-bind:class="tab == 'end'?'lor':'unlor'">已结束</p>
  18. </view>
  19. </view>
  20. <view class="home" v-if="tab == 'all' && !loading">
  21. <view class="task" v-for="item in allList" @click="toTaskDetail(item)">
  22. <view class="task-card">
  23. <view class="task-head">
  24. <view class="task-head-account">
  25. <image class="platform-img" :src="item.platform_icon_url"></image>
  26. <p>{{item.platform_nick_name}}</p>
  27. </view>
  28. <view class="task-head-status">
  29. <p>{{item.task_stage_txt}}</p>
  30. </view>
  31. </view>
  32. <view class="task-info">
  33. <view class="task-info-left">
  34. <image class="project-img" :src="item.product_img_url"></image>
  35. <view class="task-info-txt">
  36. <p style="color: #000;font-size: 32rpx;">{{item.project_name}}</p>
  37. <view v-if="item.task_stage >= 7 && item.task_stage <= 14">
  38. <p style="color: #F0D232;" v-if="!item.time_out">上传截止时间:{{item.upload_ddl}}</p>
  39. <p style="color: #f70c0c;" v-else>超时:{{item.upload_ddl}}</p>
  40. </view>
  41. <p>预计违约扣款金额:¥{{item.show_cut_payment}}</p>
  42. <p>预计收益:¥{{item.show_task_reward}}</p>
  43. </view>
  44. </view>
  45. <view class="task-info-right" v-if="item.isShowModify">
  46. <image src="../../static/img/icon-edit.png" style="height: 60rpx;width: 60rpx;"></image>
  47. <p style="font-size: 32rpx;color: #ffcb41;font-weight: 600">改</p>
  48. </view>
  49. </view>
  50. <view style="text-align: right;" v-if="item.task_stage > 6">
  51. <p style="display: inline-block;">实际收益:¥{{item.show_real_reward}}</p>
  52. </view>
  53. </view>
  54. </view>
  55. </view>
  56. <view class="home" v-if="tab == 'apply' && !loading">
  57. <view class="task" v-for="item in applyList" @click="toTaskDetail(item)">
  58. <view class="task-card">
  59. <view class="task-head">
  60. <view class="task-head-account">
  61. <image class="platform-img" :src="item.platform_icon_url"></image>
  62. <p>{{item.platform_nick_name}}</p>
  63. </view>
  64. <view class="task-head-status">
  65. <p>{{item.task_stage_txt}}</p>
  66. </view>
  67. </view>
  68. <view class="task-info">
  69. <view class="task-info-left">
  70. <image class="project-img" :src="item.product_img_url"></image>
  71. <view class="task-info-txt">
  72. <p style="color: #000;font-size: 32rpx;">{{item.project_name}}</p>
  73. <p>预计违约扣款金额:¥{{item.show_cut_payment}}</p>
  74. <p>预计收益:¥{{item.show_task_reward}}</p>
  75. </view>
  76. </view>
  77. <view class="task-info-right" v-if="item.isShowModify">
  78. <image src="../../static/img/icon-edit.png" style="height: 60rpx;width: 60rpx;"></image>
  79. <p style="font-size: 32rpx;color: #ffcb41;font-weight: 600">改</p>
  80. </view>
  81. </view>
  82. <view style="text-align: right;" v-if="item.task_stage > 6">
  83. <p style="display: inline-block;">实际收益:¥{{item.show_real_reward}}</p>
  84. </view>
  85. </view>
  86. </view>
  87. </view>
  88. <view class="home" v-if="tab == 'execute' && !loading">
  89. <view class="task" v-for="item in goingList" @click="toTaskDetail(item)">
  90. <view class="task-card">
  91. <view class="task-head">
  92. <view class="task-head-account">
  93. <image class="platform-img" :src="item.platform_icon_url"></image>
  94. <p>{{item.platform_nick_name}}</p>
  95. </view>
  96. <view class="task-head-status">
  97. <p>{{item.task_stage_txt}}</p>
  98. </view>
  99. </view>
  100. <view class="task-info">
  101. <view class="task-info-left">
  102. <image class="project-img" :src="item.product_img_url"></image>
  103. <view class="task-info-txt">
  104. <p style="color: #000;font-size: 32rpx;">{{item.project_name}}</p>
  105. <view v-if="item.task_stage >= 7 && item.task_stage <= 14">
  106. <p style="color: #F0D232;" v-if="!item.time_out">上传截止时间:{{item.upload_ddl}}</p>
  107. <p style="color: #f70c0c;" v-else>超时:{{item.upload_ddl}}</p>
  108. </view>
  109. <p>预计违约扣款金额:¥{{item.show_cut_payment}}</p>
  110. <p>预计收益:¥{{item.show_task_reward}}</p>
  111. </view>
  112. </view>
  113. <view class="task-info-right" v-if="item.isShowModify">
  114. <image src="../../static/img/icon-edit.png" style="height: 60rpx;width: 60rpx;"></image>
  115. <p style="font-size: 32rpx;color: #ffcb41;font-weight: 600">改</p>
  116. </view>
  117. </view>
  118. <view style="text-align: right;" v-if="item.task_stage > 6">
  119. <p style="display: inline-block;">实际收益:¥{{item.show_real_reward}}</p>
  120. </view>
  121. </view>
  122. </view>
  123. </view>
  124. <view class="home" v-if="tab == 'end' && !loading">
  125. <view class="task" v-for="item in endList" @click="toTaskDetail(item)">
  126. <view class="task-card">
  127. <view class="task-head">
  128. <view class="task-head-account">
  129. <image class="platform-img" :src="item.platform_icon_url"></image>
  130. <p>{{item.platform_nick_name}}</p>
  131. </view>
  132. <view class="task-head-status">
  133. <p>{{item.task_stage_txt}}</p>
  134. </view>
  135. </view>
  136. <view class="task-info">
  137. <view class="task-info-left">
  138. <image class="project-img" :src="item.product_img_url"></image>
  139. <view class="task-info-txt">
  140. <p style="color: #000;font-size: 32rpx;">{{item.project_name}}</p>
  141. <p>预计违约扣款金额:¥{{item.show_cut_payment}}</p>
  142. <p>预计收益:¥{{item.show_task_reward}}</p>
  143. </view>
  144. </view>
  145. <view class="task-info-right" v-if="item.isShowModify">
  146. <image src="../../static/img/icon-edit.png" style="height: 60rpx;width: 60rpx;"></image>
  147. <p style="font-size: 32rpx;color: #ffcb41;font-weight: 600">改</p>
  148. </view>
  149. </view>
  150. <view style="text-align: right;" v-if="item.task_stage > 6">
  151. <p style="display: inline-block;">实际收益:¥{{item.show_real_reward}}</p>
  152. </view>
  153. </view>
  154. </view>
  155. </view>
  156. <view style="height: 100rpx;"></view>
  157. </view>
  158. </template>
  159. <script>
  160. import mvBar from "@/components/mys_navBar/mysNavBar";
  161. import {
  162. fansview,
  163. money
  164. } from '@/components/utils.js';
  165. export default {
  166. components: {
  167. mvBar,
  168. },
  169. data() {
  170. return {
  171. navH: getApp().globalData.navHeight,
  172. loading: true,
  173. tab: '',
  174. allList: [],
  175. applyList: [],
  176. goingList: [],
  177. endList: [],
  178. taskStageList: [],
  179. list: [{
  180. account: {
  181. platform: "https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/lQLPDhrXwll1_MsjI7CSK_6e62AG2AGOvh1HgAcA_35_35.png",
  182. nickname: "丸子在成都",
  183. },
  184. status: "待确认",
  185. mainphoto: "https://static1.paizi.com/uploadfile/2018/1013/20181013013207465.png",
  186. taskname: "醉码头火锅太古里店",
  187. }, {
  188. account: {
  189. platform: "https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/pingtai2.png",
  190. nickname: "成都的一颗丸子",
  191. },
  192. status: "待确认",
  193. mainphoto: "https://tse1-mm.cn.bing.net/th/id/R-C.978cb3a3b27875a0cc9d78a254b30b8f?rik=yrP2kNCtfQYEgQ&riu=http%3a%2f%2fnews.southcn.com%2fgd%2fcontent%2fimages%2fattachement%2fpng%2fsite4%2f20190917%2feca86b61fd551eeb23c507.png&ehk=xuWbgLrNmyhNJaByMZPJrX81PrzXrLHqHM%2fdYatFhrs%3d&risl=&pid=ImgRaw&r=0&sres=1&sresct=1",
  194. taskname: "奥运吉祥物冰墩墩盲盒",
  195. }, ],
  196. mysNavConfig: {
  197. /* 开启单页显示首页图标 */
  198. isHome: true,
  199. /* 固定导航 */
  200. navFixed: true,
  201. /* 标题 (屏幕中心居中 两边图标中心居中使用slot center1) */
  202. navTitle: {
  203. text: "种草任务",
  204. color: "",
  205. fontSize: "32rpx", // px upx rpx
  206. fontWeight: "normal", // 100 - 700
  207. },
  208. btnType: "type2",
  209. onLeftClick: "/pages/mycenter/mycenter",
  210. /* type2 按钮 */
  211. type2Config: {
  212. // 左图标
  213. leftPath: "/static/img/png2.png",
  214. // 右图标
  215. rightPath: "/static/img/png4.png",
  216. // 圆角
  217. radius: "40rpx",
  218. },
  219. },
  220. }
  221. },
  222. async onLoad(options) {
  223. // 判断登录
  224. await this.isLogin();
  225. if (this.token === '') {
  226. uni.showModal({
  227. content: '请先登录',
  228. success: function(res) {
  229. if (res.confirm) {
  230. uni.navigateTo({
  231. url: '/pages/login/login'
  232. });
  233. } else if (res.cancel) {
  234. uni.navigateBack();
  235. }
  236. }
  237. });
  238. }
  239. let data = options.textObj.replace(/""/g, "");
  240. data = JSON.parse(decodeURIComponent(data))
  241. this.tab = data.tab
  242. },
  243. async onShow() {
  244. this.loading = true;
  245. uni.showLoading({
  246. title: '加载中'
  247. });
  248. await this.getInfoTable();
  249. await this.getList();
  250. uni.hideLoading();
  251. this.loading = false;
  252. },
  253. methods: {
  254. // 判断登陆是否过期
  255. isLogin() {
  256. return this.$https.get('/youngee/c/t/g/is-login')
  257. .then(res => {
  258. if (res.data.code === 403) {
  259. // 登陆已失效
  260. this.token = ""
  261. uni.clearStorage();
  262. } else {
  263. this.token = uni.getStorageSync('token')
  264. }
  265. })
  266. },
  267. getInfoTable() {
  268. return this.$https.get('/youngee/c/g/get-info-tables')
  269. .then(res => {
  270. console.log(res)
  271. this.taskStageList = res.data.data.TaskStage
  272. })
  273. },
  274. getList() {
  275. return this.$https.get('/youngee/c/t/g/get-task-brief-list').then(res => {
  276. console.log(res)
  277. this.allList = res.data.data.all_Task_info_list
  278. if (this.allList != null) {
  279. for (let i = 0; i < this.allList.length; ++i) {
  280. let productPhoto = JSON.parse(this.allList[i].product_photo_snap);
  281. for (let j = 0; j < productPhoto.length; j++) {
  282. if (productPhoto[j].Symbol == 1) {
  283. this.allList[i].product_img_url = productPhoto[j].PhotoUrl
  284. }
  285. }
  286. if ((this.allList[i].task_stage == 7 && this.allList[i].script_status == 3) ||
  287. (this.allList[i].task_stage == 9 && this.allList[i].sketch_status == 3) ||
  288. (this.allList[i].task_stage == 11 && this.allList[i].link_status == 3) ||
  289. (this.allList[i].task_stage == 13 && this.allList[i].data_status == 3)) {
  290. this.allList[i].isShowModify = true
  291. } else {
  292. this.allList[i].isShowModify = false
  293. }
  294. for (let j = 0; j < this.taskStageList.length; ++j) {
  295. if (this.allList[i].task_stage == this.taskStageList[j].task_stage_id)
  296. this.allList[i].task_stage_txt = this.taskStageList[j].task_stage
  297. }
  298. this.allList[i].real_reward = this.allList[i].task_reward * (100 - this.allList[i]
  299. .break_rate) / 100
  300. this.allList[i].cut_payment = this.allList[i].task_reward - this.allList[i].real_reward
  301. this.allList[i].show_task_reward = money(this.allList[i].task_reward)
  302. this.allList[i].show_real_reward = money(this.allList[i].real_reward)
  303. this.allList[i].show_cut_payment = money(this.allList[i].cut_payment)
  304. // 截止时间
  305. let ddl = this.thistime(this.allList[i].cur_break_at)
  306. console.log("isTimeOut", ddl.isTimeOut)
  307. console.log("ddl", ddl.deadline_time)
  308. this.allList[i].time_out = ddl.isTimeOut
  309. this.allList[i].upload_ddl = ddl.isTimeOut ? ddl.deadline_time : this.allList[i]
  310. .cur_break_at.replace(/-/g,
  311. "/").slice(0, -3)
  312. }
  313. }
  314. this.applyList = res.data.data.sgin_up_Task_info_list
  315. if (this.applyList != null) {
  316. for (let i = 0; i < this.applyList.length; ++i) {
  317. let productPhoto = JSON.parse(this.applyList[i].product_photo_snap);
  318. for (let j = 0; j < productPhoto.length; j++) {
  319. if (productPhoto[j].Symbol == 1) {
  320. this.applyList[i].product_img_url = productPhoto[j].PhotoUrl
  321. }
  322. }
  323. for (let j = 0; j < this.taskStageList.length; ++j) {
  324. if (this.applyList[i].task_stage == this.taskStageList[j].task_stage_id)
  325. this.applyList[i].task_stage_txt = this.taskStageList[j].task_stage
  326. }
  327. this.applyList[i].real_reward = this.applyList[i].task_reward * (100 - this.applyList[
  328. i]
  329. .break_rate) / 100
  330. this.applyList[i].cut_payment = this.applyList[i].task_reward - this.applyList[i]
  331. .real_reward
  332. this.applyList[i].show_task_reward = money(this.applyList[i].task_reward)
  333. this.applyList[i].show_real_reward = money(this.applyList[i].real_reward)
  334. this.applyList[i].show_cut_payment = money(this.applyList[i].cut_payment)
  335. // 截止时间
  336. let ddl = this.thistime(this.applyList[i].cur_break_at)
  337. console.log("isTimeOut", ddl.isTimeOut)
  338. console.log("ddl", ddl.deadline_time)
  339. this.applyList[i].time_out = ddl.isTimeOut
  340. this.applyList[i].upload_ddl = ddl.isTimeOut ? ddl.deadline_time : this.applyList[i]
  341. .cur_break_at.replace(/-/g,
  342. "/").slice(0, -3)
  343. }
  344. }
  345. this.goingList = res.data.data.going_on_Task_info_list
  346. if (this.goingList != null) {
  347. for (let i = 0; i < this.goingList.length; ++i) {
  348. let productPhoto = JSON.parse(this.goingList[i].product_photo_snap);
  349. for (let j = 0; j < productPhoto.length; j++) {
  350. if (productPhoto[j].Symbol == 1) {
  351. this.goingList[i].product_img_url = productPhoto[j].PhotoUrl
  352. }
  353. }
  354. if ((this.goingList[i].task_stage == 7 && this.goingList[i].script_status == 3) ||
  355. (this.goingList[i].task_stage == 9 && this.goingList[i].sketch_status == 3) ||
  356. (this.goingList[i].task_stage == 11 && this.goingList[i].link_status == 3) ||
  357. (this.goingList[i].task_stage == 13 && this.goingList[i].data_status == 3)) {
  358. this.goingList[i].isShowModify = true
  359. } else {
  360. this.goingList[i].isShowModify = false
  361. }
  362. for (let j = 0; j < this.taskStageList.length; ++j) {
  363. if (this.goingList[i].task_stage == this.taskStageList[j].task_stage_id)
  364. this.goingList[i].task_stage_txt = this.taskStageList[j].task_stage
  365. }
  366. this.goingList[i].real_reward = this.goingList[i].task_reward * (100 - this.goingList[
  367. i]
  368. .break_rate) / 100
  369. this.goingList[i].cut_payment = this.goingList[i].task_reward - this.goingList[i]
  370. .real_reward
  371. this.goingList[i].show_task_reward = money(this.goingList[i].task_reward)
  372. this.goingList[i].show_real_reward = money(this.goingList[i].real_reward)
  373. this.goingList[i].show_cut_payment = money(this.goingList[i].cut_payment)
  374. // 截止时间
  375. let ddl = this.thistime(this.goingList[i].cur_break_at)
  376. console.log("isTimeOut", ddl.isTimeOut)
  377. console.log("ddl", ddl.deadline_time)
  378. this.goingList[i].time_out = ddl.isTimeOut
  379. this.goingList[i].upload_ddl = ddl.isTimeOut ? ddl.deadline_time : this.goingList[i]
  380. .cur_break_at.replace(/-/g,
  381. "/").slice(0, -3)
  382. }
  383. }
  384. this.endList = res.data.data.completed_Task_info_list
  385. if (this.endList != null) {
  386. for (let i = 0; i < this.endList.length; ++i) {
  387. let productPhoto = JSON.parse(this.endList[i].product_photo_snap);
  388. for (let j = 0; j < productPhoto.length; j++) {
  389. if (productPhoto[j].Symbol == 1) {
  390. this.endList[i].product_img_url = productPhoto[j].PhotoUrl
  391. }
  392. }
  393. for (let j = 0; j < this.taskStageList.length; ++j) {
  394. if (this.endList[i].task_stage == this.taskStageList[j].task_stage_id)
  395. this.endList[i].task_stage_txt = this.taskStageList[j].task_stage
  396. }
  397. this.endList[i].real_reward = this.endList[i].task_reward * (100 - this.endList[i]
  398. .break_rate) / 100
  399. this.endList[i].cut_payment = this.endList[i].task_reward - this.endList[i].real_reward
  400. this.endList[i].show_task_reward = money(this.endList[i].task_reward)
  401. this.endList[i].show_real_reward = money(this.endList[i].real_reward)
  402. this.endList[i].show_cut_payment = money(this.endList[i].cut_payment)
  403. // 截止时间
  404. let ddl = this.thistime(this.endList[i].cur_break_at)
  405. console.log("isTimeOut", ddl.isTimeOut)
  406. console.log("ddl", ddl.deadline_time)
  407. this.endList[i].time_out = ddl.isTimeOut
  408. this.endList[i].upload_ddl = ddl.isTimeOut ? ddl.deadline_time : this.endList[i]
  409. .cur_break_at.replace(/-/g,
  410. "/").slice(0, -3)
  411. }
  412. }
  413. })
  414. },
  415. async toAll() {
  416. this.tab = 'all'
  417. uni.showLoading({
  418. title: '加载中'
  419. });
  420. await this.getList()
  421. uni.hideLoading()
  422. },
  423. async toApply() {
  424. this.tab = 'apply'
  425. uni.showLoading({
  426. title: '加载中'
  427. });
  428. await this.getList()
  429. uni.hideLoading()
  430. },
  431. async toexecute() {
  432. this.tab = 'execute'
  433. uni.showLoading({
  434. title: '加载中'
  435. });
  436. await this.getList()
  437. uni.hideLoading()
  438. },
  439. async toEnd() {
  440. this.tab = 'end'
  441. uni.showLoading({
  442. title: '加载中'
  443. });
  444. await this.getList()
  445. uni.hideLoading()
  446. },
  447. toTaskDetail(item) {
  448. console.log("func toTaskDetail running")
  449. uni.navigateTo({
  450. url: '/page_workspace/task/taskdetail?taskId=' + item.task_id,
  451. success(res) {
  452. console.log(res);
  453. },
  454. fail(err) {
  455. console.log(err);
  456. }
  457. });
  458. console.log("func toTaskDetail end")
  459. },
  460. // 计算结束时间
  461. thistime(val) {
  462. // 转换格式
  463. var beginTime = new Date(val.replace(/-/g, "/"));
  464. // 当前时间
  465. var thisTime = new Date();
  466. // 相减
  467. var dateMiss = beginTime.getTime() - thisTime.getTime();
  468. let isTimeOut = dateMiss < 0 ? true : false
  469. dateMiss = dateMiss < 0 ? -dateMiss : dateMiss
  470. // 天数
  471. var day = Math.floor(dateMiss / (24 * 3600 * 1000));
  472. // 减去天数剩下的毫秒数
  473. var backOne = dateMiss % (24 * 3600 * 1000);
  474. // 小时数
  475. var hours = Math.floor(backOne / (3600 * 1000));
  476. // 减去小时数剩下的毫秒数
  477. var backHour = backOne % (3600 * 1000);
  478. // 分钟数
  479. var min = Math.floor(backHour / (60 * 1000));
  480. var deadline_time = day + '天' + hours + '时' + min + '分'
  481. var result = {
  482. isTimeOut: isTimeOut,
  483. deadline_time: deadline_time
  484. }
  485. return result
  486. },
  487. }
  488. }
  489. </script>
  490. <style lang="scss" scoped>
  491. view {
  492. font-size: 32rpx;
  493. line-height: inherit;
  494. }
  495. .menu {
  496. padding-top: 20rpx;
  497. background-color: #fff;
  498. position: fixed;
  499. border-bottom: #FCCF41;
  500. justify-content: space-around;
  501. height: 5%;
  502. width: 100%;
  503. display: flex;
  504. z-index: 10;
  505. }
  506. .menu-item p {
  507. font-weight: 600;
  508. &.lor {
  509. border-bottom: 5rpx solid #F0D232;
  510. color: #F0D232;
  511. padding-bottom: 15rpx;
  512. }
  513. &.unlor {
  514. border-bottom: 5rpx solid #fff;
  515. color: #81838f;
  516. padding-bottom: 15rpx;
  517. }
  518. }
  519. .home {
  520. margin-top: 100rpx;
  521. }
  522. .task-card {
  523. margin: 10rpx 0;
  524. // border-bottom: 1rpx #d7d7d7 solid;
  525. .task-head {
  526. display: flex;
  527. justify-content: space-between;
  528. align-items: center;
  529. padding: 10rpx 20rpx;
  530. .task-head-account {
  531. display: flex;
  532. }
  533. .platform-img {
  534. width: 40rpx;
  535. height: 40rpx;
  536. margin-right: 10rpx;
  537. }
  538. .task-head-status p {
  539. color: red;
  540. }
  541. }
  542. .task-info {
  543. display: flex;
  544. justify-content: space-between;
  545. padding: 10rpx 20rpx;
  546. .task-info-left {
  547. display: flex;
  548. // align-items: center;
  549. .project-img {
  550. height: 120rpx;
  551. width: 120rpx;
  552. // background-color: #b3c96b;
  553. }
  554. .task-info-txt {
  555. margin-left: 10rpx;
  556. }
  557. .task-info-txt p {
  558. font-size: 24rpx;
  559. color: #85859d;
  560. margin-bottom: 10rpx;
  561. }
  562. }
  563. .task-info-right {
  564. width: 100rpx;
  565. height: 100rpx;
  566. border-radius: 50%;
  567. border: #ffcb41 2rpx solid;
  568. display: flex;
  569. align-items: center;
  570. justify-content: center;
  571. }
  572. .task-info-right p {
  573. font-size: 24rpx;
  574. }
  575. }
  576. }
  577. .line {
  578. border-bottom: 1rpx #AAAAAA solid;
  579. }
  580. </style>