record-list.vue 22 KB

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