home.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682
  1. <template>
  2. <view>
  3. <view class="search">
  4. <view style="margin: 10rpx 20rpx;margin-top: 20rpx;">
  5. <u-search placeholder="请输入商品名称" inputAlign="center" bgColor="#fff" shape="square" v-model="search.cname"
  6. @search="searchButton" @custom="searchButton" @click="searchButton" :animation="false"
  7. :disabled="true" :showAction="false">
  8. </u-search>
  9. </view>
  10. <view v-if="false" style="margin: -15rpx auto 10rpx auto;display: flex;padding: 0 20rpx;z-index: 999;">
  11. <u-tag :text="search.brandNmae" borderColor="#FD4B09" color="#FD4B09" plain size="medium" closable
  12. :show="false" @close="close" @click="close"></u-tag>
  13. <!-- <u-tag text="原厂" borderColor="#FD4B09" color="#FD4B09" plain size="medium" closable v-if="originalFactory"
  14. :show="originalFactory" @close="yuanchangclose('originalFactory')" @click="yuanchangclose('originalFactory')"></u-tag>
  15. <u-tag text="自修补" borderColor="#FD4B09" color="#FD4B09" plain size="medium" closable v-if="selfRecovery"
  16. :show="selfRecovery" @close="yuanchangclose('selfRecovery')" @click="yuanchangclose('selfRecovery')"></u-tag>
  17. <u-tag text="防爆" borderColor="#FD4B09" color="#FD4B09" plain size="medium" closable v-if="explosionProof"
  18. :show="explosionProof" @close="yuanchangclose('explosionProof')" @click="yuanchangclose('explosionProof')"></u-tag> -->
  19. </view>
  20. </view>
  21. <view :style="{marginTop:show == true?'108rpx':'108rpx'}">
  22. <u-swiper :list="list3" indicator indicatorMode="dot" circular imgMode='scaleToFill'></u-swiper>
  23. </view>
  24. <view style="background-color: #fff;margin-bottom: 20rpx;">
  25. <view class="cardBox classification">
  26. <view class="classificationBox" v-for="(item,index) in brandList" :key="item.id" @click="click(index)">
  27. <view class="classificationBox_img">
  28. <image :src="item.brandFilesList[0].url" mode=""></image>
  29. </view>
  30. <view class="classificationBox_text" :style="PPindex == index?'color:#3c9cff':''">{{item.cname}}
  31. </view>
  32. </view>
  33. <view class="classificationBox" @click="Moreprojectsfun" v-if="brandList.length >= 7 && gengduofalse">
  34. <view class="classificationBox_img">
  35. <image src="../../static/images/view/buyGoods/gengduo.png" style="width: 60rpx;height: 60rpx;"
  36. mode=""></image>
  37. </view>
  38. <view class="classificationBox_text">更多项目</view>
  39. </view>
  40. <view class="classificationBox" @click="shohuifun"
  41. v-if="brandList.length >= zsbrandList.length && zsbrandList.length > 8">
  42. <view class="classificationBox_img">
  43. <image src="../../static/images/view/buyGoods/fanhui.png" style="width: 60rpx;height: 60rpx;"
  44. mode=""></image>
  45. </view>
  46. <view class="classificationBox_text">收回项目</view>
  47. </view>
  48. <!-- <u-grid :border="false" @click="click" col="4">
  49. <u-grid-item v-for="(item,index) in brandList" :key="index">
  50. <view v-if="item.brandFilesList.length>0" style="text-align: center;">
  51. <view v-for="(li,i) in item.brandFilesList" :key="i" :src="li.url">
  52. <image :src="li.url" style="width: 80rpx;height: 80rpx;"></image>
  53. <view style="font-size: 28rpx;" :style="PPindex == index?'color:#3c9cff':''" >{{item.cname}}</view>
  54. </view>
  55. </view>
  56. <view v-else style="text-align: center;">
  57. <u-icon :customStyle="{paddingBottom:8+'rpx'}" labelPos="bottom" name="error-circle"
  58. :size="40"></u-icon>
  59. <view style="font-size: 28rpx;">{{item.cname}}</view>
  60. </view>
  61. </u-grid-item>
  62. </u-grid> -->
  63. </view>
  64. <view @click="inIntegralMall">
  65. <image src="../../static/images/tabBar/JFStop.png" style="width: 100%;height: 220rpx;"
  66. mode="scaleToFill"></image>
  67. </view>
  68. <view style="margin-top: 10rpx;display: flex;justify-content: space-between;width: 100%;">
  69. <u-tabs :list="dianjiqielist" v-model="groupModel" @click="groupChange"></u-tabs>
  70. <!-- <view style="display: flex;margin-right: 20rpx;" @click="inIntegralMall">
  71. <u-icon name="grid" size="24"></u-icon>
  72. <span style="display: flex;align-items: center;">积分商城</span>
  73. </view> -->
  74. </view>
  75. <view style="padding: 20rpx 20rpx;">
  76. <u-divider text="爆品推荐"></u-divider>
  77. </view>
  78. </view>
  79. <view style="margin-top: 0rpx;" class="content">
  80. <view class="left">
  81. <block v-for="(item,index) in dataList" :key="index" v-if="index%2==0">
  82. <view class="item" @click="choice(item,index)">
  83. <image v-for="(ite,ind) in item.filesList" :key="ind" v-if="ite.version === '0'" :src="ite.url"
  84. mode='aspectFit'
  85. style="width: 100%;height: 340rpx;border-top-left-radius: 20rpx;border-top-right-radius: 20rpx;">
  86. </image>
  87. <view style="width: calc(100% - 20rpx);margin: 0 auto;">
  88. <u--text :text="item.cname" size="12"></u--text>
  89. <view style="display: flex;justify-content: space-between;margin: 5rpx auto;">
  90. <view style="padding-top: 12rpx;">
  91. <view v-if="item.billType == 0"
  92. style="font-size: 16rpx;background-color: #FD4B09;color: #fff;padding: 6rpx;border-radius: 6rpx;">
  93. 小时达</view>
  94. <view v-else
  95. style="font-size: 16rpx;background-color: #5ac725;color: #fff;padding: 6rpx;border-radius: 6rpx;">
  96. 次日达</view>
  97. </view>
  98. <view style="color: #FD4B09;font-size: 40rpx;">
  99. ¥{{checkStatus == '通过'?item.mallPrice:'***'}}</view>
  100. </view>
  101. </view>
  102. </view>
  103. </block>
  104. </view>
  105. <view class="right">
  106. <block v-for="(item,index) in dataList" :key="index" v-if="index%2==1">
  107. <view class="item" @click="choice(item,index)">
  108. <image v-for="(ite,ind) in item.filesList" :key="ind" v-if="ite.version === '0'" :src="ite.url"
  109. style="width: 100%;height: 340rpx;border-top-left-radius: 20rpx;
  110. border-top-right-radius: 20rpx;">
  111. </image>
  112. <view style="width: calc(100% - 20rpx);margin: 0 auto;">
  113. <u--text :text="item.cname" size="12"></u--text>
  114. <view style="display: flex;justify-content: space-between;margin: 5rpx auto;">
  115. <view style="padding-top: 12rpx;">
  116. <view v-if="item.billType == 0"
  117. style="font-size: 16rpx;background-color: #FD4B09;color: #fff;padding: 6rpx;border-radius: 6rpx;">
  118. 小时达</view>
  119. <view v-else
  120. style="font-size: 16rpx;background-color: #5ac725;color: #fff;padding: 6rpx;border-radius: 6rpx;">
  121. 次日达</view>
  122. </view>
  123. <view style="color: #FD4B09;font-size: 40rpx;">
  124. ¥{{checkStatus == '通过'?item.mallPrice:'***'}}</view>
  125. </view>
  126. </view>
  127. </view>
  128. </block>
  129. </view>
  130. </view>
  131. <u-empty v-if="dataList.length == 0" mode="data" icon="http://cdn.uviewui.com/uview/empty/data.png" />
  132. <u-loadmore v-if="page.total !== 0 && dataList.length != 0" :status="status" />
  133. <view v-if="userInfo.tenant_id != '000000'" class="suspensionBox" @click="salesmanShow=true">
  134. <u-icon name="server-fill" color="#2979ff" size="30"></u-icon>
  135. </view>
  136. <u-modal :show="salesmanShow" title="业务员联系方式" showCancelButton confirmText="拨号" cancelText="关闭"
  137. @confirm="clickCall" @cancel="salesmanShow=false">
  138. <view class="slot-content">
  139. <view style="margin-bottom: 10rpx;">业务员:{{salesmanName?salesmanName:''}}</view>
  140. <view>电话:{{phoneNumber?phoneNumber:''}}</view>
  141. </view>
  142. </u-modal>
  143. </view>
  144. </template>
  145. <script>
  146. import {
  147. appList,
  148. appListNew,
  149. userDept,
  150. validationCorpEmpty,
  151. isProcurement,
  152. brandDescList,
  153. brandDescDetail
  154. } from '@/api/tabBar/homeNew.js'
  155. import {
  156. shoppingCartList
  157. } from '@/api/tabBar/shoppingCart.js'
  158. import {
  159. listAll
  160. } from '@/api/tabBar/classification.js'
  161. import {
  162. details,
  163. nameDetail
  164. } from '@/api/views/personalInformation/index.js'
  165. import {
  166. activityList
  167. } from '@/api/tabBar/activity.js'
  168. export default {
  169. data() {
  170. return {
  171. show: false,
  172. search: {},
  173. page: {
  174. total: 0,
  175. size: 10,
  176. current: 1
  177. },
  178. status: 'loadmore',
  179. dataList: [],
  180. list3: [],
  181. brandList: [],
  182. // 静音棉
  183. originalFactory: 0,
  184. // 自修补
  185. selfRecovery: 0,
  186. // 防爆
  187. explosionProof: 0,
  188. dianjiqielist: [{
  189. name: '全部',
  190. },
  191. {
  192. name: '静音棉',
  193. },
  194. {
  195. name: '自修补',
  196. },
  197. {
  198. name: '防爆',
  199. }
  200. ],
  201. groupModel: null,
  202. PPindex: null,
  203. // 品牌
  204. zsbrandList: [],
  205. brandDescfor: 7,
  206. gengduofalse: true,
  207. // 审核状态
  208. checkStatus: '',
  209. enableOrNot: '',
  210. salesmanName: '', // 业务员姓名
  211. phoneNumber: '', // 业务员联系电话
  212. salesmanShow: false, // 联系业务员弹窗
  213. userInfo: {}, // 当前用户数据
  214. }
  215. },
  216. onReachBottom() {
  217. this.status = 'loading'
  218. if (this.dataList.length < this.page.total) {
  219. this.page.current++
  220. this.onSearch()
  221. } else {
  222. this.status = 'nomore'
  223. }
  224. },
  225. onLoad(e) {},
  226. onShow() {
  227. activityList({
  228. current: 1,
  229. size: 10,
  230. status: 1
  231. }).then(res => {
  232. uni.setTabBarBadge({
  233. index: 2, // tabIndex,tabBar的哪一项,从0开始
  234. text: res.data.total.toString() // 显示的文本,超过 99 显示成 “…”
  235. })
  236. })
  237. shoppingCartList({
  238. whetherIntegral: '0'
  239. }).then(res => {
  240. let num = 0
  241. res.data.forEach(e => {
  242. num = num + e.list.length
  243. })
  244. uni.setTabBarBadge({
  245. index: 3, // tabIndex,tabBar的哪一项,从0开始
  246. text: num.toString() // 显示的文本,超过 99 显示成 “…”
  247. })
  248. })
  249. this.userInfo = uni.getStorageSync('userInfo')
  250. if (uni.getStorageSync('cname')) {
  251. this.$set(this.search, 'cname', JSON.parse(JSON.stringify(uni.getStorageSync('cname'))))
  252. uni.removeStorageSync('cname')
  253. }
  254. // 获取审核状态
  255. details().then(res => {
  256. this.checkStatus = res.data.checkStatus
  257. this.enableOrNot = res.data.enableOrNot
  258. uni.setStorageSync('checkStatus', res.data.checkStatus);
  259. uni.setStorageSync('enableOrNot', res.data.enableOrNot);
  260. // 查询业务员详情拿取手机号
  261. this.salesmanName = res.data.salesmanName
  262. if (!this.phoneNumber) {
  263. nameDetail({
  264. id: res.data.salesmanId
  265. }).then(res => {
  266. this.phoneNumber = res.data.phone
  267. })
  268. }
  269. })
  270. // 轮播图
  271. brandDescList({
  272. type: 'LBT',
  273. whetherIntegral: "0"
  274. }).then(res => {
  275. brandDescDetail({
  276. id: res.data.records[0].id
  277. }).then(res => {
  278. this.list3 = res.data.brandFilesList.map(item => {
  279. return item.url
  280. })
  281. })
  282. })
  283. uni.showLoading({
  284. title: '加载中',
  285. mask: true
  286. });
  287. // 判断是怎么登录的
  288. if (JSON.parse(JSON.stringify(uni.getStorageSync('userInfo'))).tenant_id != '000000') {
  289. // 查看是否有客户信息
  290. validationCorpEmpty().then(res => {
  291. uni.hideLoading();
  292. //获取公司名称
  293. userDept().then(res => {
  294. uni.setNavigationBarTitle({
  295. title: res.data.fullName
  296. })
  297. })
  298. //获取所有品牌
  299. listAll({
  300. type: 'PP',
  301. enableOrNot: '1',
  302. whetherIntegral: '0'
  303. }).then(res => {
  304. this.zsbrandList = []
  305. this.brandList = []
  306. // this.zsbrandList = res.data
  307. this.zsbrandList = res.data.sort(this.compare('sort'))
  308. if (this.zsbrandList.length <= 8) {
  309. this.gengduofalse = false
  310. this.brandList = this.zsbrandList
  311. } else {
  312. for (let i in res.data) {
  313. if (i < this.brandDescfor) {
  314. this.brandList.push(res.data[i])
  315. }
  316. }
  317. }
  318. })
  319. this.page = {
  320. total: 0,
  321. size: 10,
  322. current: 1
  323. }
  324. this.dataList = []
  325. this.onSearch()
  326. }).catch(err => {
  327. uni.hideLoading();
  328. uni.$u.route('/pages/views/personalInformation/index');
  329. })
  330. } else {
  331. uni.setNavigationBarTitle({
  332. title: '青岛途宝'
  333. })
  334. //获取所有品牌
  335. listAll({
  336. type: 'PP',
  337. enableOrNot: '1',
  338. whetherIntegral: '0'
  339. }).then(res => {
  340. this.zsbrandList = []
  341. this.brandList = []
  342. // this.zsbrandList = res.data
  343. this.zsbrandList = res.data.sort(this.compare('sort'))
  344. if (this.zsbrandList.length <= 8) {
  345. this.gengduofalse = false
  346. this.brandList = this.zsbrandList
  347. } else {
  348. for (let i in res.data) {
  349. if (i < this.brandDescfor) {
  350. this.brandList.push(res.data[i])
  351. }
  352. }
  353. }
  354. })
  355. this.page = {
  356. total: 0,
  357. size: 10,
  358. current: 1
  359. }
  360. this.dataList = []
  361. this.onSearch()
  362. }
  363. uni.hideLoading();
  364. },
  365. methods: {
  366. // 点击联系业务员
  367. clickCall() {
  368. uni.makePhoneCall({
  369. phoneNumber: this.phoneNumber,
  370. success: function() {
  371. console.log('拨打电话成功');
  372. this.salesmanShow = false
  373. },
  374. fail() {
  375. console.log('打电话失败了');
  376. this.salesmanShow = false
  377. }
  378. })
  379. },
  380. // 数组排序 property:根据什么属性排序
  381. compare(property) {
  382. return function(a, b) {
  383. var value1 = a[property]
  384. var value2 = b[property]
  385. return value1 - value2
  386. }
  387. },
  388. // 更多项目盒子
  389. Moreprojectsfun() {
  390. this.brandDescfor += 4
  391. this.brandList = []
  392. console.log(123);
  393. for (let i in this.zsbrandList) {
  394. if (i < this.brandDescfor) {
  395. this.brandList.push(this.zsbrandList[i])
  396. }
  397. }
  398. if (this.brandDescfor >= this.zsbrandList.length) {
  399. this.gengduofalse = false
  400. }
  401. },
  402. // 收回项目
  403. shohuifun() {
  404. this.brandDescfor = 7
  405. this.brandList = []
  406. for (let i in this.zsbrandList) {
  407. if (i < this.brandDescfor) {
  408. this.brandList.push(this.zsbrandList[i])
  409. }
  410. }
  411. this.gengduofalse = true
  412. // if (this.brandDescfor >= this.zsbrandList.length) {
  413. // this.gengduofalse = false
  414. // }
  415. },
  416. groupChange(e) {
  417. console.log(e, 228);
  418. if (e.name == '静音棉') {
  419. this.originalFactory = 1
  420. this.selfRecovery = 0
  421. this.explosionProof = 0
  422. } else if (e.name == '自修补') {
  423. this.originalFactory = 0
  424. this.selfRecovery = 1
  425. this.explosionProof = 0
  426. } else if (e.name == '防爆') {
  427. this.originalFactory = 0
  428. this.selfRecovery = 0
  429. this.explosionProof = 1
  430. } else {
  431. this.originalFactory = 0
  432. this.selfRecovery = 0
  433. this.explosionProof = 0
  434. }
  435. this.page.current = 1
  436. this.dataList = []
  437. this.onSearch()
  438. },
  439. // 点击筛选条件
  440. dianjiqiehuan(name) {
  441. if (this[name] == 0) {
  442. this[name] = 1
  443. } else {
  444. this[name] = 0
  445. }
  446. this.click()
  447. },
  448. // 获取列表数据
  449. onSearch() {
  450. uni.showLoading({
  451. title: '加载中',
  452. mask: true
  453. });
  454. let obj = {}
  455. if (this.originalFactory) {
  456. obj.originalFactory = 1
  457. }
  458. if (this.selfRecovery) {
  459. obj.selfRecovery = 1
  460. }
  461. if (this.explosionProof) {
  462. obj.explosionProof = 1
  463. }
  464. if (uni.getStorageSync('whether_openShare') == 1) {
  465. appListNew({
  466. size: this.page.size,
  467. current: this.page.current,
  468. ...obj,
  469. ...this.search,
  470. whetherIntegral: 0
  471. }).then(res => {
  472. this.dataList = this.dataList.concat(res.data.records)
  473. this.page.total = res.data.total
  474. if (this.dataList.length == res.data.total) {
  475. this.status = 'nomore'
  476. }
  477. uni.hideLoading();
  478. }).catch(err => {
  479. uni.hideLoading();
  480. })
  481. } else {
  482. appList({
  483. size: this.page.size,
  484. current: this.page.current,
  485. ...obj,
  486. ...this.search,
  487. whetherIntegral: 0
  488. }).then(res => {
  489. this.dataList = this.dataList.concat(res.data.records)
  490. this.page.total = res.data.total
  491. if (this.dataList.length == res.data.total) {
  492. this.status = 'nomore'
  493. }
  494. uni.hideLoading();
  495. }).catch(err => {
  496. uni.hideLoading();
  497. })
  498. }
  499. },
  500. close() {
  501. this.show = false
  502. this.search.brandId = ''
  503. this.search.brandName = ''
  504. },
  505. // 原厂点击差号
  506. yuanchangclose(type) {
  507. if (type == 'originalFactory') {
  508. this.originalFactory = false
  509. } else if (type == 'selfRecovery') {
  510. this.selfRecovery = false
  511. } else {
  512. this.explosionProof = false
  513. }
  514. this.click()
  515. },
  516. click(name) {
  517. if (name != undefined) {
  518. this.page = {
  519. total: 0,
  520. size: 10,
  521. current: 1,
  522. }
  523. this.dataList = []
  524. if (this.PPindex == name) {
  525. this.PPindex = null
  526. delete this.search.brandId
  527. delete this.search.brandNmae
  528. } else {
  529. this.PPindex = name
  530. this.search = {
  531. ...this.search,
  532. brandId: this.brandList[this.PPindex].id,
  533. brandNmae: this.brandList[this.PPindex].cname,
  534. }
  535. }
  536. }
  537. this.show = true
  538. this.onSearch()
  539. },
  540. searchButton(value) {
  541. this.dataList = []
  542. this.page = {
  543. total: 0,
  544. size: 10,
  545. current: 1
  546. }
  547. this.search = {
  548. ...this.search,
  549. cname: value,
  550. }
  551. // this.onSearch()
  552. uni.setStorageSync('homeSearch', this.search);
  553. this.search.cname = null
  554. uni.switchTab({
  555. url: '/pages/tabBar/classification',
  556. })
  557. },
  558. //打开明细
  559. choice(item, index) {
  560. if (this.checkStatus != '通过') {
  561. uni.showToast({
  562. title: "当前用户未授权,请联系客服",
  563. icon: "none",
  564. mask: true
  565. });
  566. return
  567. }
  568. uni.$u.route('/pages/views/buyGoods/commodityDetails', {
  569. id: item.id
  570. });
  571. },
  572. inIntegralMall() {
  573. uni.$u.route('/pages/integralMall/index');
  574. }
  575. }
  576. }
  577. </script>
  578. <style lang="scss" scoped>
  579. .suspensionBox {
  580. width: 80rpx;
  581. height: 80rpx;
  582. background: #fff;
  583. border-radius: 50%;
  584. position: fixed;
  585. top: 92%;
  586. right: 2%;
  587. box-shadow: 4px 4px 8px 1px rgba(0, 0, 0, .5);
  588. display: flex;
  589. align-items: center;
  590. justify-content: center;
  591. }
  592. ::v-deep .u-divider {
  593. margin: 0 !important;
  594. }
  595. .content {
  596. text-align: justify;
  597. }
  598. .left,
  599. .right {
  600. display: inline-block;
  601. vertical-align: top;
  602. width: 50%;
  603. }
  604. .item {
  605. width: calc(100% - 20rpx);
  606. margin: 0 auto;
  607. background-color: #FFFFFF;
  608. border-radius: 10rpx;
  609. break-inside: avoid;
  610. margin-bottom: 20rpx;
  611. }
  612. .search {
  613. width: 100%;
  614. position: fixed;
  615. top: 0;
  616. z-index: 8;
  617. background-color: #f2f2f2;
  618. }
  619. .cardBox {
  620. margin-top: 20rpx;
  621. background: #fff;
  622. border-radius: 12rpx;
  623. width: 100%;
  624. padding: 20rpx 20rpx 0 20rpx;
  625. box-sizing: border-box;
  626. .classificationBox {
  627. width: 25%;
  628. display: flex;
  629. flex-direction: column;
  630. align-items: center;
  631. margin: 10rpx 0;
  632. .classificationBox_img {
  633. width: 70rpx;
  634. height: 70rpx;
  635. // filter: grayscale(100%) hue-rotate(180deg) brightness(0.5) contrast(200%);
  636. // mix-blend-mode: screen;
  637. // background-color: #FF00FF;
  638. }
  639. .classificationBox_text {
  640. margin-top: 10rpx;
  641. font-size: 28rpx;
  642. color: #101010;
  643. }
  644. .brandDescColor {
  645. color: #92c3fd;
  646. // border: 2rpx solid;
  647. }
  648. }
  649. }
  650. .classification {
  651. display: flex;
  652. flex-wrap: wrap;
  653. min-height: 180rpx;
  654. }
  655. image {
  656. width: 100%;
  657. height: 100%;
  658. }
  659. </style>