record-list.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929
  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"></tui-loadmore>
  124. <tui-nomore :visible="!pullUpOn" :backgroundColor="'#F7F7F7'" :text="nomoreText"></tui-nomore>
  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. this.UserService.getUserClubVisitorSave({
  432. name: data,
  433. serviceProviderId: this.listQuery.serviceProviderId
  434. })
  435. .then(response => {})
  436. .catch(error => {})
  437. },
  438. handleClick(e) {
  439. //取消收藏
  440. if (e.index == 1) {
  441. this.handleDeleteUserLike()
  442. }
  443. this.modal = false
  444. },
  445. handleDeleteUserLike() {
  446. //操作删除资料备注
  447. this.UserService.getUserRemarksVisitDelete({
  448. remarksId: this.handleRemarksId
  449. })
  450. .then(response => {
  451. this.$util.msg('已删除', 2000, true, 'success')
  452. setTimeout(() => {
  453. this.getUserClubVisitorRecordlist()
  454. }, 2000)
  455. })
  456. .catch(error => {
  457. this.$util.msg(error.msg, 2000)
  458. })
  459. },
  460. showScreenDrawer() {
  461. //显示筛选抽屉
  462. this.isScreenDrawer = true
  463. },
  464. onShowClose() {
  465. //输入框失去焦点时触发
  466. if (this.listQuery.keyWord != '') {
  467. this.isShowClose = true
  468. } else {
  469. this.isShowClose = false
  470. this.listQuery.pageNum = 1
  471. this.getUserClubVisitorRecordlist()
  472. }
  473. },
  474. delInputText() {
  475. //清除输入框内容
  476. this.listQuery.keyWord = ''
  477. this.isShowClose = false
  478. this.listQuery.pageNum = 1
  479. this.getUserClubVisitorRecordlist()
  480. },
  481. hideMobel() {
  482. this.modal = false
  483. },
  484. details(remarksId) {
  485. this.$api.navigateTo(`/pages/seller/remarks/record-details?remarksId=${remarksId}`)
  486. },
  487. handlerGoReportList() {
  488. this.$api.navigateTo(`/pages/seller/remarks/report-visitor-list`)
  489. }
  490. },
  491. onPageScroll(e) {
  492. //实时获取到滚动的值
  493. },
  494. onReachBottom() {
  495. if (this.hasNextPage) {
  496. this.loadding = true
  497. this.pullUpOn = true
  498. this.GetOnReachBottomData()
  499. }
  500. },
  501. onPullDownRefresh() {
  502. setTimeout(() => {
  503. this.listQuery.pageNum = 1
  504. uni.stopPullDownRefresh()
  505. }, 200)
  506. },
  507. onShow() {
  508. this.init()
  509. }
  510. }
  511. </script>
  512. <style lang="scss">
  513. @import '@/uni.scss';
  514. page {
  515. background: #f7f7f7;
  516. }
  517. .empty-container {
  518. z-index: 99;
  519. }
  520. .container-fiexd-top {
  521. width: 100%;
  522. height: 208rpx;
  523. background: #f5f5f5;
  524. box-sizing: border-box;
  525. position: fixed;
  526. top: 0;
  527. left: 0;
  528. z-index: 982;
  529. .club-search {
  530. width: 100%;
  531. height: 112rpx;
  532. padding: 24rpx;
  533. background: #ffffff;
  534. box-sizing: border-box;
  535. .search-screen {
  536. width: 152rpx;
  537. height: 64rpx;
  538. float: right;
  539. box-sizing: border-box;
  540. padding: 0 20rpx;
  541. border: 1px solid #999999;
  542. line-height: 64rpx;
  543. border-radius: 32rpx;
  544. color: #333333;
  545. text-align: center;
  546. font-size: 28rpx;
  547. .icon-gengduo1 {
  548. font-size: 30rpx;
  549. margin-right: 10rpx;
  550. }
  551. }
  552. .search-from {
  553. width: 526rpx;
  554. height: 100%;
  555. background: #f7f7f7;
  556. border-radius: 32rpx;
  557. float: left;
  558. position: relative;
  559. .input {
  560. width: 420rpx;
  561. height: 64rpx;
  562. float: left;
  563. line-height: 64rpx;
  564. color: $text-color;
  565. font-size: $font-size-24;
  566. }
  567. .icon-iconfonticonfontsousuo1 {
  568. width: 64rpx;
  569. height: 64rpx;
  570. line-height: 64rpx;
  571. text-align: center;
  572. display: block;
  573. font-size: $font-size-38;
  574. float: left;
  575. color: #999999;
  576. }
  577. .icon-shanchu1 {
  578. font-size: $font-size-32;
  579. color: #999999;
  580. position: absolute;
  581. width: 64rpx;
  582. height: 64rpx;
  583. line-height: 64rpx;
  584. text-align: center;
  585. top: 0;
  586. right: 0;
  587. z-index: 10;
  588. }
  589. }
  590. }
  591. .fiexd-top-title {
  592. width: 100%;
  593. height: 96rpx;
  594. box-sizing: border-box;
  595. padding: 24rpx;
  596. .top-left {
  597. float: left;
  598. line-height: 48rpx;
  599. font-size: 26rpx;
  600. color: #666666;
  601. text {
  602. color: #ff5b00;
  603. }
  604. }
  605. .top-right {
  606. float: right;
  607. .top-right-btn {
  608. height: 48rpx;
  609. padding: 0 20rpx;
  610. box-sizing: border-box;
  611. border: 1px solid #ff5b00;
  612. font-size: 26rpx;
  613. text-align: center;
  614. line-height: 48rpx;
  615. color: #ff5b00;
  616. border-radius: 24rpx;
  617. }
  618. }
  619. }
  620. }
  621. .remarks-content {
  622. width: 100%;
  623. height: auto;
  624. position: relative;
  625. padding: 0;
  626. box-sizing: border-box;
  627. padding: 24rpx;
  628. padding-top: 232rpx;
  629. .empty-container-image {
  630. width: 260rpx;
  631. height: 260rpx;
  632. margin-top: -300rpx;
  633. }
  634. .tui-remarks-cell {
  635. width: 100%;
  636. border-radius: 16rpx;
  637. margin-bottom: 24rpx;
  638. background: #ffffff;
  639. box-sizing: border-box;
  640. padding: 0 24rpx 24rpx 24rpx;
  641. &.orange {
  642. background: #ffffff linear-gradient(180deg, #ffede5 0%, rgba(255, 255, 255, 0) 50%);
  643. }
  644. &.blue {
  645. background: #ffffff linear-gradient(180deg, #deefff 0%, rgba(255, 255, 255, 0) 50%);
  646. }
  647. &.grey {
  648. background: #ffffff linear-gradient(180deg, #ececec 0%, rgba(255, 255, 255, 0) 50%);
  649. color: #999999;
  650. }
  651. .tui-remarks-title {
  652. width: 100%;
  653. height: auto;
  654. box-sizing: border-box;
  655. padding: 20rpx 0;
  656. border-bottom: 1px solid #e1e1e1;
  657. float: left;
  658. .tui-remarks-title-top {
  659. width: 100%;
  660. height: 56rpx;
  661. line-height: 56rpx;
  662. .tui-remarks-time {
  663. float: left;
  664. &.tt {
  665. width: 50%;
  666. font-size: $font-size-32;
  667. color: #333333;
  668. text-align: left;
  669. text-overflow: ellipsis;
  670. overflow: hidden;
  671. display: -webkit-box;
  672. -webkit-line-clamp: 1;
  673. line-clamp: 1;
  674. -webkit-box-orient: vertical;
  675. font-weight: bold;
  676. }
  677. &.sm {
  678. width: 50%;
  679. font-size: $font-size-26;
  680. color: #999999;
  681. text-align: right;
  682. .orange {
  683. display: inline-block;
  684. padding: 0 15rpx;
  685. border-radius: 24rpx;
  686. line-height: 48rpx;
  687. font-size: 24rpx;
  688. background-color: #ff5b00;
  689. color: #ffffff;
  690. text-align: center;
  691. }
  692. .blue {
  693. display: inline-block;
  694. padding: 0 15rpx;
  695. border-radius: 24rpx;
  696. line-height: 48rpx;
  697. font-size: 24rpx;
  698. background-color: #1890f9;
  699. color: #ffffff;
  700. text-align: center;
  701. }
  702. .grey {
  703. display: inline-block;
  704. padding: 0 15rpx;
  705. border-radius: 24rpx;
  706. line-height: 48rpx;
  707. font-size: 24rpx;
  708. background-color: #e1e1e1;
  709. color: #999999;
  710. text-align: center;
  711. }
  712. }
  713. }
  714. }
  715. .tui-remarks-title-bot {
  716. width: 100%;
  717. height: auto;
  718. .tui-remarks-text-view {
  719. width: 100%;
  720. height: 48rpx;
  721. .tui-remarks-text {
  722. width: 50%;
  723. height: 48rpx;
  724. line-height: 48rpx;
  725. box-sizing: border-box;
  726. text-align: left;
  727. font-size: $font-size-26;
  728. color: #999999;
  729. float: left;
  730. text-overflow: ellipsis;
  731. overflow: hidden;
  732. display: -webkit-box;
  733. -webkit-line-clamp: 1;
  734. line-clamp: 1;
  735. -webkit-box-orient: vertical;
  736. &.a {
  737. width: 100%;
  738. }
  739. &.y {
  740. text-align: right;
  741. .orange {
  742. display: inline-block;
  743. padding: 0 15rpx;
  744. border-radius: 24rpx;
  745. line-height: 48rpx;
  746. font-size: 24rpx;
  747. background-color: #ff5b00;
  748. color: #ffffff;
  749. text-align: center;
  750. }
  751. .blue {
  752. display: inline-block;
  753. padding: 0 15rpx;
  754. border-radius: 24rpx;
  755. line-height: 48rpx;
  756. font-size: 24rpx;
  757. background-color: #1890f9;
  758. color: #ffffff;
  759. text-align: center;
  760. }
  761. .grey {
  762. display: inline-block;
  763. padding: 0 15rpx;
  764. border-radius: 24rpx;
  765. line-height: 48rpx;
  766. font-size: 24rpx;
  767. background-color: #e1e1e1;
  768. color: #ffffff;
  769. text-align: center;
  770. }
  771. }
  772. }
  773. }
  774. }
  775. }
  776. .tui-remarks-name {
  777. width: 100%;
  778. height: 48rpx;
  779. line-height: 48rpx;
  780. font-size: $font-size-26;
  781. color: #666666;
  782. text-align: left;
  783. margin-bottom: 10rpx;
  784. margin-top: 20rpx;
  785. float: left;
  786. &.none {
  787. margin-top: 0;
  788. margin-bottom: 20rpx;
  789. }
  790. .tui-remarks-name-text {
  791. height: 48rpx;
  792. box-sizing: border-box;
  793. text-align: left;
  794. font-size: $font-size-26;
  795. color: #333333;
  796. float: left;
  797. text-overflow: ellipsis;
  798. overflow: hidden;
  799. display: -webkit-box;
  800. -webkit-line-clamp: 1;
  801. line-clamp: 1;
  802. -webkit-box-orient: vertical;
  803. .red {
  804. color: #f94b4b;
  805. }
  806. &.a {
  807. width: 100%;
  808. }
  809. &.h {
  810. width: 40%;
  811. padding-right: 24rpx;
  812. }
  813. &.y {
  814. width: 60%;
  815. padding-left: 24rpx;
  816. .reviewed {
  817. color: #ff5b00;
  818. }
  819. .approved {
  820. color: #0db26d;
  821. }
  822. .failed {
  823. color: #f94b4b;
  824. }
  825. }
  826. }
  827. }
  828. .tui-remarks-content {
  829. width: 100%;
  830. height: auto;
  831. .tui-remarks-span {
  832. height: 48rpx;
  833. line-height: 48rpx;
  834. text-align: center;
  835. padding: 0 20rpx;
  836. background-color: #f7f7f7;
  837. font-size: $font-size-26;
  838. color: #666666;
  839. border-radius: 25rpx;
  840. display: inline-block;
  841. margin-right: 24rpx;
  842. margin-bottom: 24rpx;
  843. &:nth-child(4n) {
  844. margin-right: none;
  845. }
  846. }
  847. }
  848. .tui-remarks-button {
  849. width: 100%;
  850. height: 68rpx;
  851. border-top: 1px solid #e1e1e1;
  852. padding-top: 20rpx;
  853. .btn {
  854. width: 50%;
  855. line-height: 48rpx;
  856. box-sizing: border-box;
  857. text-align: center;
  858. font-size: $font-size-34;
  859. float: left;
  860. font-weight: bold;
  861. &.edit {
  862. color: #1890f9;
  863. border-right: 1px solid #e1e1e1;
  864. }
  865. &.del {
  866. color: #f94b4b;
  867. }
  868. }
  869. }
  870. }
  871. }
  872. .tui-popup-box {
  873. position: relative;
  874. box-sizing: border-box;
  875. min-height: 100rpx;
  876. padding: 6rpx 24rpx;
  877. .tui-popup-content {
  878. padding-top: 30rpx;
  879. }
  880. }
  881. .tui-popup-btn {
  882. width: 100%;
  883. height: auto;
  884. float: left;
  885. box-sizing: border-box;
  886. margin-top: 30rpx;
  887. .tui-flex-1 {
  888. width: 100%;
  889. height: 84rpx;
  890. display: flex;
  891. .tui-button {
  892. flex: 1;
  893. line-height: 84rpx;
  894. font-size: $font-size-28;
  895. text-align: center;
  896. border-radius: 42rpx;
  897. padding: 0;
  898. margin: 0 15rpx;
  899. box-sizing: border-box;
  900. &.cancel {
  901. background: #ffe6dc;
  902. color: #ff5b00;
  903. }
  904. &.disabled {
  905. background: #e1e1e1;
  906. color: #ffffff;
  907. }
  908. &.confirm {
  909. background: $btn-confirm;
  910. color: #ffffff;
  911. }
  912. }
  913. .tui-button-text {
  914. width: 600rpx;
  915. height: 48rpx;
  916. line-height: 48rpx;
  917. text-align: center;
  918. color: #ff5b00;
  919. font-size: $font-size-26;
  920. margin: 0 auto;
  921. margin-top: 15rpx;
  922. }
  923. }
  924. }
  925. </style>