gy-webcode2 2.0.4 → 2.0.6

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>
@@ -31,7 +31,8 @@
31
31
  li{
32
32
  height: 100%;
33
33
  font-size: 14px;
34
- color: #BFBFBF;
34
+ // color: #BFBFBF;
35
+ color: rgba(#fff,0.6);
35
36
  display: flex;
36
37
  align-items: center;
37
38
  //margin: 0 20px;
@@ -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.4',
32
+ version :'2.0.6',
33
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gy-webcode2",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "description": "gy前端公共代码",
5
5
  "main": "index.js",
6
6
  "scripts": {