cloud-web-corejs 1.0.54-dev.680 → 1.0.54-dev.681

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.54-dev.680",
4
+ "version": "1.0.54-dev.681",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -88,7 +88,9 @@
88
88
  <div class="base-area-level-nav">
89
89
  <el-button
90
90
  size="mini"
91
+ class="base-area-nav-btn"
91
92
  :disabled="!canPrevLevel"
93
+ @mousedown.prevent
92
94
  @click="prevLevel"
93
95
  >
94
96
  <i class="el-icon-arrow-left"></i>
@@ -96,8 +98,9 @@
96
98
  <span class="base-area-level-label">{{ currentLevelLabel }}</span>
97
99
  <el-button
98
100
  size="mini"
99
- type="primary"
101
+ class="base-area-nav-btn"
100
102
  :disabled="!canNextLevel"
103
+ @mousedown.prevent
101
104
  @click="nextLevel"
102
105
  >
103
106
  <i class="el-icon-arrow-right"></i>
@@ -1016,7 +1019,42 @@ export default {
1016
1019
  display: flex;
1017
1020
  align-items: center;
1018
1021
  justify-content: space-between;
1019
- margin-top: 4px;
1022
+ margin-top: 8px;
1023
+
1024
+ .base-area-nav-btn {
1025
+ min-width: 32px;
1026
+ padding: 7px 10px;
1027
+ border-radius: 8px;
1028
+ color: #fff;
1029
+ border-color: $baseColor;
1030
+ background-color: $baseColor;
1031
+
1032
+ i {
1033
+ font-weight: bold;
1034
+ }
1035
+
1036
+ &.el-button:focus,
1037
+ &.el-button:active {
1038
+ color: #fff;
1039
+ border-color: $baseColor;
1040
+ background-color: $baseColor;
1041
+ }
1042
+
1043
+ &.el-button:hover:not(.is-disabled) {
1044
+ color: #fff;
1045
+ border-color: $baseColor;
1046
+ background-color: $baseColor;
1047
+ opacity: 0.92;
1048
+ }
1049
+
1050
+ &.is-disabled,
1051
+ &.el-button.is-disabled {
1052
+ color: #c0c4cc;
1053
+ border-color: #eee;
1054
+ background-color: #f5f7fa;
1055
+ opacity: 1;
1056
+ }
1057
+ }
1020
1058
 
1021
1059
  .base-area-level-label {
1022
1060
  flex: 1;
@@ -1090,6 +1128,26 @@ export default {
1090
1128
  box-sizing: border-box;
1091
1129
  }
1092
1130
 
1131
+ .base-area-nav-btn.el-button {
1132
+ border-radius: 8px;
1133
+ color: #fff;
1134
+ border-color: $baseColor;
1135
+ background-color: $baseColor;
1136
+ }
1137
+
1138
+ .base-area-nav-btn.el-button:focus,
1139
+ .base-area-nav-btn.el-button:active {
1140
+ color: #fff;
1141
+ border-color: $baseColor;
1142
+ background-color: $baseColor;
1143
+ }
1144
+
1145
+ .base-area-nav-btn.el-button.is-disabled {
1146
+ color: #c0c4cc;
1147
+ border-color: #eee;
1148
+ background-color: #f5f7fa;
1149
+ }
1150
+
1093
1151
  .base-area-tab.disabled {
1094
1152
  color: #c0c4cc;
1095
1153
  cursor: not-allowed;