gy-webcode2 2.0.3 → 2.0.5

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.
@@ -39,9 +39,12 @@
39
39
  <div class="other">
40
40
  <div class="otherContainer">
41
41
  <slot name="other"></slot>
42
- <el-button title="返回" @click="backClick()" v-if="isBack" icon="" type="primary" class="btnIcon mar_l_10">
42
+ <!-- <el-button title="返回" @click="backClick()" v-if="isBack" icon="" type="primary" class="btnIcon mar_l_10">
43
43
  <i class="el-icon-arrow-left"></i>
44
- </el-button>
44
+ </el-button> -->
45
+ <div v-if="isBack" title="返回" @click="backClick()" class=" mar_l_10 backBtn">
46
+ <i class="el-icon-arrow-left"></i>
47
+ </div>
45
48
  </div>
46
49
  </div>
47
50
  </div>
@@ -163,6 +166,26 @@ export default {
163
166
  }
164
167
  </script>
165
168
 
166
- <style>
167
-
168
- </style>
169
+ <style scoped lang="scss">
170
+ .backBtn{
171
+ background: #F2F3F5;
172
+ color: #1D2129;
173
+ width: 32px;
174
+ height: 32px;
175
+ display: flex;
176
+ align-items: center;
177
+ justify-content: center;
178
+ border-radius: 6px;
179
+ cursor: pointer;
180
+ user-select: none;
181
+ transition: all 0.3s ease;
182
+ &:hover{
183
+ background: #e4e3e3;
184
+ @include themeColor("color",'active');
185
+ }
186
+ &:active{
187
+ background: #e9e9e9;
188
+ @include themeColor("color",'active');
189
+ }
190
+ }
191
+ </style>
package/css/layout.scss CHANGED
@@ -30,6 +30,15 @@
30
30
  //background: #F1F6FC;
31
31
  border-radius: $radius;
32
32
  //margin: $spacing $spacing $spacing 0;
33
+ .tabHide{
34
+ opacity: 0 !important;
35
+ transform: translateX(300%) !important;
36
+ }
37
+ .tabShow{
38
+ opacity: 1 !important;
39
+ transform: translateX(0) !important;
40
+ }
41
+
33
42
  }
34
43
  }
35
44
  .contentBox{
@@ -161,6 +161,10 @@ a:hover{
161
161
  .r_#{$i} {right:#{$i}px !important;}
162
162
 
163
163
  .radius_#{$i} {border-radius:#{$i}px !important;}
164
+ .gap_#{$i} {gap:#{$i}px !important;}
165
+ .rowGap_#{$i} {row-gap:#{$i}px !important;}
166
+ .colGap_#{$i} {column-gap:#{$i}px !important;}
167
+ .lineHeight_#{$i} {line-height:#{$i}px !important;}
164
168
  }
165
169
 
166
170
  .mar_0{
@@ -1,9 +1,9 @@
1
1
 
2
2
  $themeColor_default:(
3
- color:#1890ff,
4
- hover:#60abff,
5
- down:#096dd9,
6
- active:#1890ff,
3
+ color:#165DFF,
4
+ hover:#417BFF,
5
+ down:#054AE8,
6
+ active:#165DFF,
7
7
  activeBgColor:#E8F3FF,
8
8
 
9
9
 
package/extend/axios.js CHANGED
@@ -43,8 +43,9 @@ http.interceptors.request.use(
43
43
  let nonce = crypto.randomString(16);
44
44
  // 加密后的签名key
45
45
  // 随机字符串
46
- let key = crypto.RSAencrypt(nonce,window._zgy.publicKeyServer);
47
-
46
+ // let key = crypto.RSAencrypt(nonce,window._zgy.publicKeyServer);
47
+ let key = crypto.RSAencrypt(nonce,Cookies.get("gy_publicKeyServer"));
48
+
48
49
  // console.log("ts",ts);
49
50
  // console.log('key',key);
50
51
  // console.log('nonce',nonce);
package/index.js CHANGED
@@ -11,8 +11,8 @@
11
11
  // 清除缓存
12
12
  // npm cache verify
13
13
 
14
- // token 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
15
- // npm config set //registry.npmjs.org/:_authToken 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
14
+ // token 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
15
+ // npm config set //registry.npmjs.org/:_authToken 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
16
16
  // npm config delete //registry.npmjs.org/:_authToken
17
17
 
18
18
  // 版本号 x.y.z :
@@ -29,5 +29,5 @@
29
29
  // 1.2.0 breadcrumb 使用store的menuPath了
30
30
  // 2.0.0 全新UI改版
31
31
  module.exports = {
32
- version :'2.0.3',
32
+ version :'2.0.5',
33
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gy-webcode2",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "description": "gy前端公共代码",
5
5
  "main": "index.js",
6
6
  "scripts": {