更换版本
This commit is contained in:
29
pages/weizhang/selectcar/index.js
Normal file
29
pages/weizhang/selectcar/index.js
Normal file
@@ -0,0 +1,29 @@
|
||||
var a;
|
||||
(a = getApp()),
|
||||
Page({
|
||||
data: { carid: 0, info: [], weizhang: [] },
|
||||
onLoad: function (t) {
|
||||
var e = this;
|
||||
e.setData({ carid: t.id }),
|
||||
a.util.request({
|
||||
url: "entry/wxapp/Api",
|
||||
data: {
|
||||
m: "monai_market",
|
||||
carid: e.data.carid,
|
||||
r: "home.weizhang.select_car",
|
||||
uid: wx.getStorageSync("uid"),
|
||||
},
|
||||
success: function (t) {
|
||||
e.setData({ info: t.data.data.car }),
|
||||
200 != t.data.data.weizhang.resultcode
|
||||
? a.util.message({
|
||||
title: t.data.data.weizhang.reason,
|
||||
type: "error",
|
||||
})
|
||||
: e.setData({ weizhang: t.data.data.weizhang.result.lists }),
|
||||
console.log(e.data.weizhang);
|
||||
},
|
||||
});
|
||||
},
|
||||
onReachBottom: function () {},
|
||||
});
|
1
pages/weizhang/selectcar/index.json
Normal file
1
pages/weizhang/selectcar/index.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "navigationBarTitleText": "违章查询", "usingComponents": {} }
|
0
pages/weizhang/selectcar/index.wxml
Normal file
0
pages/weizhang/selectcar/index.wxml
Normal file
30
pages/weizhang/selectcar/index.wxss
Normal file
30
pages/weizhang/selectcar/index.wxss
Normal file
@@ -0,0 +1,30 @@
|
||||
.nav_border {
|
||||
background: #fff;
|
||||
}
|
||||
.nav {
|
||||
color: #333;
|
||||
font-size: 34rpx;
|
||||
font-weight: 700;
|
||||
height: 72rpx;
|
||||
line-height: 72rpx;
|
||||
margin: 0 auto;
|
||||
padding: 30rpx 0;
|
||||
width: 690rpx;
|
||||
}
|
||||
.nav_img {
|
||||
border-radius: 100%;
|
||||
float: right;
|
||||
height: 72rpx;
|
||||
width: 72rpx;
|
||||
}
|
||||
.text_border {
|
||||
border-top: 1rpx solid rgba(0, 0, 0, 0.1);
|
||||
margin: 0 auto;
|
||||
padding: 15rpx 0 30rpx;
|
||||
width: 690rpx;
|
||||
}
|
||||
.text_border_modle {
|
||||
color: #333;
|
||||
font-size: 28rpx;
|
||||
margin-top: 15rpx;
|
||||
}
|
Reference in New Issue
Block a user