@jx3box/jx3box-common-ui 7.6.8 → 7.7.0
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.
|
@@ -99,6 +99,10 @@
|
|
|
99
99
|
.c-breadcrumb.isOverlay{
|
|
100
100
|
background-color:rgba(255,255,255,.85);
|
|
101
101
|
}
|
|
102
|
+
.c-breadcrumb__title {
|
|
103
|
+
font-size: 14px;
|
|
104
|
+
font-weight: bold;
|
|
105
|
+
}
|
|
102
106
|
|
|
103
107
|
@media screen and (max-width: @ipad) {
|
|
104
108
|
.c-breadcrumb {
|
|
@@ -130,6 +134,9 @@
|
|
|
130
134
|
overflow: auto;
|
|
131
135
|
}
|
|
132
136
|
}
|
|
137
|
+
.c-breadcrumb__title {
|
|
138
|
+
.none;
|
|
139
|
+
}
|
|
133
140
|
}
|
|
134
141
|
@media print{
|
|
135
142
|
.c-breadcrumb{.none;}
|
package/package.json
CHANGED
package/src/Breadcrumb.vue
CHANGED
|
@@ -22,7 +22,9 @@
|
|
|
22
22
|
<!-- 面包屑内容 -->
|
|
23
23
|
<Crumb :name="slug" v-if="crumbEnable" />
|
|
24
24
|
<slot></slot>
|
|
25
|
-
<
|
|
25
|
+
<div class="c-breadcrumb__title" v-if="show">
|
|
26
|
+
<slot name="title"></slot>
|
|
27
|
+
</div>
|
|
26
28
|
<div class="u-op">
|
|
27
29
|
<slot name="op-append"></slot>
|
|
28
30
|
<a
|
|
@@ -63,10 +63,9 @@ export default {
|
|
|
63
63
|
// if(location.pathname.startsWith('/index') || location.pathname.startsWith('/origin')){
|
|
64
64
|
// location.href = 'https://' + item.to
|
|
65
65
|
// }else{
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
//
|
|
69
|
-
location.href = location.href.replace(item.from, item.to);
|
|
66
|
+
const href = location.href.replace(location.host, item.to);
|
|
67
|
+
location.href = href;
|
|
68
|
+
// location.href = location.href.replace(item.from, item.to);
|
|
70
69
|
// }
|
|
71
70
|
},
|
|
72
71
|
},
|