admin
2020-04-03 191948587c23948a5d3388c132f82e594ac12dfc
订单详情页修改
2个文件已修改
1 文件已重命名
56 ■■■■■ 已修改文件
AppInside/orderDetail/css/style.css 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
AppInside/orderDetail/img/array.png 补丁 | 查看 | 原始文档 | blame | 历史
AppInside/orderDetail/index.html 48 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
AppInside/orderDetail/css/style.css
@@ -41,7 +41,7 @@
}
.lsit img {
    width: auto;
    width: 1.8rem;
    height: 1.8rem;
}
@@ -51,6 +51,9 @@
.divTitle {
    width: 100%;
}
.divRight {
    width: 4.7rem;
}
.title {
@@ -155,6 +158,7 @@
.divTotalEstimatedMarginz {
    margin-top: 0.3rem;
    margin-bottom: 0.1rem;
    height: 0.28rem;
    display: flex;
    display: -webkit-flex;
@@ -177,12 +181,12 @@
#divUpgradeNow {
    width: 100%;
    background-color: #FFF5F9;
    margin-top: 0.3rem;
    height: 0.6rem;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    -webkit-tap-highlight-color: transparent;
    margin-top: 0.3rem;
}
.divGradeLeft {
AppInside/orderDetail/img/array.png

AppInside/orderDetail/index.html
@@ -8,7 +8,7 @@
        </script>
    </head>
    <body>
        <div class="container">
        <div class="container" style="display: none;">
            <tbody>
                <div class="divBody">
                    <div class="lsit">
@@ -51,7 +51,7 @@
                            <img id="imgVip" src="img/vip_normol.png">
                        </div>
                        <div class="divGradeRight">
                            <img src="img/箭头.png">
                            <img src="img/array.png">
                            <p id="pUpperFanLi">¥0.00</p>
                        </div>
                    </div>
@@ -83,7 +83,7 @@
        });
    </script>
    <script>
        var host = "http://api.flqapp.com";
        var host = "http://192.168.1.253:8080";
        $(function() {
            // 跳转链接
            var jumpLink = null;
@@ -114,7 +114,7 @@
            // 请求数据
            function fetchReBateInfo() {
                // yesApp.showLoading();
                var params = {s
                var params = {
                    uid: uid,
                    orderNo: orderNo,
                    sourceType: sourceType
@@ -127,9 +127,11 @@
                    data: JSON.parse(params),
                    url: host + "/fanli/api/v2/user/order/getReBateInfo",
                    dataType: "jsonp",
                    async: true,
                    async: false,
                    success: function(result) {
                        if (result.code == 0) {
                            $(".container").css("display", "block");
                            userLevel = result.data.result.userLevel;
                            jumpLink = result.data.result.jumpLink;
                            listGoods = result.data.result.listGoods;
@@ -154,7 +156,7 @@
                                latest.find(".title").text(listGood.title);
                                latest.find(".actual_payment").text(listGood.actualPay);
                                if (userLevel == 'daRen') {
                                if (userLevel == 'normalVIP') {
                                    latest.find(".rebate_ratio").text(listGood.fanliRate);
                                    latest.find(".estimated_rebate").text(listGood.fanliExpect);
                                    latest.find(".pSubsidy").css({
@@ -163,38 +165,20 @@
                                    latest.find(".estimated_rebate").css({
                                        "fontWeight": "bold"
                                    });
                                } else if (userLevel == 'normalVIP') {
                                } else {
                                    latest.find(".rebate_ratio_desc").text("佣金:");
                                    latest.find(".estimated_rebate_desc").text("平台补贴:");
                                    latest.find(".rebate_ratio").text(listGood.commision);
                                    latest.find(".estimated_rebate").text(listGood.subsidy);
                                    latest.find(".pSubsidy").text(listGood.actualPay);
                                    latest.find(".pSubsidy").text(listGood.originSubsidy);
                                    if (userLevel == 'highVIP') {
                                    imgVip.attr("src", "img/vip_senior.png");
                                } else if (userLevel == 'highVIP') {
                                    latest.find(".rebate_ratio_desc").text("佣金:");
                                    latest.find(".estimated_rebate_desc").text("平台补贴:");
                                    latest.find(".rebate_ratio").text(listGood.commision);
                                    latest.find(".estimated_rebate").text(listGood.subsidy);
                                    latest.find(".pSubsidy").text(listGood.actualPay);
                                    imgVip.attr("src", "img/vip_super");
                                } else if (userLevel == 'superVIP') {
                                    latest.find(".rebate_ratio_desc").text("佣金:");
                                    latest.find(".estimated_rebate_desc").text("平台补贴:");
                                    latest.find(".rebate_ratio").text(listGood.commision);
                                    latest.find(".estimated_rebate").text(listGood.subsidy);
                                    latest.find(".pSubsidy").text(listGood.actualPay);
                                    divUpgradeNow.css({
                                        "opacity": "0",
                                        "height": "0"
                                    });
                                    divPlaceholder.css("height", "0");
                                        imgVip.attr("src", "img/vip_super.png");
                                    }
                                    if (userLevel == null || userLevel == '') {
                                        $("#divUpgradeNow").css("display", "none");
                                    }
                                }
                            }
                            setResult(result.data.result.totalFanLi, result.data.result.upperFanLi);