gxd-uni-library-editx 1.0.83 → 1.0.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
:id="`tab-scroll__index-${index}`"
|
|
20
20
|
v-for="(item, index) in list"
|
|
21
21
|
:key="index"
|
|
22
|
-
:style="{color: activeIndex === index?
|
|
22
|
+
:style="{color: activeIndex === index? (actColor||styleMainColor): color}"
|
|
23
23
|
class="tab-scroll__item"
|
|
24
24
|
:class="{active:activeIndex === index}"
|
|
25
25
|
@click="clickTab(item, index)"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<view
|
|
33
33
|
v-if="showFooterLine"
|
|
34
34
|
:style="{
|
|
35
|
-
background: activeIndex === index?
|
|
35
|
+
background: activeIndex === index? (actColor||styleMainColor): '',
|
|
36
36
|
bottom: (lineBottom) + 'rpx'
|
|
37
37
|
}"
|
|
38
38
|
></view>
|
|
@@ -103,10 +103,6 @@
|
|
|
103
103
|
type: String,
|
|
104
104
|
default: '#333'
|
|
105
105
|
},
|
|
106
|
-
activeColor:{
|
|
107
|
-
type: String,
|
|
108
|
-
default: ''
|
|
109
|
-
},
|
|
110
106
|
bgColor: {
|
|
111
107
|
type: String,
|
|
112
108
|
default: '#fff'
|
|
@@ -122,7 +118,11 @@
|
|
|
122
118
|
lineBottom: {
|
|
123
119
|
type: Number | String, //rpx
|
|
124
120
|
default: 10
|
|
125
|
-
}
|
|
121
|
+
},
|
|
122
|
+
actColor: {
|
|
123
|
+
type: String,
|
|
124
|
+
default: ''
|
|
125
|
+
}
|
|
126
126
|
},
|
|
127
127
|
data() {
|
|
128
128
|
return {
|
package/src/utils/xd.common.js
CHANGED
|
@@ -330,7 +330,8 @@ export function handlePesponse(
|
|
|
330
330
|
}
|
|
331
331
|
else {
|
|
332
332
|
//需要卡登陆页面
|
|
333
|
-
if(response.data.code === 'NeedCardLogin'
|
|
333
|
+
if(response.data.code === 'NeedCardLogin'
|
|
334
|
+
|| response.data.code === 'CardUnauthorized') {
|
|
334
335
|
//当前页面为卡登陆页面不处理
|
|
335
336
|
if($vm.$route.path === store.state.jfbAuthorize.cardPath) {
|
|
336
337
|
reject(response);
|