workspace.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725
  1. <template>
  2. <view>
  3. <!-- 胶囊 -->
  4. <mvBar :mysNavConfig="mysNavConfig"></mvBar>
  5. <view :style="{paddingTop:navH}" style="background-color: #fff;"></view>
  6. <view class="menu-head">
  7. <view class="menu" style="padding-bottom: 10rpx;">
  8. <view class="menu-item" @click="toShowTask()">
  9. <view class="menu-item-p">
  10. <p v-bind:class="showTask?'lor':'unlor'">任务大厅</p>
  11. </view>
  12. <!-- <span class="point" v-if="showPoint1" key="0"></span> -->
  13. </view>
  14. <view class="menu-item" @click="toShowSec()">
  15. <view class="menu-item-p">
  16. <p v-bind:class="showSec?'lor':'unlor'">选品广场</p>
  17. </view>
  18. <!-- <span class="point" v-if="showPoint2" key="1"></span> -->
  19. </view>
  20. </view>
  21. <view class="menu" v-if="showTask">
  22. <view class="menu-item" @click="toShow(index)" v-for="(item,index) in taskTabList">
  23. <view class="menu-item-p">
  24. <p v-bind:class="showList[index]?'lor':'unlor'">{{item}}</p>
  25. </view>
  26. <span class="point" v-if="showPoint[index]" :key="index"></span>
  27. </view>
  28. </view>
  29. <view class="menu" v-if="showSec">
  30. <view class="menu-item" @click="toShow(4)">
  31. <view class="menu-item-p">
  32. <p v-bind:class="showList[4]?'lor':'unlor'">待交作业</p>
  33. </view>
  34. <span class="point" v-if="showPoint[4]" key="0"></span>
  35. </view>
  36. <view class="menu-item">
  37. <view class="menu-item-p">
  38. <p style="color: #fff;">待传初稿</p>
  39. </view>
  40. </view>
  41. <view class="menu-item">
  42. <view class="menu-item-p">
  43. <p style="color: #fff;">待传链接</p>
  44. </view>
  45. </view>
  46. <view class="menu-item">
  47. <view class="menu-item-p">
  48. <p style="color: #fff;">待传数据</p>
  49. </view>
  50. </view>
  51. </view>
  52. </view>
  53. <view class="home" v-if="showList[0] && !loading">
  54. <view class="task" v-for="item in taskLists[0]" @click="toTaskDetail(item)">
  55. <view class="task-card">
  56. <view class="task-head">
  57. <view class="task-head-account">
  58. <image class="platform-img" :src="item.platform_icon_url"></image>
  59. <p>{{item.platform_nick_name}}</p>
  60. </view>
  61. <view class="task-head-status">
  62. <p>{{item.task_stage_txt}}</p>
  63. </view>
  64. </view>
  65. <view class="task-info">
  66. <view class="task-info-left">
  67. <image class="project-img" :src="item.product_img_url"></image>
  68. <view class="task-info-txt">
  69. <p style="color: #000;font-size: 32rpx;">{{item.project_name}}</p>
  70. <p style="color: #F0D232;" v-if="!item.time_out">上传截止时间:{{item.upload_ddl}}</p>
  71. <p style="color: #f70c0c;" v-else>超时:{{item.upload_ddl}}</p>
  72. <p>预计违约扣款金额:¥{{item.show_cut_payment}}</p>
  73. <p>预计收益:¥{{item.show_task_reward}}</p>
  74. </view>
  75. </view>
  76. <view class="task-info-right" v-if="item.isShowModify">
  77. <image src="../../static/img/icon-edit.png" style="height: 60rpx;width: 60rpx;"></image>
  78. <p style="font-size: 32rpx;color: #ffcb41;font-weight: 600">改</p>
  79. </view>
  80. </view>
  81. <view style="text-align: right;" v-if="item.task_stage > 6">
  82. <p style="display: inline-block;">实际收益:¥{{item.show_real_reward}}</p>
  83. </view>
  84. </view>
  85. </view>
  86. </view>
  87. <view class="home" v-if="showList[1] && !loading">
  88. <view class="task" v-for="item in taskLists[1]" @click="toTaskDetail(item)">
  89. <view class="task-card">
  90. <view class="task-head">
  91. <view class="task-head-account">
  92. <image class="platform-img" :src="item.platform_icon_url"></image>
  93. <p>{{item.platform_nick_name}}</p>
  94. </view>
  95. <view class="task-head-status">
  96. <p>{{item.task_stage_txt}}</p>
  97. </view>
  98. </view>
  99. <view class="task-info">
  100. <view class="task-info-left">
  101. <image class="project-img" :src="item.product_img_url"></image>
  102. <view class="task-info-txt">
  103. <p style="color: #000;font-size: 32rpx;">{{item.project_name}}</p>
  104. <p style="color: #F0D232;" v-if="!item.time_out">上传截止时间:{{item.upload_ddl}}</p>
  105. <p style="color: #f70c0c;" v-else>超时:{{item.upload_ddl}}</p>
  106. <p>预计违约扣款金额:¥{{item.show_cut_payment}}</p>
  107. <p>预计收益:¥{{item.show_task_reward}}</p>
  108. </view>
  109. </view>
  110. <view class="task-info-right" v-if="item.isShowModify">
  111. <image src="../../static/img/icon-edit.png" style="height: 60rpx;width: 60rpx;"></image>
  112. <p style="font-size: 32rpx;color: #ffcb41;font-weight: 600">改</p>
  113. </view>
  114. </view>
  115. <view style="text-align: right;" v-if="item.task_stage > 6">
  116. <p style="display: inline-block;">实际收益:¥{{item.show_real_reward}}</p>
  117. </view>
  118. </view>
  119. </view>
  120. </view>
  121. <view class="home" v-if="showList[2] && !loading">
  122. <view class="task" v-for="item in taskLists[2]" @click="toTaskDetail(item)">
  123. <view class="task-card">
  124. <view class="task-head">
  125. <view class="task-head-account">
  126. <image class="platform-img" :src="item.platform_icon_url"></image>
  127. <p>{{item.platform_nick_name}}</p>
  128. </view>
  129. <view class="task-head-status">
  130. <p>{{item.task_stage_txt}}</p>
  131. </view>
  132. </view>
  133. <view class="task-info">
  134. <view class="task-info-left">
  135. <image class="project-img" :src="item.product_img_url"></image>
  136. <view class="task-info-txt">
  137. <p style="color: #000;font-size: 32rpx;">{{item.project_name}}</p>
  138. <p style="color: #F0D232;" v-if="!item.time_out">上传截止时间:{{item.upload_ddl}}</p>
  139. <p style="color: #f70c0c;" v-else>超时:{{item.upload_ddl}}</p>
  140. <p>预计违约扣款金额:¥{{item.show_cut_payment}}</p>
  141. <p>预计收益:¥{{item.show_task_reward}}</p>
  142. </view>
  143. </view>
  144. <view class="task-info-right" v-if="item.isShowModify">
  145. <image src="../../static/img/icon-edit.png" style="height: 60rpx;width: 60rpx;"></image>
  146. <p style="font-size: 32rpx;color: #ffcb41;font-weight: 600">改</p>
  147. </view>
  148. </view>
  149. <view style="text-align: right;" v-if="item.task_stage > 6">
  150. <p style="display: inline-block;">实际收益:¥{{item.show_real_reward}}</p>
  151. </view>
  152. </view>
  153. </view>
  154. </view>
  155. <view class="home" v-if="showList[3] && !loading">
  156. <view class="task" v-for="item in taskLists[3]" @click="toTaskDetail(item)">
  157. <view class="task-card">
  158. <view class="task-head">
  159. <view class="task-head-account">
  160. <image class="platform-img" :src="item.platform_icon_url"></image>
  161. <p>{{item.platform_nick_name}}</p>
  162. </view>
  163. <view class="task-head-status">
  164. <p>{{item.task_stage_txt}}</p>
  165. </view>
  166. </view>
  167. <view class="task-info">
  168. <view class="task-info-left">
  169. <image class="project-img" :src="item.product_img_url"></image>
  170. <view class="task-info-txt">
  171. <p style="color: #000;font-size: 32rpx;">{{item.project_name}}</p>
  172. <p style="color: #F0D232;" v-if="!item.time_out">上传截止时间:{{item.upload_ddl}}</p>
  173. <p style="color: #f70c0c;" v-else>超时:{{item.upload_ddl}}</p>
  174. <p v-if="item.fee_form != 1">预计违约扣款金额:¥{{item.show_cut_payment}}</p>
  175. <p>预计收益:¥{{item.show_task_reward}}</p>
  176. </view>
  177. </view>
  178. <view class="task-info-right" v-if="item.isShowModify">
  179. <image src="../../static/img/icon-edit.png" style="height: 60rpx;width: 60rpx;"></image>
  180. <p style="font-size: 32rpx;color: #ffcb41;font-weight: 600">改</p>
  181. </view>
  182. </view>
  183. <view style="text-align: right;" v-if="item.task_stage > 6">
  184. <p style="display: inline-block;">实际收益:¥{{item.show_real_reward}}</p>
  185. </view>
  186. </view>
  187. </view>
  188. </view>
  189. <view class="home" v-if="showList[4] && !loading">
  190. <view class="task" v-for="item in taskLists[4]" @click="toSecTaskDetail(item)">
  191. <view class="task-card">
  192. <view class="task-head">
  193. <view class="task-head-account">
  194. <image class="platform-img" :src="item.platform_icon_url"></image>
  195. <p>{{item.platform_nick_name}}</p>
  196. </view>
  197. <view class="task-head-status">
  198. <p>{{item.task_stage_txt}}</p>
  199. </view>
  200. </view>
  201. <view class="task-info">
  202. <view class="task-info-left">
  203. <image class="project-img" :src="item.product_img_url"></image>
  204. <view class="task-info-txt">
  205. <p style="color: #000;font-size: 32rpx;">{{item.selection_name}}</p>
  206. <p v-if="item.sample_mode === 2">预计样品返现金额:¥{{item.show_payment}}</p>
  207. <p>预计收益:¥{{item.show_task_reward}}</p>
  208. </view>
  209. </view>
  210. <view class="task-info-right" v-if="item.isShowModify">
  211. <image src="../../static/img/icon-edit.png" style="height: 60rpx;width: 60rpx;"></image>
  212. <p style="font-size: 32rpx;color: #ffcb41;font-weight: 600">改</p>
  213. </view>
  214. </view>
  215. <view style="text-align: right;" v-if="item.task_stage > 5">
  216. <p style="display: inline-block;">实际收益:¥{{item.show_real_reward}}</p>
  217. </view>
  218. </view>
  219. </view>
  220. </view>
  221. <view style="height: 100rpx;"></view>
  222. </view>
  223. </template>
  224. <script>
  225. import mvBar from "@/components/mys_navBar/mysNavBar";
  226. import {
  227. fansview,
  228. money
  229. } from '@/components/utils.js';
  230. export default {
  231. components: {
  232. mvBar,
  233. },
  234. data() {
  235. return {
  236. navH: getApp().globalData.navHeight,
  237. loading: true,
  238. showPoint: [false, false, false, false, false],
  239. showTask: true,
  240. showSec: false,
  241. showList: [
  242. true, false, false, false, false
  243. ],
  244. taskLists: [
  245. [],
  246. [],
  247. [],
  248. [],
  249. []
  250. ],
  251. taskTabList: [
  252. "待传脚本",
  253. "待传初稿",
  254. "待传链接",
  255. "待传数据"
  256. ],
  257. secTaskTabList: [
  258. "待传作业"
  259. ],
  260. taskStageList: [],
  261. secTaskStageList: [],
  262. mysNavConfig: {
  263. /* 开启单页显示首页图标 */
  264. isHome: true,
  265. /* 固定导航 */
  266. navFixed: true,
  267. /* 标题 (屏幕中心居中 两边图标中心居中使用slot center1) */
  268. navTitle: {
  269. text: "工作台",
  270. color: "",
  271. fontSize: "32rpx", // px upx rpx
  272. fontWeight: "normal", // 100 - 700
  273. },
  274. },
  275. list: [{
  276. account: {
  277. platform: "https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/lQLPDhrXwll1_MsjI7CSK_6e62AG2AGOvh1HgAcA_35_35.png",
  278. nickname: "丸子在成都",
  279. },
  280. status: "待确认",
  281. mainphoto: "https://static1.paizi.com/uploadfile/2018/1013/20181013013207465.png",
  282. taskname: "醉码头火锅太古里店",
  283. }, {
  284. account: {
  285. platform: "https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/pingtai2.png",
  286. nickname: "成都的一颗丸子",
  287. },
  288. status: "待确认",
  289. 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",
  290. taskname: "奥运吉祥物冰墩墩盲盒",
  291. }],
  292. }
  293. },
  294. async onShow() {
  295. this.token = uni.getStorageSync('token')
  296. await this.$https.get('/youngee/c/t/g/is-login')
  297. .then(res => {
  298. if (res.data.code == 403) {
  299. this.token = ""
  300. uni.clearStorage();
  301. }
  302. });
  303. if (this.token === '') {
  304. uni.showModal({
  305. content: '请先登录',
  306. success: function(res) {
  307. if (res.confirm) {
  308. uni.navigateTo({
  309. url: '/pages/login/login'
  310. });
  311. } else if (res.cancel) {
  312. uni.switchTab({
  313. url: '/pages/tasksquare/tasksquare'
  314. });
  315. }
  316. }
  317. });
  318. }
  319. let curTab = 0
  320. this.showList.forEach(async function(item, index) {
  321. if (item === true) {
  322. curTab = index
  323. }
  324. });
  325. await this.getInfoList()
  326. this.getTaskList(parseInt(curTab) + 1);
  327. },
  328. methods: {
  329. getInfoList() {
  330. return this.$http.get('/youngee/c/g/get-info-tables')
  331. .then(res => {
  332. if (res.data.code == 0) {
  333. this.taskStageList = res.data.data.TaskStage
  334. this.secTaskStageList = res.data.data.SecTaskStage
  335. }
  336. })
  337. },
  338. toShowTask() {
  339. this.showTask = true;
  340. this.showSec = false;
  341. this.toShow(0)
  342. },
  343. toShowSec() {
  344. this.showTask = false;
  345. this.showSec = true;
  346. this.toShow(4)
  347. },
  348. toShow(value) {
  349. let that = this
  350. this.showList.forEach(function(item, index) {
  351. if (index == value) {
  352. that.showList[index] = true
  353. } else {
  354. that.showList[index] = false
  355. }
  356. })
  357. if (value < 4) {
  358. this.getTaskList(value);
  359. } else {
  360. this.getSecTaskList(value);
  361. }
  362. },
  363. toTaskDetail(item) {
  364. uni.navigateTo({
  365. url: '/page_workspace/task/taskdetail?taskId=' + item.task_id,
  366. success(res) {},
  367. fail(err) {}
  368. });
  369. },
  370. toSecTaskDetail(item) {
  371. uni.navigateTo({
  372. url: '/page_workspace/selection/sectaskdetail?taskId=' + item.task_id,
  373. success(res) {},
  374. fail(err) {}
  375. });
  376. },
  377. async getTaskList(value) {
  378. let that = this
  379. this.loading = true
  380. uni.showLoading({
  381. title: '加载中'
  382. });
  383. await this.$https.get('/youngee/c/t/g/get-task-exe-num')
  384. .then(res => {
  385. if (res.data.data != null) {
  386. let nums = res.data.data
  387. this.showPoint.forEach(function(item, index) {
  388. that.showPoint[index] = false
  389. })
  390. for (let i = 0; i < nums.length; ++i) {
  391. if (nums[i].task_stage == 7 && nums[i]["COUNT(*)"] != 0) {
  392. this.showPoint[0] = true
  393. }
  394. if (nums[i].task_stage == 9 && nums[i]["COUNT(*)"] != 0) {
  395. this.showPoint[1] = true
  396. }
  397. if (nums[i].task_stage == 11 && nums[i]["COUNT(*)"] != 0) {
  398. this.showPoint[2] = true
  399. }
  400. if (nums[i].task_stage == 13 && nums[i]["COUNT(*)"] != 0) {
  401. this.showPoint[3] = true
  402. }
  403. }
  404. }
  405. });
  406. var taskList = [];
  407. await this.$https.get('/youngee/c/t/g/get-task-exe-list' +
  408. "?" +
  409. "taskStage" +
  410. "=" +
  411. value).then(res => {
  412. taskList = res.data.data
  413. if (taskList != null) {
  414. for (let i = 0; i < taskList.length; ++i) {
  415. // 主图
  416. let productPhoto = JSON.parse(taskList[i].product_photo_snap);
  417. for (let j = 0; j < productPhoto.length; j++) {
  418. if (productPhoto[j].Symbol == 1) {
  419. taskList[i].product_img_url = productPhoto[j].PhotoUrl
  420. }
  421. }
  422. // 待修改标识
  423. if ((taskList[i].task_stage == 7 && taskList[i].script_status == 3) ||
  424. (taskList[i].task_stage == 9 && taskList[i].sketch_status == 3) ||
  425. (taskList[i].task_stage == 11 && taskList[i].link_status == 3) ||
  426. (taskList[i].task_stage == 13 && taskList[i].data_status == 3)) {
  427. taskList[i].isShowModify = true
  428. } else {
  429. taskList[i].isShowModify = false
  430. }
  431. // 任务阶段展示文字
  432. taskList[i].task_stage_txt = this.taskStageList[taskList[i].task_stage - 1]
  433. .task_stage
  434. // 任务收益
  435. taskList[i].real_reward = taskList[i].task_reward * (100 - taskList[i]
  436. .break_rate) / 100
  437. taskList[i].cut_payment = taskList[i].task_reward - taskList[i].real_reward
  438. taskList[i].show_task_reward = money(taskList[i].task_reward)
  439. taskList[i].show_real_reward = money(taskList[i].real_reward)
  440. taskList[i].show_cut_payment = money(taskList[i].cut_payment)
  441. // 截止时间
  442. let ddl = this.thistime(taskList[i].cur_break_at)
  443. console.log("isTimeOut", ddl.isTimeOut)
  444. console.log("ddl", ddl.deadline_time)
  445. taskList[i].time_out = ddl.isTimeOut
  446. taskList[i].upload_ddl = ddl.isTimeOut ? ddl.deadline_time : taskList[i]
  447. .cur_break_at.replace(/-/g,
  448. "/").slice(0, -3)
  449. }
  450. }
  451. this.taskLists[value] = taskList
  452. })
  453. uni.hideLoading();
  454. this.loading = false
  455. },
  456. async getSecTaskList(value) {
  457. this.loading = true
  458. uni.showLoading({
  459. title: '加载中'
  460. });
  461. var taskList = [];
  462. await this.$https.get('/youngee/c/t/g/get-exe-sec-task-list' +
  463. "?" +
  464. "taskStage" +
  465. "=" +
  466. value).then(res => {
  467. taskList = res.data.data
  468. if (taskList != null) {
  469. for (let i = 0; i < taskList.length; ++i) {
  470. // 主图
  471. let productPhoto = JSON.parse(taskList[i].product_photo_snap);
  472. for (let j = 0; j < productPhoto.length; j++) {
  473. if (productPhoto[j].Symbol == 1) {
  474. taskList[i].product_img_url = productPhoto[j].PhotoUrl
  475. }
  476. }
  477. // 待修改标识
  478. if (taskList[i].task_stage == 8 && taskList[i].assignment_status == 3) {
  479. taskList[i].isShowModify = true
  480. } else {
  481. taskList[i].isShowModify = false
  482. }
  483. // 任务阶段展示文字
  484. taskList[i].task_stage_txt = this.secTaskStageList[taskList[i].task_stage - 1]
  485. .task_stage
  486. // 任务收益
  487. taskList[i].real_reward = taskList[i].task_reward
  488. taskList[i].show_task_reward = money(taskList[i].task_reward)
  489. taskList[i].show_real_reward = money(taskList[i].real_reward)
  490. taskList[i].show_payment = money(taskList[i].talent_payment)
  491. }
  492. }
  493. this.taskLists[value] = taskList;
  494. })
  495. uni.hideLoading();
  496. this.loading = false
  497. },
  498. // 计算结束时间
  499. thistime(val) {
  500. // 转换格式
  501. var beginTime = new Date(val.replace(/-/g, "/"));
  502. // 当前时间
  503. var thisTime = new Date();
  504. // 相减
  505. var dateMiss = beginTime.getTime() - thisTime.getTime();
  506. let isTimeOut = dateMiss < 0 ? true : false
  507. dateMiss = dateMiss < 0 ? -dateMiss : dateMiss
  508. // 天数
  509. var day = Math.floor(dateMiss / (24 * 3600 * 1000));
  510. // 减去天数剩下的毫秒数
  511. var backOne = dateMiss % (24 * 3600 * 1000);
  512. // 小时数
  513. var hours = Math.floor(backOne / (3600 * 1000));
  514. // 减去小时数剩下的毫秒数
  515. var backHour = backOne % (3600 * 1000);
  516. // 分钟数
  517. var min = Math.floor(backHour / (60 * 1000));
  518. var deadline_time = day + '天' + hours + '时' + min + '分'
  519. var result = {
  520. isTimeOut: isTimeOut,
  521. deadline_time: deadline_time
  522. }
  523. return result
  524. },
  525. }
  526. }
  527. </script>
  528. <style lang="scss" scoped>
  529. view {
  530. font-size: 14px;
  531. line-height: inherit;
  532. }
  533. .menu-head {
  534. // padding-top: 20rpx;
  535. background-color: #fff;
  536. position: fixed;
  537. width: 100%;
  538. }
  539. .menu {
  540. border-bottom: #FCCF41;
  541. background-color: #FFFFFF;
  542. justify-content: space-around;
  543. height: 60rpx;
  544. width: 100%;
  545. padding-bottom: 40rpx;
  546. display: flex;
  547. z-index: 10;
  548. }
  549. .menu-item {
  550. display: flex;
  551. }
  552. .menu-item-p p {
  553. font-weight: 600;
  554. &.lor {
  555. border-bottom: 5rpx solid #F0D232;
  556. color: #F0D232;
  557. padding-bottom: 15rpx;
  558. }
  559. &.unlor {
  560. border-bottom: 5rpx solid #fff;
  561. color: #81838f;
  562. padding-bottom: 15rpx;
  563. }
  564. }
  565. .home {
  566. margin-top: 180rpx;
  567. }
  568. .task-card {
  569. margin: 10rpx 0;
  570. // border-bottom: 1rpx #d7d7d7 solid;
  571. .task-head {
  572. display: flex;
  573. justify-content: space-between;
  574. align-items: center;
  575. padding: 10rpx 20rpx;
  576. .task-head-account {
  577. display: flex;
  578. }
  579. .platform-img {
  580. width: 40rpx;
  581. height: 40rpx;
  582. margin-right: 10rpx;
  583. background-color: #F0D232;
  584. }
  585. .task-head-status p {
  586. color: red;
  587. }
  588. }
  589. .task-info {
  590. display: flex;
  591. justify-content: space-between;
  592. padding: 10rpx 20rpx;
  593. .task-info-left {
  594. display: flex;
  595. // align-items: center;
  596. .project-img {
  597. height: 120rpx;
  598. width: 120rpx;
  599. // background-color: #b3c96b;
  600. }
  601. .task-info-txt {
  602. margin-left: 10rpx;
  603. }
  604. .task-info-txt p {
  605. font-size: 24rpx;
  606. color: #85859d;
  607. margin-bottom: 10rpx;
  608. }
  609. }
  610. .task-info-right {
  611. width: 100rpx;
  612. height: 100rpx;
  613. border-radius: 50%;
  614. border: #ffcb41 2rpx solid;
  615. display: flex;
  616. align-items: center;
  617. justify-content: center;
  618. }
  619. .task-info-right p {
  620. font-size: 24rpx;
  621. }
  622. }
  623. }
  624. // .task {
  625. // margin-bottom: 20rpx;
  626. // border-bottom: 1rpx #d7d7d7 solid;
  627. // .task-head {
  628. // display: flex;
  629. // justify-content: space-between;
  630. // align-items: center;
  631. // padding: 10rpx 20rpx;
  632. // .task-head-account {
  633. // display: flex;
  634. // }
  635. // .task-head-status {
  636. // color: red;
  637. // }
  638. // }
  639. // .task-info {
  640. // display: flex;
  641. // align-items: center;
  642. // justify-content: space-between;
  643. // padding: 10rpx 20rpx;
  644. // .task-info-left {
  645. // display: flex;
  646. // align-items: center;
  647. // }
  648. // .task-info-right {
  649. // width: 100rpx;
  650. // height: 100rpx;
  651. // border-radius: 50%;
  652. // border: #ffcb41 2rpx solid;
  653. // display: flex;
  654. // align-items: center;
  655. // justify-content: center;
  656. // }
  657. // }
  658. // }
  659. .line {
  660. border-bottom: 1rpx #AAAAAA solid;
  661. }
  662. .menu-point {
  663. position: relative;
  664. left: 30rpx;
  665. top: 20rpx;
  666. }
  667. .point {
  668. width: 20rpx;
  669. height: 20rpx;
  670. background: red;
  671. border-radius: 50%;
  672. }
  673. </style>