hlzyWeb/obj/Debug/Package/PackageTmp/Templates/common/skin-vshoppingcart.html

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<hi:common_header runat="server" />
<p class="text-center list-empty hide" id="empty">
    <span class="glyphicon glyphicon-shopping-cart"></span>
    <em>购物车为空</em>
</p>
<div id="cart" style="  padding-bottom: 50px;"  >
    <div class="shoppingStepBar clearfix">
        <div class="step active text-left"><em style="margin-left: -8px;">购物车</em><div class="glyphicon glyphicon-ok"></div><i></i></div>
        <div class="step text-center"><em>确认订单</em><div class="glyphicon glyphicon-ok"></div></div>
        <div class="step text-right"><em style="margin-right: -14px;">下单成功</em><div class="glyphicon glyphicon-ok"></div><i></i></div>
    </div>
    <hr />

    
    <div class="" id="products" style="display: inline-block; width: 100%;margin-bottom:10px;">
        <hi:vshoptemplatedrepeater id="rptCartProducts" templatefile="/Tags/skin-Common_CartProducts.ascx" runat="server" />
    </div>
    <h3>积分兑换商品</h3>
    <hr />
    <div class="" id="pointproducts" style="display: inline-block; width: 100%;">
        <hi:vshoptemplatedrepeater id="rptCartPointProducts" templatefile="/Tags/skin-Common_CartPointProducts.ascx" runat="server" />
    </div>
    <div class="pbox" style="display: inline-block;">
        <ul class="pbox-bottom-left">
         
            <!--<li>总计 <span><asp:literal runat="server" id="litStoreMoney" /></span></li>-->
            <!--<li>(共<asp:literal runat="server" id="litcount" />件,不含运费)优惠:<span id="Exemption" style="font-size: 14px;"><asp:literal runat="server" id="litExemption" /></span>(含减免,现金券)</li>-->
            <li>购物车合计(不含运费):<span id="totalPrice"><asp:literal runat="server" id="litTotal" />+<asp:literal runat="server" id="litTotalPoint" />积分</span></li>
        </ul>
         
    </div>
    <div class="pbox">
        <a runat="server" id="aLink" style="color: #fff; margin-top: 5px; float: left;" class="btn btn-danger btn-block">
            去结算
        </a>
    </div>
</div>

<script type="text/javascript">
    $(function () {      
        if ($.trim($('#totalPrice').text()) == "¥0.00") {

            $('#cart').addClass('hide');
            $('#empty').removeClass('hide');
        }

        $('div[name="spAdd"]').bind("click", function () {
            var number = $(this).parent().find('[name="buyNum"]');
            number.val(parseInt(number.val()) + 1);
            chageCartProductQuantity(number);
        });
        $('div[name="spSub"]').bind("click", function () {
            var number = $(this).parent().find('[name="buyNum"]');

            var num = parseInt(number.val()) - 1;
            if (num > 0) number.val(parseInt(number.val()) - 1);
            chageCartProductQuantity(number);

        });
        $('[name="buyNum"]').unbind('blur').blur(function () {
后面还有 54 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。