record-list.vue 21 KB

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