You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 2 години
преди 7 месеца
преди 2 години
преди 1 година
преди 7 месеца
преди 1 година
преди 1 година
преди 7 месеца
преди 1 година
преди 2 години
преди 1 година
преди 7 месеца
преди 1 година
преди 7 месеца
преди 1 година
преди 2 години
преди 7 месеца
преди 1 година
преди 7 месеца
преди 2 години
преди 1 година
преди 7 месеца
преди 1 година
преди 2 години
преди 7 месеца
преди 7 месеца
преди 1 година
преди 7 месеца
преди 1 година
преди 7 месеца
преди 1 година
преди 7 месеца
преди 1 година
преди 7 месеца
преди 1 година
преди 7 месеца
преди 1 година
преди 7 месеца
преди 1 година
преди 7 месеца
преди 1 година
преди 7 месеца
преди 1 година
преди 2 години
преди 2 години
преди 2 години
преди 2 години
преди 2 години
преди 7 месеца
преди 2 години
преди 7 месеца
преди 2 години
преди 2 години
преди 2 години
преди 2 години
преди 1 година
преди 7 месеца
преди 2 години
преди 1 година
преди 2 години
преди 1 година
преди 2 години
преди 1 година
преди 2 години
преди 1 година
преди 1 година
преди 1 година
преди 1 година
преди 1 година
преди 1 година
преди 7 месеца
преди 2 години
преди 7 месеца
преди 2 години
преди 1 година
преди 1 година
преди 1 година
преди 1 година
преди 1 година
преди 1 година
преди 1 година
преди 1 година
преди 2 години
преди 1 година
преди 1 година
преди 2 години
преди 7 месеца
преди 1 година
преди 7 месеца
преди 2 години
преди 2 години
преди 2 години
преди 1 година
преди 2 години
преди 1 година
преди 2 години
преди 7 месеца
преди 7 месеца
преди 1 година
преди 1 година
преди 2 години
преди 1 година
преди 1 година
преди 1 година
преди 1 година
преди 2 години
преди 1 година
преди 2 години
преди 2 години
преди 1 година
преди 2 години
преди 7 месеца
преди 2 години
преди 1 година
преди 7 месеца
преди 1 година
преди 1 година
преди 1 година
преди 7 месеца
преди 1 година
преди 2 години
преди 2 години
преди 2 години
преди 1 година
преди 2 години
преди 1 година
преди 2 години
преди 1 година
преди 7 месеца
преди 1 година
преди 1 година
преди 1 година
преди 1 година
преди 1 година
преди 1 година
преди 1 година
преди 1 година
преди 2 години
преди 2 години
преди 7 месеца
преди 2 години
преди 1 година
преди 7 месеца
преди 2 години
преди 7 месеца
преди 2 години
преди 7 месеца
преди 2 години
преди 7 месеца
преди 2 години
преди 7 месеца
преди 2 години
преди 7 месеца
преди 2 години
преди 7 месеца
преди 2 години
преди 2 години
преди 7 месеца
преди 2 години
преди 7 месеца
преди 2 години
преди 7 месеца
преди 2 години
преди 2 години
преди 7 месеца
преди 2 години
преди 7 месеца
преди 2 години
преди 7 месеца
преди 2 години
преди 7 месеца
преди 2 години
преди 7 месеца
преди 2 години
преди 7 месеца
преди 2 години
преди 7 месеца
преди 2 години
преди 7 месеца
преди 2 години
преди 7 месеца
преди 2 години
преди 1 година
преди 2 години
преди 7 месеца
преди 2 години
преди 7 месеца
преди 2 години
преди 2 години
преди 7 месеца
преди 2 години
преди 1 година
преди 7 месеца
преди 7 месеца
преди 7 месеца
преди 7 месеца
преди 7 месеца
преди 7 месеца
преди 7 месеца
преди 7 месеца
преди 7 месеца
преди 7 месеца
преди 7 месеца
преди 7 месеца
преди 1 година
преди 7 месеца
преди 1 година
преди 2 години
преди 7 месеца
преди 2 години
преди 7 месеца
преди 2 години
преди 7 месеца
преди 7 месеца
преди 2 години
преди 7 месеца
преди 2 години
преди 1 година
преди 1 година
преди 1 година
преди 7 месеца
преди 2 години
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907
  1. <template>
  2. <navBar title="九州ETC" :scrollTop="scrollTop" :isBack="isBack" navbgClass="nav-bgXin" fontColor='#fff'></navBar>
  3. <filter>
  4. <view class="wrapper">
  5. <image :src="`${$imgUrl}myImage/headbg.png`" class="bg-head" mode="widthFix"></image>
  6. <view class="content" :style="{ top: margin + 'px' }">
  7. <view class="head" :style="{ marinTop: margin + 'px' }">
  8. <view class="avatar">
  9. <image :src="`${$imgUrl}myImage/touxiang.png`" :class="!state.data.opId ? 'unlogin' : ''" @click="goLogin">
  10. </image>
  11. <view v-if="!state.data.opId" class="name" @click="$util.navTo('/login/login')">
  12. <view class="nickname">登录/注册</view>
  13. </view>
  14. <view v-else class="name">
  15. <view class="nickname">{{state.accountInfoVo.nickName || state.accountInfoVo.userName}}</view>
  16. <view class="user-id">
  17. <view class="phone">{{state.accountInfoVo.mobile}}</view>
  18. <view v-if="false" @click="$util.navTo('/subpackage/personal-center/setting/change-phone', true)"
  19. class="btn-change">已关联</view>
  20. </view>
  21. </view>
  22. </view>
  23. <!-- <view v-if="false" class="setting" @click="$util.navTo('/subpackage/personal-center/setting/setting', true)">
  24. <text>签到</text>
  25. </view> -->
  26. <view class="r-setting" @click="$util.navTo('/subpackage/personal-center/setting/setting', true)">
  27. <image :src="`${$imgUrl}myImage/shezhi.png`" class="img" mode="widthFix"></image>
  28. </view>
  29. </view>
  30. <view class="my-equity" :style="{'--bgimg':`url(${$imgUrl}myImage/quanuyikuang.png)`}">
  31. <view class="l-con">
  32. <image :src="`${$imgUrl}myImage/quanyi.png`" class="equity-icon" mode="widthFix"></image>
  33. <view class="txt">
  34. 我的权益
  35. </view>
  36. </view>
  37. <view class="r-icon" @click="goEquity()">
  38. <image :src="`${$imgUrl}myImage/quanyixiayi.png`" class="r-img" mode="widthFix"></image>
  39. </view>
  40. </view>
  41. <view class="info-content">
  42. <view class="order box">
  43. <view class="right-head">
  44. <view class="tit">我的订单</view>
  45. <view class="more" @click="goOrder(0)">
  46. <text class="more-text">查看全部</text>
  47. <image :src="`${$imgUrl}myImage/wdexiayi.png`" class="arrow"></image>
  48. </view>
  49. </view>
  50. <view class="order-items">
  51. <view class="item" @click="goOrder(1)">
  52. <view style="position: relative;">
  53. <image :src="`${$imgUrl}myImage/icon1.png`" class="icon" mode="widthFix"></image>
  54. <view v-if='state.orderInfoSumQueryVo.orderStep8>0' class="rtop-badge bgVar"
  55. :style="{'--bgimg':`url(${$imgUrl}myImage/r-badge.png)`}">
  56. {{state.orderInfoSumQueryVo.orderStep8}}
  57. </view>
  58. </view>
  59. <text class="tit">待发货</text>
  60. </view>
  61. <view class="item" @click="goOrder(2)">
  62. <view style="position: relative;">
  63. <image :src="`${$imgUrl}myImage/icon2.png`" class="icon" mode="widthFix"></image>
  64. <view v-if='state.orderInfoSumQueryVo.orderStep9>0' class="rtop-badge bgVar"
  65. :style="{'--bgimg':`url(${$imgUrl}myImage/r-badge.png)`}">
  66. {{state.orderInfoSumQueryVo.orderStep9}}
  67. </view>
  68. </view>
  69. <text class="tit">待收货</text>
  70. </view>
  71. <view class="item" @click="goOrder(3)">
  72. <view style="position: relative;">
  73. <image :src="`${$imgUrl}myImage/icon3.png`" class="icon" mode="widthFix"></image>
  74. <view class="rtop-badge bgVar" v-if='state.orderInfoSumQueryVo.orderStep10>0'
  75. :style="{'--bgimg':`url(${$imgUrl}myImage/r-badge.png)`}">
  76. {{state.orderInfoSumQueryVo.orderStep10}}
  77. </view>
  78. </view>
  79. <text class="tit">待激活</text>
  80. </view>
  81. <view class="item" @click="goOrder(4)">
  82. <view style="position: relative;">
  83. <image :src="`${$imgUrl}myImage/icon4.png`" class="icon" mode="widthFix"></image>
  84. <view v-if='state.orderInfoSumQueryVo.orderStep12>0' class="rtop-badge bgVar"
  85. :style="{'--bgimg':`url(${$imgUrl}myImage/r-badge.png)`}">
  86. {{state.orderInfoSumQueryVo.orderStep12}}
  87. </view>
  88. </view>
  89. <text class="tit">退换货/退款</text>
  90. </view>
  91. </view>
  92. </view>
  93. <view class="go-through box" v-if="source=='WECHAT'">
  94. <view class="right-head">
  95. <view class="tit">本月通行</view>
  96. <view class="more" @click="goTrajectory()">
  97. <text class="more-text">查看通行轨迹</text>
  98. <image :src="`${$imgUrl}myImage/wdexiayi.png`" class="arrow"></image>
  99. </view>
  100. </view>
  101. <view class="pass">
  102. <view class="total m-top">
  103. <text>通行消费</text>
  104. <text>总金额</text>
  105. </view>
  106. <view class="amount m-top">
  107. <text>¥
  108. {{state.monthFlowingVo.flowingNum }}</text>
  109. <text>¥
  110. {{state.monthFlowingVo.money }}</text>
  111. </view>
  112. <view class="line m-top">
  113. <view class="line1"
  114. :style="{width: (state.monthFlowingVo.flowingNum ? state.monthFlowingVo.flowingNum : 0)*100/state.monthFlowingVo.money+'%'}">
  115. </view>
  116. <view class="line2"></view>
  117. </view>
  118. <view class="mileage">
  119. <view class="box-items" :style="{'--bgimg':`url(${$imgUrl}myImage/tongxing1.png)`}">
  120. <view class="t-name">
  121. <image :src="`${$imgUrl}myImage/licheng-icon.png`" class="tongxing-icon"></image>
  122. <text class="tit">通行里程</text>
  123. </view>
  124. <view class="b-info">
  125. <text class="val">{{state.monthFlowingVo.mileage}}</text>
  126. <text class="unit">km</text>
  127. </view>
  128. </view>
  129. <view class="box-items" :style="{'--bgimg':`url(${$imgUrl}myImage/tongxing2.png)`}">
  130. <view class="t-name">
  131. <image :src="`${$imgUrl}myImage/shichang-icon.png`" class="tongxing-icon"></image>
  132. <text class="tit">通行时长</text>
  133. </view>
  134. <view class="b-info">
  135. <text class="val">{{state.monthFlowingVo.duration}}</text>
  136. <!-- <text class="unit">km</text> -->
  137. </view>
  138. </view>
  139. <view class="box-items" :style="{'--bgimg':`url(${$imgUrl}myImage/tongxing3.png)`}">
  140. <view class="t-name">
  141. <image :src="`${$imgUrl}myImage/cishu-icon.png`" class="tongxing-icon"></image>
  142. <text class="tit">通行次数</text>
  143. </view>
  144. <view class="b-info">
  145. <text class="val">{{state.monthFlowingVo.num}}</text>
  146. <text class="unit">次</text>
  147. </view>
  148. </view>
  149. </view>
  150. </view>
  151. </view>
  152. <view class="cars box">
  153. <view class="right-head">
  154. <view class="tit">我的车辆</view>
  155. <view class="more" @click="$util.navTo('/subpackage/personal-center/vehicle-information', true)">
  156. <text class="more-text">查看全部</text>
  157. <image :src="`${$imgUrl}myImage/wdexiayi.png`" class="arrow"></image>
  158. </view>
  159. </view>
  160. <view class="car-item" v-for="(item,index) in state.list">
  161. <image @click="carDetails(item)" :src="`${$imgUrl}myImage/car.png`" class="car-pic" mode="widthFix">
  162. </image>
  163. <view class="car-info" @click="carDetails(item)">
  164. <view class="car-no">
  165. <text class="no">{{item.vehiclePlate}}</text>
  166. <text class="color" :style="{ background: item.showColor}">{{item.color}}</text>
  167. </view>
  168. <view class="card-no">卡号:{{item.cardId}}</view>
  169. <view class="card-no">签号:{{item.obuId}}</view>
  170. </view>
  171. <view class="btn-unbind" @click="del(item.vehicleId)">解除绑定</view>
  172. </view>
  173. <view @click="$util.navTo('/subpackage/personal-center/setting/car-information/car-create', true)"
  174. class='add-related' :style="{'--bgimg':`url(${$imgUrl}myImage/guanlianbg.png)`}">
  175. <image :src="`${$imgUrl}myImage/guanlian.png`" class="add-img" mode="widthFix">
  176. </image>
  177. <text>增加未关联车辆</text>
  178. </view>
  179. </view>
  180. </view>
  181. </view>
  182. </view>
  183. </filter>
  184. </template>
  185. <script lang="ts" setup>
  186. import { reactive } from "vue";
  187. import { msg, navTo } from "@/utils/utils";
  188. import { onMounted, ref } from "vue";
  189. import { getItem, StorageKeys } from "@/utils/storage";
  190. import navBar from "../../components/nav-bar/nav-bar2.vue";
  191. import { onLoad, onShow, onPageScroll } from "@dcloudio/uni-app";
  192. import {
  193. userInfoIndex, vehicleInfoChangeEditablePage, delCarInfo, showEquityListApi
  194. } from "@/utils/network/api.js";
  195. import {
  196. request,requestNew
  197. } from "@/utils/network/request.js";
  198. import {
  199. stringToJson
  200. } from "@/utils/network/encryption.js";
  201. import filter from '@/components/filter/filter.vue';
  202. import { source } from "@/utils/network/difference";
  203. import { vehiclePlateColor, vehiclePlateColorPai, getVehiclePlateColorPaiShow } from "@/datas/vehiclePlateColor.js";
  204. const height = ref(null);
  205. const top = ref(null);
  206. const margin = ref(null);
  207. const mobile = ref(null);
  208. const scrollTop = ref(0);
  209. const isBack = ref(false);
  210. const state = reactive({
  211. data: {
  212. opId: "",
  213. },
  214. accountInfoVo: {
  215. nickName: '',
  216. mobile: '',
  217. userName:''
  218. },
  219. monthFlowingVo: {
  220. duration: 0,
  221. mileage: 0,
  222. flowingNum: 0,
  223. num: 0,
  224. parkingLotMoney: 0,
  225. parkingLotNum: 0,
  226. money: 0,
  227. },
  228. list: '', //车辆信息
  229. carNumber: '',//车辆数量
  230. userVehicleInfoSumQueryVo: {
  231. vehicleSum: 0,
  232. orderStatus0: 0
  233. },//车数量 ,代办数量
  234. isTrajectory: false, //是否有轨迹
  235. equityNumber: 0,
  236. orderInfoSumQueryVo: {
  237. orderStep8: "0",//待发货
  238. orderStep9: "0",//待收货
  239. orderStep10: "0",//待激活
  240. orderStep12: "0",//换货/退货
  241. }
  242. });
  243. onMounted(() => {
  244. const res = uni.getMenuButtonBoundingClientRect();
  245. height.value = res.height + "px";
  246. top.value = res.top + "px";
  247. margin.value = res.height + res.top;
  248. });
  249. onLoad((option : any) => {
  250. state.data.opId = getItem(StorageKeys.OpenId);
  251. console.log("state.data.opId",state.data.opId)
  252. mobile.value = getItem("mobile");
  253. });
  254. const carDetails = (item) => {
  255. const params = encodeURIComponent(JSON.stringify(item))
  256. uni.navigateTo({
  257. url: `/subpackage/personal-center/car-details?params=${params}`
  258. })
  259. }
  260. const goTrajectory = () => {
  261. if (state.isTrajectory) {
  262. uni.navigateTo({
  263. url: "/subpackage/personal-center/trajectory/trajectory"
  264. })
  265. } else {
  266. msg("暂无轨迹")
  267. }
  268. }
  269. //监听页面滚动
  270. onPageScroll((e) => {
  271. scrollTop.value = e.scrollTop;
  272. });
  273. onShow((option : any) => {
  274. state.data.opId = getItem(StorageKeys.OpenId);
  275. console.log("state.data.opId", state.data.opId)
  276. if (state.data.opId) {
  277. getUserInfo();
  278. // showEquityListRequest(); //权益请求
  279. } else {
  280. state.userVehicleInfoSumQueryVo = {
  281. vehicleSum: 0,
  282. orderStatus0: 0
  283. }
  284. state.monthFlowingVo = {
  285. duration: 0,
  286. mileage: 0,
  287. flowingNum: 0,
  288. num: 0,
  289. parkingLotMoney: 0,
  290. parkingLotNum: 0,
  291. money: 0,
  292. }
  293. state.orderInfoSumQueryVo = {
  294. orderStep8: "0",//待发货
  295. orderStep9: "0",//待收货
  296. orderStep10: "0",//待激活
  297. orderStep12: "0",//换货/退货
  298. }
  299. state.list = []
  300. state.carNumber = 0
  301. }
  302. });
  303. // 查询车辆信息
  304. const queryCarMsg = () => {
  305. const options = {
  306. type: 2,
  307. data: {
  308. "openId": getItem('openId')
  309. },
  310. method: "POST",
  311. showLoading: true,
  312. };
  313. //调用方式
  314. requestNew(vehicleInfoChangeEditablePage, options).then((res) => {
  315. const data = res.vehicleInfoList
  316. for (var i = 0; i < data.length; i++) {
  317. for (var j = 0; j < vehiclePlateColorPai.length; j++) {
  318. if (data[i].vehiclePlateColor == vehiclePlateColorPai[j]['id']) {
  319. data[i].color = vehiclePlateColorPai[j]['color']
  320. data[i].showColor = vehiclePlateColorPai[j]['showColor']
  321. }
  322. }
  323. }
  324. state.carNumber = data.length
  325. state.list = data.slice(0, 5);
  326. console.log("state.list", state.list)
  327. })
  328. .catch((err) => {
  329. console.log('输出内容', err)
  330. });
  331. }
  332. const getUserInfo = () => {
  333. const options = {
  334. type: 2,
  335. data: {
  336. openId: state.data.opId
  337. },
  338. method: "POST",
  339. showLoading: true,
  340. };
  341. //调用方式
  342. requestNew(userInfoIndex, options)
  343. .then((res) => {
  344. console.log('用户信息', res)
  345. let data =res
  346. state.accountInfoVo =data.accountInfoVo;
  347. console.log('用户信息1', state.accountInfoVo,state.accountInfoVo.mobile)
  348. if (data.monthFlowingVo && data.monthFlowingVo != "{}") {
  349. state.monthFlowingVo = data.monthFlowingVo;
  350. state.isTrajectory = true;
  351. }
  352. // state.orderInfoSumQueryVo = data.orderInfoSumQueryVo
  353. // state.userVehicleInfoSumQueryVo.vehicleSum = JSON.parse(JSON.stringify(data.userVehicleInfoSumQueryVo)).vehicleSum;
  354. // state.userVehicleInfoSumQueryVo.orderStatus0 = JSON.parse(JSON.stringify(data.userVehicleInfoSumQueryVo)).orderStatus0;
  355. console.log("获取用户信息", data);
  356. queryCarMsg();
  357. })
  358. .catch((err) => {
  359. console.log(err);
  360. });
  361. }
  362. const del = (id) => {
  363. uni.showModal({
  364. title: '提示',
  365. content: '是否删除该条车辆信息',
  366. success: function (res) {
  367. if (res.confirm) {
  368. console.log('用户点击确定');
  369. let data = {
  370. vehicleId: id,
  371. openId: getItem('openId')
  372. }
  373. const options = {
  374. type: 2,
  375. data: data,
  376. method: "POST",
  377. showLoading: true,
  378. };
  379. request(delCarInfo, options).then((res) => {
  380. const data = stringToJson(res.bizContent);
  381. console.log(data)
  382. state.list = data.vehicleManages
  383. if (data.info == '成功.') {
  384. uni.showToast({
  385. title: "删除成功",
  386. icon: "none"
  387. })
  388. queryCarMsg();
  389. }
  390. });
  391. } else if (res.cancel) {
  392. console.log('用户点击取消');
  393. }
  394. }
  395. });
  396. }
  397. const goOrder = (index) => {
  398. uni.navigateTo({
  399. url: `../order/order?index=${index}`
  400. })
  401. }
  402. const goLogin = () => {
  403. if (!getItem('openId')) {
  404. uni.navigateTo({
  405. url: "/login/login"
  406. })
  407. }
  408. }
  409. const showEquityListRequest = () => {
  410. const options = {
  411. type: 2,
  412. data: {
  413. "openId": getItem(StorageKeys.OpenId),
  414. "pageNo": 1,
  415. "pageSize": 100,
  416. },
  417. method: 'POST',
  418. showLoading: true,
  419. }
  420. request(showEquityListApi, options).then((res) => {
  421. const data = stringToJson(res.bizContent);
  422. console.log("购买2", data)
  423. state.equityNumber = data.data.length
  424. })
  425. }
  426. const goEquity = () => {
  427. navTo('/subpackage/service/equityList/equityList')
  428. }
  429. </script>
  430. <style>
  431. page {
  432. background: #eef7f7;
  433. }
  434. </style>
  435. <style scoped lang='scss'>
  436. .unlogin {
  437. filter: grayscale(100%);
  438. opacity: 0.7;
  439. }
  440. .bgVar {
  441. background-image: var(--bgimg);
  442. background-repeat: no-repeat;
  443. background-size: 100% 100%;
  444. }
  445. .wrapper {
  446. position: relative;
  447. background-color: #f6f9fc;
  448. }
  449. .bar {
  450. width: 100%;
  451. position: fixed;
  452. text-align: center;
  453. font-size: 32rpx;
  454. font-weight: bold;
  455. }
  456. .bg-head {
  457. width: 100%;
  458. position: absolute;
  459. z-index: 1;
  460. top: 0;
  461. left: 0;
  462. }
  463. .content {
  464. position: relative;
  465. display: flex;
  466. flex-direction: column;
  467. width: 100%;
  468. z-index: 2;
  469. }
  470. .head {
  471. display: flex;
  472. justify-content: space-between;
  473. align-items: center;
  474. width: 100%;
  475. box-sizing: border-box;
  476. padding: 40rpx 0 46rpx;
  477. }
  478. .head .avatar {
  479. display: flex;
  480. align-items: center;
  481. justify-content: space-between;
  482. }
  483. .head .avatar image {
  484. width: 141rpx;
  485. height: 141rpx;
  486. /* border-radius: 80rpx; */
  487. margin: 0 20rpx 0 30rpx;
  488. }
  489. .head .setting {
  490. display: flex;
  491. align-items: center;
  492. background: rgba(0, 179, 139, .1);
  493. border: 1px solid #fff;
  494. height: 60rpx;
  495. border-radius: 30rpx;
  496. padding: 0 34rpx;
  497. color: #fff;
  498. font-size: 28rpx;
  499. margin-right: 30rpx;
  500. }
  501. .head .setting image {
  502. width: 40rpx;
  503. height: 40rpx;
  504. margin-right: 6rpx;
  505. }
  506. .head .r-setting {
  507. width: 80rpx;
  508. height: 80rpx;
  509. background: #345061;
  510. display: flex;
  511. align-items: center;
  512. justify-content: center;
  513. border-radius: 50%;
  514. margin-right: 50rpx;
  515. .img {
  516. width: 40rpx;
  517. height: 39rpx;
  518. }
  519. }
  520. .head .nickname {
  521. font-size: 36rpx;
  522. color: #fff;
  523. }
  524. .head .user-id {
  525. font-size: 26rpx;
  526. color: #fff;
  527. padding-top: 20rpx;
  528. display: flex;
  529. align-items: center;
  530. }
  531. .head .btn-change {
  532. font-size: 22rpx;
  533. height: 40rpx;
  534. padding: 0 20rpx;
  535. border: 1px solid #fff;
  536. color: #fff;
  537. box-sizing: border-box;
  538. border-radius: 20rpx;
  539. margin-left: 16rpx;
  540. background: rgba(0, 179, 139, .1);
  541. }
  542. .my-equity {
  543. position: relative;
  544. z-index: 20;
  545. margin: 0 50rpx;
  546. background-image: var(--bgimg);
  547. background-repeat: no-repeat;
  548. background-size: 100% 100%;
  549. width: 650rpx;
  550. height: 94rpx;
  551. display: flex;
  552. align-items: center;
  553. justify-content: space-between;
  554. .l-con {
  555. margin-left: 30rpx;
  556. display: flex;
  557. align-items: center;
  558. .equity-icon {
  559. width: 54rpx;
  560. height: 54rpx;
  561. }
  562. .txt {
  563. font-family: NotoSansHans, NotoSansHans;
  564. font-size: 28rpx;
  565. color: #01253C;
  566. margin-left: 19rpx;
  567. }
  568. }
  569. .r-icon {
  570. margin-right: 30rpx;
  571. width: 32rpx;
  572. height: 32rpx;
  573. .r-img {
  574. width: 32rpx;
  575. height: 32rpx;
  576. }
  577. }
  578. }
  579. .info-content {
  580. transform: translateY(-10rpx);
  581. }
  582. .box .arrow {
  583. width: 10rpx;
  584. height: 18rpx;
  585. }
  586. .box {
  587. background: #ffffff;
  588. margin: 0 30rpx 30rpx;
  589. padding: 30rpx 20rpx;
  590. border-radius: 20rpx;
  591. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.9);
  592. }
  593. .box .more {
  594. display: flex;
  595. align-items: center;
  596. font-family: NotoSansHans, NotoSansHans;
  597. font-size: 24rpx;
  598. color: #004576;
  599. }
  600. .box .more .more-text {
  601. padding-right: 12rpx;
  602. }
  603. .box .right-head {
  604. display: flex;
  605. justify-content: space-between;
  606. }
  607. .box .right-head .tit {
  608. font-size: 32rpx;
  609. font-family: MicrosoftYaHei;
  610. }
  611. .rights .rights-items {
  612. display: flex;
  613. justify-content: space-evenly;
  614. padding: 30rpx 0;
  615. }
  616. .rights .item {
  617. display: flex;
  618. flex-direction: column;
  619. align-items: center;
  620. justify-content: center;
  621. }
  622. .rights .item .tit {
  623. font-size: 26rpx;
  624. color: #333;
  625. padding: 20rpx 0 10rpx 0;
  626. }
  627. .rights .item .sub-tit {
  628. font-size: 22rpx;
  629. color: #999;
  630. }
  631. .order .order-items {
  632. display: flex;
  633. justify-content: space-around;
  634. padding: 30rpx 0 10rpx;
  635. .rtop-badge {
  636. position: absolute;
  637. right: 0;
  638. width: 34rpx;
  639. height: 34rpx;
  640. top: 0;
  641. transform: translate(50%, -50%);
  642. line-height: 34rpx;
  643. text-align: center;
  644. font-family: SourceHanSansSC, SourceHanSansSC;
  645. font-weight: 400;
  646. font-size: 20rpx;
  647. color: #FFFFFF;
  648. }
  649. }
  650. .order .item {
  651. display: flex;
  652. flex-direction: column;
  653. align-items: center;
  654. justify-content: center;
  655. }
  656. .order .item .tit {
  657. font-size: 26rpx;
  658. color: #333;
  659. padding: 20rpx 0 10rpx 0;
  660. }
  661. .box .icon {
  662. width: 50rpx;
  663. height: 50rpx;
  664. }
  665. .go-through .pass {
  666. display: flex;
  667. flex-direction: column;
  668. }
  669. .go-through .total {
  670. display: flex;
  671. justify-content: space-between;
  672. font-size: 26rpx;
  673. color: #666;
  674. }
  675. .go-through .amount {
  676. display: flex;
  677. justify-content: space-between;
  678. align-items: center;
  679. font-family: NotoSansHans, NotoSansHans;
  680. font-size: 32rpx;
  681. color: #333333;
  682. font-weight: 400;
  683. }
  684. .go-through .line {
  685. display: flex;
  686. }
  687. .go-through .line1 {
  688. height: 14rpx;
  689. background: #005B9C;
  690. border-radius: 7rpx;
  691. }
  692. .go-through .line2 {
  693. height: 14rpx;
  694. background: #E5ECEF;
  695. border-radius: 7rpx;
  696. flex: 1;
  697. }
  698. .go-through .mileage {
  699. display: flex;
  700. justify-content: space-around;
  701. align-items: center;
  702. text-align: center;
  703. margin: 32rpx 0;
  704. .box-items {
  705. background-image: var(--bgimg);
  706. background-repeat: no-repeat;
  707. background-size: 100% 100%;
  708. padding: 20rpx 30rpx;
  709. .t-name {
  710. display: flex;
  711. .tongxing-icon {
  712. width: 29rpx;
  713. height: 29rpx;
  714. }
  715. .tit {
  716. font-size: 26rpx;
  717. color: #666666;
  718. line-height: 29rpx;
  719. margin-left: 5rpx;
  720. }
  721. }
  722. .b-info {
  723. padding-top: 20rpx;
  724. .val {
  725. font-size: 32rpx;
  726. color: #333333;
  727. }
  728. .unit {
  729. font-size: 24rpx;
  730. color: #666666;
  731. margin-left: 5rpx;
  732. }
  733. }
  734. }
  735. }
  736. .go-through .mileage .txt {
  737. display: flex;
  738. flex-direction: column;
  739. }
  740. .go-through .mileage .tit {
  741. font-size: 26rpx;
  742. color: #999;
  743. }
  744. .go-through .mileage .val {
  745. font-size: 28rpx;
  746. color: #333;
  747. margin-top: 16rpx;
  748. }
  749. .go-through .m-top {
  750. margin-top: 16rpx;
  751. }
  752. .go-through .detail {
  753. width: 100%;
  754. text-align: center;
  755. color: #00B38B;
  756. font-size: 24rpx;
  757. border-top: 1px solid #DCDCDC;
  758. padding-top: 24rpx;
  759. }
  760. .cars .car-item {
  761. display: flex;
  762. align-items: center;
  763. padding-top: 36rpx;
  764. }
  765. .cars .car-item .btn-unbind {
  766. font-weight: 400;
  767. border-radius: 30rpx;
  768. font-family: NotoSansHans, NotoSansHans;
  769. line-height: 30px;
  770. text-align: center;
  771. font-size: 24rpx;
  772. width: 130rpx;
  773. height: 60rpx;
  774. background: #004372;
  775. color: #fff;
  776. margin-bottom: 10rpx;
  777. }
  778. .cars .car-pic {
  779. width: 120rpx;
  780. height: 110rpx;
  781. margin-right: 20rpx;
  782. }
  783. .cars .car-info {
  784. display: flex;
  785. flex-direction: column;
  786. color: #999;
  787. font-size: 22rpx;
  788. width: 56%;
  789. }
  790. .cars .car-no {
  791. font-size: 30rpx;
  792. color: #333;
  793. }
  794. .cars .card-no {
  795. margin-top: 10rpx;
  796. font-size: 22rpx;
  797. color: #999999;
  798. }
  799. .cars .add-related {
  800. background-image: var(--bgimg);
  801. background-repeat: no-repeat;
  802. background-size: 100% 100%;
  803. height: 80rpx;
  804. display: flex;
  805. align-items: center;
  806. justify-content: center;
  807. font-family: NotoSansHans, NotoSansHans;
  808. font-weight: 400;
  809. font-size: 26rpx;
  810. color: #CCB375;
  811. margin-top: 30rpx;
  812. .add-img {
  813. margin-right: 10rpx;
  814. width: 36rpx;
  815. height: 36rpx;
  816. }
  817. }
  818. .color {
  819. padding: 4rpx 8rpx;
  820. border-radius: 10rpx;
  821. color: white;
  822. display: inline-block;
  823. margin-left: 20rpx;
  824. font-size: 24rpx;
  825. }
  826. .loading-more {
  827. text-align: center;
  828. font-size: 28rpx;
  829. margin-bottom: 20rpx;
  830. color: #999;
  831. }
  832. </style>
  833. <style>
  834. page {
  835. background-color: #f6f9fc;
  836. }
  837. </style>