index.vue 39 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261
  1. <template>
  2. <view class="">
  3. <view class="headtop">
  4. <!-- 顶部 -->
  5. <view class="header" @click="binduser()">
  6. <view class="head_image">
  7. <image :src="avatar" style="border-radius: 50%;"></image>
  8. </view>
  9. <view class="head_name" v-if="userId">
  10. <view class="flex align-center justify-between">
  11. <view class="flex" style="color: #fff;">
  12. <view class="">{{nickName}}</view>
  13. <!-- v-if="shangxian=='否'" -->
  14. <view style="margin-left: 20rpx; padding: 8rpx 30rpx;background: #f56c6c;border-radius: 30rpx;">
  15. <view class="approve" v-if="checkCertification==2">已实名</view>
  16. <view class="approve" v-if="checkCertification == 1">实名审核中</view>
  17. <view class="flex align-center approve" v-if="checkCertification==3">
  18. <view class="" @click.stop="bindapprove">实名未通过</view>
  19. <view class="margin-left" style="color: red;">{{checkCertificationMessage}}</view>
  20. </view>
  21. <view class="approve" @click.stop="bindapprove"
  22. v-if="checkCertification==null||checkCertification==''">未实名</view>
  23. </view>
  24. </view>
  25. <!-- <view class="qrCodeImg">
  26. <image @click.stop="getMyQrCode()" src="../../static/my/quCodeIcon.png" mode=""></image>
  27. </view> -->
  28. </view>
  29. <view class="flex" style="padding: 15rpx 15rpx;display: flex; line-height: 50rpx;">
  30. <u-rate :allow-half="false" :disabled="true" active-color="#e6a23c" :is-fill="false" :value="3.5" style="margin-right: 15rpx;" />
  31. <view class="text-df margin-left" style="font-weight: 200;color: #fff;">信用分:{{creditScore}}分</view>
  32. </view>
  33. <view class="text-sm margin-left-sm margin-top-xs" style="font-weight: 200;color: #fff;">
  34. <text style="background: #00c18a; padding: 10rpx 20rpx;border-radius: 30rpx;">ID: {{userId}}</text>
  35. </view>
  36. </view>
  37. <view class="head_name" v-if="!userId" @click.stop="goLogin">
  38. 登录
  39. </view>
  40. </view>
  41. <view v-if="isOpenVip == '是' && shangxian=='否'" class="vip flex align-center justify-center">
  42. <view class="vip-box flex align-center justify-between" @click="navgo('/my/vip/vip')">
  43. <view class="vip-box-l flex align-center">
  44. <image v-if="globalImages" :src="globalImages + 'imgs/static/my/vipIconMy.png'" mode="widthFix"></image>
  45. {{vipEndTime?'尊享接单特权':'开通会员享接单特权'}}
  46. </view>
  47. <view class="vip-box-r flex align-center">
  48. {{vipEndTime?'立即续费':'立即开通'}}
  49. <u-icon name="arrow-right" color="#8b4a24" size="24"></u-icon>
  50. </view>
  51. </view>
  52. </view>
  53. <!-- 收入和订单 -->
  54. <!-- v-if="shangxian=='否'" -->
  55. <!-- <view class="shouru" >
  56. <view class="user_box">
  57. <view class="box">
  58. <view class="user_name" @click="navgo('/pages/riderMy/myAccount/myAccount')">
  59. <view style="width: 6rpx;height: 28rpx;background: #FE3B27;"></view>
  60. <u-section title="信用分" :bold="true" :right="false" line-color="#FE3B27"></u-section>
  61. </view>
  62. <view class="user_price">{{creditScore ? creditScore : 0}}</view>
  63. <view class="user_tit ">当前信用分值</view>
  64. </view>
  65. <view class="box" @click="myOrders()">
  66. <view class="user_name">
  67. <view style="width: 6rpx;height: 28rpx;background: #009C66;"></view>
  68. <u-section title="订单统计" :right="false" line-color="#009C66"></u-section>
  69. </view>
  70. <view class="user_price">{{indent.indentCount?indent.indentCount:0}} <text>单</text></view>
  71. <view class="user_tit ">今日完成单量</view>
  72. </view>
  73. </view>
  74. </view> -->
  75. </view>
  76. <!-- 我的列表 -->
  77. <view class=" padding-tb bg-white " style="border-radius: 24rpx; margin: 30rpx 30rpx 30rpx 30rpx;">
  78. <view class="flex justify-between align-center padding-lr-sm">
  79. <view class="text-lg text-bold text-black">常用功能</view>
  80. </view>
  81. <view class="flex flex-wrap margin-top-sm">
  82. <view class="text-center margin-tb-sm" style="width: 20%;" @click="navgo('/my/realName/authentication')">
  83. <image v-if="globalImages" :src="globalImages + 'images/my/shiming.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  84. <view class="text-sm">实名认证</view>
  85. <!-- <view class="weinumber" v-if="order&&order.djdOrders">{{order.djdOrders}}</view> -->
  86. </view>
  87. <view class="text-center margin-tb-sm" style="width: 20%;" @click="navgo('/my/wallet/index')">
  88. <image v-if="globalImages" :src="globalImages + 'imgs/qianbao.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  89. <view class="text-sm">钱包</view>
  90. </view>
  91. <view class="text-center margin-tb-sm" style="width: 20%;" @click="navgo('/echarts/jgOrder/statistics')">
  92. <image v-if="globalImages" :src="globalImages + 'imgs/tongji.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  93. <view class="text-sm">订单统计</view>
  94. <!-- <view class="weinumber" v-if="order&&order.jxzOrders">{{order.jxzOrders}}</view> -->
  95. </view>
  96. <!-- <view class="text-center margin-tb-sm" style="width: 20%;" @click="navgo('/my/setting/index')">
  97. <image v-if="globalImages" :src="globalImages + 'imgs/fuli.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  98. <view class="text-sm">我的福利</view>
  99. <view class="weinumber" v-if="order&&order.dzfOrders">{{order.dzfOrders}}</view>
  100. </view> -->
  101. <!-- v-if="shangxian=='否'" -->
  102. <view class="text-center margin-tb-sm" style="width: 20%;" @click="navgo('/pages/riderMy/invitationUser')">
  103. <image v-if="globalImages" :src="globalImages + 'imgs/haoyou.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  104. <view class="text-sm">邀请好友</view>
  105. </view>
  106. <view class="text-center margin-tb-sm" style="width: 20%;" @click="navgo('/my/wallet/baozhengjin')">
  107. <image v-if="globalImages" :src="globalImages + 'imgs/baozhengjin.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  108. <view class="text-sm">保证金</view>
  109. </view>
  110. <view class="text-center margin-tb-sm" style="width: 20%;" @click="navgo('/my/exchange/shoppingMall')">
  111. <image v-if="globalImages" :src="globalImages + 'images/my/duihuan.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  112. <view class="text-sm">兑换商城</view>
  113. </view>
  114. <view class="text-center margin-tb-sm" style="width: 20%;" @click="navgo('/echarts/setting/xyf')">
  115. <image v-if="globalImages" :src="globalImages + 'imgs/mingxi.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  116. <view class="text-sm">信用分明细</view>
  117. <view class="weinumber" style="right: 0rpx; top: -10rpx;" v-if="xxCount">{{xxCount}}</view>
  118. </view>
  119. <view class="text-center margin-tb-sm" style="width: 20%;" @click="navgo('/my/setting/message')">
  120. <image v-if="globalImages" :src="globalImages + 'images/my/xiaoxi.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  121. <view class="text-sm">消息中心</view>
  122. <view class="weinumber" style="right: 0rpx; top: -10rpx;" v-if="xxCount">{{xxCount}}</view>
  123. </view>
  124. <view class="text-center margin-tb-sm" style="width: 20%;" @click="navgo('/my/setting/index')">
  125. <image v-if="globalImages" :src="globalImages + 'imgs/shezhi.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  126. <view class="text-sm">设置</view>
  127. <view class="weinumber" style="right: 0rpx; top: -10rpx;" v-if="xxCount">{{xxCount}}</view>
  128. </view>
  129. </view>
  130. </view>
  131. <view class="margin padding-tb bg-white " style="border-radius: 24rpx;">
  132. <view class="flex justify-between align-center padding-lr-sm">
  133. <view class="text-lg text-bold text-black">运营管理</view>
  134. </view>
  135. <view class="flex flex-wrap margin-top-sm">
  136. <view class="text-center margin-tb-sm" style="width: 20%;" @click="navgo('/my/mys/trip')">
  137. <image v-if="globalImages" :src="globalImages + 'imgs/xingcheng.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  138. <view class="text-sm">我的行程</view>
  139. <!-- <view class="weinumber" v-if="order&&order.djdOrders">{{order.djdOrders}}</view> -->
  140. </view>
  141. <view class="text-center margin-tb-sm" style="width: 20%;" @click="navgo('/echarts/jgOrder/revenue')">
  142. <image v-if="globalImages" :src="globalImages + 'imgs/tongji (2).png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  143. <view class="text-sm">收入统计</view>
  144. <!-- <view class="weinumber" v-if="order&&order.yjdOrders">{{order.yjdOrders}}</view> -->
  145. </view>
  146. <view class="text-center margin-tb-sm" style="width: 20%;" @click="navgo('/my/manage/message')" >
  147. <image v-if="globalImages" :src="globalImages + 'imgs/guanli.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  148. <view class="text-sm">车辆管理</view>
  149. <!-- <view class="weinumber" v-if="order&&order.jxzOrders">{{order.jxzOrders}}</view> -->
  150. </view>
  151. <!-- <view class="text-center margin-tb-sm" style="width: 20%;" @click="navgo('/my/setting/logOff')">
  152. <image v-if="globalImages" :src="globalImages + 'imgs/zhaomu.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  153. <view class="text-sm">招募车主</view>
  154. <view class="weinumber" v-if="order&&order.dzfOrders">{{order.dzfOrders}}</view>
  155. </view>
  156. <view class="text-center margin-tb-sm" style="width: 20%;" @click="navgo()">
  157. <image v-if="globalImages" :src="globalImages + 'imgs/chezhu.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  158. <view class="text-sm">成为车主</view>
  159. <view class="weinumber" v-if="order&&order.dzfOrders">{{order.dzfOrders}}</view>
  160. </view> -->
  161. </view>
  162. </view>
  163. <view class="margin padding-tb bg-white " style="border-radius: 24rpx;">
  164. <view class="flex justify-between align-center padding-lr-sm">
  165. <view class="text-lg text-bold text-black">安全服务</view>
  166. </view>
  167. <view class="flex flex-wrap margin-top-sm">
  168. <view class="text-center margin-tb-sm" style="width: 20%;">
  169. <image v-if="globalImages" :src="globalImages + 'imgs/zhongxin.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  170. <view class="text-sm">安全中心</view>
  171. <!-- <view class="weinumber" v-if="order&&order.djdOrders">{{order.djdOrders}}</view> -->
  172. </view>
  173. <view class="text-center margin-tb-sm" style="width: 20%;">
  174. <image v-if="globalImages" :src="globalImages + 'imgs/xvzhi.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  175. <view class="text-sm">安全须知</view>
  176. <!-- <view class="weinumber" v-if="order&&order.yjdOrders">{{order.yjdOrders}}</view> -->
  177. </view>
  178. <view class="text-center margin-tb-sm" style="width: 20%;" @click="navgo('/my/setting/index')">
  179. <image v-if="globalImages" :src="globalImages + 'imgs/lianxiren.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  180. <view class="text-sm">紧急联系人</view>
  181. <!-- <view class="weinumber" v-if="order&&order.jxzOrders">{{order.jxzOrders}}</view> -->
  182. </view>
  183. <view class="text-center margin-tb-sm" style="width: 20%;">
  184. <image v-if="globalImages" :src="globalImages + 'imgs/shuwu.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  185. <view class="text-sm">失物招领</view>
  186. <!-- <view class="weinumber" v-if="order&&order.dzfOrders">{{order.dzfOrders}}</view> -->
  187. </view>
  188. <view class="text-center margin-tb-sm" style="width: 20%;" @click="navgo('/my/safety/video')">
  189. <image v-if="globalImages" :src="globalImages + 'imgs/kaoshi.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  190. <view class="text-sm">安全考试</view>
  191. <!-- <view class="weinumber" v-if="order&&order.dzfOrders">{{order.dzfOrders}}</view> -->
  192. </view>
  193. </view>
  194. </view>
  195. <view class="margin padding-tb bg-white " style="border-radius: 24rpx;">
  196. <view class="flex justify-between align-center padding-lr-sm">
  197. <view class="text-lg text-bold text-black">出行服务</view>
  198. </view>
  199. <view class="flex flex-wrap margin-top-sm">
  200. <view class="text-center margin-tb-sm" style="width: 25%;">
  201. <image v-if="globalImages" :src="globalImages + 'images/my/zhinan.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  202. <view class="text-sm">使用指南</view>
  203. <!-- <view class="weinumber" v-if="order&&order.djdOrders">{{order.djdOrders}}</view> -->
  204. </view>
  205. <view class="text-center margin-tb-sm" style="width: 25%;" @click="navgo('/my/help/trainingList')">
  206. <image v-if="globalImages" :src="globalImages + 'images/my/wenda.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  207. <view class="text-sm">常见问答</view>
  208. <!-- <view class="weinumber" v-if="order&&order.yjdOrders">{{order.yjdOrders}}</view> -->
  209. </view>
  210. <view class="text-center margin-tb-sm" style="width: 25%;" @click="changekefu">
  211. <image v-if="globalImages" :src="globalImages + 'images/my/dianhua.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  212. <view class="text-sm">客服电话</view>
  213. <!-- <view class="weinumber" v-if="order&&order.jxzOrders">{{order.jxzOrders}}</view> -->
  214. </view>
  215. <!-- <view class="text-center margin-tb-sm" style="width: 25%;">
  216. <image v-if="globalImages" :src="globalImages + 'images/my/shoucang.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  217. <view class="text-sm">我的收藏</view>
  218. <view class="weinumber" v-if="order&&order.dzfOrders">{{order.dzfOrders}}</view>
  219. </view> -->
  220. </view>
  221. </view>
  222. <view class="margin padding-tb bg-white " style="border-radius: 24rpx;">
  223. <view class="flex justify-between align-center padding-lr-sm">
  224. <view class="text-lg text-bold text-black">关于顺风车</view>
  225. </view>
  226. <view class="flex flex-wrap margin-top-sm">
  227. <view class="text-center margin-tb-sm" style="width: 25%;">
  228. <image v-if="globalImages" :src="globalImages + 'imgs/women.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  229. <view class="text-sm">关于我们</view>
  230. <!-- <view class="weinumber" v-if="order&&order.djdOrders">{{order.djdOrders}}</view> -->
  231. </view>
  232. <view class="text-center margin-tb-sm" style="width: 25%;" @click="bindTo('/my/setting/xieyi')">
  233. <image v-if="globalImages" :src="globalImages + 'imgs/xieyi.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  234. <view class="text-sm">服务协议</view>
  235. <!-- <view class="weinumber" v-if="order&&order.yjdOrders">{{order.yjdOrders}}</view> -->
  236. </view>
  237. <view class="text-center margin-tb-sm" style="width: 25%;" @click="bindTo('/my/feedback/feedback')">
  238. <image v-if="globalImages" :src="globalImages + 'imgs/fankui.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  239. <view class="text-sm">意见反馈</view>
  240. <!-- <view class="weinumber" v-if="order&&order.jxzOrders">{{order.jxzOrders}}</view> -->
  241. </view>
  242. <view class="text-center margin-tb-sm" style="width: 25%;" @click="bindTo('/my/setting/logOff')">
  243. <image v-if="globalImages" :src="globalImages + 'imgs/zhuxiao.png'" style="width: 56rpx;height: 56rpx;" mode=""></image>
  244. <view class="text-sm">注销账号</view>
  245. <!-- <view class="weinumber" v-if="order&&order.dzfOrders">{{order.dzfOrders}}</view> -->
  246. </view>
  247. </view>
  248. </view>
  249. <view class="mylist ">
  250. <view class="mylist_title padding-lr">推荐工具</view>
  251. <view class="flex flex-wrap">
  252. <view class="list_box" @click="navgo('/my/renzheng/index')" v-if="shangxian=='否'">
  253. <image v-if="globalImages" :src="globalImages + 'imgs/static/my/renz.png'" mode="scaleToFill" class="list_img"></image>
  254. <view class="list_name">实名认证</view>
  255. </view>
  256. <view v-if="isBindung == '是' && shangxian=='否'" class="list_box" @click="navgo('/my/wallet/baozhengjin')">
  257. <image v-if="globalImages" :src="globalImages + 'imgs/static/my/bzj.png'" mode="scaleToFill" class="list_img"></image>
  258. <view class="list_name">保证金</view>
  259. </view>
  260. <view class="list_box" @click="navgo('/my/wallet/index')" v-if="shangxian=='否'">
  261. <image v-if="globalImages" :src="globalImages + 'imgs/static/my/qianbao.png'" mode="scaleToFill" class="list_img"></image>
  262. <view class="list_name">我的钱包</view>
  263. </view>
  264. <view class="list_box" @click="navgo('/pages/riderMy/invitationUser')" v-if="shangxian=='否'">
  265. <image v-if="globalImages" :src="globalImages + 'imgs/static/my/share.png'" mode="scaleToFill" class="list_img"></image>
  266. <view class="list_name">邀请好友</view>
  267. </view>
  268. <view class="list_box" @click="navgo('/my/team/team')" v-if="shangxian=='否'">
  269. <image v-if="globalImages" :src="globalImages + 'imgs/static/my/team.png'" mode="scaleToFill'" class="list_img"></image>
  270. <view class="list_name">我的团队</view>
  271. </view>
  272. <view class="list_box" @click="changekefu">
  273. <image v-if="globalImages" :src="globalImages + 'imgs/static/my/kefu.png'" mode="scaleToFill'" class="list_img"></image>
  274. <view class="list_name">联系客服</view>
  275. </view>
  276. <view class="list_box" @click="navgo('/my/setting/message')" style="position: relative;">
  277. <image v-if="globalImages" :src="globalImages + 'imgs/static/upload/xiaoxi.png'" mode="scaleToFill" class="list_img"></image>
  278. <view class="list_name">我的消息</view>
  279. <view class="weinumber" v-if="xxCount">{{xxCount}}</view>
  280. </view>
  281. <!-- <view class="list_box" @click="navgo('/my/appeal/index')">
  282. <image src="../../static/my/shensu.png" mode="scaleToFill" class="list_img"></image>
  283. <view class="list_name">违规申诉</view>
  284. </view> -->
  285. <!-- <view class="list_box" @click="navgo('/my/evaluate/index')" v-if="shangxian=='否'">
  286. <image src="../../static/my/pj.png" mode="scaleToFill" class="list_img"></image>
  287. <view class="list_name">我的评价</view>
  288. </view> -->
  289. <view class="list_box" @click="navgo('/echarts/setting/xyf')">
  290. <image v-if="globalImages" :src="globalImages + 'imgs/static/my/xyf.png'" mode="scaleToFill" class="list_img"></image>
  291. <view class="list_name">信用分明细</view>
  292. </view>
  293. <!-- #ifndef H5 -->
  294. <view class="list_box" @click="navgo('/my/setting/jinji')">
  295. <image v-if="globalImages" :src="globalImages + 'imgs/static/my/jg.png'" mode="scaleToFill" class="list_img"
  296. style="width: 50rpx;height: 50rpx;"></image>
  297. <view class="list_name">紧急报警</view>
  298. </view>
  299. <!-- #endif -->
  300. <view class="list_box" @click="navgo('/my/help/trainingList')">
  301. <image v-if="globalImages" :src="globalImages + 'imgs/static/my/hellp.png'" mode="scaleToFill" class="list_img"></image>
  302. <view class="list_name">司机指南</view>
  303. </view>
  304. <view class="list_box" @click="navgo('/my/setting/index')">
  305. <image v-if="globalImages" :src="globalImages + 'imgs/static/my/set.png'" mode="scaleToFill'" class="list_img"></image>
  306. <view class="list_name">系统设置</view>
  307. </view>
  308. </view>
  309. </view>
  310. <!-- 师傅二维码弹窗 -->
  311. <u-popup v-model="showQrcode" mode="center" closeable border-radius="14" width="600rpx">
  312. <view class="showQrcode-title">扫我下单</view>
  313. <view class="showQrcode-img">
  314. <image :src="qrCodeImg" mode="aspectFill"></image>
  315. </view>
  316. </u-popup>
  317. </view>
  318. </template>
  319. <script>
  320. import configdata from '../../common/config.js';
  321. import { waitForGlobalImages } from '@/utils/globalImageLoader'
  322. export default {
  323. onShareAppMessage(res) { //发送给朋友
  324. return {
  325. title: this.tuiguang,
  326. path: '/pages/index/index',
  327. imageUrl: this.tuiguangImg,
  328. }
  329. },
  330. onShareTimeline(res) { //分享到朋友圈
  331. return {
  332. title: this.tuiguang,
  333. path: '/pages/index/index',
  334. imageUrl: this.tuiguangImg,
  335. }
  336. },
  337. data() {
  338. return {
  339. xxCount: 0,
  340. showQrcode: false, //是否显示二维码
  341. tuiguang: '',
  342. tuiguangImg: '',
  343. show: false,
  344. title: '我的',
  345. information: {}, //个人信息
  346. daySr: '',
  347. orders: '',
  348. indent: {},
  349. avatar: '../../static/logo.png',
  350. nickName: '匿名',
  351. checkCertification: '',
  352. userId: '',
  353. token: '',
  354. shangxian: '是',
  355. checkCertificationMessage: '',
  356. checked: false,
  357. loading: false,
  358. // 中间变量,避免在watch中多次回调,造成无限循环
  359. controlStatus: false,
  360. creditScore: 0,
  361. arr: [],
  362. showModal1: true,
  363. qrCodeImg: '',
  364. isOpenVip: '否', //是否开启会员功能
  365. vipEndTime: '', //会员到期时间
  366. isBindung: '是', //是否启用保证金
  367. globalImages: ''
  368. }
  369. },
  370. onLoad() {
  371. waitForGlobalImages().then((path) => {
  372. console.log('✅ 全局图片路径:', path)
  373. this.globalImages = path
  374. })
  375. this.isOpenVip = uni.getStorageSync('isOpenVip')
  376. this.shangxian = uni.getStorageSync('shangxian')
  377. this.$Request.getT('/app/common/type/276').then(res => {
  378. if (res.code === 0) {
  379. uni.setStorageSync('tuiguang', res.data.value)
  380. this.tuiguang = res.data.value;
  381. }
  382. });
  383. this.$Request.getT('/app/common/type/277').then(res => {
  384. if (res.code === 0) {
  385. uni.setStorageSync('tuiguangImg', res.data.value)
  386. this.tuiguangImg = res.data.value;
  387. }
  388. });
  389. this.$Request.getT('/app/common/type/428').then(res => { //师傅端小程序订单状态通知 428
  390. if (res.code == 0) {
  391. if (res.data && res.data.value) {
  392. this.arr.push(res.data.value)
  393. }
  394. }
  395. })
  396. this.$Request.getT('/app/common/type/429').then(res => { //师傅端小程序新订单通知 429
  397. if (res.code == 0) {
  398. if (res.data && res.data.value) {
  399. this.arr.push(res.data.value)
  400. }
  401. }
  402. })
  403. },
  404. onShow() {
  405. this.isBindung = uni.getStorageSync('isBindung')
  406. this.token = this.$queue.getData('token');
  407. this.userId = this.$queue.getData('userId');
  408. if (this.token) {
  409. this.shouru()
  410. this.getUserInfo();
  411. this.getXXDetailNum();
  412. if (this.showModal1) {
  413. // #ifdef MP-WEIXIN
  414. this.openMsg()
  415. // #endif
  416. }
  417. } else {
  418. // this.goLogin();
  419. this.xxCount = 0;
  420. this.userId = ''
  421. this.creditScore = 0
  422. this.indent = []
  423. this.avatar = '../../static/logo.png'
  424. this.nickName = ''
  425. this.vipEndTime = ''
  426. }
  427. },
  428. methods: {
  429. bindTo(name) {
  430. let token = this.$queue.getData("token");
  431. if (token) {
  432. uni.navigateTo({
  433. url: name
  434. })
  435. }
  436. },
  437. //获取会员信息
  438. getVipInfo() {
  439. this.$Request.getT('/app/UserVip/selectUserVip').then(res => {
  440. if (res.code == 0) {
  441. if (res.data) {
  442. this.vipEndTime = res.data.endTime
  443. } else {
  444. this.vipEndTime = ''
  445. }
  446. }
  447. })
  448. },
  449. getXXDetailNum() {
  450. this.$Request.getT('/app/message/getRouteOrdersCount').then(res => {
  451. if (res.code == 0) {
  452. this.xxCount = res.data ? res.data : 0;
  453. }
  454. });
  455. },
  456. //获取师傅二维码
  457. getMyQrCode() {
  458. let that = this
  459. let userId = uni.getStorageSync('userId')
  460. uni.downloadFile({
  461. url: configdata.APIHOST + '/app/invite/riderQr?userId=' + userId,
  462. success(res) {
  463. that.qrCodeImg = res.tempFilePath
  464. that.showQrcode = true
  465. }
  466. })
  467. },
  468. // switch打开或者关闭时触发,值为true或者false
  469. change(status) {
  470. // #ifdef MP-WEIXIN
  471. if (uni.getStorageSync('sendMsg')) {
  472. uni.requestSubscribeMessage({
  473. tmplIds: this.arr,
  474. success(re) {
  475. // console.log(re,'**********')
  476. var datas = JSON.stringify(re);
  477. if (datas.indexOf("accept") != -1) {
  478. console.log(re)
  479. }
  480. },
  481. fail: (res) => {
  482. console.log(res)
  483. }
  484. })
  485. }
  486. // #endif
  487. if (this.checked == false) {
  488. if (this.controlStatus == true) {
  489. this.controlStatus = false;
  490. return;
  491. }
  492. // 重新打开switch,并让它处于加载中的状态
  493. this.checked = true;
  494. if (uni.getStorageSync('token')) {
  495. this.loading = true;
  496. this.getRestultFromServer();
  497. } else {
  498. uni.navigateTo({
  499. url: '/pages/login/login'
  500. })
  501. }
  502. // 模拟向后端发起请求
  503. } else if (this.checked == true) {
  504. if (this.controlStatus == true) {
  505. this.controlStatus = false;
  506. return;
  507. }
  508. // 重新关闭switch,并让它处于加载中的状态
  509. this.checked = false;
  510. // 模拟向后端发起请求
  511. if (uni.getStorageSync('token')) {
  512. this.loading = true;
  513. this.getRestultFromServer1();
  514. } else {
  515. uni.navigateTo({
  516. url: '/pages/login/login'
  517. })
  518. }
  519. }
  520. },
  521. getRestultFromServer() {
  522. this.controlStatus = true;
  523. // 后端允许用户关闭switch,设置checked为false,结束loading状态
  524. let that = this
  525. uni.showModal({
  526. title: '提示',
  527. content: '确定要下线吗',
  528. complete: function(ret) {
  529. if (ret.confirm) {
  530. console.log('用户点击确定');
  531. uni.showLoading({
  532. title: '修改中...',
  533. })
  534. that.$Request.postT("/app/user/updateLine").then(res => {
  535. uni.hideLoading();
  536. that.loading = false;
  537. that.controlStatus = false
  538. if (res.code === 0) {
  539. that.checked = false;
  540. that.getUserInfo();
  541. } else {
  542. that.$queue.showToast(res.msg)
  543. }
  544. });
  545. } else if (ret.cancel) {
  546. console.log('用户点击取消');
  547. that.checked = true;
  548. that.loading = false;
  549. that.controlStatus = false
  550. }
  551. },
  552. });
  553. },
  554. getRestultFromServer1() {
  555. // 通过定时器模拟向后端请求
  556. this.controlStatus = true;
  557. // 后端允许用户关闭switch,设置checked为false,结束loading状态
  558. let that = this
  559. uni.showModal({
  560. title: '提示',
  561. content: '确定要上线吗',
  562. complete: function(ret) {
  563. if (ret.confirm) {
  564. console.log('用户点击确定');
  565. uni.showLoading({
  566. title: '修改中...',
  567. })
  568. that.$Request.postT("/app/user/updateLine").then(res => {
  569. uni.hideLoading();
  570. that.loading = false;
  571. that.controlStatus = false
  572. if (res.code === 0) {
  573. that.checked = true;
  574. that.getUserInfo();
  575. } else {
  576. that.$queue.showToast(res.msg)
  577. }
  578. });
  579. } else if (ret.cancel) {
  580. that.loading = false;
  581. console.log('用户点击取消');
  582. that.checked = false;
  583. that.controlStatus = false
  584. }
  585. }
  586. });
  587. },
  588. //联系客服
  589. changekefu() {
  590. // #ifdef MP-WEIXIN
  591. if (uni.getStorageSync('sendMsg')) {
  592. uni.requestSubscribeMessage({
  593. tmplIds: this.arr,
  594. success(re) {
  595. // console.log(re,'**********')
  596. var datas = JSON.stringify(re);
  597. if (datas.indexOf("accept") != -1) {
  598. console.log(re)
  599. }
  600. },
  601. fail: (res) => {
  602. console.log(res)
  603. }
  604. })
  605. }
  606. // #endif
  607. let kefu = this.$queue.getData('kefu'); // 用户端联系方式 1 手机号 2企业微信
  608. let kefuPhone = this.$queue.getData('kefuPhone');
  609. if (kefu == 1) {
  610. uni.makePhoneCall({
  611. phoneNumber: kefuPhone //仅为示例
  612. });
  613. } else if (kefu == 2) {
  614. // #ifdef MP-WEIXIN
  615. let that = this
  616. try {
  617. wx.openCustomerServiceChat({
  618. extInfo: {
  619. url: that.$queue.getData('kefuUrl')
  620. },
  621. corpId: that.$queue.getData('kefuAppId'),
  622. success(res) {},
  623. fail(res) {
  624. console.error(res)
  625. }
  626. })
  627. } catch (error) {
  628. console.error("catchcatch" + error)
  629. uni.showToast({
  630. title: '请更新至微信最新版本'
  631. });
  632. }
  633. // #endif
  634. // #ifndef MP-WEIXIN
  635. let url = this.$queue.getData('kefuUrl');
  636. if (url.indexOf('/pages/') !== -1 || url.indexOf('/pageA/') !== -1 || url.indexOf('/my/') !== -1) {
  637. uni.navigateTo({
  638. url
  639. });
  640. } else {
  641. //#ifndef H5
  642. uni.navigateTo({
  643. url: '/pages/index/webView?url=' + url
  644. });
  645. //#endif
  646. //#ifdef H5
  647. window.location.href = url;
  648. //#endif
  649. }
  650. // #endif
  651. } else if (kefu == 3) {
  652. uni.navigateTo({
  653. url: '/my/kefu/index'
  654. });
  655. }
  656. },
  657. // 查看今日收入
  658. profit() {
  659. // #ifdef MP-WEIXIN
  660. if (uni.getStorageSync('sendMsg')) {
  661. uni.requestSubscribeMessage({
  662. tmplIds: this.arr,
  663. success(re) {
  664. // console.log(re,'**********')
  665. var datas = JSON.stringify(re);
  666. if (datas.indexOf("accept") != -1) {
  667. console.log(re)
  668. }
  669. },
  670. fail: (res) => {
  671. console.log(res)
  672. }
  673. })
  674. }
  675. // #endif
  676. if (!this.userId) {
  677. uni.navigateTo({
  678. url: '/pages/login/login'
  679. })
  680. return
  681. }
  682. uni.navigateTo({
  683. url: '/pages/riderMy/profit'
  684. })
  685. },
  686. // 查看订单统计
  687. myOrders() {
  688. // #ifdef MP-WEIXIN
  689. if (uni.getStorageSync('sendMsg')) {
  690. uni.requestSubscribeMessage({
  691. tmplIds: this.arr,
  692. success(re) {
  693. // console.log(re,'**********')
  694. var datas = JSON.stringify(re);
  695. if (datas.indexOf("accept") != -1) {
  696. console.log(re)
  697. }
  698. },
  699. fail: (res) => {
  700. console.log(res)
  701. }
  702. })
  703. }
  704. // #endif
  705. if (!this.userId) {
  706. uni.navigateTo({
  707. url: '/pages/login/login'
  708. })
  709. return
  710. }
  711. uni.navigateTo({
  712. url: '/pages/riderMy/order'
  713. })
  714. },
  715. bindapprove() {
  716. // #ifdef MP-WEIXIN
  717. if (uni.getStorageSync('sendMsg')) {
  718. uni.requestSubscribeMessage({
  719. tmplIds: this.arr,
  720. success(re) {
  721. // console.log(re,'**********')
  722. var datas = JSON.stringify(re);
  723. if (datas.indexOf("accept") != -1) {
  724. console.log(re)
  725. }
  726. },
  727. fail: (res) => {
  728. console.log(res)
  729. }
  730. })
  731. }
  732. // #endif
  733. uni.navigateTo({
  734. url: '/my/renzheng/index'
  735. })
  736. },
  737. navgo(e) {
  738. // #ifdef MP-WEIXIN
  739. if (uni.getStorageSync('sendMsg')) {
  740. uni.requestSubscribeMessage({
  741. tmplIds: this.arr,
  742. success(re) {
  743. // console.log(re,'**********')
  744. var datas = JSON.stringify(re);
  745. if (datas.indexOf("accept") != -1) {
  746. console.log(re)
  747. }
  748. },
  749. fail: (res) => {
  750. console.log(res)
  751. }
  752. })
  753. }
  754. // #endif
  755. let that = this
  756. if (that.token) {
  757. uni.navigateTo({
  758. url: e
  759. })
  760. } else {
  761. uni.navigateTo({
  762. url: '/pages/login/login'
  763. })
  764. }
  765. },
  766. binduser() {
  767. // #ifdef MP-WEIXIN
  768. if (uni.getStorageSync('sendMsg')) {
  769. uni.requestSubscribeMessage({
  770. tmplIds: this.arr,
  771. success(re) {
  772. // console.log(re,'**********')
  773. var datas = JSON.stringify(re);
  774. if (datas.indexOf("accept") != -1) {
  775. console.log(re)
  776. }
  777. },
  778. fail: (res) => {
  779. console.log(res)
  780. }
  781. })
  782. }
  783. // #endif
  784. let token = this.$queue.getData('token');
  785. if (!token) {
  786. uni.navigateTo({
  787. url: '/pages/login/login'
  788. })
  789. return;
  790. }
  791. uni.navigateTo({
  792. url: '/pages/riderMy/userinfo'
  793. });
  794. },
  795. // 获取个人信息
  796. getUserInfo() {
  797. let userId = this.$queue.getData('userId');
  798. this.$Request.getT("/app/user/selectUserDetails?userId=" + userId).then(res => {
  799. if (res.code == 0) {
  800. if (res.data.isVip && res.data.isVip == 1) {
  801. this.getVipInfo()
  802. } else {
  803. this.vipEndTime = ''
  804. }
  805. this.$nextTick(function() {
  806. this.avatar = res.data.avatar ? res.data.avatar : '../../static/logo.png'
  807. uni.setStorageSync('avatar', res.data.avatar)
  808. this.nickName = res.data.nickName
  809. uni.setStorageSync('nickName', res.data.nickName)
  810. this.creditScore = res.data.creditScore
  811. uni.setStorageSync('zhiFuBao', res.data.zhiFuBao)
  812. uni.setStorageSync('zhiFuBaoName', res.data.zhiFuBaoName)
  813. // console.log(this.checkCertification, '实名认证')
  814. this.userId = res.data.userId
  815. uni.setStorageSync('userId', res.data.userId)
  816. if (res.data.onLineFlag != 2) {
  817. this.checked = true
  818. } else {
  819. this.checked = false
  820. }
  821. })
  822. } else {
  823. this.$queue.logout();
  824. uni.showModal({
  825. showCancel: false,
  826. title: '登录失败',
  827. content: res.msg,
  828. });
  829. }
  830. });
  831. this.$Request.getT('/app/driver/selectDriverByUserId?userId=' + userId).then(res => {
  832. if (res.code == 0 && res.data) {
  833. this.checkCertification = res.data.status
  834. this.checkCertificationMessage = res.data.auditContent
  835. uni.setStorageSync('checkCertification', res.data.status)
  836. uni.setStorageSync('driverId', res.data.driverId)
  837. }
  838. })
  839. },
  840. // 今日收入、订单量
  841. shouru() {
  842. this.$Request.getT('/app/orders/findIncome').then(res => {
  843. if (res.code == 0) {
  844. // this.daySr = res.data.income
  845. // this.orders = res.data.indentCount
  846. this.indent = res.data
  847. }
  848. console.log('res', res)
  849. });
  850. },
  851. // 跳转去登录
  852. goLogin() {
  853. // this.$queue.setData('href', '/pages/my/index');
  854. uni.navigateTo({
  855. url: '/pages/login/login'
  856. });
  857. },
  858. //退出登录
  859. TuiLogin() {
  860. let that = this
  861. if (that.userId) {
  862. uni.showModal({
  863. title: '提示',
  864. content: '确认退出登录吗?',
  865. success: function(res) {
  866. if (res.confirm) {
  867. uni.removeStorageSync('userId')
  868. uni.removeStorageSync('token')
  869. uni.removeStorageSync('avatar')
  870. uni.removeStorageSync('nickName')
  871. uni.removeStorageSync('phone')
  872. uni.removeStorageSync('invitationCode')
  873. uni.removeStorageSync('inviterCode')
  874. uni.removeStorageSync('platform')
  875. uni.removeStorageSync('sex')
  876. uni.removeStorageSync('zhiFuBao')
  877. uni.removeStorageSync('zhiFuBaoName')
  878. uni.removeStorageSync('checkCertification')
  879. // uni.navigateBack()
  880. uni.redirectTo({
  881. url: '/pages/index/index'
  882. })
  883. } else if (res.cancel) {
  884. console.log('用户点击取消');
  885. }
  886. }
  887. });
  888. } else {
  889. uni.showModal({
  890. title: '提示',
  891. content: '您还未登录,请先登录',
  892. success: function(res) {
  893. if (res.confirm) {
  894. console.log('用户点击确定');
  895. uni.navigateTo({
  896. url: '/pages/login/login'
  897. })
  898. } else if (res.cancel) {
  899. console.log('用户点击取消');
  900. }
  901. }
  902. })
  903. }
  904. },
  905. // 开启订阅消息
  906. openMsg() {
  907. console.log('订阅消息')
  908. var that = this
  909. uni.getSetting({
  910. withSubscriptions: true, //是否获取用户订阅消息的订阅状态,默认false不返回
  911. success(ret) {
  912. console.log(ret.subscriptionsSetting, '------------------')
  913. // if (ret.subscriptionsSetting.itemSettings && Object.keys(ret.subscriptionsSetting.itemSettings).length == 2) {
  914. if (ret.subscriptionsSetting.itemSettings) {
  915. uni.setStorageSync('sendMsg', true)
  916. uni.openSetting({ // 打开设置页
  917. success(rea) {
  918. console.log(rea.authSetting)
  919. }
  920. });
  921. } else { // 用户没有点击“总是保持以上,不再询问”则每次都会调起订阅消息
  922. console.log(99999)
  923. uni.setStorageSync('sendMsg', false)
  924. uni.showModal({
  925. title: '提示',
  926. content: '为了更好的体验,请绑定消息推送',
  927. confirmText: '确定',
  928. cancelText: '取消',
  929. success: function(res) {
  930. if (res.confirm) {
  931. console.log(that.arr)
  932. wx.requestSubscribeMessage({
  933. tmplIds: that.arr,
  934. success(re) {
  935. console.log(JSON.stringify(re),
  936. '++++++++++++++')
  937. var datas = JSON.stringify(re);
  938. if (datas.indexOf("accept") != -1) {
  939. console.log(re)
  940. // uni.setStorageSync('sendMsg', true)
  941. }
  942. },
  943. fail: (res) => {
  944. console.log(res)
  945. }
  946. })
  947. // uni.setStorageSync('sendMsg', true)
  948. console.log('确认')
  949. that.showModal1 = false
  950. } else if (res.cancel) {
  951. console.log('取消')
  952. // uni.setStorageSync('sendMsg', false)
  953. that.showModal1 = true
  954. }
  955. }
  956. })
  957. }
  958. }
  959. })
  960. }
  961. }
  962. }
  963. </script>
  964. <style lang="scss">
  965. ::v-deep .u-title {
  966. color: #000000 !important;
  967. }
  968. ::v-deep .u-navbar-fixed {
  969. background: none !important;
  970. }
  971. page {
  972. background: #F5F5F5;
  973. }
  974. .vip {
  975. width: 100%;
  976. height: 110rpx;
  977. position: relative;
  978. margin-bottom: 20rpx;
  979. .vip-box {
  980. width: 700rpx;
  981. height: 100%;
  982. background: linear-gradient(to right, #ebd6a6, #f3e0c0);
  983. border-radius: 24rpx;
  984. padding: 0 30rpx;
  985. }
  986. .vip-box-l {
  987. color: #8b4a24;
  988. font-size: 30rpx;
  989. font-weight: 500;
  990. image {
  991. width: 40rpx;
  992. margin-right: 10rpx;
  993. }
  994. }
  995. .vip-box-r {
  996. color: #8b4a24;
  997. font-size: 26rpx;
  998. font-weight: 500;
  999. }
  1000. }
  1001. .weinumber {
  1002. width: 30upx;
  1003. height: 30upx;
  1004. background: red;
  1005. color: #fff;
  1006. display: flex;
  1007. align-items: center;
  1008. justify-content: center;
  1009. font-size: 24rpx;
  1010. border-radius: 35upx;
  1011. position: absolute;
  1012. top: 0upx;
  1013. right: 10upx;
  1014. z-index: 99;
  1015. }
  1016. .showQrcode-title {
  1017. width: 100%;
  1018. text-align: center;
  1019. font-size: 34rpx;
  1020. font-weight: bold;
  1021. margin-top: 24rpx;
  1022. }
  1023. .showQrcode-img {
  1024. width: 500rpx;
  1025. height: 500rpx;
  1026. margin: 30rpx auto;
  1027. margin-bottom: 40rpx;
  1028. image {
  1029. width: 100%;
  1030. height: 100%;
  1031. border-radius: 10rpx;
  1032. }
  1033. }
  1034. .headtop {
  1035. background: linear-gradient(0deg, #c7ffef 0%, #32d0a3 100%);
  1036. height: 400rpx;
  1037. // position: fixed;
  1038. // /* #ifdef H5 */
  1039. // top: 0rpx;
  1040. // padding-top: 30rpx;
  1041. // /* #endif */
  1042. // /* #ifndef H5 */
  1043. // top: 0rpx;
  1044. // /* #endif */
  1045. // left: 0;
  1046. // right: 0;
  1047. // z-index: 0;
  1048. }
  1049. /* 顶部 */
  1050. .header {
  1051. width: 100%;
  1052. height: 100%;
  1053. display: flex;
  1054. align-items: center;
  1055. /* #ifndef H5 */
  1056. // margin-top: 60rpx;
  1057. /* #endif */
  1058. }
  1059. .head_image {
  1060. flex: 1;
  1061. display: flex;
  1062. justify-content: center;
  1063. align-items: center;
  1064. }
  1065. .head_image image {
  1066. width: 90rpx;
  1067. height: 90rpx;
  1068. }
  1069. .head_name {
  1070. flex: 4;
  1071. position: relative;
  1072. font-size: 36rpx;
  1073. font-weight: bold;
  1074. color: #333333;
  1075. }
  1076. .qrCodeImg {
  1077. width: 60rpx;
  1078. height: 60rpx;
  1079. margin-right: 30rpx;
  1080. image {
  1081. width: 100%;
  1082. height: 100%;
  1083. border-radius: 50%;
  1084. }
  1085. }
  1086. .approve {
  1087. font-size: 24rpx;
  1088. font-weight: 500;
  1089. }
  1090. /* 用户信息 */
  1091. .shouru {
  1092. border-radius: 24rpx;
  1093. overflow: hidden;
  1094. width: 93%;
  1095. margin: 0 auto;
  1096. background: #ffffff;
  1097. position: relative;
  1098. z-index: 99;
  1099. top: -90rpx;
  1100. }
  1101. .user_box {
  1102. display: flex;
  1103. height: 210rpx;
  1104. padding: 0 20rpx 0 30rpx;
  1105. }
  1106. .box {
  1107. flex: 1;
  1108. /* margin-left: 40rpx; */
  1109. margin-top: 40rpx;
  1110. }
  1111. .user_price {
  1112. font-size: 44rpx;
  1113. margin-top: 10rpx;
  1114. }
  1115. .user_price text {
  1116. font-size: 21rpx;
  1117. margin-left: 10rpx;
  1118. }
  1119. .user_tit {
  1120. color: #B3B3B3;
  1121. font-size: 21rpx;
  1122. margin-top: 10rpx;
  1123. }
  1124. ::v-deep .u-section__title {
  1125. font-weight: 500 !important;
  1126. color: #333333 !important;
  1127. font-size: 14px !important;
  1128. padding-left: 10px;
  1129. }
  1130. /* 我的列表 */
  1131. .mylist {
  1132. // width: 93%;
  1133. // margin: 0 auto;
  1134. margin: 30rpx;
  1135. background-color: #FFFFFF;
  1136. border-radius: 23rpx;
  1137. padding: 30rpx 0rpx;
  1138. position: relative;
  1139. z-index: 99;
  1140. }
  1141. .mylist_title {
  1142. font-family: PingFang SC;
  1143. font-weight: bold;
  1144. font-size: 32rpx;
  1145. color: #333333;
  1146. margin: 10rpx 0rpx 20rpx;
  1147. }
  1148. .list_box {
  1149. /* width: 90%; */
  1150. /* margin: 0 auto; */
  1151. // height: 95rpx;
  1152. width: 25%;
  1153. text-align: center;
  1154. margin-top: 20rpx;
  1155. margin-bottom: 20rpx;
  1156. }
  1157. .list_left {
  1158. flex: 1;
  1159. display: flex;
  1160. justify-content: left;
  1161. align-items: center;
  1162. }
  1163. .list_img {
  1164. width: 56rpx;
  1165. height: 56rpx;
  1166. // margin-right: 18rpx;
  1167. }
  1168. .list_name {
  1169. font-size: 25rpx;
  1170. letter-spacing: 2rpx;
  1171. }
  1172. .list_right {
  1173. width: 12rpx;
  1174. height: 20rpx;
  1175. }
  1176. .user_name {
  1177. display: flex;
  1178. align-items: center;
  1179. }
  1180. </style>