@@ -7,8 +7,8 @@ | |||||
<!-- <meta name="viewport" content="width=device-width,initial-scale=1.0"> --> | <!-- <meta name="viewport" content="width=device-width,initial-scale=1.0"> --> | ||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> | <link rel="icon" href="<%= BASE_URL %>favicon.ico"> | ||||
<link rel="stylesheet" href="https://g.alicdn.com/de/prismplayer/2.13.2/skins/default/aliplayer-min.css"> | <link rel="stylesheet" href="https://g.alicdn.com/de/prismplayer/2.13.2/skins/default/aliplayer-min.css"> | ||||
<script charset="utf-8" type="text/javascript" | |||||
src="https://g.alicdn.com/de/prismplayer/2.13.2/aliplayer-min.js"></script> | |||||
<script charset="utf-8" type="text/javascript" src="https://g.alicdn.com/de/prismplayer/2.13.2/aliplayer-min.js"> | |||||
</script> | |||||
<title> | <title> | ||||
<%= htmlWebpackPlugin.options.title %> | <%= htmlWebpackPlugin.options.title %> | ||||
</title> | </title> | ||||
@@ -399,7 +399,6 @@ import "swiper/dist/css/swiper.css"; | |||||
import Swiper from "swiper"; | import Swiper from "swiper"; | ||||
import { mapState, mapActions } from "vuex"; | import { mapState, mapActions } from "vuex"; | ||||
import top from "../common/top.vue"; | import top from "../common/top.vue"; | ||||
import baseUrl from "../../api/baseUrl"; | |||||
import { Toast } from "vant"; | import { Toast } from "vant"; | ||||
import Vue from "vue"; | import Vue from "vue"; | ||||
@@ -613,7 +612,7 @@ export default { | |||||
if (AccessToken) { | if (AccessToken) { | ||||
this.$axios({ | this.$axios({ | ||||
method: "get", | method: "get", | ||||
url: `${baseUrl}/api/userVideo/list?pageNum=1&pageSize=3`, | |||||
url: `https://smapitest.malls.iformall.com/C/api/userVideo/list?pageNum=1&pageSize=3`, | |||||
headers: { | headers: { | ||||
"Content-Type": "application/json;charset=UTF-8", | "Content-Type": "application/json;charset=UTF-8", | ||||
token: AccessToken, | token: AccessToken, | ||||
@@ -44,18 +44,6 @@ const routes = [ | |||||
name: 'chooseModel', | name: 'chooseModel', | ||||
component: () => import("../views/model/chooseModel"), | component: () => import("../views/model/chooseModel"), | ||||
}, | }, | ||||
// 模板详情 | |||||
{ | |||||
path: '/modelDetail', | |||||
name: 'modelDetail', | |||||
component: () => import("../views/model/modelDetail"), | |||||
}, | |||||
// 选择语音 | |||||
{ | |||||
path: '/selectSound', | |||||
name: 'selectSound', | |||||
component: () => import("../views/model/selectSound"), | |||||
}, | |||||
// 录入文案 | // 录入文案 | ||||
{ | { | ||||
path: '/getPaper', | path: '/getPaper', | ||||
@@ -309,6 +309,15 @@ export default { | |||||
...this.backGroundParams, | ...this.backGroundParams, | ||||
}; | }; | ||||
console.log(data, "最终提交的参数"); | console.log(data, "最终提交的参数"); | ||||
if ( | |||||
!this.soundParams.voiceMouldId || | |||||
!this.soundParams.voiceMouldSmId | |||||
) { | |||||
Toast.fail("请选择声音!"); | |||||
return; | |||||
} | |||||
this.saveOrUpdate(data); | this.saveOrUpdate(data); | ||||
} else if (status == 0) { | } else if (status == 0) { | ||||
this.isShowMessageCover = true; | this.isShowMessageCover = true; | ||||