Commit 8cf72ddf by sunchao

样式调整

parent 53d0e00d
......@@ -48,29 +48,30 @@ html, body {
#name {
font-size: 22px;
}
@media (min-width: 375px) {
@media (max-width: 320px) {
.content {
font-size: 28px;
top: 52%;
font-size: 16px;
top: 48%;
}
#fyp ,#name{
font-size: 40px;
#fyp {
font-size: 36px;
}
}
@media (max-width: 375px) {
@media (min-width: 375px) {
.content {
font-size: 19px;
top: 50%;
}
#fyp ,#name{
font-size: 40px;
}
}
@media (max-width: 320px) {
@media (min-width: 414px){
.content {
font-size: 16px;
top: 48%;
}
#fyp {
font-size: 36px;
font-size: 19px;
top: 47%;
}
}
\ No newline at end of file
......@@ -28,10 +28,10 @@
<!--id="goodNewsImg" class="img-responsive">-->
<div class="content">
<div id="insurerName"></div>
<div id="productName" style="margin: 3% 0;text-align: center"></div>
<div id="productName" style="margin: 1.5% 0;text-align: center"></div>
<div id="paymentPeriod"></div>
<div id="fyp" style="position: relative;color:#edff00;font-weight: bold;border-radius: 30px"></div>
<div id="belongToCompany" style="margin: 3% 0;"></div>
<div id="fyp" style="position: relative;color:#edff00;font-weight: bold;height: 45px;line-height: 45px;"></div>
<div id="belongToCompany" style="margin: 1.5% 0;"></div>
<div>
<span id="subordinateName"></span>
</div>
......
$(function () {
//var api = 'https://mdev.zuihuibi.cn';
var api = window.location.origin;
var api = 'https://mdev.zuihuibi.cn';
// var api = window.location.origin;
function getToken() {
$.ajax({
type: "POST",
......@@ -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