wode.vue 18 KB

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