@94ai/nf-audio 3.2.4 → 3.2.20

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.
@@ -136,8 +136,8 @@ var _sfc_render$1 = function render2() {
136
136
  "slot": "reference"
137
137
  },
138
138
  slot: "reference"
139
- }, [_c("span", {
140
- staticClass: "more-btn"
139
+ }, [_c("i", {
140
+ staticClass: "iconfont icon-gengduo1 more-btn"
141
141
  })])])], 1);
142
142
  };
143
143
  var _sfc_staticRenderFns$1 = [];
@@ -370,8 +370,8 @@ var _sfc_render = function render3() {
370
370
  }
371
371
  }), _c("div", {
372
372
  staticClass: "nf-fast"
373
- }, [_c("span", {
374
- staticClass: "nf-fast-icon",
373
+ }, [_c("i", {
374
+ staticClass: "iconfont icon-zanting1 nf-fast-icon",
375
375
  on: {
376
376
  "click": _vm.jumpToTime
377
377
  }
@@ -382,22 +382,22 @@ var _sfc_render = function render3() {
382
382
  on: {
383
383
  "click": _vm.handlePauseOrPlay
384
384
  }
385
- }, [_c("span", {
385
+ }, [_c("i", {
386
386
  directives: [{
387
387
  name: "show",
388
388
  rawName: "v-show",
389
389
  value: !_vm.paused,
390
390
  expression: "!paused"
391
391
  }],
392
- staticClass: "pause-icon"
393
- }), _c("span", {
392
+ staticClass: "iconfont icon-zanting2 pause-icon"
393
+ }), _c("i", {
394
394
  directives: [{
395
395
  name: "show",
396
396
  rawName: "v-show",
397
397
  value: _vm.paused,
398
398
  expression: "paused"
399
399
  }],
400
- staticClass: "play-icon"
400
+ staticClass: "iconfont icon-bofang1 play-icon"
401
401
  })]), _c("div", {
402
402
  staticClass: "time"
403
403
  }, [_c("span", {
@@ -434,16 +434,16 @@ var _sfc_render = function render3() {
434
434
  scopedSlots: _vm._u([{
435
435
  key: "reference",
436
436
  fn: function() {
437
- return [_vm.volume == 0 ? _c("div", {
438
- staticClass: "volume"
439
- }) : _c("div", {
440
- staticClass: "volume-mute"
437
+ return [_vm.volume == 0 ? _c("i", {
438
+ staticClass: "iconfont icon-yinliang_guanbi volume-mute"
439
+ }) : _c("i", {
440
+ staticClass: "iconfont icon-yinliang_kaiqi volume"
441
441
  })];
442
442
  },
443
443
  proxy: true
444
444
  }])
445
445
  }, [_c("el-slider", {
446
- class: _vm.volumeValue === 0 ? "volume-mute" : "volume-phonic",
446
+ class: _vm.volumeValue === 0 ? "volume-mute-slider" : "volume-phonic",
447
447
  attrs: {
448
448
  "vertical": "",
449
449
  "min": 0,
@@ -134,8 +134,8 @@ var _sfc_render$1 = function render2() {
134
134
  "slot": "reference"
135
135
  },
136
136
  slot: "reference"
137
- }, [_c("span", {
138
- staticClass: "more-btn"
137
+ }, [_c("i", {
138
+ staticClass: "iconfont icon-gengduo1 more-btn"
139
139
  })])])], 1);
140
140
  };
141
141
  var _sfc_staticRenderFns$1 = [];
@@ -368,8 +368,8 @@ var _sfc_render = function render3() {
368
368
  }
369
369
  }), _c("div", {
370
370
  staticClass: "nf-fast"
371
- }, [_c("span", {
372
- staticClass: "nf-fast-icon",
371
+ }, [_c("i", {
372
+ staticClass: "iconfont icon-zanting1 nf-fast-icon",
373
373
  on: {
374
374
  "click": _vm.jumpToTime
375
375
  }
@@ -380,22 +380,22 @@ var _sfc_render = function render3() {
380
380
  on: {
381
381
  "click": _vm.handlePauseOrPlay
382
382
  }
383
- }, [_c("span", {
383
+ }, [_c("i", {
384
384
  directives: [{
385
385
  name: "show",
386
386
  rawName: "v-show",
387
387
  value: !_vm.paused,
388
388
  expression: "!paused"
389
389
  }],
390
- staticClass: "pause-icon"
391
- }), _c("span", {
390
+ staticClass: "iconfont icon-zanting2 pause-icon"
391
+ }), _c("i", {
392
392
  directives: [{
393
393
  name: "show",
394
394
  rawName: "v-show",
395
395
  value: _vm.paused,
396
396
  expression: "paused"
397
397
  }],
398
- staticClass: "play-icon"
398
+ staticClass: "iconfont icon-bofang1 play-icon"
399
399
  })]), _c("div", {
400
400
  staticClass: "time"
401
401
  }, [_c("span", {
@@ -432,16 +432,16 @@ var _sfc_render = function render3() {
432
432
  scopedSlots: _vm._u([{
433
433
  key: "reference",
434
434
  fn: function() {
435
- return [_vm.volume == 0 ? _c("div", {
436
- staticClass: "volume"
437
- }) : _c("div", {
438
- staticClass: "volume-mute"
435
+ return [_vm.volume == 0 ? _c("i", {
436
+ staticClass: "iconfont icon-yinliang_guanbi volume-mute"
437
+ }) : _c("i", {
438
+ staticClass: "iconfont icon-yinliang_kaiqi volume"
439
439
  })];
440
440
  },
441
441
  proxy: true
442
442
  }])
443
443
  }, [_c("el-slider", {
444
- class: _vm.volumeValue === 0 ? "volume-mute" : "volume-phonic",
444
+ class: _vm.volumeValue === 0 ? "volume-mute-slider" : "volume-phonic",
445
445
  attrs: {
446
446
  "vertical": "",
447
447
  "min": 0,
@@ -11,7 +11,7 @@
11
11
  <div class="btn-item" @click="handleDown">下载</div>
12
12
  </div>
13
13
  <div slot="reference" class="more-icon">
14
- <span class="more-btn"></span>
14
+ <i class="iconfont icon-gengduo1 more-btn"/>
15
15
  </div>
16
16
  </el-popover>
17
17
  </div>
@@ -3,7 +3,7 @@
3
3
  <audio @canplay="getDuration" controls crossOrigin="anonymous" @timeupdate="updateTime" @ended="handleAudioEnded" v-show="false" ref="audio"
4
4
  :src="audioSrc"/>
5
5
  <div class="nf-fast">
6
- <span class="nf-fast-icon" @click="jumpToTime"></span>
6
+ <i class="iconfont icon-zanting1 nf-fast-icon" @click="jumpToTime" />
7
7
  <!-- 以下是 快进/快退 功能 -->
8
8
  <!--
9
9
  <div>
@@ -21,8 +21,8 @@
21
21
  </div>
22
22
  <div class="nf-audio">
23
23
  <div class="play" @click="handlePauseOrPlay">
24
- <span class="pause-icon" v-show="!paused"></span>
25
- <span class="play-icon" v-show="paused"></span>
24
+ <i class="iconfont icon-zanting2 pause-icon" v-show="!paused"/>
25
+ <i class="iconfont icon-bofang1 play-icon" v-show="paused"/>
26
26
  </div>
27
27
  <div class="time">
28
28
  <span class="startTime">{{ currentDuration }}</span>/
@@ -36,8 +36,8 @@
36
36
  <div class="nf-volume-panel">
37
37
  <volumeTool :visible.sync="volumeVisible">
38
38
  <template v-slot:reference>
39
- <div class="volume" v-if="volume == 0"></div>
40
- <div class="volume-mute" v-else></div>
39
+ <i class="iconfont icon-yinliang_guanbi volume-mute" v-if="volume == 0" />
40
+ <i class="iconfont icon-yinliang_kaiqi volume" v-else/>
41
41
  </template>
42
42
  <el-slider
43
43
  v-model="volumeValue"
@@ -45,7 +45,7 @@
45
45
  :min="0"
46
46
  :max="100"
47
47
  :show-tooltip="volumeVisible"
48
- :class="volumeValue===0 ? 'volume-mute' : 'volume-phonic'"
48
+ :class="volumeValue===0 ? 'volume-mute-slider' : 'volume-phonic'"
49
49
  @change="rangeVolume"
50
50
  height="60px">
51
51
  </el-slider>
@@ -8,7 +8,6 @@
8
8
  <slot/>
9
9
  </div>
10
10
  </transition>
11
-
12
11
  </div>
13
12
  </template>
14
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-audio",
3
- "version": "3.2.4",
3
+ "version": "3.2.20",
4
4
  "description": "> TODO: description",
5
5
  "keywords": [],
6
6
  "author": "liuxiangxiang <liuxiangxiang@94ai.com>",
@@ -14,7 +14,7 @@
14
14
  "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
15
15
  },
16
16
  "dependencies": {
17
- "@94ai/nf-theme-chalk": "^3.2.4",
17
+ "@94ai/nf-theme-chalk": "^3.2.20",
18
18
  "vue-demi": "^0.14.5"
19
19
  },
20
20
  "peerDependenciesMeta": {
@@ -30,5 +30,5 @@
30
30
  "types": "lib/index.d.ts",
31
31
  "main": "lib/nf-audio.cjs.js",
32
32
  "module": "lib/nf-audio.esm-bundler.js",
33
- "gitHead": "9518f3ee1354378e844b825d6d850d18ec14f71a"
33
+ "gitHead": "60e08cb237f842c3fc38168cbd911ec3a4c9d440"
34
34
  }