index.vue 39 KB

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