|
@@ -2,23 +2,19 @@
|
|
|
var page = {
|
|
|
isScroll: false,
|
|
|
init: function ($page) {
|
|
|
- //var array = JSON.parse( $param );
|
|
|
var html = '';
|
|
|
- //userinfo = renlian.storage.get('userinfo');
|
|
|
renlian.httpget(config.webapi + "/?s=api/get_about_us", {}, function(res) {
|
|
|
//console.log(res);
|
|
|
if(res.success == true){
|
|
|
- html += '<div class="lr-list-item value"><span class="lr-article-title">'+res.data.Value+'</span></div>\
|
|
|
- <div class="lr-list-item"> '+res.data.Descripe+'</div>\
|
|
|
- </div>\
|
|
|
- ';
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- $page.find('.aboutrenlian').html(html);
|
|
|
+ html += '<div class="lr-list-item value"><span class="lr-article-title">'+res.data.Value+'</span></div>\
|
|
|
+ <div class="lr-list-item"> '+res.data.Descripe+'</div>\
|
|
|
+ </div>\
|
|
|
+ ';
|
|
|
+ $page.find('.aboutrenlian').html(html);
|
|
|
}else{
|
|
|
- renlian.layer.warning("关于我们信息出错", function () { }, '提示', '关闭');
|
|
|
+ //renlian.layer.warning("联系我们信息出错", function () { }, '提示', '关闭');
|
|
|
+ html = '您还没有配置关于我们';
|
|
|
+ $page.find('.aboutrenlian').html(html);
|
|
|
}
|
|
|
})
|
|
|
}
|