2019-09-06 23:53:10 +08:00

33 lines
1.5 KiB
JavaScript
Executable File
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

mui.plusReady(function() {
// var token = localStorage.getItem('token');
// var self = plus.webview.currentWebview();
// var msgId = self.data_msgId;
// mui.ajax(hyhUrl('app/messages/getById'), { 
// headers: { 
// "HYH-Token": token
// },
// data: {
// msgId: msgId
// },
// dataType: 'json', //服务器返回json格式数据  
// type: 'post', //HTTP请求类型  
// timeout: 10000, //超时时间设置为10秒  
// success: function(data) {           //服务器返回响应,根据响应结果,分析是否登录成功;  
// var data = toJson(data);
//
// if(data.status == 1) {
// data = data.data;
// var html = '<div class="time">' + data.createTime + '</div><div class="con_">' + data.msgContent + '</div>';
// $('.con').html(html)
// } else {
// console.log(data.status)
// }
// },
// error: function(xhr, type, errorThrown) {           //异常处理;  
// // alert(type);      
// }  
// }); 
var html = '<div class="con_ shadown_wai">1、惠宝积分的获得:1合源惠线下联盟消费者去实体店消费根据消费金额可直接获得惠宝积分 2新手注册直接送388惠宝积分 3商城消费成功购物可获得实际消费金额20%的惠宝积分</div><div class="con_ shadown_wai">2、惠宝积分的使用惠宝积分用于商城购物在货款结算时勾选可直抵20%货款</div>';
$('.con').html(html);
$('.header_con .mui-action-back').css('display','none');
})