@jx3box/jx3box-common-ui 8.7.9 → 8.8.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-common-ui",
3
- "version": "8.7.9",
3
+ "version": "8.8.1",
4
4
  "description": "JX3BOX UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -48,9 +48,6 @@ export default {
48
48
  align-items: center;
49
49
 
50
50
  padding: 0 10px;
51
- &:hover {
52
- opacity: 0.7;
53
- }
54
51
  cursor: pointer;
55
52
  }
56
53
  .u-icon-msg {
@@ -68,6 +65,7 @@ export default {
68
65
  position: absolute;
69
66
  right: -5px;
70
67
  top: -6px;
68
+ .z(1);
71
69
  }
72
70
  }
73
71
 
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="w-boxcoin-admin">
3
- <el-dialog title="批改作业" :visible="modelValue" custom-class="w-boxcoin-pop" :close-on-click-modal="false" append-to-body @close="onClose">
3
+ <el-dialog :title="dialogTitle" :visible="modelValue" custom-class="w-boxcoin-pop" :close-on-click-modal="false" append-to-body @close="onClose">
4
4
  <div class="w-boxcoin-admin-content">
5
5
  <div class="u-left" v-if="type=='grant'">
6
6
  <em class="u-label">本月状态</em>
@@ -56,7 +56,7 @@ import User from "@jx3box/jx3box-common/js/user";
56
56
  import { getBreadcrumb } from "@jx3box/jx3box-common/js/api_misc";
57
57
  export default {
58
58
  name: "Homework",
59
- props: ["postType", "postId", "userId", "client", "modelValue", "articleId", "category"],
59
+ props: ["postType", "postId", "userId", "client", "modelValue", "articleId", "category", "title"],
60
60
  model: {
61
61
  prop: "modelValue",
62
62
  event: "update:modelValue"
@@ -149,6 +149,9 @@ export default {
149
149
  return "std"
150
150
  }
151
151
  return this.client
152
+ },
153
+ dialogTitle() {
154
+ return this.title || '批改作业'
152
155
  }
153
156
  },
154
157
  watch: {