index.vue 18 KB

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