|
@@ -232,7 +232,7 @@ export default defineComponent({
|
|
|
{createState.templateList.map((item: any) => (
|
|
|
<ElCol span={10} class="mb-3 cursor-pointer">
|
|
|
<div
|
|
|
- class="w-40 relative rounded-xl overflow-hidden border"
|
|
|
+ class="w-[152px] relative rounded-xl overflow-hidden border"
|
|
|
onClick={() => {
|
|
|
this.selectImg(item)
|
|
|
}}
|
|
@@ -271,9 +271,13 @@ export default defineComponent({
|
|
|
createState.live.backgroundPicTemplate = ''
|
|
|
}}
|
|
|
options={{
|
|
|
- fixedNumber: [3, 2],
|
|
|
- autoCropWidth: 300,
|
|
|
- autoCropHeight: 200
|
|
|
+ title: '课程封面',
|
|
|
+ fixedNumber: [3.34, 2],
|
|
|
+ autoCropWidth: 375,
|
|
|
+ autoCropHeight: 212
|
|
|
+ // fixedNumber: [3, 2],
|
|
|
+ // autoCropWidth: 300,
|
|
|
+ // autoCropHeight: 200
|
|
|
}}
|
|
|
/>
|
|
|
</ElFormItem>
|
|
@@ -283,7 +287,13 @@ export default defineComponent({
|
|
|
<ElButton
|
|
|
class="!w-40 !h-[38px]"
|
|
|
onClick={() => {
|
|
|
- console.log(true)
|
|
|
+ // console.log(true)
|
|
|
+ createState.active = 2
|
|
|
+ createState.live.salesStartDate = ''
|
|
|
+ createState.live.salesEndDate = ''
|
|
|
+ createState.live.backgroundPic = ''
|
|
|
+ createState.live.backgroundPicTemplate = ''
|
|
|
+ createState.live.mixStudentNum = null
|
|
|
}}
|
|
|
>
|
|
|
上一步
|
|
@@ -297,7 +307,6 @@ export default defineComponent({
|
|
|
console.log(_)
|
|
|
if (_) {
|
|
|
this.show = true
|
|
|
- } else {
|
|
|
}
|
|
|
})
|
|
|
}}
|