relation-visitor-list.vue 19 KB

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