@jx3box/jx3box-common-ui 8.3.8 → 8.4.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<a class="c-author-honor" :style="{ backgroundImage: `url(${imgUrl()})` }" v-if="honor" :href="url" target="_blank">
|
|
3
|
-
<span
|
|
3
|
+
<span :style="{ color: honor.color }">{{ honor.honor }}</span>
|
|
4
4
|
</a>
|
|
5
5
|
</template>
|
|
6
6
|
<script>
|
|
@@ -24,9 +24,6 @@ export default {
|
|
|
24
24
|
},
|
|
25
25
|
},
|
|
26
26
|
computed: {
|
|
27
|
-
isJdt() {
|
|
28
|
-
return this.honor?.honor_info?.img?.toLowerCase()?.includes("jdt");
|
|
29
|
-
},
|
|
30
27
|
url() {
|
|
31
28
|
return this.honor?.honor_info?.url ? __Root + this.honor?.honor_info?.url : "";
|
|
32
29
|
}
|
package/src/bread/DesignTask.vue
CHANGED
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
<el-option v-for="item in config" :key="item.id" :label="item.label" :value="item.name"></el-option>
|
|
10
10
|
</el-select>
|
|
11
11
|
</el-form-item>
|
|
12
|
+
<el-form-item label="版本">
|
|
13
|
+
<el-radio-group v-model="form.version">
|
|
14
|
+
<el-radio-button v-for="(label, key) in versions" :key="key" :label="key">{{ label }}</el-radio-button>
|
|
15
|
+
</el-radio-group>
|
|
16
|
+
</el-form-item>
|
|
12
17
|
<el-form-item label="备注">
|
|
13
18
|
<el-input v-model="form.remark" placeholder="请输入备注"></el-input>
|
|
14
19
|
</el-form-item>
|
|
@@ -73,6 +78,7 @@ export default {
|
|
|
73
78
|
remark: "",
|
|
74
79
|
star: 0,
|
|
75
80
|
subtype: "",
|
|
81
|
+
version: "std"
|
|
76
82
|
},
|
|
77
83
|
colors: ['#99A9BF', '#F7BA2A', '#FF9900'],
|
|
78
84
|
|
|
@@ -81,6 +87,13 @@ export default {
|
|
|
81
87
|
|
|
82
88
|
isPhone: window.innerWidth < 768,
|
|
83
89
|
isEditor: User.isEditor(),
|
|
90
|
+
|
|
91
|
+
versions: {
|
|
92
|
+
"std": "旗舰",
|
|
93
|
+
"origin": "缘起",
|
|
94
|
+
"wujie": "无界",
|
|
95
|
+
"all": "全端"
|
|
96
|
+
}
|
|
84
97
|
}
|
|
85
98
|
},
|
|
86
99
|
watch: {
|
|
@@ -105,6 +118,8 @@ export default {
|
|
|
105
118
|
title: "",
|
|
106
119
|
remark: "",
|
|
107
120
|
star: 0,
|
|
121
|
+
subtype: "",
|
|
122
|
+
version: "std",
|
|
108
123
|
}
|
|
109
124
|
|
|
110
125
|
this.$refs?.form?.clearValidate();
|
|
@@ -116,6 +131,7 @@ export default {
|
|
|
116
131
|
data.remark = this.form.remark;
|
|
117
132
|
data.star = this.form.star;
|
|
118
133
|
data.subtype = this.form.type;
|
|
134
|
+
data.version = this.form.version;
|
|
119
135
|
|
|
120
136
|
data.source_type = this.post?.post_type;
|
|
121
137
|
data.source_id = String(this.post?.ID);
|