zydx-plus 1.34.460 → 1.34.462

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.34.460",
3
+ "version": "1.34.462",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -78,6 +78,7 @@
78
78
  </div>
79
79
  </div>
80
80
  <div class="cle-but-right">
81
+ <button class="cle-but" @click="cancel">取消</button>
81
82
  <button class="cle-but" @click="confirm">确认</button>
82
83
  </div>
83
84
  </div>
@@ -220,6 +221,9 @@ export default {
220
221
  };
221
222
  },
222
223
  methods: {
224
+ cancel() {
225
+ this.$emit('cancel')
226
+ },
223
227
  confirm() {
224
228
  let date = {start: this.dayChange}
225
229
  if(this.rangeMode) {
@@ -3,9 +3,9 @@
3
3
  <div class="list-cont" v-if="list.length > 0">
4
4
  <div :class="{'list-li':true, 'theme-text': active === index, pos: multiple}"
5
5
  :style="{'border-bottom': (link)? '1px solid #ccc': '0', 'color': (active === index)? activeColor : '#333'}"
6
- v-for="(item,index) in listCopy" :key="index">
6
+ v-for="(item,index) in listCopy" :key="index" @click="listTap(item,index)">
7
7
  <input v-if="multiple" :checked="item.box" @change="checkboxChange($event,index)" class="box-list" type="checkbox" name="boxList" />
8
- <div class="list-title" @click="listTap(item,index)">
8
+ <div class="list-title">
9
9
  <span :style="{'font-size': column[0].fontSize + 'px', 'font-weight': column[0].fontWeight}" v-html="(index + 1) + '.' + (angleBrackets ? '《' : '') + item[column[0].label] + (angleBrackets ? '》' : '')"></span>
10
10
  <button v-if="delShow" @click="del(item)" v-html="delText"></button>
11
11
  </div>
@@ -148,7 +148,7 @@
148
148
  height: 21px;
149
149
  }
150
150
  .buts-actives{
151
- color: #00ff00 !important;
151
+ color: #4B0C77 !important;
152
152
  }
153
153
  input[name='check'] {
154
154
  width: 15px;
@@ -98,7 +98,7 @@
98
98
  </tr>
99
99
  <tr>
100
100
  <td>占&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;比</td>
101
- <td v-for="(ts,ind) in item.itemList">{{ ts.percentage === null ? 0 : ts.percentage }}%</td>
101
+ <td v-for="(ts,ind) in item.itemList">{{ ts.percentage === null ? 0 + '%' : ts.percentage }}</td>
102
102
  </tr>
103
103
  </table>
104
104
  </div>
package/src/index.js CHANGED
@@ -85,7 +85,7 @@ function install(app) {
85
85
  }
86
86
 
87
87
  export default {
88
- version: '1.34.460',
88
+ version: '1.34.462',
89
89
  install,
90
90
  Calendar,
91
91
  Message,