wode.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826
  1. <template>
  2. <view class="">
  3. <view class="pageBg">
  4. <view class="header">
  5. <DtCustomBar title="我的"></DtCustomBar>
  6. <view @tap="tapToWhich('/pagesM/pages/mine_info')" style="display: flex;align-items: center;margin: 0 30upx;">
  7. <view class="member_head_img">
  8. <block v-if="isLogin">
  9. <image v-if="userDetail.avatar" :src="userDetail.avatar"></image>
  10. <button v-else class="avatar-wrap" open-type="getUserInfo" @getuserinfo="tapGetUserInfo" @tap.stop="() => false">
  11. <image src="http://139.9.103.171:8888/group1/M00/00/01/iwlnq1_AYZqAb30pAAAQNvkj3Wk302.png"></image>
  12. </button>
  13. </block>
  14. <image v-else src="http://139.9.103.171:8888/group1/M00/00/01/iwlnq1_AYZqAb30pAAAQNvkj3Wk302.png"></image>
  15. </view>
  16. <view v-if="isLogin" class="member_info">
  17. <view class="member_name_box" style="margin-bottom: 20rpx;">
  18. <view class="member_name">{{ userDetail.username }}</view>
  19. </view>
  20. <view class="member_phone_box">
  21. <!-- <view class="member_phone">{{shopPhone}}</view> -->
  22. </view>
  23. </view>
  24. <view v-else class="no_login"><button class="no_login_btn">游客(未登录)</button></view>
  25. <view style="flex:1"></view>
  26. </view>
  27. <view style="display: flex;margin: 22upx 64upx 0;justify-content: space-between;">
  28. <view @tap="tapHeadMenu(0)" style="text-align: center;">
  29. <view style="font-size: 28upx;color: #fff;">{{dataDetail.couponNum?dataDetail.couponNum:0}}</view>
  30. <view style="font-size: 24upx;color: #fff;margin-top: 10upx;">我的优惠券</view>
  31. </view>
  32. <view @tap="tapHeadMenu(1)" style="text-align: center;">
  33. <view style="font-size: 28upx;color: #fff;">{{dataDetail.favoriteNum?dataDetail.favoriteNum:0}}</view>
  34. <view style="font-size: 24upx;color: #fff;margin-top: 10upx;">收藏商品</view>
  35. </view>
  36. <view @tap="tapHeadMenu(2)" style="text-align: center;">
  37. <view style="font-size: 28upx;color: #fff;">{{dataDetail.browseNum?dataDetail.browseNum:0}}</view>
  38. <view style="font-size: 24upx;color: #fff;margin-top: 10upx;">浏览记录</view>
  39. </view>
  40. </view>
  41. </view>
  42. <!-- todo -->
  43. <view class="mine_order_statue">
  44. <view class="cu-list grid col-5 no-border margin-top-sm" >
  45. <view class="cu-item" @click="tapToMenu(item.index)" v-for="(item,index) in gridList" :key="index">
  46. <view class="grid-icon ">
  47. <image style="width: 56rpx;height: 56rpx;" :src="item.icon"/>
  48. </view>
  49. <view class="cu-tag bg-orange badge" v-if="item.badge>0">{{item.badge}}</view>
  50. <text style="font-size: 22rpx;font-family:Sans-serif">{{item.title}}</text>
  51. </view>
  52. </view>
  53. </view>
  54. <view class="item_list" >
  55. <view class="item">
  56. <text style="font-size: 32rpx;">个人设置</text>
  57. </view>
  58. <view class="item" v-for="(item, index) in mineItemList" :key="index" @tap="tapToMenu(item.index)">
  59. <view class="item_content">
  60. <image :src="item.itemIcon"></image>
  61. <text>{{ item.itemName }}</text>
  62. </view>
  63. <view class="">
  64. <text v-if="index==0" style="padding-right: 16rpx;font-size: 26rpx;" class="text-red">{{authStatus}}</text>
  65. <image src="http://139.9.103.171:1888/img/image/arrow.png"></image>
  66. </view>
  67. </view>
  68. </view>
  69. <view class="item_list" >
  70. <view class="item">
  71. <text style="font-size: 32rpx;">系统设置</text>
  72. </view>
  73. <view class="item" v-for="(item, index) in systemItemList" :key="index" @tap="tapToMenu(item.index)">
  74. <view class="item_content">
  75. <image :src="item.itemIcon"></image>
  76. <text>{{ item.itemName }}</text>
  77. </view>
  78. <view class="">
  79. <image src="http://139.9.103.171:1888/img/image/arrow.png"></image>
  80. </view>
  81. </view>
  82. </view>
  83. <view class="bg-white" style="height: 80rpx;">
  84. </view>
  85. <!-- 微信客服 -->
  86. <DtService />
  87. <DtLogin ref="dialogLogin" @signIn="onSignIn" />
  88. </view>
  89. </view>
  90. </template>
  91. <script>
  92. var app=getApp()
  93. import DtLogin from '../../comps/dt_login.vue';
  94. import DtService from '../../comps/dt_service.vue';
  95. import DtCustomBar from '../../comps/dt_custom_bar.vue'
  96. export default {
  97. components: {
  98. DtLogin,
  99. DtService,
  100. DtCustomBar
  101. },
  102. data() {
  103. return {
  104. //todo
  105. gridList:[
  106. {
  107. icon:'../../static/wode/order.png',
  108. title:"商城订单",
  109. badge:0,
  110. index:1
  111. },
  112. {
  113. icon:'../../static/wode/cart.png',
  114. title:"购物车",
  115. badge:0,
  116. index:2
  117. },
  118. {
  119. icon:'../../static/wode/wuye.png',
  120. title:"报修业务",
  121. badge:0,
  122. index:3
  123. },
  124. {
  125. icon:'../../static/wode/contact.png',
  126. title:"联系物业",
  127. badge:0,
  128. index:4
  129. },
  130. {
  131. icon:'../../static/wode/msg.png',
  132. title:"消息通知",
  133. badge:0,
  134. index:5
  135. },
  136. ],
  137. isFirst:false,
  138. //社区 begin
  139. userInfo: null,
  140. //微信用户信息
  141. state: null,
  142. anyHousePass: false,
  143. //社区end
  144. mineItemList: [
  145. {
  146. itemName: '住户认证',
  147. itemIcon: '/static/wode/renzheng.png',
  148. index:6
  149. },
  150. {
  151. itemName: '通行人脸',
  152. itemIcon: '/static/wode/face.png',
  153. index:7
  154. },
  155. {
  156. itemName: '身份信息',
  157. itemIcon: '/static/wode/shenfen.png',
  158. index:8
  159. },
  160. {
  161. itemName: '收货地址',
  162. itemIcon: '/static/wode/address.png',
  163. index:9
  164. },
  165. ],
  166. systemItemList:[
  167. {
  168. itemName: '问题反馈',
  169. itemIcon: '/static/wode/fankui.png',
  170. index:10
  171. },
  172. {
  173. itemName: '帮助中心',
  174. itemIcon: '/static/wode/shuoming.png',
  175. index:11
  176. },
  177. {
  178. itemName: '设置',
  179. itemIcon: '/static/wode/setting.png',
  180. index:12
  181. }
  182. ],
  183. //商城绑定的手机号
  184. shopPhone:'',
  185. memberId: '',
  186. dataDetail: {},
  187. orderStatusNum: {},
  188. userDetail: {},
  189. isLogin: false,
  190. };
  191. },
  192. computed: {
  193. //社区begin
  194. authStatus:{
  195. get(){
  196. if(this.state==0 && this.anyHousePass==false){
  197. return "未认证"
  198. }else if(this.state==1&&this.anyHousePass==false){
  199. return "待审核"
  200. }else if(this.state==2 ||this.anyHousePass==true){
  201. return "已认证"
  202. }else{
  203. return "未注册"
  204. }
  205. }
  206. },
  207. //社区 end
  208. },
  209. methods: {
  210. async tapGetUserInfo(e) {
  211. console.log(158, e);
  212. if (e.detail.errMsg == 'getUserInfo:ok') {
  213. let userInfo = e.detail.userInfo;
  214. let resp = await this.$api.updateIcon({
  215. _isShowLoading: true,
  216. userId: this.memberId,
  217. avatar: userInfo.avatarUrl
  218. });
  219. this.userDetail.avatar = userInfo.avatarUrl;
  220. }
  221. },
  222. showLogin() {
  223. this.$refs.dialogLogin.show();
  224. },
  225. onSignIn(resp) {
  226. this.shopPhone=this.$auth.getMineBase().user.mobile || ''
  227. console.log(143, resp);
  228. this.onPullDownRefreshPage();
  229. },
  230. tapToWhich(aimUrl) {
  231. if (!this.$auth.isAuth) {
  232. this.showLogin();
  233. return;
  234. }
  235. uni.navigateTo({
  236. url: aimUrl
  237. });
  238. },
  239. tapToOrder() {
  240. if (!this.$auth.isAuth) {
  241. this.showLogin();
  242. return;
  243. }
  244. uni.navigateTo({
  245. url: '/pagesM/pages/mine_order_list'
  246. });
  247. },
  248. tapToCar(){
  249. if (!this.$auth.isAuth) {
  250. this.showLogin();
  251. return;
  252. }
  253. uni.navigateTo({
  254. url:'/pagesM/pages/shop_car'
  255. })
  256. },
  257. onShareAppMessage: function(e) {
  258. return {
  259. path: '/pagesM/pages/home'
  260. }
  261. },
  262. tapHeadMenu(index){
  263. let url;
  264. if(index==0){
  265. url = '/pagesM/pages/coupon_list'
  266. }else if(index==1){
  267. url = '/pagesM/pages/mine_collection'
  268. }else if(index==2){
  269. url = '/pagesM/pages/browse_records'
  270. }
  271. uni.navigateTo({
  272. url: url
  273. });
  274. },
  275. tapToMenu(index) {
  276. let url=''
  277. switch (index) {
  278. case 1:
  279. //商城订单
  280. this.tapToOrder()
  281. break;
  282. case 2:
  283. //购物车
  284. this.tapToCar()
  285. break;
  286. case 3:
  287. // 报修业务
  288. if (this.buttonMethod()) {
  289. uni.navigateTo({
  290. url: '../services/property/list/list'
  291. })
  292. }
  293. break;
  294. case 4:
  295. // 联系物业
  296. this.makePhoneCall("19124812874");
  297. break;
  298. case 5:
  299. //消息通知
  300. if (this.buttonMethod()) {
  301. uni.navigateTo({
  302. url: '/pages/wode/news/news'
  303. })
  304. }
  305. break;
  306. case 6:
  307. //住户认证
  308. if (this.buttonMethod()) {
  309. uni.navigateTo({
  310. url:"myInfo/myInfo"
  311. })
  312. }
  313. break;
  314. case 7:
  315. // 通行人脸
  316. if (this.buttonMethod()) {
  317. uni.navigateTo({
  318. url:"/pages/uploadFace/uploadFace"
  319. })
  320. }
  321. break;
  322. case 8:
  323. // 身份信息
  324. uni.showToast({
  325. title:"暂未开发",
  326. icon:"none"
  327. })
  328. break;
  329. case 9:
  330. // 收货地址
  331. url= '/pagesM/pages/address_list'
  332. break;
  333. case 10:
  334. // 问题反馈
  335. url="./feedback/feedback"
  336. break;
  337. case 11:
  338. // 帮助中心
  339. url="direction/direction"
  340. break;
  341. case 12:
  342. // 设置
  343. url="/pagesM/pages/mine_setting"
  344. break;
  345. default:
  346. break;
  347. }
  348. if (url != '') {
  349. uni.navigateTo({
  350. url: url,
  351. });
  352. }
  353. },
  354. async getMyBaseDatas() {
  355. let resp = await this.$api.getMyBaseDatas({
  356. _isReject: true,
  357. _isPull: this.isPull,
  358. memberId: this.memberId
  359. });
  360. console.log(resp)
  361. this.$auth.getMineBase(resp);
  362. this.dataDetail = resp;
  363. this.orderStatusNum = resp.orderStatusNum || {};
  364. this.userDetail = resp.user || {};
  365. },
  366. onLoadPage() {
  367. wx.hideShareMenu();
  368. this.communityInitData()
  369. this.isLogin = this.$auth.isAuth;
  370. this.memberId = this.$auth.getMemberId();
  371. this.getMyBaseDatas();
  372. // this.memberId = this.$auth.getMemberId();
  373. // this.getMyBaseDatas();
  374. },
  375. // 社区 begin
  376. communityInitData(){
  377. var that = this; //从全局变量中获取用户信息
  378. if (app.globalData.member) {
  379. that.setData({
  380. state: app.globalData.member.state,
  381. anyHousePass: app.globalData.anyHousePass
  382. });
  383. }
  384. },
  385. login(){
  386. var that = this; //从全局变量中获取用户信息
  387. if (app.globalData.userInfo == null) {
  388. uni.login({
  389. success: function () {
  390. uni.getUserInfo({
  391. success: function (res) {
  392. console.log(res);
  393. that.isLogin=true
  394. app.globalData.userInfo = res.userInfo;
  395. that.setData({
  396. userInfo: res.userInfo
  397. });
  398. }
  399. });
  400. }
  401. });
  402. } else {
  403. that.isLogin=true
  404. that.setData({
  405. userInfo: app.globalData.userInfo
  406. });
  407. }
  408. if (app.globalData.member) {
  409. that.setData({
  410. state: app.globalData.member.state,
  411. anyHousePass: app.globalData.anyHousePass
  412. });
  413. }
  414. },
  415. //用户认证信息
  416. buttonMethod: function () {
  417. var that = this; //会员认证状态:{ 0:未认证,1:待审审核,2:已认证 }
  418. var member = app.globalData.member;
  419. var anyHousePass = app.globalData.anyHousePass;
  420. if (member == null) {
  421. //未注册
  422. uni.navigateTo({
  423. url:"../empty/empty"
  424. })
  425. return false;
  426. } else if (member.state == 0 && !anyHousePass) {
  427. //2未认证
  428. uni.navigateTo({
  429. url:"../empty/empty?type=2"
  430. })
  431. return false;
  432. } else if (member.state == 1 && !anyHousePass) {
  433. //待审核
  434. that.pending();
  435. return false;
  436. } else if (member.state == 2 || anyHousePass) {
  437. return true
  438. }else{
  439. return false
  440. }
  441. },
  442. //提示用户身份注册
  443. footaddmore: function () {
  444. uni.showModal({
  445. title: '提示',
  446. content: ' 请先完成注册',
  447. //cancelText:'去绑定',
  448. cancelText: '取消',
  449. confirmText: '去注册',
  450. success: function (res) {
  451. if (res.confirm) {
  452. console.log('用户点击了确认-去认证'); //跳转到认证页面
  453. uni.navigateTo({
  454. url: '../register/register'
  455. });
  456. } else {//res.cancel
  457. //绑定界面--暂时不用
  458. // wx.navigateTo({
  459. // url: '/pages/binding/binding',
  460. // })
  461. }
  462. }
  463. });
  464. },
  465. //用户信息待审核中
  466. pending: function () {
  467. let that = this;
  468. var openid = uni.getStorageSync("openid");
  469. let params = {};
  470. params['openid'] = openid;
  471. let operation = 'miniprogram/getMemberByOpenid';
  472. app.globalData.postRequest(params, operation, function (res) {
  473. //获取成功
  474. if (res.data.result_code == 1) {
  475. let member = res.data.member; //待审核
  476. if (member.state == 1 && !res.data.anyHousePass) {
  477. app.globalData.oneFailHint('亲,你的信息正在审核,请耐心等待');
  478. } else if (member.state == 2) {
  479. app.globalData.oneFailHint('亲,你的信息已审核通过', function () {
  480. that.setData({
  481. state: member.state
  482. });
  483. });
  484. }
  485. app.globalData.member = member;
  486. app.globalData.anyHousePass = res.data.anyHousePass;
  487. } else {
  488. app.globalData.oneFailHint(res.data.result_msg);
  489. }
  490. });
  491. },
  492. // 社区 end
  493. },
  494. onReady() {
  495. if (!this.$auth.isAuth) {
  496. this.showLogin();
  497. return;
  498. } else {
  499. this.$refs.dialogLogin.hide();
  500. }
  501. },
  502. onShow() {
  503. //小程序audit期间隐藏掉
  504. let appletType= uni.getStorageSync('appletType')
  505. let tmp=this.mineItemList
  506. if (appletType=='0') {
  507. this.mineItemList.splice(1,1)
  508. this.mineItemList.splice(1,1)
  509. }else{
  510. this.mineItemList=tmp
  511. }
  512. if (this.isFirst) {
  513. this.isFirst=false
  514. }else{
  515. }
  516. this.onShowPage();
  517. wx.hideShareMenu();
  518. this.communityInitData()
  519. this.isLogin = this.$auth.isAuth;
  520. this.memberId = this.$auth.getMemberId();
  521. this.getMyBaseDatas();
  522. },
  523. onPullDownRefresh() {
  524. this.onPullDownRefreshPage();
  525. }
  526. };
  527. </script>
  528. <style lang="scss" scoped>
  529. //todo
  530. .pageBg {
  531. background-color: #FFFFFF;
  532. }
  533. button::after {
  534. border: none;
  535. }
  536. .header {
  537. // border-bottom-left-radius: 20rpx;
  538. border-bottom-right-radius: 60rpx;
  539. //todo
  540. background-image: url(http://139.9.103.171:1888/miniofile/app/bg.png);
  541. height: 480upx;
  542. background-repeat: no-repeat;
  543. background-size: 100% 100%;
  544. .member_head_img {
  545. margin-right: 30upx;
  546. image {
  547. //todo
  548. width: 110upx;
  549. height:110upx;
  550. border-radius: 59rpx;
  551. }
  552. .avatar-wrap {
  553. display: inline-flex;
  554. border: 0;
  555. background-color: transparent;
  556. }
  557. }
  558. .no_login {
  559. display: flex;
  560. flex-direction: column;
  561. .no_login_btn {
  562. border-radius: 25px;
  563. //todo
  564. font-size: 32upx;
  565. color: #fff;
  566. width: fit-content;
  567. padding: 0 15upx;
  568. height: 60upx;
  569. line-height: 60upx;
  570. background: transparent;
  571. }
  572. }
  573. .member_info {
  574. display: flex;
  575. flex-direction: column;
  576. .member_name_box {
  577. display: flex;
  578. flex-direction: row;
  579. align-items: center;
  580. .member_name {
  581. font-size: 40upx;
  582. color: #fff;
  583. font-weight: bold;
  584. }
  585. .member_level {
  586. background: #ffc600;
  587. color: #fff;
  588. font-size: 22upx;
  589. border-radius: 4upx;
  590. padding: 5upx 10upx;
  591. margin-left: 10upx;
  592. }
  593. }
  594. .member_phone_box {
  595. display: flex;
  596. flex-direction: row;
  597. align-items: center;
  598. .member_phone {
  599. font-size: 24upx;
  600. color: #FFFFFF;
  601. }
  602. image {
  603. width: 19upx;
  604. height: 19upx;
  605. padding: 20upx;
  606. }
  607. }
  608. }
  609. .member_benefits {
  610. background: #fff;
  611. width: 180upx;
  612. display: flex;
  613. flex-direction: row;
  614. align-items: center;
  615. text-align: center;
  616. border-radius: 27upx 0px 0px 27upx;
  617. height: 54upx;
  618. text-align: center;
  619. position: absolute;
  620. right: 0;
  621. image {
  622. width: 26upx;
  623. height: 23upx;
  624. padding: 0 10upx 0 30upx;
  625. }
  626. .member_benefits_text {
  627. font-size: 24upx;
  628. color: $dt-color-primary;
  629. letter-spacing: 2upx;
  630. }
  631. }
  632. button::after {
  633. border: none;
  634. }
  635. }
  636. .coupon_point {
  637. display: flex;
  638. flex-direction: row;
  639. align-items: center;
  640. height: 110upx;
  641. background: #fff;
  642. justify-content: space-around;
  643. .item {
  644. display: flex;
  645. flex-direction: column;
  646. align-items: center;
  647. width: 50%;
  648. .item_box {
  649. display: flex;
  650. flex-direction: row;
  651. align-items: center;
  652. letter-spacing: 2upx;
  653. .item_content {
  654. color: $dt-color-primary;
  655. font-size: 34upx;
  656. }
  657. .item_unit {
  658. color: $dt-color-primary;
  659. font-size: 22upx;
  660. margin-top: 6upx;
  661. }
  662. }
  663. .item_text {
  664. color: #333333;
  665. font-size: 22upx;
  666. }
  667. }
  668. .line {
  669. width: 1upx;
  670. height: 50upx;
  671. background: #e5e5e5;
  672. }
  673. }
  674. .mine_order_statue {
  675. //todo
  676. box-shadow: 0 10rpx #e7f1fd ;
  677. margin: -100upx 20upx 0;
  678. background: #fff;
  679. padding: 10upx 20upx;
  680. border-radius: 20rpx;
  681. .order_wrap {
  682. display: flex;
  683. flex-direction: row;
  684. align-items: center;
  685. justify-content: space-between;
  686. box-sizing: border-box;
  687. .mine_order_text {
  688. font-size: 28upx;
  689. font-weight: bold;
  690. color: #333333;
  691. }
  692. .jump_all_order {
  693. display: flex;
  694. flex-direction: row;
  695. align-items: center;
  696. text {
  697. color: #999999;
  698. font-size: 22upx;
  699. margin-right: 10upx;
  700. }
  701. image {
  702. width: 10upx;
  703. height: 18upx;
  704. }
  705. }
  706. }
  707. .order_statue_list {
  708. display: flex;
  709. flex-direction: row;
  710. align-items: center;
  711. justify-content: space-between;
  712. .order_statue_item {
  713. display: flex;
  714. flex-direction: column;
  715. align-items: center;
  716. position: relative;
  717. margin-top: 32upx;
  718. image {
  719. width: 40upx;
  720. height: 40upx;
  721. }
  722. text {
  723. font-size: 24rpx;
  724. color: #333333;
  725. letter-spacing: 1upx;
  726. margin-top: 10upx;
  727. }
  728. .tip_count {
  729. position: absolute;
  730. right: 0upx;
  731. top: -6rpx;
  732. width: 24upx;
  733. height: 24upx;
  734. border-radius: 50%;
  735. background-color: #ff3b30;
  736. color: #fff;
  737. font-size: 18upx;
  738. text-align: center;
  739. line-height: 24upx;
  740. }
  741. }
  742. }
  743. }
  744. .item_list {
  745. display: flex;
  746. flex-direction: column;
  747. background: #fff;
  748. margin-top: 20upx;
  749. margin-left: 20rpx;
  750. margin-right: 20rpx;
  751. border-radius: 20rpx;
  752. .item {
  753. display: flex;
  754. flex-direction: row;
  755. align-items: center;
  756. justify-content: space-between;
  757. padding: 0 30upx;
  758. height: 90upx;
  759. border-bottom: 1upx solid #f1f1f1;
  760. .item_content {
  761. display: flex;
  762. flex-direction: row;
  763. align-items: center;
  764. image {
  765. width: 42upx;
  766. height: 42upx;
  767. }
  768. text {
  769. font-size: 28upx;
  770. color: #333333;
  771. margin-left: 20upx;
  772. }
  773. }
  774. image {
  775. width: 10upx;
  776. height: 18upx;
  777. }
  778. }
  779. .item:first-child{
  780. border: none;
  781. }
  782. .item:last-child {
  783. border: none;
  784. }
  785. }
  786. </style>