record-list.vue 21 KB

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