12345678910111213141516171819202122232425 |
- (function () {
- var page = {
- isScroll: true,
- init: function ($page) {
- var userinfo = renlian.storage.get('userinfo');
- var postdata = {
- token: userinfo.baseinfo.token,
- loginMark: renlian.deviceId(),
- userid: userinfo.baseinfo.userId
- };
- renlian.http.post(config.webapi + "/?s=api/get_vehicle_ElectronicPlateUrl", postdata, function(res) {
- if (res.data.BackElectronicPlateUrl != '' && res.data.BackElectronicPlateUrl != null && res.data.FrontElectronicPlateUrl != '' && res.data.FrontElectronicPlateUrl != null) {
- $('.ElectronicPlate').css('display','block');
- $('#FrontElectronicPlateUrl').attr('src',res.data.FrontElectronicPlateUrl);
- $('#BackElectronicPlateUrl').attr('src',res.data.BackElectronicPlateUrl);
- }
- else{
- $('.isnull').css('display','block');
- $('.f-scroll').css('height','100%');
- }
- });
- }
- };
- return page;
- })();
|