zydx-plus 1.33.366 → 1.33.368

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": "zydx-plus",
3
- "version": "1.33.366",
3
+ "version": "1.33.368",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -1961,6 +1961,32 @@ let buttonNames = {
1961
1961
  },
1962
1962
  interactResourceButtonList (item) {
1963
1963
  return {
1964
+ resource_scene:{
1965
+ actionName: '情景资源',
1966
+ buttonList: {
1967
+ 0: {
1968
+ headLevel: {
1969
+ default: "demand",
1970
+ demand: '学习要求',
1971
+ resourceIndex: '学习任务',
1972
+ review: '学习点评',
1973
+ analyse: '学习分析',
1974
+ countermeasure: '学习对策'
1975
+ },
1976
+ otherLevel: {
1977
+ default: "singletonClass",
1978
+ singletonClass: this.getCurrentPrefix(item) + '任务',
1979
+ allClass: this.getPrefix(item) + '任务'
1980
+ },
1981
+ lowLevel: {
1982
+ default: "viewResource",
1983
+ createResource: '创建任务',
1984
+ viewResource: '任务列表',
1985
+ batchDelResource: '查找资源',
1986
+ }
1987
+ }
1988
+ }
1989
+ },
1964
1990
  resource_lesson051: {
1965
1991
  actionName: '调查资源',
1966
1992
  buttonList: {
@@ -90,6 +90,7 @@
90
90
  </g>
91
91
  </svg>
92
92
  </button>
93
+ <button class="buts but-f" v-if="Object.keys(enclosureButton).length > 0" @click="enclosureButton.onClick(item,index)">{{ enclosureButton.name }}</button>
93
94
  </div>
94
95
  </div>
95
96
  </div>
@@ -250,6 +251,10 @@ export default {
250
251
  numberStyle: {
251
252
  type: Boolean,
252
253
  default: false
254
+ },
255
+ enclosureButton: {
256
+ type: Object,
257
+ default: {}
253
258
  }
254
259
  },
255
260
  emits: ['see', 'del', 'complete', 'update:data', 'enclosureSuccess', 'download', 'updateData'],
@@ -884,11 +889,11 @@ export default {
884
889
  }
885
890
 
886
891
  .enclosure-item:first-child {
887
- width: calc(100% - 210px);
892
+ width: calc(100% - 270px);
888
893
  }
889
894
 
890
895
  .enclosure-item:last-child {
891
- width: 210px;
896
+ width: 270px;
892
897
  }
893
898
 
894
899
  .enclosure-item {
package/src/index.js CHANGED
@@ -83,7 +83,7 @@ function install(app) {
83
83
  }
84
84
 
85
85
  export default {
86
- version: '1.33.366',
86
+ version: '1.33.368',
87
87
  install,
88
88
  Calendar,
89
89
  Message,