def comment_action(driver):
    """
    查看订单状态
    :param driver:
    :return: 0 未点评
             1 已点评
             2 已过期
    """
    text = driver.get_text(driver.ele.FKDP_tv_fkCommentList_item_orderState)
    if text == '待点评':
        return 0
    elif text == '已点评':
        return 1
    elif text == '已过期':
        return 2
    else:
        return