record-list.vue 22 KB

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