teamSoundMoney.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769
  1. <template>
  2. <div class='sound-container'>
  3. <p class="subTitle">按月缴费时,将在所选月份的1号的前一周提醒用户缴费操作,单次的缴费金额为当前列表「预计收费」的设置金额</p>
  4. <div class="chioseWrap"
  5. v-if='isLoop=="loop"'>
  6. <p>请选择缴费月份:</p>
  7. <el-checkbox-group v-model="checkList"
  8. fill="#14928A"
  9. text-color='#474747'>
  10. <el-checkbox label="1">一月</el-checkbox>
  11. <el-checkbox label="2">二月</el-checkbox>
  12. <el-checkbox label="3">三月</el-checkbox>
  13. <el-checkbox label="4">四月</el-checkbox>
  14. <el-checkbox label="5">五月</el-checkbox>
  15. <el-checkbox label="6">六月</el-checkbox>
  16. <el-checkbox label="7">七月</el-checkbox>
  17. <el-checkbox label="8">八月</el-checkbox>
  18. <el-checkbox label="9">九月</el-checkbox>
  19. <el-checkbox label="10">十月</el-checkbox>
  20. <el-checkbox label="11">十一月</el-checkbox>
  21. <el-checkbox label="12">十二月</el-checkbox>
  22. </el-checkbox-group>
  23. </div>
  24. <div class="topMsg">
  25. <p>当前选择声部数(个):{{chioseSoundNum}}</p>
  26. <p style='margin-left:30px;'>计划招生人数(个):{{PlannedCount}}</p>
  27. </div>
  28. <div class="listWrap">
  29. <el-table :data='activeSoundList'
  30. ref="multipleTable"
  31. :header-cell-style="{background:'#EDEEF0',color:'#444'}"
  32. highlight-current-row
  33. @selection-change='handleSelectionChange'
  34. @row-click='handleclick'>
  35. <el-table-column type="selection"
  36. width="55">
  37. </el-table-column>
  38. <el-table-column label="声部"
  39. prop="sound">
  40. </el-table-column>
  41. <el-table-column label="计划招生"
  42. prop="jihua">
  43. <template slot-scope="scope">
  44. <div>
  45. <el-input v-if='scope.row.type == 1'
  46. type='number'
  47. style="width:80px"
  48. size='mini'
  49. v-model="scope.row.jihua"
  50. placeholder="请输入"></el-input>
  51. <p v-if='scope.row.type == 2'>{{scope.row.jihua}}</p>
  52. </div>
  53. </template>
  54. </el-table-column>
  55. <el-table-column label="预计收费"
  56. prop="yuji">
  57. <template slot-scope="scope">
  58. <div>
  59. <el-input v-if='scope.row.type == 1'
  60. type='number'
  61. style="width:80px"
  62. size='mini'
  63. v-model="scope.row.yuji"
  64. placeholder="请输入"></el-input>
  65. <p v-if='scope.row.type == 2'>{{scope.row.yuji}}</p>
  66. </div>
  67. </template>
  68. </el-table-column>
  69. <el-table-column label="可选乐器种类"
  70. prop="zhonglei"
  71. width="300">
  72. <template slot-scope="scope">
  73. <!-- 'typeVisible':false,'provideVisible':false,'markVisible':false -->
  74. <div>
  75. <el-popover placement="bottom"
  76. @show='chioseType(scope.row)'
  77. v-model="scope.row.typeVisible"
  78. v-if='scope.row.type == 1'>
  79. <div slot='reference'
  80. class='chiose'>
  81. 操作
  82. </div>
  83. <!-- zhonglei -->
  84. <el-select v-model="scope.row.zhonglei"
  85. multiple
  86. clearable
  87. collapse-tags>
  88. <el-option v-for="(item,index) in scope.row.goodsList"
  89. :key='index'
  90. :label="item.name"
  91. :value="item.id"></el-option>
  92. </el-select>
  93. <div style="text-align: right; margin-top: 20px">
  94. <!-- <el-button size="mini"
  95. type="text"
  96. @click="closechioseType(scope.row)">取消</el-button> -->
  97. <el-button type="primary"
  98. size="mini"
  99. @click="scope.row.typeVisible = false">确定</el-button>
  100. </div>
  101. </el-popover>
  102. <p v-if='scope.row.type == 2'>{{scope.row.zhonglei | zhongleiFilter(scope.row.goodsList)}}</p>
  103. </div>
  104. </template>
  105. </el-table-column>
  106. <el-table-column label="乐器提供方式"
  107. prop="fangshi"
  108. width="180">
  109. <template slot-scope="scope">
  110. <div>
  111. <!-- <div class="chiose"
  112. >选择</div> -->
  113. <p v-if='scope.row.type == 2'>{{scope.row.fangshi | fangshiFilter(scope.row.fangshiprice)}}</p>
  114. <el-popover placement="bottom"
  115. v-model="scope.row.provideVisible"
  116. v-if='scope.row.type == 1'>
  117. <div class='chiose'
  118. slot='reference'>
  119. 操作
  120. </div>
  121. <el-select v-model="scope.row.fangshi">
  122. <el-option label="免费"
  123. value="FREE"></el-option>
  124. <el-option label="租赁"
  125. value="GROUP"></el-option>
  126. <el-option label="借用"
  127. value="LEASE"></el-option>
  128. </el-select>
  129. <el-input placeholder="请输入费用"
  130. v-model="scope.row.fangshiprice"
  131. style='width:180px; margin-top:20px'></el-input>
  132. <div style="text-align: right; margin-top: 20px">
  133. <!-- <el-button size="mini"
  134. type="text"
  135. @click="scope.row.provideVisible = false">取消</el-button> -->
  136. <el-button type="primary"
  137. size="mini"
  138. @click="scope.row.provideVisible = false">确定</el-button>
  139. </div>
  140. </el-popover>
  141. </div>
  142. </template>
  143. </el-table-column>
  144. <el-table-column label="教辅组合"
  145. prop="jiaopu">
  146. <template slot-scope="scope">
  147. <div>
  148. <!-- <el-popover placement="bottom"
  149. v-model="scope.row.markVisible"
  150. @show="chioseMark"
  151. v-if='scope.row.type == 1'>
  152. <div slot='reference'
  153. class='chiose'>
  154. 操作
  155. </div>
  156. <el-input v-model="scope.row.fangshi"></el-input>
  157. 1111
  158. <div style="text-align: right; margin: 0">
  159. <el-button size="mini"
  160. type="text"
  161. @click="scope.row.provideVisible = false">取消</el-button>
  162. <el-button type="primary"
  163. size="mini"
  164. @click="scope.row.provideVisible = false">确定</el-button>
  165. </div>
  166. </el-popover> -->
  167. <!-- scope.row.markVisible = true -->
  168. <div class='chiose'
  169. v-if='scope.row.type == 1'
  170. @click="chioseMark(scope.row)">
  171. 操作
  172. </div>
  173. <el-dialog :visible.sync="scope.row.markVisible"
  174. width="60%">
  175. <el-button type='text'
  176. @click="addMark(scope.row)">添加教辅</el-button>
  177. <div class="markWrap">
  178. <div class="markItem"
  179. v-for="(item, index) in scope.row.markList"
  180. :key='index'>
  181. <el-form :model="item"
  182. :inline="true">
  183. <el-form-item label="教辅名称">
  184. <el-input type="text"
  185. v-model="item.name"></el-input>
  186. </el-form-item>
  187. <el-form-item label="教辅商品">
  188. <el-select v-model="item.goods"
  189. multiple
  190. collapse-tags>
  191. <el-option v-for='(item,index) in scope.row.markChioseList'
  192. :key='index'
  193. :label="item.name"
  194. :value="item.id"></el-option>
  195. </el-select>
  196. </el-form-item>
  197. <el-form-item label="教辅打包价">
  198. <el-input type='number'
  199. v-model="item.price"></el-input>
  200. </el-form-item>
  201. <el-form-item>
  202. <el-button type="danger"
  203. icon="el-icon-delete"
  204. circle
  205. @click='removeMartItem(scope.row,index)'>
  206. </el-button>
  207. </el-form-item>
  208. </el-form>
  209. </div>
  210. </div>
  211. <span slot="footer"
  212. class="dialog-footer">
  213. <!-- <el-button @click="scope.row.markVisible = false">取 消</el-button> -->
  214. <el-button type="primary"
  215. @click="scope.row.markVisible = false">确 定</el-button>
  216. </span>
  217. </el-dialog>
  218. <div v-if='scope.row.type == 2'>
  219. <p v-for='(item,index) in scope.row.markList'
  220. :key='index'>{{item.name+':'}}{{item.goods|goodsFilter(scope.row.markChioseList)}}{{' 价格 '+item.price }} </p>
  221. </div>
  222. </div>
  223. </template>
  224. </el-table-column>
  225. <el-table-column label="操作">
  226. <template slot-scope="scope">
  227. <div>
  228. <el-button v-if='scope.row.type == 2'
  229. type="text"
  230. @click="savecolumn(scope.row)">编辑</el-button>
  231. <el-button v-if='scope.row.type == 1'
  232. type="text"
  233. @click="savecolumn(scope.row)">保存</el-button>
  234. </div>
  235. </template>
  236. </el-table-column>
  237. </el-table>
  238. <div class="floor">
  239. <div class="remove"
  240. @click="removeListItem">删除</div>
  241. <div class='add'
  242. @click="addListItem">添加</div>
  243. </div>
  244. </div>
  245. <el-dialog title="声部选择"
  246. :visible.sync="dialogTableVisible"
  247. :modal-append-to-body="false">
  248. <div class="soundWrap">
  249. <div class="itemList">
  250. <div class="categroy"
  251. v-for="(item,index) in soundList"
  252. :key="index">
  253. <p>{{item.name }}</p>
  254. <el-checkbox-group v-model="soundLists[index]"
  255. @change='changeList'>
  256. <!-- sound: this.activeSoundList[item].name, // id
  257. jihua: '10', //计划招生人数
  258. yuji: '10', // 预计收费
  259. zhonglei: [], // 可选乐器种类
  260. fangshi: 2, // 乐器提供方式
  261. jiaopu: 'jiaopu1', // 教辅组合
  262. type: 1, // 操作
  263. id: this.activeSoundList[item].id, //声部id
  264. visible: false, // 当前乐器提供方式的pop提示框显示隐藏 -->
  265. <el-checkbox :label="sound.id"
  266. @change="checkinlist({'id':sound.id,'sound':sound.name,'jihua':0,'yuji':0,'zhonglei':[],'fangshi':'','fangshiprice':0,'jiaopu':'','type':1,'typeVisible':false,'provideVisible':false,'markVisible':false,'goodsList':[],'markList':[{'name':'','goods':[],'price':''}],'markChioseList':[]})"
  267. v-for="(sound,indexs) in item.subjects"
  268. :key="indexs">{{sound.name }}</el-checkbox>
  269. </el-checkbox-group>
  270. </div>
  271. </div>
  272. </div>
  273. <p class='soundSubP'>当前选择声部数:{{chioseSoundNum}}</p>
  274. <div class="btnWraps">
  275. <div class="dialogBtn"
  276. @click="generates">确定</div>
  277. </div>
  278. </el-dialog>
  279. <div class="btnWrap">
  280. <div class="PrevBtn"
  281. @click="goback">上一步</div>
  282. <div class="submitBtn"
  283. @click="submitInfo">提交</div>
  284. </div>
  285. </div>
  286. </template>
  287. <script>
  288. import store from '@/store'
  289. import { getSubject, getDefaultSubject, getGoods, createTeam } from '@/api/buildTeam'
  290. export default {
  291. data () {
  292. return {
  293. dialogTableVisible: false,
  294. soundList: [],
  295. soundLists: [], // 存储选中项的声部id 记录变量
  296. activeSoundList: [], // 记录存储后的所选中的声部列表
  297. checkList: [1],
  298. multipleSelection: [], // 列表选择的集合
  299. isLoop: '', // 是否显示周期循环
  300. payfor: {},
  301. topfor: {},
  302. checkfor: {}
  303. }
  304. },
  305. methods: {
  306. // 改变checkbox
  307. changeList (e) {
  308. // console.log(e);
  309. },
  310. handleSelectionChange (e) {
  311. // 点击改变勾选
  312. this.multipleSelection = e;
  313. },
  314. handleclick (e) { },
  315. handleStatus (data) {
  316. },
  317. // 点击添加按钮
  318. addListItem () {
  319. this.dialogTableVisible = true;
  320. },
  321. // 点击确认按钮生成表单
  322. generates () {
  323. this.dialogTableVisible = false;
  324. },
  325. removeListItem () {
  326. console.log(this.soundLists)
  327. // 点击删除按钮
  328. return
  329. for (let i = 0; i < this.activeSoundList.length; i++) {
  330. for (let j = 0; j < this.multipleSelection.length; j++) {
  331. if (this.activeSoundList[i].id == this.multipleSelection[j].id) {
  332. this.activeSoundList.splice(i, 1);
  333. // 遍历循环所有的group 删除所选id
  334. for (let key in this.soundLists) {
  335. if (this.soundLists[key].indexOf(this.multipleSelection[j].id) != -1) {
  336. // console.log(this.soundLists[key], this.multipleSelection[j].id, this.soundLists[key].indexOf(this.multipleSelection[j].id));
  337. this.soundLists[key].splice(this.soundLists[key].indexOf(this.multipleSelection[j].id), 1)
  338. }
  339. }
  340. }
  341. }
  342. }
  343. },
  344. // 勾选选中框处理数据,存储勾选过的checkbox值
  345. checkinlist (obj) {
  346. let flag = false;
  347. this.activeSoundList.map(item => {
  348. if (item.id == obj.id) {
  349. flag = true
  350. }
  351. })
  352. if (!flag) {
  353. this.activeSoundList.push(obj)
  354. } else {
  355. for (let i = 0; i < this.activeSoundList.length; i++) {
  356. if (this.activeSoundList[i].id == obj.id) {
  357. this.activeSoundList.splice(i, 1);
  358. }
  359. }
  360. }
  361. },
  362. // 根据声部id获取可选乐器种类
  363. chioseType (row) {
  364. // 根据id查询可选类型种类
  365. let id = row.id;
  366. // console.log(row.id);
  367. // 'subjectId': id, ' type'='INSTRUMENT'
  368. getGoods({ 'subjectId': 3, 'type': 'INSTRUMENT' }).then(res => {
  369. if (res.code == 200) {
  370. row.goodsList = res.data;
  371. // console.log(row);
  372. }
  373. })
  374. },
  375. // 点击关闭乐器种类
  376. closechioseType (row) {
  377. row.typeVisible = false;
  378. },
  379. // 根据声部id查询可选教辅
  380. chioseMark (row) {
  381. row.markVisible = true
  382. let id = row.id;
  383. getGoods({ 'subjectId': 3, 'type': 'ACCESSORIES' }).then(res => {
  384. if (res.code == 200) {
  385. row.markChioseList = res.data;
  386. // console.log(row);
  387. }
  388. })
  389. },
  390. // 添加教辅
  391. addMark (row) {
  392. row.markList.push({ 'name': '', 'goods': [], 'price': '' })
  393. },
  394. // 删除教辅
  395. removeMartItem (row, index) {
  396. // console.log(index);
  397. row.markList.splice(index, 1);
  398. },
  399. // 点击保存或编辑
  400. savecolumn (row) {
  401. row.type == 1 ? row.type = 2 : row.type = 1
  402. },
  403. // 返回上一步
  404. goback () {
  405. this.$emit('chiosetab', 0);
  406. },
  407. submitInfo () {
  408. // 整理数据提交
  409. let obj = {};
  410. this.payfor.student.chiose == 'loop' ? obj.months = this.checkList : obj.months = [];
  411. console.log(JSON.stringify(this.checkfor));
  412. obj.musicGroup = {
  413. settlementType: this.topfor.salary,
  414. applyExpireDate: this.topfor.time + ' 00:00:01',
  415. chargeTypeId: this.topfor.type,
  416. cooperationOrganId: this.topfor.school,
  417. teamTeacherId: this.topfor.boss,
  418. educationalTeacherId: this.topfor.teacher,
  419. enrollClasses: this.topfor.startClass.join(','),
  420. name: this.topfor.name,
  421. organId: this.topfor.section,
  422. // paymentMonths:obj.months 有待确认
  423. schoolId: this.topfor.address,
  424. courseForm: JSON.stringify(this.checkfor)
  425. }
  426. obj.musicGroupPaymentEntities = []
  427. // 添加学校主体付费方式
  428. console.log(this.payfor.company.ischeck)
  429. if (this.payfor.school.ischeck) {
  430. obj.musicGroupPaymentEntities.push({
  431. 'amount': this.payfor.school.price,
  432. 'memo': this.payfor.school.value,
  433. 'paymentMethod': this.payfor.school.chiose,
  434. 'name': '学校'
  435. })
  436. }
  437. // 添加公司主体付费方式
  438. if (this.payfor.company.ischeck) {
  439. obj.musicGroupPaymentEntities.push({
  440. 'amount': this.payfor.company.price,
  441. 'memo': this.payfor.company.value,
  442. 'paymentMethod': this.payfor.company.chiose,
  443. 'name': '公司'
  444. })
  445. }
  446. // 添加商品以及教辅
  447. obj.musicGroupSubjectGoodsGroups = [];
  448. console.log(this.activeSoundList);
  449. for (let i in this.activeSoundList) {
  450. // 遍历声部里的乐器
  451. let some = {};
  452. some.subjectId = this.activeSoundList[i].id;
  453. some.type = 'INSTRUMENT';
  454. some.goodsIdList = this.activeSoundList[i].zhonglei.join(',');
  455. obj.musicGroupSubjectGoodsGroups.push(some);
  456. }
  457. // 遍历声部里的教辅
  458. for (let i in this.activeSoundList) {
  459. // 遍历声部里的乐器
  460. for (let j in this.activeSoundList[i].markList) {
  461. let some = {};
  462. some.subjectId = this.activeSoundList[i].id;
  463. some.type = 'ACCESSORIES';
  464. some.goodsIdList = this.activeSoundList[i].markList[j].goods.join(',');
  465. some.name = this.activeSoundList[i].markList[j].name;
  466. some.price = this.activeSoundList[i].markList[j].price;
  467. obj.musicGroupSubjectGoodsGroups.push(some);
  468. }
  469. }
  470. // 添加声部
  471. obj.musicGroupSubjectPlans = [];
  472. for (let i in this.activeSoundList) {
  473. let item = {};
  474. // expectedStudentNum
  475. item.expectedStudentNum = this.activeSoundList[i].jihua;
  476. item.fee = this.activeSoundList[i].yuji;
  477. item.kitGroupPurchaseType = this.activeSoundList[i].fangshi;
  478. item.subName = this.activeSoundList[i].sound;
  479. item.subjectId = this.activeSoundList[i].id;
  480. obj.musicGroupSubjectPlans.push(item);
  481. }
  482. console.log(obj);
  483. createTeam(obj).then(res => {
  484. if (res.code == 200) {
  485. // 成功 跳转到乐团报名详情
  486. this.$router.push({ path: '/teamBuild/teamSeting', query: { id: res.data } })
  487. }
  488. })
  489. }
  490. },
  491. filters: {
  492. zhongleiFilter (val, list) {
  493. let arr = []
  494. for (let i = 0; i < list.length; i++) {
  495. for (let j = 0; j < val.length; j++) {
  496. if (val[j] == list[i].id) {
  497. arr.push(list[i].name)
  498. }
  499. }
  500. }
  501. return arr.join(',')
  502. },
  503. fangshiFilter (val, price) {
  504. let str = ''
  505. if (val == 'FREE') {
  506. str = '免费'
  507. } else if (val == 'GROUP') {
  508. str = '租赁'
  509. } else if (val == 'LEASE') {
  510. str = '借用'
  511. }
  512. return str + '费用:' + price
  513. },
  514. goodsFilter (val, list) {
  515. let arr = [];
  516. for (let i = 0; i < val.length; i++) {
  517. for (let j = 0; j < list.length; j++) {
  518. if (val[i] == list[j].id) {
  519. arr.push(list[j].name);
  520. }
  521. }
  522. }
  523. return arr.join(',');
  524. }
  525. // markFilter(val){
  526. // for
  527. // let name = val.name;
  528. // let goods = val.goods.join(',');
  529. // let price = val.price
  530. // }
  531. },
  532. mounted () {
  533. getSubject().then(res => {
  534. // console.log(res);
  535. if (res.code == 200) {
  536. this.soundList = res.data.rows;
  537. // // 生成动态的checkList
  538. for (let key in this.soundList) {
  539. this.$set(this.soundLists, key, [])
  540. }
  541. getDefaultSubject({ chargeTypeId: type }).then(res => {
  542. if (res.code == 200) {
  543. this.activeSoundList = res.data.map(item => {
  544. console.log(this.soundLists[0])
  545. this.soundLists[0].push(item.id)
  546. let obj = { 'id': item.id, 'sound': item.name, 'jihua': 0, 'yuji': 0, 'zhonglei': [], 'fangshi': '', 'fangshiprice': 0, 'jiaopu': '', 'type': 1, 'typeVisible': false, 'provideVisible': false, 'markVisible': false, 'goodsList': [], 'markList': [{ 'name': '', 'goods': [], 'price': '' }], 'markChioseList': [] }
  547. return obj;
  548. })
  549. // 并且把所有soundLists 里面
  550. }
  551. });
  552. }
  553. })
  554. // 拿到刚才的存储的信息
  555. this.payfor = this.$store.getters.payList;
  556. this.topfor = this.$store.getters.topinfo;
  557. this.checkfor = this.$store.getters.checkinfo;
  558. let type = this.topfor.type;
  559. // console.log(this.topfor);
  560. // console.log(this.checkfor);
  561. // console.log(this.payfor);
  562. this.isLoop = this.payfor.student.chiose || 1;
  563. // 获取存储的type值获取默认值
  564. },
  565. watch: {
  566. },
  567. computed: {
  568. // 返回当前选中声部数量
  569. chioseSoundNum () {
  570. let num = 0;
  571. for (let key in this.soundList) {
  572. // console.log(this.soundLists[key])
  573. num += this.soundLists[key].length;
  574. }
  575. return num;
  576. },
  577. // 计划招生人数
  578. PlannedCount () {
  579. let Count = 0;
  580. for (let item in this.activeSoundList) {
  581. Count += parseInt(this.activeSoundList[item].jihua)
  582. }
  583. return Count
  584. }
  585. },
  586. }
  587. </script>
  588. <style lang="scss" >
  589. // .el-table__body tr.current-row > td {
  590. // background-color: #c6cbd4 !important;
  591. // }
  592. .el-checkbox__input.is-checked .el-checkbox__inner,
  593. .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  594. background-color: #14928a;
  595. border-color: #14928a;
  596. }
  597. .el-select__tags .el-tag__close.el-icon-close {
  598. display: inline-block;
  599. }
  600. // .el-dialog__header {
  601. // padding: 0 32px !important;
  602. // height: 40px;
  603. // line-height: 40px;
  604. // background-color: #14928a;
  605. // .el-dialog__title {
  606. // color: #fff;
  607. // font-size: 16px;
  608. // }
  609. // }
  610. .el-checkbox__input.is-checked + .el-checkbox__label {
  611. color: #606266;
  612. }
  613. .sound-container {
  614. .chioseWrap {
  615. margin-bottom: 30px;
  616. display: flex;
  617. flex-direction: row;
  618. padding: 0 25px;
  619. p {
  620. font-size: 14px;
  621. margin-right: 30px;
  622. }
  623. }
  624. .topMsg {
  625. padding: 0 25px;
  626. display: flex;
  627. flex-direction: row;
  628. justify-content: flex-start;
  629. font-size: 14px;
  630. color: #444;
  631. margin-bottom: 15px;
  632. }
  633. .subTitle {
  634. width: 1203px;
  635. height: 40px;
  636. line-height: 40px;
  637. background-color: #fefceb;
  638. padding: 0 25px;
  639. box-sizing: border-box;
  640. font-size: 16px;
  641. color: #474747;
  642. margin-bottom: 20px;
  643. }
  644. .floor {
  645. display: flex;
  646. flex-direction: row;
  647. justify-content: flex-start;
  648. width: 100%;
  649. height: 48px;
  650. line-height: 48px;
  651. background: rgba(237, 238, 240, 1);
  652. font-size: 14px;
  653. color: #444;
  654. align-items: center;
  655. position: relative;
  656. z-index: 1;
  657. .remove {
  658. width: 98px;
  659. height: 32px;
  660. background: rgba(248, 80, 67, 1);
  661. border-radius: 3px;
  662. color: #fff;
  663. line-height: 32px;
  664. text-align: center;
  665. margin-left: 164px;
  666. cursor: pointer;
  667. }
  668. .add {
  669. width: 98px;
  670. height: 32px;
  671. background: rgba(20, 146, 138, 1);
  672. border-radius: 3px;
  673. color: #fff;
  674. line-height: 32px;
  675. text-align: center;
  676. margin-left: 20px;
  677. cursor: pointer;
  678. }
  679. }
  680. .xuanze {
  681. width: 71px;
  682. }
  683. .chiose {
  684. width: 65px;
  685. height: 24px;
  686. line-height: 24px;
  687. border: 1px solid rgba(151, 151, 151, 1);
  688. border-radius: 12px;
  689. text-align: center;
  690. cursor: pointer;
  691. }
  692. }
  693. .soundWrap {
  694. width: 100%;
  695. overflow: auto;
  696. .itemList {
  697. display: flex;
  698. flex-direction: row;
  699. justify-content: flex-start;
  700. flex-wrap: nowrap;
  701. flex-grow: 1;
  702. height: 300px;
  703. max-height: 300px;
  704. overflow: auto;
  705. .categroy {
  706. width: 150px;
  707. min-width: 150px;
  708. .el-checkbox {
  709. height: 30px;
  710. line-height: 30px;
  711. display: block;
  712. padding-left: 20px;
  713. }
  714. p {
  715. height: 40px;
  716. line-height: 40px;
  717. background-color: #edeef0;
  718. margin-bottom: 15px;
  719. text-align: center;
  720. }
  721. }
  722. }
  723. }
  724. .soundSubP {
  725. height: 40px;
  726. line-height: 40px;
  727. background-color: #edeef0;
  728. padding-left: 25px;
  729. }
  730. .btnWraps {
  731. display: flex;
  732. flex-direction: column;
  733. align-items: center;
  734. margin-top: 150px;
  735. .dialogBtn {
  736. width: 188px;
  737. height: 40px;
  738. background: rgba(249, 114, 21, 1);
  739. border-radius: 4px;
  740. line-height: 40px;
  741. color: #fff;
  742. text-align: center;
  743. cursor: pointer;
  744. }
  745. }
  746. .btnWrap {
  747. margin-top: 40px;
  748. .PrevBtn {
  749. background-color: #444444;
  750. }
  751. .submitBtn {
  752. background-color: #f85043;
  753. }
  754. }
  755. </style>