Authored by mali

Merge branch 'master' into test6.9.7

@@ -5,13 +5,14 @@ package com.yoho.ufo.order.constant; @@ -5,13 +5,14 @@ package com.yoho.ufo.order.constant;
5 * 100:成功;200:失败,201:没有支付宝账号;202:金额不合法;299:转账失败 5 * 100:成功;200:失败,201:没有支付宝账号;202:金额不合法;299:转账失败
6 */ 6 */
7 public enum TradeStatusEnum { 7 public enum TradeStatusEnum {
8 - transfering(90,"转账中"),  
9 - success(100,"成功"),  
10 - fail_200_fail(200,"打款失败"),  
11 - fail_201_no_alipayAccount(201,"没有支付宝账号"),  
12 - fail_202_invalid_money(202,"金额不合法"),  
13 - fail_203_wait_payment(203,"海外卖家待付款"),  
14 - fail_299_transfer_failure(299,"转账失败"); 8 + TRANSFERING(90,"转账中"),
  9 + SUCCESS(100,"成功"),
  10 + FAIL_200_FAIL(200,"打款失败"),
  11 + FAIL_201_NO_ALIPAY_ACCOUNT(201,"没有支付宝账号"),
  12 + FAIL_202_INVALID_MONEY(202,"金额不合法"),
  13 + HK_AMOUNT_WAIT_PAYMENT(203,"海外卖家待付款"),
  14 + YOHO_STORE_AMOUNT_WAIT_PAYMENT(204,"YOHO!STORE卖家待付款"),
  15 + FAIL_299_TRANSFER_FAILURE(299,"转账失败");
15 private Integer code; 16 private Integer code;
16 private String desc; 17 private String desc;
17 18
@@ -505,6 +505,17 @@ function lastImg(){ @@ -505,6 +505,17 @@ function lastImg(){
505 } 505 }
506 } 506 }
507 507
  508 +function jumpPage() {
  509 + if (event.keyCode==37)//左
  510 + lastImg();
  511 +
  512 + if (event.keyCode==39)//右
  513 + nextImg();
  514 +
  515 +}
  516 +
  517 +document.onkeydown=jumpPage;
  518 +
508 //建立 下一张 函数 519 //建立 下一张 函数
509 function nextImg(){ 520 function nextImg(){
510 index++; 521 index++;