record-list.vue 22 KB

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