record-list.vue 20 KB

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