index.vue 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397
  1. <template>
  2. <view class="">
  3. <view class="headers"></view>
  4. <view class="wab">
  5. <!-- <view class="wab_query heng1" @click="addcar()">
  6. <view class="shu">
  7. <u-icon name="plus-circle" color="#2979ff" size="100">
  8. </u-icon>
  9. <text>添加我的爱车</text>
  10. </view>
  11. </view> -->
  12. <view class="wab_query shu">
  13. <view class=" car">
  14. <view>晋TF6F14
  15. <u-icon name="arrow-down" size="20" style="margin-left: 20rpx;">
  16. </u-icon>
  17. </view>
  18. <u-icon name="edit-pen" color="#8c9093" size="40" @click="edit()">
  19. </u-icon>
  20. </view>
  21. <view class="nianjian">
  22. <view class="shu1">
  23. <u-tag text="六年免检" style="width: 140rpx;" mode="dark" bg-color="#000" shape="circleRight" />
  24. <view class="ts">距年检到期还有 <text>1</text> 天</view>
  25. </view>
  26. <u-tag text="可办理" />
  27. </view>
  28. </view>
  29. <view class="wab_data ">
  30. <view class="data_top">
  31. <view>
  32. <u-icon name="bookmark-fill" color="#E2E2E4" size="30" class="icon_photo">
  33. </u-icon>
  34. <text>支持办理</text>
  35. </view>
  36. <view style="padding: 30rpx;">
  37. <u-subsection :list="list" :current="current" height="60" :active-color="activeColor"
  38. @change="sectionChange"></u-subsection>
  39. </view>
  40. </view>
  41. </view>
  42. <view class="data_btn heng" :style="transform">
  43. <view class="data_flow">
  44. <view class="heng" style="padding: 0 40rpx;box-sizing: border-box;">
  45. <view class="shu">
  46. <view class="yuan heng1">
  47. <u-icon name="file-text-fill" color="#fff" size="40">
  48. </u-icon>
  49. </view>
  50. <text style="font-size: 12px;">下单付款</text>
  51. </view>
  52. <u-icon name="arrow-right" color="#69b3f0" size="20" style="margin-top: 30rpx;">
  53. </u-icon>
  54. <view class="shu">
  55. <view class="yuan heng1">
  56. <u-icon name="camera-fill" color="#fff" size="40">
  57. </u-icon>
  58. </view>
  59. <text style="font-size: 12px;">上传资料</text>
  60. </view>
  61. <u-icon name="arrow-right" color="#69b3f0" size="20" style="margin-top: 30rpx;">
  62. </u-icon>
  63. <view class="shu">
  64. <view class="yuan heng1">
  65. <u-icon name="rewind-right-fill" color="#fff" size="40">
  66. </u-icon>
  67. </view>
  68. <text style="font-size: 12px;">等待代办完成</text>
  69. </view>
  70. <u-icon name="arrow-right" color="#69b3f0" size="20" style="margin-top: 30rpx;">
  71. </u-icon>
  72. <view class="shu">
  73. <view class="yuan heng1">
  74. <u-icon name="email-fill" color="#fff" size="40">
  75. </u-icon>
  76. </view>
  77. <text style="font-size: 12px;">接收标志</text>
  78. </view>
  79. </view>
  80. <view class="data_condition shu1" style="height: 230px;">
  81. <view>
  82. <u-icon name="bookmark-fill" color="#E2E2E4" size="35" class="icon_photo">
  83. </u-icon>
  84. <text style="color: #3F4D5A;">六年免检办理条件</text>
  85. </view>
  86. <text>1. 使用性质:非营运</text>
  87. <text>2. 核定载人数:九人及以下</text>
  88. <text>3. 注册登记日期在2017年9月1日(含)之后</text>
  89. <text>4. 免检期间未发生过致人伤亡事故的车辆</text>
  90. <text>5. 已处理完车辆的所有违章</text>
  91. </view>
  92. </view>
  93. <view class="data_flow">
  94. <view class="heng" style="padding: 0 40rpx;box-sizing: border-box;">
  95. <view class="shu">
  96. <view class="yuan heng1">
  97. <u-icon name="file-text-fill" color="#fff" size="40">
  98. </u-icon>
  99. </view>
  100. <text style="font-size: 12px;">下单付款</text>
  101. </view>
  102. <u-icon name="arrow-right" color="#69b3f0" size="20" style="margin-top: 30rpx;">
  103. </u-icon>
  104. <view class="shu">
  105. <view class="yuan heng1">
  106. <u-icon name="camera-fill" color="#fff" size="40">
  107. </u-icon>
  108. </view>
  109. <text style="font-size: 12px;">准备资料</text>
  110. </view>
  111. <u-icon name="arrow-right" color="#69b3f0" size="20" style="margin-top: 30rpx;">
  112. </u-icon>
  113. <view class="shu">
  114. <view class="yuan heng1">
  115. <u-icon name="rewind-right-fill" color="#fff" size="40">
  116. </u-icon>
  117. </view>
  118. <text style="font-size: 12px;">代驾或自驾检测</text>
  119. </view>
  120. <u-icon name="arrow-right" color="#69b3f0" size="20" style="margin-top: 30rpx;">
  121. </u-icon>
  122. <view class="shu">
  123. <view class="yuan heng1">
  124. <u-icon name="email-fill" color="#fff" size="40">
  125. </u-icon>
  126. </view>
  127. <text style="font-size: 12px;">检测完成</text>
  128. </view>
  129. </view>
  130. <view class="data_condition shu1">
  131. <view>
  132. <u-icon name="bookmark-fill" color="#E2E2E4" size="35" class="icon_photo">
  133. </u-icon>
  134. <text style="color: #3F4D5A;">上线检测办理条件</text>
  135. </view>
  136. <text>1. 外观与行驶证照片中车辆保持一致,保持车身整洁、漆面完整</text>
  137. <text>2. 不可以私自改装灯光系统,保证各灯光正常工作</text>
  138. <text>3. 前排侧窗后视镜位置的三角区域不允许贴膜</text>
  139. <text>4. 同轴轮胎花纹应一致,胎面磨损不严重,尺寸与原车一致</text>
  140. <text>5. 灭火器和三角警告牌是必备物品</text>
  141. <text>5. 已处理完车辆的所有违章</text>
  142. </view>
  143. </view>
  144. </view>
  145. </view>
  146. <view class="shu color">
  147. <view class="heng1 " style="margin: 30px 0;font-size: 16px;">
  148. <text @click="issue()" style="cursor: pointer;">优惠券</text>
  149. <view style="width: 2rpx;height: 40rpx;margin: 0 50rpx;background-color: #E9EAEE;"></view>
  150. <text @click="order()" style="cursor: pointer;">我的订单</text>
  151. </view>
  152. <view class="shu">
  153. <view class="heng1">
  154. <view class="logo"></view>
  155. <view>本服务由晋掌柜提供</view>
  156. </view>
  157. <text>客服电话:020-62936789</text>
  158. </view>
  159. </view>
  160. <view class="flexd heng1">
  161. <view style="display: flex;flex-direction: column;align-items: center;justify-content: center;">
  162. <u-icon name="checkmark-circle" color="#6b6d6a" size="30">
  163. </u-icon>
  164. <text style="color: #6b6d6a">我已办理</text>
  165. </view>
  166. <view class="heng1" @click="banli()">
  167. <text style="font-weight: bold;font-size: 36rpx;color: #fff;">立即办理</text>
  168. </view>
  169. </view>
  170. </view>
  171. </template>
  172. <script>
  173. export default {
  174. data() {
  175. return {
  176. list: [{
  177. name: '六年免检'
  178. },
  179. {
  180. name: '上线检测'
  181. },
  182. ],
  183. current: 0,
  184. activeColor: this.$u.color['primary'],
  185. transform: "transform:translateX(0)",
  186. }
  187. },
  188. onLoad() {
  189. },
  190. methods: {
  191. sectionChange(index) {
  192. this.current = index;
  193. if (index == 1) {
  194. this.transform = "transform:translateX(-55%)";
  195. } else if (index == 0) {
  196. this.transform = "transform:translateX(0)";
  197. }
  198. },
  199. addcar() {
  200. uni.navigateTo({
  201. url: "/pages/caragent/addcar"
  202. })
  203. },
  204. issue() {
  205. uni.navigateTo({
  206. url: "/pages/ticket/issue"
  207. })
  208. },
  209. order() {
  210. uni.navigateTo({
  211. url: "/pages/ticket/order"
  212. })
  213. },
  214. banli() {
  215. uni.navigateTo({
  216. url: "/pages/caragent/confirmorder"
  217. })
  218. },
  219. edit(){
  220. uni.navigateTo({
  221. url: "/pages/caragent/editcar"
  222. })
  223. }
  224. }
  225. }
  226. </script>
  227. <style>
  228. .ts {
  229. font-size: 40rpx;
  230. font-weight: bold;
  231. }
  232. .ts>text {
  233. color: #fc8908;
  234. margin: 0 10rpx;
  235. }
  236. .car {
  237. width: 100%;
  238. font-size: 40rpx;
  239. font-weight: bold;
  240. display: flex;
  241. justify-content: space-between;
  242. align-items: center;
  243. }
  244. .nianjian {
  245. width: 100%;
  246. display: flex;
  247. justify-content: space-between;
  248. align-items: center;
  249. }
  250. .nianjian>text {
  251. border: 2rpx solid #17A2B8;
  252. font-size: 20rpx;
  253. color: #007AFF;
  254. padding: 2rpx;
  255. box-sizing: border-box;
  256. }
  257. .flexd {
  258. height: 100rpx;
  259. position: fixed;
  260. left: 36rpx;
  261. right: 36rpx;
  262. bottom: 20rpx;
  263. border-radius: 60rpx;
  264. box-shadow: 0 0px 3px 0px #7d7d7d;
  265. }
  266. .flexd>view:nth-child(1) {
  267. width: 30%;
  268. height: 100%;
  269. background-color: #fff;
  270. border-top-left-radius: 60rpx;
  271. border-bottom-left-radius: 60rpx;
  272. }
  273. .flexd>view:nth-child(2) {
  274. width: 70%;
  275. height: 100%;
  276. background-color: #007BFF;
  277. border-top-right-radius: 60rpx;
  278. border-bottom-right-radius: 60rpx;
  279. }
  280. .color {
  281. margin-bottom: 150rpx;
  282. color: #696A6E;
  283. }
  284. .logo {
  285. width: 40rpx;
  286. height: 40rpx;
  287. border-radius: 50%;
  288. background-image: url(../../static/bigLogo.png);
  289. background-size: 100% 100%;
  290. }
  291. .data_condition {
  292. width: 100%;
  293. height: 320px;
  294. background: #F5F9FC;
  295. margin-top: 40px;
  296. padding: 20rpx;
  297. box-sizing: border-box;
  298. }
  299. .data_condition>text {
  300. margin-left: 40rpx;
  301. color: #686C6F;
  302. }
  303. .yuan {
  304. width: 70rpx;
  305. height: 70rpx;
  306. border-radius: 50%;
  307. background-image: linear-gradient(#aad9f5, #69b3f0);
  308. }
  309. .headers {
  310. width: 100%;
  311. height: 240rpx;
  312. background-image: url(../../static/image/claim/claimtop.png);
  313. background-size: 100% 100%;
  314. }
  315. .wab {
  316. width: 100%;
  317. height: auto;
  318. padding: 0 36rpx 30rpx 36rpx;
  319. box-sizing: border-box;
  320. }
  321. .wab_query {
  322. width: 100%;
  323. height: 250rpx;
  324. border-radius: 15rpx;
  325. background-color: #FFFFFF;
  326. box-shadow: 0 0 10px 0 #a8bbca;
  327. margin-top: -40px;
  328. padding: 20rpx 40rpx;
  329. }
  330. .heng {
  331. display: flex;
  332. justify-content: space-between;
  333. align-items: flex-start;
  334. }
  335. .heng1 {
  336. display: flex;
  337. align-items: center;
  338. justify-content: center;
  339. }
  340. .shu {
  341. display: flex;
  342. flex-direction: column;
  343. justify-content: space-between;
  344. align-items: center;
  345. }
  346. .shu1 {
  347. display: flex;
  348. flex-direction: column;
  349. justify-content: space-between;
  350. }
  351. .wab_data {
  352. width: 100%;
  353. height: auto;
  354. padding: 60rpx 40rpx;
  355. box-sizing: border-box;
  356. }
  357. .data_top {
  358. font-size: 32rpx;
  359. color: #3F4D5A;
  360. }
  361. .data_btn {
  362. width: 220%;
  363. height: auto;
  364. transition: all 0.5s ease;
  365. }
  366. .data_flow {
  367. width: 45%;
  368. height: auto;
  369. }
  370. </style>