UrgeIndex.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923
  1. <template>
  2. <view class="container column hb flex-1 hidden">
  3. <view class="p20 bgf titleBox" style="z-index: 999;">
  4. <u-subsection class="subsection" :list="list" :current="current" bgColor="#e7f1fe" activeColor="#1677ff"
  5. :fontSize="15" :bold="false" @change="sectionChange"></u-subsection>
  6. </view>
  7. <view class="list-box mt10" @click="openProjectPopup" v-if="current>0">
  8. <view class="justify-start align-center">
  9. 项目: {{projectItem && projectItem.dictLabel || '选择项目'}}
  10. </view>
  11. </view>
  12. <view style="height: 100%;" class="column flex-1 hb">
  13. <scroll-view scroll-y="true" class="hb pb2" :refresher-enabled="isEnabled" :refresher-triggered="triggered"
  14. refresher-background="rgba(0,0,0,0)" @refresherrefresh="pullDownRefresh"
  15. @refresherrestore="triggered = false" :upper-threshold="100" :lower-threshold="100"
  16. @refresherabort="triggered = false" @scrolltolower="reachBottom">
  17. <view class="" v-if="current==0">
  18. <view class="listBox mt10" v-for="(item,index) in logList" :key="index"
  19. @tap="detailFun(item.logId)">
  20. <view class="x-bc">
  21. <view class="">
  22. {{item.videoName}}
  23. </view>
  24. <view class="listBox-btn bg9 colorF" :class="[item.sendStatus==1?'green':'']">
  25. {{item.sendStatus==1?'已完成':'进行中'}}
  26. </view>
  27. </view>
  28. <view class="listBox-line"></view>
  29. <view class="">
  30. 发课时间:{{item.planSendTime}}
  31. </view>
  32. <view class="x-f mt20" v-if="item.tagNames">
  33. <view class="mr10">
  34. 标签:
  35. </view>
  36. <view class="x-f" v-if="item.tagNames">
  37. <view class="listBox-btn mr10" v-for="(val,key) in tagNamesFun(item.tagNames)"
  38. :key="key">
  39. {{val}}
  40. </view>
  41. </view>
  42. </view>
  43. <view class="mt20 overflow">
  44. 会员:{{item.nickNames}}
  45. </view>
  46. <view class="mt20">
  47. 自动催课:{{item.isUrgeCourse==1?'是':'否'}}
  48. </view>
  49. <view class="mt20 overflow">
  50. 催课文案:{{item.urgeSendTitle}}
  51. </view>
  52. <view class="x-bc mt20">
  53. <view class=""></view>
  54. <view class="x-end">
  55. <view class="listBox-btn mr20" @tap="detailFun(item.logId)">
  56. 详情
  57. </view>
  58. <view class="listBox-btn" @tap.prevent.stop="sendLogDelFun(item.logId)">
  59. 删除
  60. </view>
  61. </view>
  62. </view>
  63. </view>
  64. </view>
  65. <view class="" v-else>
  66. <view class="list-box mt10" v-for="(item,index) in userlist" :key="index">
  67. <view class="justify-start align-center">
  68. <u-avatar :src="item.fsAvatar" size="50"></u-avatar>
  69. <view class="ml20">
  70. <view>{{item.fsNickName}}</view>
  71. <!-- <view class="fs24 mt10 base-color">{{item.title}}</view> -->
  72. <view class="fs24 mt10">项目: {{item.projectName}}</view>
  73. </view>
  74. </view>
  75. </view>
  76. </view>
  77. <u-loadmore :status="status" :class="[current==2?'current3':'current']" />
  78. <view class="h260"></view>
  79. </scroll-view>
  80. </view>
  81. <view class="urgeClasses x-c" @click="showUrgeClasses" v-if="current==2 && userlist.length>0">
  82. <u-button type="primary" text="一键催课"></u-button>
  83. </view>
  84. <view class="fixedBox x-c y-bc" @click="createTask" v-if="current==0">
  85. <view class="">
  86. 创建
  87. </view>
  88. <view class="">
  89. 任务
  90. </view>
  91. </view>
  92. <u-loading-page :loading="viewload" iconSize="32" loadingColor="#3c9cff" fontSize="24"
  93. :loading-text="loadingtext"></u-loading-page>
  94. <view class="h120"></view>
  95. <u-popup :show="urgeClassesShow" :closeOnClickOverlay="true" :round='10' @close="closeUrgeClasses"
  96. mode="center">
  97. <view class="urgeClassesPop x-ac y-start">
  98. <view class="x-bc urgeClassesPop-title">
  99. <view class="">
  100. </view>
  101. <view class="f-c">
  102. 催课
  103. </view>
  104. <view class="" @click="closeUrgeClasses">
  105. <u-icon name="close" size="16"></u-icon>
  106. </view>
  107. </view>
  108. <view class="mt20">
  109. 是否需要催课
  110. </view>
  111. <u-radio-group class="mt20" v-model="params.isSendCourse" @change="groupChange" placement="row">
  112. <u-radio class="mr20" label="是" :name="true"></u-radio>
  113. <u-radio label="否" :name="false"></u-radio>
  114. </u-radio-group>
  115. <view class="mt20">
  116. 发课内容
  117. </view>
  118. <u--textarea class="mt20 textarea" v-model="params.title"></u--textarea>
  119. <view class="mt20">
  120. 催课话术
  121. </view>
  122. <u--textarea class="mt20 textarea" v-model="params.urgeContent"></u--textarea>
  123. <view class="x-c urgeClassesPop-btn mt20" @click="submitUrgeClasses">
  124. <view>
  125. <u-button type="primary" text="一键催课"></u-button>
  126. </view>
  127. </view>
  128. </view>
  129. </u-popup>
  130. <u-popup :show="selectProjectShow" mode="bottom" :round="10" @close="selectProjectShow=false">
  131. <view class="popbox project-popup">
  132. <view class="popbox-head">
  133. <view class="title">选择项目</view>
  134. <view class="close-btn" @click="selectProjectShow=false">
  135. <u-icon name="close" color="#ccc" size="18"></u-icon>
  136. </view>
  137. </view>
  138. <view class="search-box">
  139. <u-search placeholder="搜索项目" v-model="searchKeyword" :showAction="false" height="36" bgColor="#F5F5F5"></u-search>
  140. </view>
  141. <view class="popbox-body">
  142. <scroll-view scroll-y="true" class="project-scroll-view">
  143. <view class="tagbox-list">
  144. <view class="empty-tip" v-if="filteredProjectList.length<=0">
  145. 暂无项目
  146. </view>
  147. <view class="tag-item" v-for="(item,index) in filteredProjectList" :key='item.dictValue'>
  148. <u-tag :text="item.dictLabel"
  149. :plain="(tempProjectItem && tempProjectItem.dictValue) != item.dictValue"
  150. :type="(tempProjectItem && tempProjectItem.dictValue) == item.dictValue ? 'primary' : 'info'"
  151. @click="handleProjectSelect(item)"></u-tag>
  152. </view>
  153. </view>
  154. </scroll-view>
  155. </view>
  156. <view class="popbox-footer">
  157. <u-button type="primary" text="确定" shape="circle" @click="confirmProject"></u-button>
  158. </view>
  159. </view>
  160. </u-popup>
  161. </view>
  162. </template>
  163. <script>
  164. import {
  165. sendLog,
  166. courseWatchLog,
  167. batchUrgeCourse,
  168. getDictProject,
  169. sendLogDel
  170. } from "../api/courseManage.js"
  171. import {
  172. getFsCourseList,
  173. getCourseVdieoList,
  174. getWorkTask
  175. } from "../api/manageCompany.js";
  176. export default {
  177. data() {
  178. return {
  179. list: [{
  180. name: '任务'
  181. },
  182. {
  183. name: '今日完课'
  184. },
  185. {
  186. name: '今日催课'
  187. }
  188. ],
  189. current: 0,
  190. viewload: true,
  191. loadingtext: "数据加载中...",
  192. filterData: [{
  193. name: '营期',
  194. value: 0,
  195. }, {
  196. name: '课程',
  197. value: 1,
  198. }],
  199. searchbarNav: 0,
  200. //营期分页
  201. triggeredA: false,
  202. isEnabledA: true,
  203. statusA: 'nomore',
  204. pageNumA: 1,
  205. pageSizeA: 6,
  206. //课程分页
  207. triggeredC: false,
  208. isEnabledC: true,
  209. statusC: 'nomore',
  210. pageNumC: 1,
  211. pageSizeC: 6,
  212. //获取营期/课程列表
  213. courseListA: [],
  214. courseListAid: '',
  215. courseListC: [],
  216. courseListCid: '',
  217. actC: '',
  218. //获取会员列表
  219. //课程分页
  220. triggered: false,
  221. isEnabled: true,
  222. status: 'nomore',
  223. pageNum: 1,
  224. pageSize: 8,
  225. userlist: [],
  226. urgeClassesShow: false,
  227. // u-radio-group的v-model绑定的值如果设置为某个radio的name,就会被默认选中
  228. isUrgeClasses: '',
  229. urgeClassesText: '',
  230. params: {
  231. imMsgSendDetailId: [],
  232. isSendCourse: false,
  233. title: '',
  234. urgeContent: ''
  235. },
  236. parameter: {
  237. pageNum: 1,
  238. pageSize: 10
  239. },
  240. projectList: [],
  241. projectItem: null,
  242. selectProjectShow: false,
  243. logList: [],
  244. triggereds: false,
  245. isEnableds: true,
  246. pagetag: [],
  247. scrollHeight: 0,
  248. searchKeyword: '',
  249. tempProjectItem: null,
  250. };
  251. },
  252. computed: {
  253. filteredProjectList() {
  254. if (!this.searchKeyword) {
  255. return this.projectList;
  256. }
  257. return this.projectList.filter(item =>
  258. item.dictLabel.toLowerCase().includes(this.searchKeyword.toLowerCase())
  259. );
  260. }
  261. },
  262. mounted() {
  263. uni.$on('updateList',()=>{
  264. this.sendLogFun()
  265. })
  266. // this.getcourseA()
  267. // this.getlist()
  268. this.sendLogFun()
  269. },
  270. onShow() {
  271. uni.$on('updateList',()=>{
  272. this.sendLogFun()
  273. })
  274. },
  275. methods: {
  276. detailFun(id) {
  277. uni.navigateTo({
  278. url: `/pages_manage/taskDetail?id=${id}`
  279. })
  280. },
  281. sendLogDelFun(id) {
  282. uni.showModal({
  283. title: "提示",
  284. content: "确认删除此任务吗?",
  285. showCancel: true,
  286. cancelText: '取消',
  287. confirmText: '确定',
  288. success: res => {
  289. if (res.confirm) {
  290. sendLogDel(id).then((res) => {
  291. if (res.code == 200) {
  292. uni.showToast({
  293. title: '删除成功!'
  294. })
  295. setTimeout(() => {
  296. this.sendLogFun('refresh')
  297. }, 1000)
  298. } else {
  299. uni.showToast({
  300. icon: 'none',
  301. title: res.msg
  302. })
  303. }
  304. })
  305. }
  306. }
  307. })
  308. },
  309. openProjectPopup() {
  310. this.tempProjectItem = this.projectItem;
  311. this.searchKeyword = '';
  312. this.selectProjectShow = true;
  313. },
  314. handleProjectSelect(item) {
  315. this.tempProjectItem = item;
  316. },
  317. confirmProject() {
  318. if (this.tempProjectItem) {
  319. this.projectItem = this.tempProjectItem;
  320. this.courseWatchLogFun('refresh');
  321. }
  322. this.selectProjectShow = false;
  323. },
  324. async getDictProjectFun() {
  325. const res = await getDictProject()
  326. if (res.code == 200) {
  327. this.projectList = res.data
  328. }
  329. },
  330. tagNamesFun(e) {
  331. return e.split(',')
  332. },
  333. async sendLogFun(type) {
  334. let params = {
  335. pageNum: this.parameter.pageNum,
  336. pageSize: this.parameter.pageSize
  337. }
  338. const res = await sendLog(params)
  339. if (res.code == 200) {
  340. this.viewload = false
  341. if (type == 'refresh') {
  342. this.logList = res.data.list
  343. } else {
  344. this.logList = [...this.logList, ...res.data.list]
  345. }
  346. this.pagetag = res.data
  347. this.list[0].name = `任务(${res.data.total})`
  348. if (res.data.isLastPage) {
  349. this.status = 'nomore'
  350. } else {
  351. this.status = 'loadmore'
  352. }
  353. }
  354. },
  355. async courseWatchLogFun(type) {
  356. let params = {
  357. pageNum: this.parameter.pageNum,
  358. pageSize: this.parameter.pageSize,
  359. logType: this.current * 1 + 1,
  360. sendType: 1,
  361. project: this.projectItem && this.projectItem.dictValue || '',
  362. }
  363. const res = await courseWatchLog(params)
  364. if (res.code == 200) {
  365. this.viewload = false
  366. if (type == 'refresh') {
  367. this.userlist = res.data.list
  368. } else {
  369. this.userlist = [...this.userlist, ...res.data.list]
  370. }
  371. if (res.data.isLastPage) {
  372. this.status = 'nomore'
  373. } else {
  374. this.status = 'loadmore'
  375. }
  376. } else {
  377. uni.showToast({
  378. icon: 'none',
  379. title: res.msg
  380. })
  381. }
  382. },
  383. sectionChange(index) {
  384. this.current = index
  385. this.projectItem = null
  386. this.parameter.pageNum = 1
  387. if ([1, 2].includes(index)) {
  388. this.getDictProjectFun()
  389. this.courseWatchLogFun('refresh')
  390. } else {
  391. this.sendLogFun('refresh')
  392. }
  393. },
  394. reachBottom() {
  395. if (this.status === 'loadmore') {
  396. this.status = 'loading'
  397. uni.showNavigationBarLoading()
  398. setTimeout(() => {
  399. this.parameter.pageNum++
  400. if (this.current == 0) {
  401. this.sendLogFun()
  402. } else {
  403. this.courseWatchLogFun()
  404. }
  405. uni.hideNavigationBarLoading()
  406. }, 1000);
  407. }
  408. },
  409. //列表展示下拉
  410. pullDownRefresh() {
  411. this.triggered = true; //下拉了状态为true
  412. setTimeout(() => {
  413. this.triggered = false;
  414. uni.stopPullDownRefresh()
  415. this.pageNum = 1;
  416. if (this.current == 0) {
  417. this.sendLogFun('refresh')
  418. } else {
  419. this.courseWatchLogFun('refresh')
  420. }
  421. }, 1000)
  422. },
  423. getlist(type) {
  424. const data = {
  425. pageNum: this.pageNum,
  426. pageSize: this.pageSize
  427. }
  428. getWorkTask(data).then(res => {
  429. if (res.code == 200) {
  430. this.viewload = false
  431. if (type == 'refresh') {
  432. this.userlist = res.data.list
  433. } else {
  434. this.userlist = [...this.userlist, ...res.data.list]
  435. }
  436. if (res.data.isLastPage) {
  437. this.status = 'nomore'
  438. } else {
  439. this.status = 'loadmore'
  440. }
  441. } else {
  442. uni.showToast({
  443. icon: 'none',
  444. title: res.msg
  445. })
  446. }
  447. })
  448. },
  449. onChangeA(index) {
  450. this.searchbarNav = index
  451. if (index == 1) {
  452. if (this.courseListAid == '') {
  453. uni.showToast({
  454. icon: 'none',
  455. title: '请先选择营期'
  456. })
  457. }
  458. }
  459. },
  460. confirmA() {},
  461. resetA() {
  462. this.courseListAid = ''
  463. },
  464. getCourseOne(item) {
  465. //获取营期列表
  466. this.courseListAid = item.periodId
  467. this.filterData[0].name = item.periodName
  468. this.courseListC = []
  469. this.pageNumC = 1
  470. this.getcourseB()
  471. },
  472. getCoursetwo(item, index) {
  473. //获取课程列表
  474. this.actC = index
  475. this.courseListCid = item.courseId
  476. this.filterData[1].name = item.courseName
  477. },
  478. reachBottomA() {
  479. // status这个是加载状态
  480. if (this.statusA === 'loadmore') {
  481. this.statusA = 'loading'
  482. uni.showNavigationBarLoading()
  483. setTimeout(() => {
  484. this.pageNumA++
  485. this.getcourseA() //触底 不穿执行else
  486. uni.hideNavigationBarLoading()
  487. }, 1000);
  488. }
  489. },
  490. //列表展示下拉
  491. pullDownRefreshA() {
  492. // 下拉
  493. this.triggeredA = true; //下拉了状态为true
  494. setTimeout(() => {
  495. this.triggeredA = false;
  496. uni.stopPullDownRefresh()
  497. this.pageNumA = 1;
  498. this.getcourseA('refresh') //触底 不穿执行else
  499. // 请求接口里面需要判断是不是最后一页 是最后一页 status赋值为‘loadmore’没有更多了
  500. // 请求接口
  501. }, 1000)
  502. },
  503. reachBottomC() {
  504. // status这个是加载状态
  505. if (this.statusC === 'loadmore') {
  506. this.statusC = 'loading'
  507. uni.showNavigationBarLoading()
  508. setTimeout(() => {
  509. this.pageNumC++
  510. this.getcourseB() //触底 不穿执行else
  511. uni.hideNavigationBarLoading()
  512. }, 1000);
  513. }
  514. },
  515. //列表展示下拉
  516. pullDownRefreshC() {
  517. // 下拉
  518. this.triggeredC = true; //下拉了状态为true
  519. setTimeout(() => {
  520. this.triggeredC = false;
  521. uni.stopPullDownRefresh()
  522. this.pageNumC = 1;
  523. this.getcourseB('refresh') //触底 不穿执行else
  524. // 请求接口里面需要判断是不是最后一页 是最后一页 status赋值为‘loadmore’没有更多了
  525. // 请求接口
  526. }, 1000)
  527. },
  528. getcourseA(type) {
  529. //获取营期列表
  530. const data = {
  531. pageNum: this.pageNumA,
  532. pageSize: this.pageSizeA,
  533. }
  534. getFsCourseList(data).then(res => {
  535. if (res.code == 200) {
  536. if (type == 'refresh') {
  537. this.courseListA = res.data.list
  538. } else {
  539. this.courseListA = [...this.courseListA, ...res.data.list]
  540. }
  541. if (res.data.isLastPage) {
  542. this.statusA = 'nomore'
  543. } else {
  544. this.statusA = 'loadmore'
  545. }
  546. } else {
  547. uni.showToast({
  548. icon: 'none',
  549. title: res.msg
  550. })
  551. }
  552. })
  553. },
  554. getcourseB(type) {
  555. //获取课程列表
  556. const data = {
  557. pageNum: this.pageNumC,
  558. pageSize: this.pageSizeC,
  559. periodId: this.courseListAid,
  560. keyword: ''
  561. }
  562. getCourseVdieoList(data).then(res => {
  563. if (res.code == 200) {
  564. if (type == 'refresh') {
  565. this.courseListC = res.data.list
  566. } else {
  567. this.courseListC = [...this.courseListC, ...res.data.list]
  568. }
  569. if (res.data.isLastPage) {
  570. this.statusC = 'nomore'
  571. } else {
  572. this.statusC = 'loadmore'
  573. }
  574. } else {
  575. uni.showToast({
  576. icon: 'none',
  577. title: res.msg
  578. })
  579. }
  580. })
  581. },
  582. closeUrgeClasses() {
  583. this.urgeClassesShow = false
  584. },
  585. showUrgeClasses() {
  586. this.urgeClassesShow = true
  587. },
  588. groupChange(e) {
  589. this.isUrgeClasses = e
  590. },
  591. async submitUrgeClasses() {
  592. if (!this.params.title) return uni.showToast({
  593. title: '请填写发课内容!',
  594. icon: 'none'
  595. })
  596. if (!this.params.urgeContent) return uni.showToast({
  597. title: '请填写催课话术!',
  598. icon: 'none'
  599. })
  600. this.params.imMsgSendDetailId = this.userlist.map(item => item.imMsgSendDetailId)
  601. const res = await batchUrgeCourse(this.params)
  602. if (res.code == 200 || res.errCode == 0) {
  603. uni.showToast({
  604. title: '催课成功!'
  605. })
  606. setTimeout(() => {
  607. this.sendLogFun('refresh')
  608. }, 1000)
  609. this.closeUrgeClasses()
  610. } else {
  611. uni.showToast({
  612. title: res.msg,
  613. icon: 'none'
  614. })
  615. }
  616. },
  617. createTask() {
  618. uni.navigateTo({
  619. url: '/pages_manage/createTask'
  620. })
  621. }
  622. }
  623. }
  624. </script>
  625. <style scoped lang="scss">
  626. .container {
  627. font-family: PingFang SC, PingFang SC;
  628. font-weight: 400;
  629. font-size: 14px;
  630. color: #222;
  631. // display: flex;
  632. // flex-direction: column;
  633. /* #ifdef MP-WEIXIN */
  634. height: 100vh;
  635. /* #endif */
  636. }
  637. .select {
  638. color: #1773ff;
  639. background-color: #e6ecff;
  640. }
  641. .list-box {
  642. background-color: #fff;
  643. padding: 28rpx;
  644. }
  645. .urgeClasses {
  646. position: fixed;
  647. bottom: 138rpx;
  648. height: 88rpx;
  649. width: 100vw;
  650. }
  651. .fixedBox {
  652. position: fixed;
  653. bottom: 158rpx;
  654. right: 20rpx;
  655. width: 100rpx;
  656. height: 100rpx;
  657. border-radius: 50%;
  658. background: rgb(231, 241, 254);
  659. padding: 10rpx;
  660. box-sizing: border-box;
  661. color: rgb(22, 119, 255);
  662. }
  663. .mt20 {
  664. margin-top: 20rpx;
  665. }
  666. .mr20 {
  667. margin-right: 20rpx;
  668. }
  669. .mr10 {
  670. margin-right: 10rpx;
  671. }
  672. .urgeClassesPop {
  673. width: calc(100vw - 100rpx);
  674. padding: 24rpx 48rpx;
  675. .textarea {
  676. width: 100%;
  677. }
  678. .urgeClassesPop-btn,
  679. .urgeClassesPop-title {
  680. width: 100%;
  681. }
  682. }
  683. .listBox {
  684. background: #fff;
  685. padding: 28rpx;
  686. .listBox-line {
  687. margin: 20rpx 0;
  688. border-bottom: 2rpx solid #999999;
  689. }
  690. .listBox-btn {
  691. padding: 2rpx 20rpx;
  692. border-radius: 10rpx;
  693. border: 1rpx solid #999999;
  694. width: auto;
  695. height: auto;
  696. }
  697. }
  698. .bg9 {
  699. background: #999999;
  700. }
  701. .popbox {
  702. background-color: #fff;
  703. border-radius: 12px;
  704. font-family: PingFang SC, PingFang SC;
  705. font-weight: 400;
  706. font-size: 14px;
  707. color: #333;
  708. &-head {
  709. padding: 15px;
  710. font-weight: bold;
  711. font-size: 15px;
  712. text-align: center;
  713. position: relative;
  714. }
  715. .close-circle {
  716. position: absolute;
  717. right: 10px;
  718. top: 50%;
  719. transform: translateY(-50%);
  720. }
  721. &-body {
  722. padding: 10px 10px;
  723. }
  724. .radiobox {
  725. &-item {
  726. padding: 10px 0;
  727. border-bottom: 1px solid #f5f5f5;
  728. &:last-child {
  729. border-bottom: none;
  730. }
  731. }
  732. }
  733. &-footer {
  734. padding: 15px 0;
  735. }
  736. &-footer-btn {
  737. flex: 1;
  738. height: 44px;
  739. line-height: 44px;
  740. margin: 0 10px;
  741. border-radius: 50px;
  742. border: none;
  743. font-family: PingFang SC, PingFang SC;
  744. font-weight: 400;
  745. font-size: 14px;
  746. color: #333;
  747. &::after {
  748. border: none;
  749. }
  750. }
  751. .con-btn {
  752. background-color: #1677ff;
  753. color: #fff;
  754. }
  755. .choosetitle {
  756. font-family: PingFang SC, PingFang SC;
  757. font-weight: 400;
  758. font-size: 15px;
  759. color: #333;
  760. }
  761. .invitetip {
  762. margin-top: 10px;
  763. background-color: #ebf5fb;
  764. color: #1677ff;
  765. padding: 5px 10px;
  766. border-radius: 5px;
  767. }
  768. .sharePop-item {
  769. padding: 0 10px;
  770. box-sizing: border-box;
  771. font-family: PingFang SC, PingFang SC;
  772. font-weight: 400;
  773. font-size: 14px;
  774. display: inline-flex !important;
  775. image {
  776. height: 48px;
  777. width: 48px;
  778. margin-bottom: 10px;
  779. }
  780. }
  781. }
  782. .green {
  783. background: #4FC06B;
  784. border: 1rpx solid #4FC06B !important;
  785. }
  786. .mt10 {
  787. margin-top: 10rpx;
  788. }
  789. .colorF {
  790. color: #FFFFFF;
  791. }
  792. .current {
  793. ::v-deep .u-loadmore {
  794. margin-bottom: 140rpx !important;
  795. }
  796. }
  797. .current3 {
  798. ::v-deep .u-loadmore {
  799. margin-bottom: 170rpx !important;
  800. }
  801. }
  802. .h260 {
  803. height: 260rpx;
  804. }
  805. .overflow {
  806. word-break: break-all;
  807. display: -webkit-box;
  808. -webkit-box-orient: vertical;
  809. -webkit-line-clamp: 2;
  810. overflow: hidden;
  811. text-overflow: ellipsis;
  812. }
  813. .project-popup {
  814. width: 100%;
  815. background-color: #fff;
  816. border-radius: 20rpx 20rpx 0 0;
  817. display: flex;
  818. flex-direction: column;
  819. .popbox-head {
  820. display: flex;
  821. justify-content: center;
  822. align-items: center;
  823. padding: 30rpx;
  824. font-size: 32rpx;
  825. font-weight: bold;
  826. position: relative;
  827. border-bottom: none;
  828. .title {
  829. flex: 1;
  830. text-align: center;
  831. }
  832. .close-btn {
  833. position: absolute;
  834. right: 30rpx;
  835. top: 50%;
  836. transform: translateY(-50%);
  837. padding: 10rpx;
  838. }
  839. }
  840. .search-box {
  841. padding: 0 30rpx 20rpx;
  842. }
  843. .popbox-body {
  844. flex: 1;
  845. overflow: hidden;
  846. padding: 0;
  847. }
  848. .project-scroll-view {
  849. height: 50vh;
  850. padding: 0 30rpx;
  851. box-sizing: border-box;
  852. }
  853. .tagbox-list {
  854. display: flex;
  855. flex-wrap: wrap;
  856. padding-bottom: 20rpx;
  857. }
  858. .tag-item {
  859. margin-right: 20rpx;
  860. margin-bottom: 20rpx;
  861. }
  862. .empty-tip {
  863. width: 100%;
  864. text-align: center;
  865. color: #999;
  866. padding: 50rpx 0;
  867. font-size: 28rpx;
  868. }
  869. .popbox-footer {
  870. padding: 20rpx 30rpx 40rpx;
  871. border-top: 1px solid #f5f5f5;
  872. }
  873. }
  874. </style>