list.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827
  1. <template>
  2. <view class="container product clearfix">
  3. <view class="container-fiexd-top">
  4. <view class="club-search clearfix">
  5. <view class="search-from name">
  6. <text class="iconfont icon-iconfonticonfontsousuo1"></text>
  7. <input
  8. class="input"
  9. type="text"
  10. confirm-type="search"
  11. v-model="listQuery.keyWord"
  12. @input="onShowClose"
  13. @confirm="getUserClubRemarksList"
  14. placeholder="搜索关键词 / 咨询人 / 机构名称"
  15. maxlength="16"
  16. />
  17. <text class="iconfont icon-shanchu1" v-if="isShowClose" @click="delInputText()"></text>
  18. </view>
  19. <view class="search-screen" @click="showScreenDrawer">
  20. <text class="iconfont icon-gengduo1"></text> 筛选
  21. </view>
  22. </view>
  23. <view class="fiexd-top-title">
  24. <view class="top-left">
  25. 共 <text>{{ totalRecord }}</text> 条咨询记录
  26. </view>
  27. <view class="top-right">
  28. <view class="top-right-btn" @click="handlerGoReportList">查看报备记录</view>
  29. </view>
  30. </view>
  31. </view>
  32. <view class="remarks-content" :style="{ paddingBottom: isIphoneX ? '216rpx' : '168rpx' }">
  33. <view :class="{ 'tui-order-list': scrollTop >= 0 }" class="clearfix">
  34. <!-- 空白页 -->
  35. <view class="empty-container" v-if="isEmpty">
  36. <image class="empty-container-image" :src="StaticUrl + '/icon/icon-remarks-empty@2x.png'"></image>
  37. <text class="error-text">暂无任何数据~</text>
  38. </view>
  39. <!-- 列表 -->
  40. <view
  41. class="tui-remarks-cell tui-mtop clearfix"
  42. v-for="(remark, index) in remarksList"
  43. :key="index"
  44. :class="{ orange: remark.followup == 1, blue: remark.followup == 2, grey: remark.followup == 3 }"
  45. @click.stop="details(remark.remarksId)"
  46. >
  47. <view class="tui-remarks-title">
  48. <view class="tui-remarks-title-top">
  49. <view class="tui-remarks-time tt"
  50. ><text class="tags" v-if="remark.newDeal === 1">新分配</text>{{ remark.clubName }}</view
  51. >
  52. <view class="tui-remarks-time sm" v-if="remark.followup">
  53. <text
  54. :class="{
  55. orange: remark.followup == 1,
  56. blue: remark.followup == 2,
  57. grey: remark.followup == 3
  58. }"
  59. >{{ remark.followup | followupFilters }}</text
  60. >
  61. </view>
  62. </view>
  63. <view class="tui-remarks-title-bot">
  64. <view class="tui-remarks-text-view">
  65. <view class="tui-remarks-text h"
  66. ><text class="iconfont icon-bianji"></text>记录人:{{ remark.recordName }}</view
  67. >
  68. </view>
  69. <view class="tui-remarks-text-view" v-if="listQuery.manager >= 0">
  70. <view class="tui-remarks-text h"
  71. ><text class="iconfont icon-guanliyuan"></text>管理员:{{
  72. remark.leaderName ? remark.leaderName : ''
  73. }}</view
  74. >
  75. <view class="tui-remarks-text y">{{ remark.addTime }}</view>
  76. </view>
  77. </view>
  78. </view>
  79. <view class="tui-remarks-name">
  80. <view class="tui-remarks-name-text h">
  81. 咨询人:{{ remark.questionMan ? remark.questionMan : '' }}
  82. </view>
  83. <view class="tui-remarks-name-text y">
  84. 咨询类别:{{ remark.consultBack ? remark.consultBack : '无' }}
  85. </view>
  86. </view>
  87. <view class="tui-remarks-name none" v-if="remark.satisfied">
  88. <view class="tui-remarks-name-text h">
  89. 意向程度:<text class="red">{{ remark.satisfied | intenActionsFilters }}</text>
  90. </view>
  91. <view class="tui-remarks-name-text y" v-if="remark.status">
  92. 报备状态:<text
  93. :class="{
  94. reviewed: remark.status == 1,
  95. approved: remark.status == 2,
  96. failed: remark.status == 3
  97. }"
  98. >{{ remark.status | statusFilters }}</text
  99. >
  100. </view>
  101. </view>
  102. <view class="tui-remarks-content">
  103. <text class="tui-remarks-span" v-for="(label, labelIndex) in remark.remarks" :key="labelIndex">
  104. {{ label.label }}
  105. </text>
  106. </view>
  107. <view class="tui-remarks-button" v-if="remark.serviceProviderId === listQuery.serviceProviderId">
  108. <view class="btn edit" @click.stop="handEditRemark(remark.remarksId)">修改</view>
  109. <view class="btn del" @click.stop="deleteRemark(remark.remarksId)">删除</view>
  110. </view>
  111. </view>
  112. <!--加载loadding-->
  113. <tui-loadmore :visible="loadding" :index="3" type="black"></tui-loadmore>
  114. <tui-nomore :visible="!pullUpOn" :backgroundColor="'#F7F7F7'" :text="nomoreText"></tui-nomore>
  115. <!--加载loadding-->
  116. </view>
  117. </view>
  118. <!-- 取消收藏操作 -->
  119. <tui-bottom-popup :radius="false" :mask="false" :show="popupShow">
  120. <view class="tui-popup-box clearfix">
  121. <view class="tui-right-flex tui-popup-btn" :style="{ paddingBottom: isIphoneX ? '68rpx' : '34rpx' }">
  122. <view class="tui-flex-1">
  123. <view class="tui-button" @click="handleShowClubpopup">添加已注册客户记录</view>
  124. </view>
  125. <view class="tui-flex-1">
  126. <view class="tui-button-text" @click="handleAllUnder">未注册客户咨询记录 ></view>
  127. </view>
  128. </view>
  129. </view>
  130. </tui-bottom-popup>
  131. <!-- 筛选抽屉 -->
  132. <cm-screenDrawer
  133. ref="screendrawer"
  134. :popupType="1"
  135. :rightDrawer="isScreenDrawer"
  136. @handSearchConfirm="handSearchConfirmData"
  137. >
  138. </cm-screenDrawer>
  139. <!-- 添加记录 -->
  140. <cm-clubpopup
  141. ref="clubpopup"
  142. v-if="isClubpopupShow"
  143. :show="isClubpopupShow"
  144. @handleChoiceaClub="handleChoiceaClubData"
  145. >
  146. </cm-clubpopup>
  147. <!-- 弹窗提示 -->
  148. <tui-modal
  149. :show="modal"
  150. @click="handleClick"
  151. @cancel="hideMobel"
  152. :content="contentModalText"
  153. :button="modalButton"
  154. color="#333"
  155. :size="32"
  156. shape="circle"
  157. :maskClosable="false"
  158. >
  159. </tui-modal>
  160. </view>
  161. </template>
  162. <script>
  163. import cmClubpopup from '@/components/cm-module/cm-seller/cm-clubpopup'
  164. import cmScreenDrawer from '@/components/cm-module/cm-seller/cm-screen-drawer'
  165. import { mapState, mapMutations } from 'vuex'
  166. const defaultListQuery = {
  167. startAddTime: '',
  168. endAddTime: '',
  169. consult: '',
  170. pinceSensitve: 0, //价格敏感度
  171. satisfied: 0, // 意向程度
  172. followup: 0, // 跟进状态
  173. leaderId: 0,
  174. groupId: 0,
  175. manager: 0,
  176. newDeal: 0, // 新增分配机构
  177. status: 0, // 报备状态
  178. serviceProviderId: 0,
  179. pageNum: 1,
  180. pageSize: 10
  181. }
  182. export default {
  183. components: {
  184. cmClubpopup,
  185. cmScreenDrawer
  186. },
  187. data() {
  188. return {
  189. StaticUrl: this.$Static,
  190. isIphoneX: this.$store.state.isIphoneX,
  191. modalButton: [
  192. {
  193. text: '取消',
  194. type: 'gray',
  195. plain: true //是否空心
  196. },
  197. {
  198. text: '确认',
  199. customStyle: {
  200. color: '#fff',
  201. bgColor: 'linear-gradient(90deg, #F28F31 0%, #E15616 100%)'
  202. },
  203. plain: false
  204. }
  205. ],
  206. totalRecord: 0,
  207. popupShow: true,
  208. popupShow1: false,
  209. listQuery: Object.assign({}, defaultListQuery),
  210. remarksList: [],
  211. scrollTop: 0,
  212. isEmpty: false,
  213. loadding: false,
  214. pullUpOn: true,
  215. pullFlag: true,
  216. hasNextPage: false,
  217. navbarHeight: '',
  218. nomoreText: '上拉显示更多',
  219. contentModalText: '', //操作文字提示语句
  220. modal: false,
  221. handleRemarksId: 0,
  222. isClubpopupShow: false,
  223. isScreenDrawer: false
  224. }
  225. },
  226. onLoad() {},
  227. filters: {
  228. statusFilters(value) {
  229. // 订单来源
  230. const map = {
  231. 1: '待审核',
  232. 2: '审核通过',
  233. 3: '审核未通过'
  234. }
  235. return map[value]
  236. },
  237. followupFilters(value) {
  238. // 订单来源
  239. const map = {
  240. 1: '跟进中',
  241. 2: '跟进完成',
  242. 3: '已放弃'
  243. }
  244. return map[value]
  245. },
  246. intenActionsFilters(value) {
  247. // 意向
  248. if (value) {
  249. const map = {
  250. 1: '意向强烈',
  251. 2: '意向一般',
  252. 3: '意向平淡',
  253. 4: '随便看看'
  254. }
  255. return map[value]
  256. } else {
  257. return ''
  258. }
  259. }
  260. },
  261. computed: {
  262. ...mapState(['hasLogin', 'userInfo'])
  263. },
  264. methods: {
  265. ...mapMutations(['login', 'logout']),
  266. async initGetStotage() {
  267. const userInfo = await this.$api.getStorage()
  268. this.listQuery.serviceProviderId = userInfo.serviceProviderId ? userInfo.serviceProviderId : 0
  269. this.listQuery.manager = userInfo.manager ? userInfo.manager : 0
  270. this.getUserClubRemarksList()
  271. },
  272. getUserClubRemarksList() {
  273. this.remarksList = []
  274. this.listQuery.pageNum = 1
  275. this.UserService.getUserClubRemarksList(this.listQuery)
  276. .then(response => {
  277. let data = response.data
  278. if (data.results && data.results.length > 0) {
  279. this.isEmpty = false
  280. this.hasNextPage = data.hasNextPage
  281. this.totalRecord = data.totalRecord
  282. this.remarksList = data.results
  283. this.pullFlag = false
  284. setTimeout(() => {
  285. this.pullFlag = true
  286. }, 500)
  287. if (this.hasNextPage) {
  288. this.pullUpOn = false
  289. this.nomoreText = '上拉显示更多'
  290. } else {
  291. if (this.remarksList.length < 8) {
  292. this.pullUpOn = true
  293. } else {
  294. this.pullUpOn = false
  295. this.loadding = false
  296. this.nomoreText = '已至底部'
  297. }
  298. }
  299. } else {
  300. this.isEmpty = true
  301. }
  302. this.isRequest = true
  303. })
  304. .catch(error => {
  305. this.$util.msg(error.msg, 2000)
  306. })
  307. },
  308. GetOnReachBottomData(index) {
  309. //上拉加载
  310. this.listQuery.pageNum += 1
  311. this.UserService.getUserClubRemarksList(this.listQuery)
  312. .then(response => {
  313. let data = response.data
  314. if (data.results && data.results.length > 0) {
  315. this.hasNextPage = data.hasNextPage
  316. this.remarksList = this.remarksList.concat(data.results)
  317. this.pullFlag = false // 防上拉暴滑
  318. setTimeout(() => {
  319. this.pullFlag = true
  320. }, 500)
  321. if (this.hasNextPage) {
  322. this.pullUpOn = false
  323. this.nomoreText = '上拉显示更多'
  324. } else {
  325. this.pullUpOn = false
  326. this.loadding = false
  327. this.nomoreText = '已至底部'
  328. }
  329. }
  330. })
  331. .catch(error => {
  332. this.$util.msg(error.msg, 2000)
  333. })
  334. },
  335. deleteRemark(remarksId) {
  336. this.handleRemarksId = remarksId
  337. this.modal = true
  338. this.contentModalText = '确定删除这条记录吗?'
  339. },
  340. handEditRemark(remarksId) {
  341. //跳转修改客户咨询记录
  342. this.$api.navigateTo(`/pages/seller/remarks/add?type=edit&remarksId=${remarksId}`)
  343. },
  344. handleAllUnder() {
  345. //跳转未注册客户咨询记录也
  346. this.$api.navigateTo('/pages/seller/remarks/record-list')
  347. },
  348. handleShowClubpopup() {
  349. //显示已注册机构弹窗
  350. this.isClubpopupShow = true
  351. },
  352. handleChoiceaClubData(data) {
  353. //跳转添加记录
  354. this.$api.navigateTo(`/pages/seller/remarks/add?userId=${data.userId}`)
  355. },
  356. handSearchConfirmData(data) {
  357. console.log('确定筛选', data)
  358. //确定筛选
  359. this.listQuery.startAddTime = data.startAddTime
  360. this.listQuery.endAddTime = data.endAddTime
  361. this.listQuery.consult = data.consult
  362. this.listQuery.leaderId = data.leaderId
  363. this.listQuery.groupId = data.groupId
  364. this.listQuery.pinceSensitve = data.pinceSensitve
  365. this.listQuery.satisfied = data.satisfied
  366. this.listQuery.followup = data.followup
  367. this.listQuery.newDeal = data.newDeal
  368. this.listQuery.status = data.status
  369. this.getUserClubRemarksList()
  370. },
  371. showScreenDrawer() {
  372. //显示筛选抽屉
  373. this.isScreenDrawer = true
  374. },
  375. handleClick(e) {
  376. //确认删除
  377. if (e.index == 1) {
  378. this.handleDeleteUserLike()
  379. }
  380. this.modal = false
  381. },
  382. handleDeleteUserLike() {
  383. //操作删除资料备注
  384. this.UserService.getUserClubRemarksDelete({
  385. remarksId: this.handleRemarksId
  386. })
  387. .then(response => {
  388. this.$util.msg('已删除', 2000, true, 'success')
  389. setTimeout(() => {
  390. this.getUserClubRemarksList()
  391. }, 2000)
  392. })
  393. .catch(error => {
  394. this.$util.msg(error.msg, 2000)
  395. })
  396. },
  397. onShowClose() {
  398. //输入框失去焦点时触发
  399. if (this.listQuery.keyWord != '') {
  400. this.isShowClose = true
  401. } else {
  402. this.isShowClose = false
  403. this.listQuery.pageNum = 1
  404. this.getUserClubRemarksList()
  405. }
  406. },
  407. delInputText() {
  408. //清除输入框内容
  409. this.listQuery.keyWord = ''
  410. this.isShowClose = false
  411. this.listQuery.pageNum = 1
  412. this.getUserClubRemarksList()
  413. },
  414. hideMobel() {
  415. this.modal = false
  416. },
  417. details(remarksId) {
  418. this.$api.navigateTo(`/pages/seller/remarks/details?remarksId=${remarksId}`)
  419. },
  420. handlerGoReportList() {
  421. this.$api.navigateTo(`/pages/seller/remarks/report-list`)
  422. }
  423. },
  424. onPageScroll(e) {
  425. //实时获取到滚动的值
  426. },
  427. onReachBottom() {
  428. if (this.hasNextPage) {
  429. this.loadding = true
  430. this.pullUpOn = true
  431. this.GetOnReachBottomData()
  432. }
  433. },
  434. onPullDownRefresh() {
  435. setTimeout(() => {
  436. this.listQuery.pageNum = 1
  437. uni.stopPullDownRefresh()
  438. }, 200)
  439. },
  440. onShow() {
  441. this.initGetStotage()
  442. }
  443. }
  444. </script>
  445. <style lang="scss">
  446. @import '@/uni.scss';
  447. page {
  448. background: #f7f7f7;
  449. }
  450. .empty-container {
  451. z-index: 99;
  452. }
  453. .container-fiexd-top {
  454. width: 100%;
  455. height: 208rpx;
  456. background: #f5f5f5;
  457. box-sizing: border-box;
  458. position: fixed;
  459. top: 0;
  460. left: 0;
  461. z-index: 982;
  462. .club-search {
  463. width: 100%;
  464. height: 112rpx;
  465. padding: 24rpx;
  466. background: #ffffff;
  467. box-sizing: border-box;
  468. .search-screen {
  469. width: 152rpx;
  470. height: 64rpx;
  471. float: right;
  472. box-sizing: border-box;
  473. padding: 0 20rpx;
  474. border: 1px solid #999999;
  475. line-height: 64rpx;
  476. border-radius: 32rpx;
  477. color: #333333;
  478. text-align: center;
  479. font-size: 28rpx;
  480. .icon-gengduo1 {
  481. font-size: 30rpx;
  482. margin-right: 10rpx;
  483. }
  484. }
  485. .search-from {
  486. width: 526rpx;
  487. height: 100%;
  488. background: #f7f7f7;
  489. border-radius: 32rpx;
  490. float: left;
  491. position: relative;
  492. .input {
  493. width: 420rpx;
  494. height: 64rpx;
  495. float: left;
  496. line-height: 64rpx;
  497. color: $text-color;
  498. font-size: $font-size-24;
  499. }
  500. .icon-iconfonticonfontsousuo1 {
  501. width: 64rpx;
  502. height: 64rpx;
  503. line-height: 64rpx;
  504. text-align: center;
  505. display: block;
  506. font-size: $font-size-38;
  507. float: left;
  508. color: #999999;
  509. }
  510. .icon-shanchu1 {
  511. font-size: $font-size-32;
  512. color: #999999;
  513. position: absolute;
  514. width: 64rpx;
  515. height: 64rpx;
  516. line-height: 64rpx;
  517. text-align: center;
  518. top: 0;
  519. right: 0;
  520. z-index: 10;
  521. }
  522. }
  523. }
  524. .fiexd-top-title {
  525. width: 100%;
  526. height: 96rpx;
  527. box-sizing: border-box;
  528. padding: 24rpx;
  529. .top-left {
  530. float: left;
  531. line-height: 48rpx;
  532. font-size: 26rpx;
  533. color: #666666;
  534. text {
  535. color: #e15616;
  536. }
  537. }
  538. .top-right {
  539. float: right;
  540. .top-right-btn {
  541. height: 48rpx;
  542. padding: 0 20rpx;
  543. box-sizing: border-box;
  544. border: 1px solid #e15616;
  545. font-size: 26rpx;
  546. text-align: center;
  547. line-height: 48rpx;
  548. color: #e15616;
  549. border-radius: 24rpx;
  550. }
  551. }
  552. }
  553. }
  554. .remarks-content {
  555. width: 100%;
  556. height: auto;
  557. position: relative;
  558. padding: 0;
  559. box-sizing: border-box;
  560. padding: 24rpx;
  561. padding-top: 232rpx;
  562. .empty-container-image {
  563. width: 260rpx;
  564. height: 260rpx;
  565. margin-top: -300rpx;
  566. }
  567. .tui-remarks-cell {
  568. width: 100%;
  569. border-radius: 16rpx;
  570. margin-bottom: 24rpx;
  571. background: #ffffff;
  572. box-sizing: border-box;
  573. padding: 0 24rpx 24rpx 24rpx;
  574. &.orange {
  575. background: #ffffff linear-gradient(180deg, #ffede5 0%, rgba(255, 255, 255, 0) 50%);
  576. }
  577. &.blue {
  578. background: #ffffff linear-gradient(180deg, #deefff 0%, rgba(255, 255, 255, 0) 50%);
  579. }
  580. &.grey {
  581. background: #ffffff linear-gradient(180deg, #ececec 0%, rgba(255, 255, 255, 0) 50%);
  582. }
  583. .tui-remarks-title {
  584. width: 100%;
  585. height: auto;
  586. box-sizing: border-box;
  587. padding: 20rpx 0;
  588. border-bottom: 1px solid #e1e1e1;
  589. float: left;
  590. .tui-remarks-title-top {
  591. width: 100%;
  592. height: 56rpx;
  593. line-height: 56rpx;
  594. .tui-remarks-time {
  595. float: left;
  596. &.tt {
  597. width: 60%;
  598. font-size: $font-size-32;
  599. color: #333333;
  600. text-align: left;
  601. text-overflow: ellipsis;
  602. overflow: hidden;
  603. display: -webkit-box;
  604. -webkit-line-clamp: 1;
  605. line-clamp: 1;
  606. -webkit-box-orient: vertical;
  607. font-weight: bold;
  608. .tags {
  609. display: inline-block;
  610. padding: 0 10rpx;
  611. border-radius: 8rpx;
  612. line-height: 36rpx;
  613. font-size: 22rpx;
  614. background-color: #f94b4b;
  615. color: #ffffff;
  616. text-align: center;
  617. float: left;
  618. margin-right: 10rpx;
  619. margin-top: 10rpx;
  620. font-weight: normal;
  621. }
  622. }
  623. &.sm {
  624. width: 40%;
  625. font-size: $font-size-26;
  626. color: #999999;
  627. text-align: right;
  628. .orange {
  629. display: inline-block;
  630. padding: 0 15rpx;
  631. border-radius: 24rpx;
  632. line-height: 48rpx;
  633. font-size: 24rpx;
  634. background-color: #e15616;
  635. color: #ffffff;
  636. text-align: center;
  637. }
  638. .blue {
  639. display: inline-block;
  640. padding: 0 15rpx;
  641. border-radius: 24rpx;
  642. line-height: 48rpx;
  643. font-size: 24rpx;
  644. background-color: #1890f9;
  645. color: #ffffff;
  646. text-align: center;
  647. }
  648. .grey {
  649. display: inline-block;
  650. padding: 0 15rpx;
  651. border-radius: 24rpx;
  652. line-height: 48rpx;
  653. font-size: 24rpx;
  654. background-color: #e1e1e1;
  655. color: #999999;
  656. text-align: center;
  657. }
  658. }
  659. }
  660. }
  661. .tui-remarks-title-bot {
  662. width: 100%;
  663. height: auto;
  664. .tui-remarks-text-view {
  665. width: 100%;
  666. height: 48rpx;
  667. .tui-remarks-text {
  668. width: 50%;
  669. height: 48rpx;
  670. line-height: 48rpx;
  671. box-sizing: border-box;
  672. text-align: left;
  673. font-size: $font-size-26;
  674. color: #999999;
  675. float: left;
  676. text-overflow: ellipsis;
  677. overflow: hidden;
  678. display: -webkit-box;
  679. -webkit-line-clamp: 1;
  680. line-clamp: 1;
  681. -webkit-box-orient: vertical;
  682. &.a {
  683. width: 100%;
  684. }
  685. &.y {
  686. text-align: right;
  687. }
  688. }
  689. }
  690. }
  691. }
  692. .tui-remarks-name {
  693. width: 100%;
  694. height: 48rpx;
  695. line-height: 48rpx;
  696. font-size: $font-size-26;
  697. color: #666666;
  698. text-align: left;
  699. margin-bottom: 10rpx;
  700. margin-top: 20rpx;
  701. float: left;
  702. &.none {
  703. margin-top: 0;
  704. margin-bottom: 20rpx;
  705. }
  706. .tui-remarks-name-text {
  707. height: 48rpx;
  708. box-sizing: border-box;
  709. text-align: left;
  710. font-size: $font-size-26;
  711. color: #333333;
  712. float: left;
  713. text-overflow: ellipsis;
  714. overflow: hidden;
  715. display: -webkit-box;
  716. -webkit-line-clamp: 1;
  717. line-clamp: 1;
  718. -webkit-box-orient: vertical;
  719. .red {
  720. color: #f94b4b;
  721. }
  722. &.a {
  723. width: 100%;
  724. }
  725. &.h {
  726. width: 40%;
  727. padding-right: 24rpx;
  728. }
  729. &.y {
  730. width: 60%;
  731. padding-left: 24rpx;
  732. .reviewed{
  733. color: #E15616;
  734. }
  735. .approved{
  736. color: #0DB26D;
  737. }
  738. .failed{
  739. color: #F94B4B;
  740. }
  741. }
  742. }
  743. }
  744. .tui-remarks-content {
  745. width: 100%;
  746. height: auto;
  747. .tui-remarks-span {
  748. height: 48rpx;
  749. line-height: 48rpx;
  750. text-align: center;
  751. padding: 0 20rpx;
  752. background-color: #f7f7f7;
  753. font-size: $font-size-26;
  754. color: #666666;
  755. border-radius: 25rpx;
  756. display: inline-block;
  757. margin-right: 24rpx;
  758. margin-bottom: 24rpx;
  759. &:nth-child(4n) {
  760. margin-right: none;
  761. }
  762. }
  763. }
  764. .tui-remarks-button {
  765. width: 100%;
  766. height: 68rpx;
  767. border-top: 1px solid #e1e1e1;
  768. padding-top: 20rpx;
  769. .btn {
  770. width: 50%;
  771. line-height: 48rpx;
  772. box-sizing: border-box;
  773. text-align: center;
  774. font-size: $font-size-34;
  775. float: left;
  776. font-weight: bold;
  777. &.edit {
  778. color: #1890f9;
  779. border-right: 1px solid #e1e1e1;
  780. }
  781. &.del {
  782. color: #f94b4b;
  783. }
  784. }
  785. }
  786. }
  787. }
  788. .tui-popup-box {
  789. position: relative;
  790. box-sizing: border-box;
  791. min-height: 100rpx;
  792. padding: 6rpx 24rpx;
  793. .tui-popup-content {
  794. padding-top: 30rpx;
  795. }
  796. }
  797. .tui-popup-btn {
  798. width: 100%;
  799. height: auto;
  800. float: left;
  801. box-sizing: border-box;
  802. margin-top: 30rpx;
  803. .tui-button {
  804. width: 600rpx;
  805. height: 88rpx;
  806. background: $btn-confirm;
  807. line-height: 88rpx;
  808. text-align: center;
  809. color: #ffffff;
  810. font-size: $font-size-28;
  811. border-radius: 44rpx;
  812. margin: 0 auto;
  813. }
  814. .tui-button-text {
  815. width: 600rpx;
  816. height: 48rpx;
  817. line-height: 48rpx;
  818. text-align: center;
  819. color: #e15616;
  820. font-size: $font-size-26;
  821. margin: 0 auto;
  822. margin-top: 15rpx;
  823. }
  824. }
  825. </style>