index.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686
  1. <template>
  2. <view class="page u-skeleton">
  3. <!-- 经纪人信息卡片 -->
  4. <view class="userinfo-wrap u-skeleton-fillet box-shadow">
  5. <!-- 个人信息 -->
  6. <view class="userinfo">
  7. <view class="user">
  8. <view class="avatar-wrap" @click="pageTo('/pages/user/setting/avatar')">
  9. <u-avatar
  10. class="u-skeleton-circle"
  11. :src="userInfo.avatar"
  12. size="128"
  13. mode="circle"
  14. ></u-avatar>
  15. <!-- :show-level="true" -->
  16. <view class="avatar-bg box-shadow"></view>
  17. </view>
  18. <view class="info">
  19. <view class="nickname u-skeleton-rect">
  20. {{userInfo.user_id ? userInfo.nickname ? userInfo.nickname : '未设置用户名' : '未登录'}}
  21. </view>
  22. </view>
  23. <image v-if="userInfo && userInfo.manage_type == 2" src="../../static/bg_scan.png" class="scoped-scan-img" @click="scanHandle"></image>
  24. </view>
  25. <u-button
  26. v-if="!userInfo.user_id"
  27. class="u-skeleton-fillet"
  28. size="mini"
  29. type="primary"
  30. @click="pageTo('/pages/user/login/login')"
  31. :customStyle="{ margin: 0 }"
  32. >
  33. 立即登录
  34. </u-button>
  35. <view
  36. v-if="userInfo.user_id" style="padding: 20px" @click="pageTo('/pages/user/setting/setting')">
  37. <u-icon name="/static/icon/setting.png" size="24"></u-icon>
  38. </view>
  39. </view>
  40. <u-line length="650rpx" margin="30rpx 0 0"></u-line>
  41. <!-- 数据信息 -->
  42. <view class="datainfo">
  43. <view class="data-item" @click="pageTo('/pages/agent/recommend/list?filterStepStatus=1')">
  44. <view class="data u-skeleton-fillet">{{reportStepCountObj['1'] || 0}}</view>
  45. <view class="item u-skeleton-fillet">未到访</view>
  46. </view>
  47. <view class="data-item" @click="pageTo('/pages/agent/recommend/list?filterStepStatus=2')">
  48. <view class="data u-skeleton-fillet">{{reportStepCountObj['2'] || 0}}</view>
  49. <view class="item u-skeleton-fillet">已到访</view>
  50. </view>
  51. <view class="data-item" @click="pageTo('/pages/agent/recommend/list?filterStepStatus=3')">
  52. <view class="data u-skeleton-fillet">{{reportStepCountObj['3'] || 0}}</view>
  53. <view class="item u-skeleton-fillet">已认购</view>
  54. </view>
  55. <view class="data-item" @click="pageTo('/pages/agent/recommend/list?filterStepStatus=4')">
  56. <view class="data u-skeleton-fillet">
  57. {{reportStepCountObj['4'] || 0}}
  58. </view>
  59. <view class="item u-skeleton-fillet">已签约</view>
  60. </view>
  61. <view class="data-item" @click="pageTo('/pages/agent/recommend/list?filterStepStatus=5')">
  62. <view class="data u-skeleton-fillet">{{reportStepCountObj['5'] || 0}}</view>
  63. <view class="item u-skeleton-fillet">已结佣</view>
  64. </view>
  65. </view>
  66. </view>
  67. <!-- 功能卡片 -->
  68. <view class="function-card-wrap">
  69. <view class="col-card-wrap">
  70. <view class="function-card box-shadow u-skeleton-fillet" @click="pageTo('/pages/agent/recommend/create')">
  71. <view class="title-wrap">
  72. <view class="main-title">
  73. <u-icon class="u-m-r-5" name="/static/icon/thump-up.png" size="32"></u-icon>
  74. ️我要推荐
  75. </view>
  76. <view class="sub-title u-line-1">Recommend</view>
  77. </view>
  78. <u-image src="/static/icon/wenli1.png" mode="heightFix" height="144rpx" class="icon"></u-image>
  79. </view>
  80. <view class="function-card box-shadow u-skeleton-fillet" @click="pageTo('/pages/agent/recommend/list')">
  81. <view class="title-wrap">
  82. <view class="main-title">
  83. <u-icon class="u-m-r-5" name="/static/icon/money.png" size="32"></u-icon>
  84. 我的报备
  85. </view>
  86. <view class="sub-title u-line-1">Filing</view>
  87. </view>
  88. <u-image src="/static/icon/wenli2.png" mode="heightFix" height="144rpx" class="icon"></u-image>
  89. </view>
  90. </view>
  91. <view class="col-card-wrap">
  92. <view class="function-card box-shadow u-skeleton-fillet" @click="pageTo('/pages/cust/list')">
  93. <view class="title-wrap">
  94. <view class="main-title">
  95. <u-icon class="u-m-r-5" name="/static/icon/customer.png" size="32"></u-icon>
  96. 我的客户
  97. </view>
  98. <view class="sub-title u-line-1">Customer</view>
  99. </view>
  100. <u-image src="/static/icon/wenli3.png" mode="heightFix" height="144rpx" class="icon"></u-image>
  101. </view>
  102. <view class="function-card box-shadow u-skeleton-fillet" @click="commonRulesShow = true">
  103. <view class="title-wrap">
  104. <view class="main-title">
  105. <u-icon class="u-m-r-5" name="/static/icon/book.png" size="32"></u-icon>
  106. 佣金政策
  107. </view>
  108. <view class="sub-title u-line-1">Rules</view>
  109. </view>
  110. <u-image src="/static/icon/wenli4.png" mode="heightFix" height="144rpx" class="icon"></u-image>
  111. </view>
  112. </view>
  113. </view>
  114. <!-- 项目卡片 -->
  115. <view class="card-list-wrap box-shadow u-m-b-20">
  116. <view class="header-title-warp">
  117. <view class="title u-skeleton-rect">
  118. <u-icon class="u-m-r-5" name="/static/icon/fire.png" size="36"></u-icon>
  119. 高佣热销
  120. </view>
  121. <view v-show="propertyList.length > 5" class="more u-skeleton-rect">
  122. 更多
  123. <u-icon name="arrow-right"></u-icon>
  124. </view>
  125. </view>
  126. <view v-if="propertyList.length == 0" class="u-m-t-40 u-m-b-40"><u-empty mode="list" text="暂无在售房源"></u-empty></view>
  127. <view :class="'property-row-wrap'">
  128. <view class="property-body u-skeleton-fillet box-shadow" v-for="(item, index) in propertyList" :key="index" @click="showDetail(index)">
  129. <view class="image-wrap">
  130. <text class="tag u-skeleton-rect">{{ item.estate_tag }}</text>
  131. <image class="u-skeleton-rect" :src="item.pri_image" mode="aspectFill"></image>
  132. </view>
  133. <view class="property-info-wrap">
  134. <view class="title u-skeleton-rect">{{ item.estate_name }}
  135. <text class="s">{{areaTypeObj[item.area_type]}}</text>
  136. </view>
  137. <view class="commission u-line-1 u-skeleton-rect">{{ item.commissionText}}</view>
  138. </view>
  139. </view>
  140. </view>
  141. </view>
  142. <!-- 平台佣金政策弹窗 -->
  143. <u-popup v-model="commonRulesShow" mode="center" width="80%" height="800rpx" border-radius="20" closeable>
  144. <view class="bwin-popup">
  145. <view class="popup-header">平台佣金政策</view>
  146. <view class="popup-body">需上传身份证、银行卡进行实名认证,认证通过后方可获得佣金<!-- <u-parse :html="xxxxxxxxxx"></u-parse> --></view>
  147. </view>
  148. </u-popup>
  149. <!-- 项目佣金政策信息弹窗 -->
  150. <u-popup v-model="propertyPopupShow" mode="center" width="80%" height="800rpx" border-radius="20" closeable>
  151. <view class="bwin-popup">
  152. <view class="popup-header">{{ propertyList[currentPropertyIndex].estate_name + '佣金政策' }}</view>
  153. <view class="popup-body">
  154. <u-parse :html="propertyList[currentPropertyIndex].introduce"></u-parse>
  155. <u-divider marginTop="20" marginBottom="20">详情</u-divider>
  156. <view class="property-info">
  157. <view class="item">
  158. <view class="item-title">营销中心:</view>
  159. <view class="item-info">{{ propertyList[currentPropertyIndex].address }}</view>
  160. </view>
  161. <view class="item">
  162. <view class="item-title">销售热线:</view>
  163. <view class="item-info">{{ propertyList[currentPropertyIndex].marketing_phone || '00000000' }}</view>
  164. </view>
  165. <view class="item">
  166. <view class="item-title">带看需收集:</view>
  167. <view class="item-info">{{ propertyList[currentPropertyIndex].report_visit }}</view>
  168. </view>
  169. <view class="item">
  170. <view class="item-title">报备保护期:</view>
  171. <view class="item-info">{{ propertyList[currentPropertyIndex].report_lock + '天' }}</view>
  172. </view>
  173. <view class="item">
  174. <view class="item-title">带看保护期:</view>
  175. <view class="item-info">{{ propertyList[currentPropertyIndex].lead_lock + '天' }}</view>
  176. </view>
  177. </view>
  178. </view>
  179. </view>
  180. </u-popup>
  181. <!-- 骨架屏 -->
  182. <u-skeleton :loading="skeletonLoading" animation></u-skeleton>
  183. </view>
  184. </template>
  185. <script>
  186. var that;
  187. import { arrToObj } from '@/utils'
  188. export default {
  189. data() {
  190. // 页面数据变量
  191. return {
  192. userInfo: {},
  193. skeletonLoading: true,
  194. agentTypeList: ['', '自由经纪人', '渠道经纪人', '老业主'],
  195. propertyList: [
  196. {
  197. estate_name: '在售项目1',
  198. pri_image: 'https://zdcdn.2bwin.cn/uploads/20220501/af6eb9c2a5d462be10a15c2302e5e6b5.jpg',
  199. sale_tag: '刚需好盘',
  200. rulesInfo: {
  201. des: '内容加载中1....',
  202. des_content: '内容加载中2....'
  203. }
  204. },
  205. ],
  206. commonRulesShow: false,
  207. propertyPopupShow: false,
  208. currentPropertyIndex: 0,
  209. // init请求返回的数据
  210. data: {},
  211. // 表单请求数据
  212. form1: {},
  213. scrollTop: 0,
  214. reportStepCountObj: {},
  215. areaTypeObj: {},
  216. };
  217. },
  218. onPageScroll(e) {
  219. this.scrollTop = e.scrollTop;
  220. },
  221. // 监听 - 页面每次【加载时】执行(如:前进)
  222. onLoad(options = {}) {
  223. // that = this;
  224. // this.options = options;
  225. // this.init(options);
  226. },
  227. // 监听 - 页面【首次渲染完成时】执行。注意如果渲染速度快,会在页面进入动画完成前触发
  228. onReady() {
  229. },
  230. // 监听 - 页面每次【显示时】执行(如:前进和返回) (页面每次出现在屏幕上都触发,包括从下级页面点返回露出当前页面)
  231. onShow() {
  232. this.init()
  233. const dictObj = uni.getStorageSync('MD_dict')
  234. this.areaTypeObj = arrToObj(dictObj.area_type)
  235. },
  236. // 监听 - 页面每次【隐藏时】执行(如:返回)
  237. onHide() {},
  238. // 监听 - 页面触底部
  239. onReachBottom() {},
  240. // 监听 - 窗口尺寸变化(仅限:App、微信小程序)
  241. onResize() {},
  242. // 监听 - 点击右上角转发时
  243. onShareAppMessage(options) {},
  244. // 监听 - 页面创建时
  245. created() {},
  246. // 函数
  247. methods: {
  248. scanHandle () {
  249. uni.scanCode({
  250. success: function (res) {
  251. uni.navigateTo({
  252. url: `/pages/agent/recommend/detail2?id=${res.result}`
  253. })
  254. }
  255. })
  256. },
  257. // 页面数据初始化函数
  258. init(options) {
  259. const userInfo2 = uni.getStorageSync('MD_userInfo2')
  260. this.userInfo = userInfo2 || {}
  261. uni.api.estate.apireportcount().then(res => {
  262. const reportStepCount = res.report_step_count || []
  263. let reportStepCountObj = {}
  264. reportStepCount.forEach(item => {
  265. reportStepCountObj[item.report_step] = item.total || 0
  266. })
  267. this.reportStepCountObj = {...reportStepCountObj}
  268. })
  269. uni.api.estate.apiestatelist().then(res => {
  270. const list = res.list || []
  271. // let oneObj = list[0] || {}
  272. this.propertyList = [list[0], list[1], list[2]]
  273. })
  274. // let currentTime = Date.parse(new Date()) / 1000; // 秒级
  275. // // 初始化平台数据
  276. // let systemConfig = vk.vuex.get('$app.systemConfig');
  277. // if (!systemConfig.use_skeleton) {
  278. this.skeletonLoading = false;
  279. // }
  280. // if (vk.pubfn.isNull(systemConfig._id)) {
  281. // // 不存在则直接初始化
  282. // vk.callFunction({
  283. // url: 'client/agent/pub/getConfigInfo',
  284. // needAlert: false
  285. // }).then(res => {
  286. // vk.vuex.set('$app.systemConfig', res.config);
  287. // vk.vuex.set('$app.systemConfig.lastGetTime', currentTime);
  288. // });
  289. // } else {
  290. // let mathTime = ((currentTime - systemConfig.lastGetTime) / 3600).toFixed(2);
  291. // if (mathTime > systemConfig.cache_time) {
  292. // vk.callFunction({
  293. // url: 'client/agent/pub/getConfigInfo',
  294. // needAlert: false
  295. // }).then(res => {
  296. // vk.vuex.set('$app.systemConfig', res.config);
  297. // vk.vuex.set('$app.systemConfig.lastGetTime', currentTime);
  298. // });
  299. // }
  300. // }
  301. // // 请求经纪人个人数据
  302. // let lastInitAgentDataTime = vk.vuex.get('$user.history.lastInitAgentDataTime');
  303. // if (currentTime - lastInitAgentDataTime >= 60 && vk.checkToken()) {
  304. // // 个人数据1分钟主动更新1次
  305. // vk.callFunction({
  306. // url: 'client/agent/kh/getAgentData',
  307. // data: {
  308. // agentId: vk.vuex.get('$user.agentInfo._id')
  309. // },
  310. // needAlert: false
  311. // }).then(res => {
  312. // vk.vuex.set('$user.dataInfo.recommendNum', res.data.recommendNum);
  313. // vk.vuex.set('$user.dataInfo.visitedNum', res.data.visitedNum);
  314. // vk.vuex.set('$user.dataInfo.buyNum', res.data.buyNum);
  315. // vk.vuex.set('$user.dataInfo.totalCommission', res.data.totalCommission);
  316. // vk.vuex.set('$user.history.lastInitAgentDataTime', currentTime);
  317. // });
  318. // }
  319. // // 请求未读消息数量
  320. // // 最快1分钟请求一次
  321. // let lastGetUnreadMsgTime = vk.vuex.get('$user.history.lastGetUnreadMsgTime');
  322. // if (currentTime - lastGetUnreadMsgTime > 60 && vk.checkToken()) {
  323. // vk.callFunction({
  324. // url: 'client/agent/kh/getUnreadMsgNum'
  325. // }).then(res => {
  326. // vk.vuex.set('$user.dataInfo.unreadMsgNum', res.num);
  327. // vk.vuex.set('$user.history.lastGetUnreadMsgTime', currentTime);
  328. // });
  329. // }
  330. // // 请求在售项目列表
  331. // vk.callFunction({
  332. // url: 'client/agent/pub/getPropertyList',
  333. // needAlert: false
  334. // }).then(res => {
  335. // that.propertyList = res.list;
  336. // // 存储到vuex,方便其他页面调用
  337. // if (res.list.length < 5) {
  338. // // 若大于等于5则可能有更多项目,则不缓存
  339. // let list = res.list.map(function(val, index) {
  340. // return { value: val._id, label: val.name };
  341. // });
  342. // vk.vuex.set('$app.propertyList', list);
  343. // }
  344. // // 拼接佣金政策
  345. // // 非经纪人身份时显示佣金政策简介
  346. // // 否则显示最高可获得的佣金额度
  347. // let i;
  348. // for (i = 0; i < res.list.length; i++) {
  349. // let agentType = vk.vuex.get('$user.agentInfo.type');
  350. // if (vk.pubfn.isNull(agentType)) {
  351. // // 还未注册为经纪人
  352. // that.propertyList[i].commissionText = that.propertyList[i].rulesInfo.des;
  353. // } else {
  354. // let commissionInfo = that.propertyList[i].rulesInfo.commission_info;
  355. // let item = vk.pubfn.getListItem(commissionInfo, 'type', agentType);
  356. // that.propertyList[i].commissionText = '您最高可获得佣金' + item.amount + '元';
  357. // }
  358. // }
  359. // that.skeletonLoading = false;
  360. // });
  361. },
  362. pageTo(path) {
  363. if (path === 'dev') {
  364. uni.$msg('开发中~')
  365. return
  366. }
  367. uni.navigateTo({
  368. url: path
  369. })
  370. },
  371. // 弹窗展示项目佣金详情
  372. showDetail(index) {
  373. this.currentPropertyIndex = index;
  374. this.propertyPopupShow = true;
  375. }
  376. },
  377. // 监听器
  378. watch: {},
  379. // 计算属性
  380. computed: {}
  381. };
  382. </script>
  383. <style lang="scss" scoped>
  384. .page {
  385. min-height: calc(100vh - 44px);
  386. }
  387. .userinfo-wrap {
  388. display: flex;
  389. flex-direction: column;
  390. align-items: flex-start;
  391. background-color: #fff;
  392. padding: 32rpx;
  393. width: 100%;
  394. margin-bottom: 20rpx;
  395. border-radius: 10rpx;
  396. position: relative;
  397. .userinfo {
  398. width: 100%;
  399. display: flex;
  400. align-items: center;
  401. justify-content: space-between;
  402. .user {
  403. display: flex;
  404. align-items: center;
  405. .avatar-wrap {
  406. position: relative;
  407. .avatar-bg {
  408. position: absolute;
  409. left: 0;
  410. top: 0;
  411. border-radius: 50%;
  412. width: 128rpx;
  413. height: 128rpx;
  414. }
  415. }
  416. .info {
  417. margin-left: 32rpx;
  418. .nickname {
  419. font-size: $u-p;
  420. font-weight: bold;
  421. color: $u-main-color;
  422. margin-bottom: 5rpx;
  423. }
  424. .mobile {
  425. font-size: $u-p1;
  426. color: $u-tips-color;
  427. }
  428. }
  429. }
  430. }
  431. .datainfo {
  432. width: 100%;
  433. display: flex;
  434. align-items: flex-end;
  435. justify-content: space-between;
  436. padding: 20rpx 0 0;
  437. .data-item {
  438. display: flex;
  439. flex-direction: column;
  440. align-items: center;
  441. .data {
  442. font-weight: bold;
  443. font-size: $u-h2;
  444. line-height: $u-h2;
  445. margin-bottom: 10rpx;
  446. }
  447. .item {
  448. font-size: $u-p2;
  449. color: $u-content-color;
  450. }
  451. }
  452. }
  453. }
  454. .function-card-wrap {
  455. .col-card-wrap {
  456. display: flex;
  457. align-items: center;
  458. justify-content: space-between;
  459. }
  460. .function-card {
  461. background-color: #fff;
  462. padding: 32rpx 20rpx;
  463. width: 345rpx;
  464. margin-bottom: 20rpx;
  465. border-radius: 10rpx;
  466. position: relative;
  467. overflow: hidden;
  468. .title-wrap {
  469. text-align: left;
  470. .main-title {
  471. display: flex;
  472. align-items: center;
  473. font-size: $u-p;
  474. font-weight: bold;
  475. }
  476. .sub-title {
  477. font-size: $u-p2;
  478. color: $u-content-color;
  479. }
  480. }
  481. .icon {
  482. text-align: right;
  483. position: absolute;
  484. top: 0;
  485. right: 0;
  486. }
  487. }
  488. }
  489. // 项目列表
  490. .card-list-wrap {
  491. background-color: #fff;
  492. // margin: 0rpx -20rpx 20rpx;
  493. padding: 20rpx 20rpx 0 20rpx;
  494. display: flex;
  495. flex-direction: column;
  496. border-radius: 10rpx;
  497. .header-title-warp {
  498. width: 100%;
  499. margin-bottom: 20rpx;
  500. display: flex;
  501. align-items: center;
  502. justify-content: space-between;
  503. .title {
  504. display: flex;
  505. align-items: center;
  506. color: $u-main-color;
  507. font-weight: bold;
  508. font-size: $u-p;
  509. }
  510. .more {
  511. font-size: $u-sub;
  512. color: $u-tips-color;
  513. }
  514. }
  515. // 行版
  516. .property-row-wrap {
  517. .property-body {
  518. width: 100%;
  519. border-radius: 10rpx;
  520. margin-bottom: 20rpx;
  521. // background-color: #fff;
  522. .image-wrap {
  523. position: relative;
  524. image {
  525. width: 100%;
  526. height: 300rpx;
  527. display: block;
  528. border-top-left-radius: 10rpx;
  529. border-top-right-radius: 10rpx;
  530. }
  531. .tag {
  532. color: #ffffff;
  533. background-color: $u-theme-color;
  534. font-size: $u-p2;
  535. position: absolute;
  536. z-index: 1;
  537. left: 0;
  538. padding: 8rpx 20rpx;
  539. border-top-left-radius: 10rpx;
  540. border-bottom-right-radius: 10rpx;
  541. }
  542. }
  543. .property-info-wrap {
  544. padding: 20rpx;
  545. .title {
  546. font-weight: bold;
  547. color: $u-main-color;
  548. font-size: $u-p;
  549. .s {
  550. font-weight: normal;
  551. padding-left: 10rpx;
  552. }
  553. }
  554. .commission {
  555. margin-top: 10rpx;
  556. font-size: $u-p2;
  557. color: $u-content-color;
  558. }
  559. }
  560. }
  561. }
  562. // 两列版
  563. .property-col-wrap {
  564. display: flex;
  565. flex-wrap: wrap;
  566. justify-content: space-between;
  567. align-items: flex-start;
  568. .property-body {
  569. width: 325rpx;
  570. border-radius: 10rpx;
  571. margin-bottom: 20rpx;
  572. // background-color: #fff;
  573. .image-wrap {
  574. position: relative;
  575. image {
  576. width: 100%;
  577. height: 300rpx;
  578. display: block;
  579. border-top-left-radius: 10rpx;
  580. border-top-right-radius: 10rpx;
  581. }
  582. .tag {
  583. color: #ffffff;
  584. background-color: $u-theme-color;
  585. font-size: $u-sub;
  586. position: absolute;
  587. z-index: 1;
  588. left: 0;
  589. padding: 8rpx 20rpx;
  590. border-top-left-radius: 10rpx;
  591. border-bottom-right-radius: 10rpx;
  592. }
  593. }
  594. .property-info-wrap {
  595. padding: 20rpx;
  596. .title {
  597. font-weight: bold;
  598. color: $u-main-color;
  599. font-size: $u-p2;
  600. }
  601. .commission {
  602. margin-top: 10rpx;
  603. font-size: $u-sub;
  604. color: $u-content-color;
  605. }
  606. }
  607. }
  608. }
  609. }
  610. .popup-body {
  611. .property-info {
  612. font-size: $u-p1;
  613. .item {
  614. display: flex;
  615. margin-bottom: 10rpx;
  616. text-align: left;
  617. .item-title {
  618. font-weight: bold;
  619. width: 170rpx;
  620. }
  621. .item-info {
  622. flex: 1;
  623. }
  624. }
  625. }
  626. }
  627. .scoped-scan-img {
  628. padding-left: 20px;
  629. width: 90rpx;
  630. height: 90rpx;
  631. }
  632. </style>