ticket.vue 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. <template>
  2. <view>
  3. <view class="headers"></view>
  4. <view class="wab">
  5. <view class="wab_query shu">
  6. <view class="heng">
  7. <view>处罚决定书编号<u-icon name="info-circle" @click="show=true" color="#2979ff" size="36"
  8. style="margin-left: 10rpx;cursor: pointer;">
  9. </u-icon>
  10. </view>
  11. <text style="color:#FE9A0E;font-size: 24rpx;">现在下单,四小时内办结</text>
  12. </view>
  13. <view class="heng" style="position: relative;">
  14. <u-input v-model="value" type="text" height="90" :border="border" placeholder="请输入15-16位处罚决定书编号"
  15. placeholder-style="font-weight:bold" style="2px solid #dcdfe6;"></u-input>
  16. <u-icon name="camera" color="#2979ff" size="50" class="icon_photo" @tap="chooseImage()">
  17. </u-icon>
  18. </view>
  19. <u-button type="primary" shape="square" style="border-radius: 50px;font-weight: bold;"
  20. @click="inquire()">立即查询</u-button>
  21. <view style="text-align: center;">
  22. <view>点击查询即同意 <text style="color:#2682E7">用户服务协议</text>及<text style="color: #2682E7">平台隐私政策</text>
  23. </view>
  24. </view>
  25. </view>
  26. <view class="shu web_tell">
  27. <view style="color:#5D5F6C;">告知单编号≠处罚决定书编号<u-icon name="info-circle" @click="show1=true" color="#2979ff"
  28. size="36" style="margin-left: 10rpx;cursor: pointer;">
  29. </u-icon>
  30. </view>
  31. <image src="../../static/ticket/shili1.png" mode=""
  32. style="width: 100%;height: 260rpx;margin: 40rpx 0;cursor: pointer;" @click="show1=true">
  33. </image>
  34. <text style="color:#ABAAAF;font-size: 24rpx;">以实际现场单或处罚决定书为准</text>
  35. </view>
  36. </view>
  37. <view class="shu flexd color">
  38. <view class="heng1 " style="margin: 30px 0;font-size: 16px;">
  39. <text @click="issue()" style="cursor: pointer;">常见问题</text>
  40. <view style="width: 2rpx;height: 40rpx;margin: 0 50rpx;background-color: #E9EAEE;"></view>
  41. <text @click="order()" style="cursor: pointer;">我的订单</text>
  42. </view>
  43. <view class="shu">
  44. <view class="heng1">
  45. <view class="logo"></view>
  46. <view>本服务由晋掌柜提供</view>
  47. </view>
  48. <text>客服电话:020-62936789</text>
  49. </view>
  50. </view>
  51. <!-- 弹出示例 -->
  52. <u-popup v-model="show" border-radius="14" mode="center">
  53. <view class="shu shili">
  54. <text>处罚决定书示例</text>
  55. <image src="../../static/ticket/shili4.png" mode="" style="width: 400rpx;"></image>
  56. </view>
  57. <view class="shili_btn" @click="show=false">
  58. <text>我知道了</text>
  59. </view>
  60. </u-popup>
  61. <u-popup v-model="show1" border-radius="14" mode="center" width="80%">
  62. <view class="shili">
  63. <image src="../../static/ticket/shili3.png" mode="" style="width:100%;height:550px;"></image>
  64. </view>
  65. </u-popup>
  66. <u-popup v-model="show2" border-radius="14" mode="bottom" height="auto">
  67. <view class="shu ping">
  68. <view class="shu">
  69. <text style="color: #5e5e5e;">处罚决定书编号</text>
  70. <text style="font-weight: 700;color: #000000;">1232323232333333</text>
  71. </view>
  72. <u-form :model="form" ref="uForm" label-width="230">
  73. <u-form-item label="车牌号码">
  74. <u-input placeholder="车牌号码" v-model="form.name" type="text"></u-input>
  75. </u-form-item>
  76. <u-form-item label="认罚日期">
  77. <u-input v-model="form.time" type="select" placeholder="罚单签字日期,不是违法日期" @click="showtime=true">
  78. </u-input>
  79. <u-picker v-model="showtime" mode="time" @confirm="confirm"></u-picker>
  80. </u-form-item>
  81. <u-form-item label="金额">
  82. <u-input placeholder="请如实填写罚金,填错将无法办理" v-model="form.name" type="text"></u-input>
  83. </u-form-item>
  84. <u-form-item label="手机号码">
  85. <u-input placeholder="手机号码" v-model="form.name" type="text"></u-input>
  86. </u-form-item>
  87. </u-form>
  88. <u-notice-bar :autoplay="autoplay" :playState="playState" :speed="speed" :mode="mode" :show="noticeshow"
  89. :type="type" :list="list" :moreIcon="moreIcon" :volumeIcon="volumeIcon" :duration="duration"
  90. bgColor="" padding="8rpx 24rpx" :isCircular="isCircular" style="margin: 60rpx 0;"></u-notice-bar>
  91. <u-button type="primary" shape="square" style="border-radius: 50px;font-weight: bold;"
  92. @click="banli()">立即办理</u-button>
  93. </view>
  94. </u-popup>
  95. </view>
  96. </template>
  97. <script>
  98. export default {
  99. data() {
  100. return {
  101. value: '',
  102. type: 'text',
  103. border: true,
  104. show: false,
  105. show1: false,
  106. show2: false,
  107. showtime: false,
  108. form: {
  109. name: '',
  110. intro: '',
  111. sex: '',
  112. goodsType: "",
  113. time: "",
  114. },
  115. noticeshow: true,
  116. autoplay: true,
  117. type: 'warning',
  118. list: ['交管局规定,如逾期滞纳金按每日3%累计,请尽快办理。'],
  119. mode: 'horizontal',
  120. playState: 'play',
  121. speed: 160,
  122. duration: 1000,
  123. moreIcon: true,
  124. volumeIcon: true,
  125. isCircular: true,
  126. }
  127. },
  128. onLoad() {
  129. },
  130. methods: {
  131. chooseImage() {
  132. uni.chooseImage({
  133. count: 1,
  134. sizeType: "compressed",
  135. success(res) {}
  136. });
  137. },
  138. //跳转优惠券
  139. issue() {
  140. uni.navigateTo({
  141. url: "/pages/ticket/issue"
  142. })
  143. },
  144. //跳转订单
  145. order() {
  146. uni.navigateTo({
  147. url: "/pages/ticket/order"
  148. })
  149. },
  150. //根据编号查询接口
  151. inquire() {
  152. this.show2 = true;
  153. },
  154. banli(){
  155. this.show2 = false;
  156. uni.navigateTo({
  157. url: "/pages/ticket/confirmorder"
  158. })
  159. },
  160. //认罚日期
  161. confirm(e) {
  162. console.log(e);
  163. this.form.time = e.year + "-" + e.month + "-" + e.day;
  164. },
  165. }
  166. }
  167. </script>
  168. <style>
  169. page {
  170. background-color: #F3F4F8;
  171. }
  172. .headers {
  173. width: 100%;
  174. height: 240rpx;
  175. background-image: url(../../static/image/claim/claimtop.png);
  176. background-size: 100% 100%;
  177. }
  178. .wab {
  179. width: 100%;
  180. height: auto;
  181. padding: 0 36rpx;
  182. box-sizing: border-box;
  183. }
  184. .wab_query {
  185. width: 100%;
  186. height: 400rpx;
  187. border-radius: 15rpx;
  188. background-color: #FFFFFF;
  189. box-shadow: 0 0 10px 0 #a8bbca;
  190. margin-top: -40px;
  191. padding: 20rpx 20rpx;
  192. }
  193. .heng {
  194. display: flex;
  195. justify-content: space-between;
  196. align-items: center;
  197. }
  198. .heng1 {
  199. display: flex;
  200. align-items: center;
  201. justify-content: center;
  202. }
  203. .shu {
  204. display: flex;
  205. flex-direction: column;
  206. justify-content: space-between;
  207. text-align: center;
  208. }
  209. .icon_photo {
  210. position: absolute;
  211. right: 20rpx;
  212. top: 0;
  213. bottom: 0;
  214. margin: auto;
  215. }
  216. .web_tell {
  217. padding: 36rpx;
  218. box-sizing: border-box;
  219. margin-top: 10px;
  220. }
  221. .flexd {
  222. margin: 60rpx 0;
  223. }
  224. .color {
  225. color: #696A6E;
  226. }
  227. .logo {
  228. width: 40rpx;
  229. height: 40rpx;
  230. border-radius: 50%;
  231. background-image: url(../../static/bigLogo.png);
  232. background-size: 100% 100%;
  233. }
  234. .shili {
  235. padding: 30rpx;
  236. box-sizing: border-box;
  237. }
  238. .shili>text {
  239. font-weight: bold;
  240. margin-bottom: 10rpx;
  241. }
  242. .shili_btn {
  243. height: 52px;
  244. border-top: 1px solid #F2F2F2;
  245. text-align: center;
  246. cursor: pointer;
  247. }
  248. .shili_btn>text {
  249. line-height: 50px;
  250. color: #007BFF;
  251. }
  252. .ping {
  253. padding: 60rpx 40rpx;
  254. box-sizing: border-box;
  255. }
  256. </style>