Commit 8ad1b340 by sunchao

图片从后台获取

parent 5f65fd5b
......@@ -32,7 +32,7 @@ $(function () {
},
success: function (res) {
if (res['success']) {
// $('.relativeContent').css({'background':'url(' + res['data']['xbUrl'] + ') no-repeat center center','background-size':'cover'});
$('.relativeContent').css({'background':'url(' + res['data']['xbUrl'] + ') no-repeat center center','background-size':'cover'});
$('.content #productName').html(res['data']['orderInfo']['productName']);
$('.content #insurerName').html(res['data']['orderInfo']['insurerName']);
if (res['data']['orderInfo']['paymentPeriod'] && parseInt(res['data']['orderInfo']['paymentPeriod'], 0) > 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment