@jx3box/jx3box-common-ui 7.6.9 → 7.7.1

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-common-ui",
3
- "version": "7.6.9",
3
+ "version": "7.7.1",
4
4
  "description": "JX3BOX UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,7 +22,9 @@
22
22
  <!-- 面包屑内容 -->
23
23
  <Crumb :name="slug" v-if="crumbEnable" />
24
24
  <slot></slot>
25
- <slot v-if="show" name="title"></slot>
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
@@ -31,8 +31,8 @@
31
31
  <el-empty v-else description="暂无主题"></el-empty>
32
32
 
33
33
  <div class="c-admin-buttons">
34
- <!-- <el-button type="primary" @click="submit" :loading="pushing">提交</el-button> -->
35
- <el-button type="plain" @click="close">关闭</el-button>
34
+ <el-button type="success" @click="add" icon="el-icon-plus">新增</el-button>
35
+ <el-button type="plain" @click="close" icon="el-icon-close">关闭</el-button>
36
36
  </div>
37
37
  </div>
38
38
  </el-drawer>
@@ -119,7 +119,7 @@ export default {
119
119
  });
120
120
  },
121
121
  add() {
122
- this.$prompt("请输入主题名称", "提示", {
122
+ this.$prompt("请输入主题名称", "新增主题", {
123
123
  confirmButtonText: "确定",
124
124
  cancelButtonText: "取消",
125
125
  inputPattern: /\S+/,