Commit 76fae8fa by 张立顺

Merge branch 'SAAS+V4.43.1-0819' of http://192.168.3.233:8090/saas_plus/dj-car-b…

…outique-work-wechat into SAAS+V4.43.1-0819
2 parents df5fec87 61e43c5f
...@@ -122,7 +122,7 @@ App({ ...@@ -122,7 +122,7 @@ App({
res && this.login(true, res); res && this.login(true, res);
} }
}, },
login(relogin, context) { login(relogin, context, RequestMethods) {
let that = this; let that = this;
// 清空多账号信息 // 清空多账号信息
if (relogin) { if (relogin) {
...@@ -153,6 +153,9 @@ App({ ...@@ -153,6 +153,9 @@ App({
// }) // })
// }, 500, true) // }, 500, true)
} else { } else {
let thisPage = wx.$router.getPageInstance()
// 启动页loading中的埋点接口 在触发登录超时后 ios端wx.showModal会被页面跳转截断,导致无弹窗,将loading页面这个埋点接口的登录超时不做弹窗处理
if (thisPage.route == 'pages/loading/loading' && RequestMethods.includes('dj.api.smartcarlife.staff.login.record.save')) return
// 标志位 解决安卓查复弹框问题 // 标志位 解决安卓查复弹框问题
if (wx.__HAS_NOTLOGIN_MODAL) return false; if (wx.__HAS_NOTLOGIN_MODAL) return false;
wx.__HAS_NOTLOGIN_MODAL = true; wx.__HAS_NOTLOGIN_MODAL = true;
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</block> </block>
</view> </view>
<!-- <checkbox value="{{item.packageCode}}" active="{{item.active}}" /> --> <!-- <checkbox value="{{item.packageCode}}" active="{{item.active}}" /> -->
<view class="packageName">{{item.packageName}}</view> <view class="packageName" catchtap="choose" data-index="{{ index }}">{{item.packageName}}</view>
<block wx:if="{{ !item.active }}"> <block wx:if="{{ !item.active }}">
<view class="total-price">¥{{item.upgradePrice}}</view> <view class="total-price">¥{{item.upgradePrice}}</view>
</block> </block>
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<view class="add" catchtap="addCount" data-count="{{ 1 }}" data-index="{{ index }}" data-item="{{ item }}">+</view> <view class="add" catchtap="addCount" data-count="{{ 1 }}" data-index="{{ index }}" data-item="{{ item }}">+</view>
</view> </view>
</view> </view>
<view class="item-bd"> <view class="item-bd" catchtap="choose" data-index="{{ index }}">
<view class="upgrade-item" wx:for="{{ item.goodsList }}" wx:for-item="i" wx:for-index="ind"> <view class="upgrade-item" wx:for="{{ item.goodsList }}" wx:for-item="i" wx:for-index="ind">
<view class="dot"></view> <view class="dot"></view>
<view class="name">{{i.upgradeGoodsAlias||i.upgradeGoodsName}}</view> <view class="name">{{i.upgradeGoodsAlias||i.upgradeGoodsName}}</view>
......
...@@ -148,6 +148,7 @@ margin-right: var(--fontSize12); ...@@ -148,6 +148,7 @@ margin-right: var(--fontSize12);
.meal-bd-head .price { .meal-bd-head .price {
font-family: "numberNor"; font-family: "numberNor";
margin-left:auto;
} }
.meal-bd-bottom { .meal-bd-bottom {
......
...@@ -855,6 +855,7 @@ page { ...@@ -855,6 +855,7 @@ page {
.meal-bd-head .price { .meal-bd-head .price {
font-family: "numberNor"; font-family: "numberNor";
margin-left:auto;
} }
.meal-bd-bottom { .meal-bd-bottom {
......
...@@ -223,7 +223,7 @@ ...@@ -223,7 +223,7 @@
<view class="meal-wrap" wx:if="{{ item.packageCode&&item.isType==='meal' }}"> <view class="meal-wrap" wx:if="{{ item.packageCode&&item.isType==='meal' }}">
<view class="meal-th"> <view class="meal-th">
<view class="icon" bindtap="delGoodsList" data-index="{{ index }}"> <view class="icon" bindtap="delGoodsList" data-index="{{ index }}">
<image src="../../images/del.png" /> <image src="../../images/del-btn.png" />
</view> </view>
<view class="meal-name">{{item.packageName}}</view> <view class="meal-name">{{item.packageName}}</view>
<view class="meal-price">¥{{item.totalPrice}}</view> <view class="meal-price">¥{{item.totalPrice}}</view>
......
...@@ -679,6 +679,7 @@ page { ...@@ -679,6 +679,7 @@ page {
.meal-bd-head .price { .meal-bd-head .price {
font-family: "numberNor"; font-family: "numberNor";
margin-left:auto;
} }
.meal-bd-bottom { .meal-bd-bottom {
......
...@@ -513,6 +513,7 @@ page { ...@@ -513,6 +513,7 @@ page {
.meal-bd-head .price { .meal-bd-head .price {
font-family: "numberNor"; font-family: "numberNor";
margin-left:auto;
} }
.meal-bd-bottom { .meal-bd-bottom {
......
...@@ -64,7 +64,7 @@ class Request { ...@@ -64,7 +64,7 @@ class Request {
// console.log(thisPage); // console.log(thisPage);
wx.hideLoading() wx.hideLoading()
if (thisPage.route != 'pages/wxLogin/wxLogin') { if (thisPage.route != 'pages/wxLogin/wxLogin') {
getApp().login(true) getApp().login(true, '', url)
} }
} else if (code == -1) { } else if (code == -1) {
wx.showToast({ wx.showToast({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!