record-list.vue 22 KB

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