lex-xin 3 vuotta sitten
vanhempi
commit
49a067ac93

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/index.html


+ 0 - 1
dist/static/css/chunk-173ed648.c4b7b429.css

@@ -1 +0,0 @@
-.btns[data-v-562ab4b5]{text-align:right}.files[data-v-562ab4b5]{background-color:#f8f8f8;padding:20px 0;padding-right:20px;margin-bottom:20px;border-radius:5px;position:relative}.files .file-remove[data-v-562ab4b5]{position:absolute;right:20px;bottom:10px}.myCascader .el-radio{width:100%;height:100%;z-index:10;position:absolute;top:10px;right:10px}.myCascader .el-radio__input{visibility:hidden}.myCascader .el-cascader-node__postfix{top:10px}.remark[data-v-2c32cf7c]{display:inline;overflow:hidden;white-space:pre}.lookForm[data-v-2c32cf7c] .el-dialog__body{padding:0}.iframe_back[data-v-2c32cf7c]{width:195px;height:45px;position:absolute;bottom:50px;background:transparent;left:50%;z-index:99;margin-left:-100px}.iframe_help[data-v-2c32cf7c]{position:absolute;background:transparent;width:50px;height:120px;top:50%;right:0;margin-top:-35px}.iframe_header_back[data-v-2c32cf7c]{background:transparent;width:225px;height:50px;position:absolute;top:65px;left:20px}

+ 1 - 0
dist/static/css/chunk-4aec7346.5565578e.css

@@ -0,0 +1 @@
+.btns[data-v-562ab4b5]{text-align:right}.files[data-v-562ab4b5]{background-color:#f8f8f8;padding:20px 0;padding-right:20px;margin-bottom:20px;border-radius:5px;position:relative}.files .file-remove[data-v-562ab4b5]{position:absolute;right:20px;bottom:10px}.myCascader .el-radio{width:100%;height:100%;z-index:10;position:absolute;top:10px;right:10px}.myCascader .el-radio__input{visibility:hidden}.myCascader .el-cascader-node__postfix{top:10px}[data-v-f22c1e00] .el-dropdown{margin-right:10px;color:#14928a}.remark[data-v-f22c1e00]{display:inline;overflow:hidden;white-space:pre}.lookForm[data-v-f22c1e00] .el-dialog__body{padding:0}.iframe_back[data-v-f22c1e00]{width:195px;height:45px;position:absolute;bottom:50px;background:transparent;left:50%;z-index:99;margin-left:-100px}.iframe_help[data-v-f22c1e00]{position:absolute;background:transparent;width:50px;height:120px;top:50%;right:0;margin-top:-35px}.iframe_header_back[data-v-f22c1e00]{background:transparent;width:225px;height:50px;position:absolute;top:65px;left:20px}

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/app.3c445be1.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/chunk-173ed648.4365356e.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/chunk-4aec7346.1dbc2eff.js


+ 24 - 5
src/views/accompaniment/index.vue

@@ -235,12 +235,24 @@
           fixed="right"
         >
           <template slot-scope="scope">
-            <el-button
+            <!-- <el-button
               type="text"
               @click="looker(scope.row)"
               :disabled="(scope.row.isOpenMetronome ? !scope.row.url : !scope.row.metronomeUrl) || scope.row.clientType != 'SMART_PRACTICE'"
               >预览</el-button
-            >
+            > -->
+            <el-dropdown :disabled="(scope.row.isOpenMetronome ? !scope.row.url : !scope.row.metronomeUrl) || scope.row.clientType != 'SMART_PRACTICE'">
+                <span class="el-dropdown-link">
+                  预览<i class="el-icon-arrow-down el-icon--right"></i>
+                </span>
+                <el-dropdown-menu slot="dropdown">
+                  <el-dropdown-item>
+                    <el-button type="text" @click="looker(scope.row, 1)" >原音自带节拍器</el-button></el-dropdown-item>
+                  </el-dropdown-item>
+                  <el-dropdown-item>
+                    <el-button type="text" @click="looker(scope.row, 0)" >系统自带节拍器</el-button></el-dropdown-item>
+                </el-dropdown-menu>
+              </el-dropdown>
             <el-button
               type="text"
               @click="player(scope.row)"
@@ -336,11 +348,13 @@ export default {
   },
   data() {
     return {
+      tabName: 'first',
       type: "",
       activeUrl: "",
       songUseType,
       lookVisible: false,
       accompanyUrl: null, // 预览地址
+      accompanyUrl2: null, // 预览地址
       audioVisible: false,
       tableList: [],
       searchForm: {
@@ -427,14 +441,16 @@ export default {
       this.$refs.searchForm.resetFields();
       this.FetchList();
     },
-    looker(row) {
+    looker(row, num) {
       this.accompanyUrl =
         vaildTeachingUrl() +
         "/accompany?Authorization=" +
         getToken() +
-        "&platform=web#/detail/" +
+        "&platform=web&isOpenMetronome="+ num +"#/detail/" +
         row.id;
       this.lookVisible = true;
+
+
       // this.$nextTick(() => {
       //   console.log(this.$refs.iframe)
       //   let iframe = this.$refs.iframe
@@ -506,6 +522,10 @@ export default {
 }
 </style>
 <style lang="less" scoped>
+/deep/.el-dropdown {
+  margin-right: 10px;
+  color: #14928A;
+}
 .remark {
   display: inline;
   overflow: hidden;
@@ -516,7 +536,6 @@ export default {
     padding: 0;
   }
 }
-
 .iframe_back {
   width: 195px;
   height: 45px;

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä