relation-visitor-list.vue 19 KB

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