解决方案 »

  1.   

    要控制的控件如下:<span class="order-status" 
    <c:if test="${order.orderState ne 0 }">
    style="display: none;"
    </c:if>
    >已取消
    </span>
                        <span class="receive-status"
    <c:if test="${order.receiveState ne 0 }">
                         style="display: none;"
    </c:if>
                        >未支付</span>
    还有<button class="btn01"
    <c:if test="${order.receiveState ne 0 || order.orderState ne 1 }">
    style="display: none;"
    </c:if>
    >
    支付
    </button>
    <button class="btn02"
    <c:if test="${order.receiveState ne 0 || order.orderState ne 1 }">
    style="display: none;"
    </c:if>
    >
    取消
    </button>
      

  2.   

    进hideBtn(index) 这个函数了么?
      

  3.   

    同学,hideBtn(indx);indexindx是这个问题吗?