list.vue 19 KB

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