@@ -12,6 +12,7 @@ $(function(){
// 登录状态判断
if (!globalUserData || !GLOBAL_USER_ID){
CAIMEI.Alert("登录已失效,请重新登录", '确定', true, function(){
+ setBeforeUrl();
window.location.href = "/login.html";
});
}
@@ -45,6 +45,7 @@ var Http = {
if(res.code== -99){
CAIMEI.Alert('登录已失效,请重新登录','去登录',true,function () {
CAIMEI.Storage.clear();
location.href = "/login.html";
}else{
@@ -140,7 +140,7 @@ var shoppingConfirm = new Vue({
_self.payInfo.orderShouldPayFee = _self.totalPrice + _self.payInfo.freight;
switch (_self.payInfo.freePostFlag) {
case 1:
- if( _self.userBeans >= _self.freightMoney*100 ){
+ if( _self.userBeans >= r.data.freight*100 ){
_self.freightBeansMoney = r.data.freight;
_self.freightMoney = r.data.freight;
_self.isBeansShow = true;
@@ -14,7 +14,7 @@ var orderPage = new Vue({
orderIdentificationId:'',//订单标识
modelType:0,
isFiexd:true,
- isShowBeansAlet:true,
+ isShowBeansAlet:false,
bgImagePath:'',//根据类型显示图片标记
beanNumber:100,
beansType:7