Commit 95d6fc5d by wuwx

Merge branch 'v2.7.0' into wuwx_dev_v2.7.0

2 parents 2790ca72 3d40d852
......@@ -76,7 +76,7 @@
<slot :name="item.suffixSlot" :scope="item"></slot>
</template>
<!-- 图文编辑器 -->
<textBox v-else-if="item.type === 'textBox'" :ref="item.name + 'TextBox'" @change="e => handleTextBoxChange(e, item)" @focus="handleTextBoxFocus(item)"></textBox>
<textBox v-else-if="item.type === 'textBox'" :ref="item.name + 'TextBox'" :excludeMenus="item.excludeMenus || ['code']" @change="e => handleTextBoxChange(e, item)" @focus="handleTextBoxFocus(item)"></textBox>
<!-- 地图 -->
<div v-else-if="item.type === 'map'" class="flex">
<Province ref="provinceForm" :subdistrict="subdistrict" :isDisabled="item.isDisabled" @selectProvince="e => handleSelectProvince(e, item)" @selectCity="e => handleSelectCity(e, item)"></Province>
......
......@@ -281,9 +281,9 @@ export default {
type: 'material',
funName: 'material',
groupListApi: this.$apis.welcomeword.getGroupListApi,
materialListApi: this.$apis.welcomeword.getMaterialListApi,
pdfNo: 1,
videoNo: 1
materialListApi: this.$apis.welcomeword.getMaterialListApi
// pdfNo: 1
// videoNo: 1
},
{
name: '模板',
......@@ -378,7 +378,9 @@ export default {
// 预览回显事件
previewForm(val) {
console.log(val)
this.previewVal = val
const value = this.$common.utils.deepClone(val)
if (!value[0].attContent) value.splice(0, 1)
this.previewVal = value
},
handleCancel() {
if (this.editStatus || this.$refs.welcome.previewList.length > 0) {
......
......@@ -217,9 +217,9 @@ export default {
type: 'material',
funName: 'material',
groupListApi: this.$apis.welcomeword.getGroupListApi,
materialListApi: this.$apis.welcomeword.getMaterialListApi,
pdfNo: 1,
videoNo: 1
materialListApi: this.$apis.welcomeword.getMaterialListApi
// pdfNo: 1,
// videoNo: 1
},
{
name: '模板',
......
......@@ -75,7 +75,7 @@
<div class="detail-condition-item" v-if="basicInfo.condition.chatName">
<span class="name">所在群聊</span>
<span v-for="(item, index) in basicInfo.condition.chatName.split(',')" class="el-tag-item" :key="index">
<el-tag v-if="index < 2" type="info" class="hidden-tag">{{ item }}</el-tag>
<el-tag v-if="index < 2" type="info" :class="index > 2 ? 'hidden-tag' : ''">{{ item }}</el-tag>
<el-tag type="info" v-if="basicInfo.condition.chatName.split(',').length > 2 && index == 2">
<el-popover placement="top" width="300" trigger="hover">
<span slot="reference">...({{ basicInfo.condition.chatName.split(',').length }})</span>
......
......@@ -22,7 +22,12 @@
<el-image style="width: 100px" :src="item.attContent" fit="contain"></el-image>
</template>
<template v-else-if="item.attType == 3">
<video style="width: 100px" :src="item.attContent"></video>
<div class="video-panel" :key="itm">
<video id="video" width="95">
<source :src="item.attContent" type="video/mp4" />
</video>
<i class="el-icon-video-play"></i>
</div>
</template>
<template v-else-if="item.attType == 5">
<div class="preview-text text preview-applet">
......@@ -33,6 +38,14 @@
{{ item.attContent.page }}
</div>
</template>
<template v-else-if="item.attType == 6">
<div class="preview-pdf">
<div class="pdf-title">{{ item.attContent.fileName }}</div>
<div class="preview-link">
<img src="@/assets/guestCustom/preview-link.png" alt="" />
</div>
</div>
</template>
</div>
</div>
</div>
......@@ -56,7 +69,7 @@ export default {
val.forEach(item => {
if (item.attType == 1) {
const attContent = item.attContent
const htm = attContent.replace(/\[[\u4E00-\u9FA56]{1,4}]/gi, function(res) {
const htm = attContent.replace(/\[[\u4E00-\u9FA56]{1,4}]/gi, function (res) {
let word = res.replace(/\[|\]/gi, '')
const list = emoji.flat(Infinity)
let index = parseInt(list.indexOf(word)) + 1
......@@ -68,9 +81,9 @@ export default {
return `<img src="https://img01.glsx.com.cn/weapp/resource/saas/scrm/emoji/${index}.png">`
})
item.attContent = htm
} else if (item.attType != 2) {
} else if (item.attType != 2 && item.attType != 3) {
console.log(item)
item.attContent = JSON.parse(item.attContent)
if (!this.eventBus) item.attContent = JSON.parse(utils.deepClone(item.attContent))
console.log(item.attContent)
}
})
......@@ -85,9 +98,11 @@ export default {
}
},
created() {
this.eventBus.$on('update', val => {
this.previewList = val
})
if (this.eventBus) {
this.eventBus.$on('update', val => {
this.previewList = val
})
}
},
mounted() {
const date = new Date()
......@@ -151,14 +166,11 @@ export default {
white-space: pre-wrap;
}
.preview-link {
display: inline-flex;
word-break: break-all;
font-size: 14px;
padding: 8px 8px 8px 11px;
display: flex;
justify-content: flex-end;
img {
width: 34px;
height: 34px;
margin-left: 10px;
width: 30px;
height: 30px;
}
}
.preview-text::before {
......@@ -209,6 +221,31 @@ export default {
border-top: 1px solid #edeff3;
}
}
.preview-pdf {
width: 158px;
height: 62px;
background-color: #fff;
padding: 5px 13px;
box-sizing: border-box;
.pdf-title {
font-size: 12px;
color: #333;
line-height: 16px;
}
}
.video-panel {
position: relative;
.el-icon-video-play {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 10;
font-size: 20px;
color: #fff;
// cursor: pointer;
}
}
}
}
}
......
......@@ -41,7 +41,7 @@
<div class="member-name">成员名称({{ innerTags.length }}项)</div>
<div class="input-tag-wrapper">
<div class="tag-box">
<el-tag v-for="(tag, idx) in innerTags" :key="idx" type="info" closable :disable-transitions="false" @close="remove(tag)">
<el-tag v-for="(tag, idx) in innerTags" :key="idx" type="info" closable :disable-transitions="false" @close="remove(innerTags[idx])">
<i class="el-icon-user-solid"></i>
{{ tag.staffName }}
</el-tag>
......@@ -109,7 +109,7 @@ export default {
methods: {
selectionTable(val) {
console.log(val)
this.innerTags = val
this.innerTags = this.$common.utils.deepClone(val)
// this.$emit('selectTable', val)
},
// 清空搜索条件
......@@ -226,7 +226,14 @@ export default {
}
},
remove(item) {
this.$refs.empTable.$refs.salelistMutiTable.toggleRowSelection(item)
// var idx = this.innerTags.findIndex(k => k.id == item.id)
// this.innerTags.splice(idx, 1)
if (this.tableEmpData.map(k => k.id).includes(item.id)) {
var i = this.tableEmpData.findIndex(k => k.id == item.id)
this.$refs.empTable.$refs.salelistMutiTable.toggleRowSelection(this.tableEmpData[i])
console.log(item, this.tableEmpData[i])
}
// this.$refs.empTable.$refs.salelistMutiTable.toggleRowSelection(item)
},
rowClick(row) {
this.$refs.empTable.$refs.salelistMutiTable.toggleRowSelection(row)
......
......@@ -187,37 +187,38 @@
</GLFooter>
<select-single-pro-dialog v-if="isSingleSelectVisible" :isSingleSelectVisible="isSingleSelectVisible" :selectedProInfo="selectedProInfo" @handleSingleSelectConfirm="handleSingleSelectConfirm" @handleSingleSelectClose="handleSingleSelectClose"></select-single-pro-dialog>
<!-- 在线客服 -->
<glsx-dialog class="server-dialog" title="在线客服" width="712px" :noBtnOk="true" :isVisible.sync="isConsultantVisible" @confirmDialog="handleConsultantConfirm" @closeDialog="handleConsultantClose">
<GLDialog class="server-dialog" title="在线客服" mode="mid" :visible.sync="isConsultantVisible" @onOk="handleConsultantConfirm" @onCancel="handleConsultantClose">
<div class="server-container">
<img src="@/assets/no-server.png" />
<p class="server-txt">系统暂无已创建的在线客服</p>
</div>
<template slot="btn-middle">
<template slot="footer">
<el-button size="small" @click="handleConsultantClose">取 消</el-button>
<GLButton type="primary" :size="size" fn="创建客服" @click="handleConsultantConfirm">创建客服</GLButton>
</template>
</glsx-dialog>
<el-dialog v-if="isImgVisible" :visible.sync="isImgVisible" class="dialog-look">
</GLDialog>
<GLDialog v-if="isImgVisible" bigTitle="查看" mode="big" :visible.sync="isImgVisible" class="dialog-look" :hasFooter="false">
<video v-if="dialogObj.uploadType == 'video'" class="dialog-video" controls>
<source :src="dialogObj.url" type="video/mp4" />
</video>
<img v-else class="dialog-img" width="100%" :src="dialogObj.url" alt="" />
</el-dialog>
</GLDialog>
<!-- banner管理配置门店 -->
<relate-store-dialog v-if="relateStoreVisible" ref="relateStore" :relateStoreVisible="relateStoreVisible" :storeApi="storeApi" :storeSearchForm="storeSearchForm" :storeSelected="selectedList" @handleRelateStoreConfirm="handleRelateStoreConfirm" @handleRelateStoreClose="handleRelateStoreClose">
<el-row slot>
<el-form :model="storeSearchForm" ref="relate" :inline="true" label-width="90px">
<el-form-item label="商户ID:" prop="merchantId">
<el-input :size="size" v-model.trim="storeSearchForm.merchantId" placeholder="请输入商户ID" clearable></el-input>
</el-form-item>
<el-form-item label="门店名称:" prop="merchantName">
<el-input :size="size" v-model.trim="storeSearchForm.merchantName" placeholder="请输入门店名称" clearable></el-input>
</el-form-item>
<el-form-item>
<el-button :size="size" type="primary" @click="handleSearchStore">搜索</el-button>
</el-form-item>
</el-form>
</el-row>
</relate-store-dialog>
<el-row slot>
<el-form :model="storeSearchForm" ref="relate" :inline="true" label-width="90px">
<el-form-item label="商户ID:" prop="merchantId">
<el-input :size="size" v-model.trim="storeSearchForm.merchantId" placeholder="请输入商户ID" clearable></el-input>
</el-form-item>
<el-form-item label="门店名称:" prop="merchantName">
<el-input :size="size" v-model.trim="storeSearchForm.merchantName" placeholder="请输入门店名称" clearable></el-input>
</el-form-item>
<el-form-item>
<el-button :size="size" type="primary" @click="handleSearchStore">搜索</el-button>
</el-form-item>
</el-form>
</el-row>
</relate-store-dialog>
</div>
</template>
......@@ -259,7 +260,7 @@ export default {
// }
// ]
// },
// 选择门店
// 选择门店
relateStoreVisible: false,
relateStoreVisibles: false,
storeApi: this.$apis.common.getSimpleMerchantList,
......@@ -409,9 +410,9 @@ export default {
title: '在线客服',
editFormData: [
{
label: '在线客服',
name: '',
addHtml: 'customerServerUserId'
label: '在线客服',
name: '',
addHtml: 'customerServerUserId'
}
]
}
......@@ -442,7 +443,7 @@ export default {
this.getInfo()
this.getConsultant()
// 非集团账号隐藏配置门店
if(!this.$isGroupUp){
if (!this.$isGroupUp) {
let idx = this.externalFormList.findIndex(item => item.title == 'Banner管理')
let idxx = this.externalFormList[idx].editFormData.findIndex(item => item.name == 'bannerToSubMerchant')
let idxxx = this.externalFormList.findIndex(item => item.title == '公告管理')
......@@ -455,25 +456,25 @@ export default {
},
methods: {
selectAddAttr(value){
var tempObj = {
customerServerName: '',
customerServerUserTitle: ''
}
this.customerServerList = []
this.editForm.customerServerId = ''
this.editForm.customerServerName = ''
this.editForm.customerServerUserTitle = ''
if (value) {
tempObj = this.baseData.consultantList.find(item => item.userOneid == value)
this.editForm.customerServerId = tempObj.id
this.editForm.customerServerName = tempObj.staffName
this.editForm.customerServerUserTitle = tempObj.staffTitle
this.customerServerList.push({
customerServerName: tempObj.staffName,
customerServerUserTitle: tempObj.staffTitle
})
}
selectAddAttr(value) {
var tempObj = {
customerServerName: '',
customerServerUserTitle: ''
}
this.customerServerList = []
this.editForm.customerServerId = ''
this.editForm.customerServerName = ''
this.editForm.customerServerUserTitle = ''
if (value) {
tempObj = this.baseData.consultantList.find(item => item.userOneid == value)
this.editForm.customerServerId = tempObj.id
this.editForm.customerServerName = tempObj.staffName
this.editForm.customerServerUserTitle = tempObj.staffTitle
this.customerServerList.push({
customerServerName: tempObj.staffName,
customerServerUserTitle: tempObj.staffTitle
})
}
},
getInfo() {
this.$apis.homeSet.getHomeInfoListApi({}).then(res => {
......@@ -541,19 +542,19 @@ export default {
// 选择门店
handleRelateStoreClose(v) {
this.state = v
if(v == 'banner') {
this.selectedList = this.$common.utils.deepClone(this.editForm.bannerMerchantList)
} else if(v == 'notice') {
this.selectedList = this.$common.utils.deepClone(this.editForm.noticeMerchantList)
if (v == 'banner') {
this.selectedList = this.$common.utils.deepClone(this.editForm.bannerMerchantList)
} else if (v == 'notice') {
this.selectedList = this.$common.utils.deepClone(this.editForm.noticeMerchantList)
}
this.relateStoreVisible = !this.relateStoreVisible
},
handleRelateStoreConfirm(selectedData) {
console.log('selectedData',selectedData);
if(this.state == 'banner') {
this.editForm.bannerMerchantList = selectedData
} else if(this.state == 'notice') {
this.editForm.noticeMerchantList = selectedData
console.log('selectedData', selectedData);
if (this.state == 'banner') {
this.editForm.bannerMerchantList = selectedData
} else if (this.state == 'notice') {
this.editForm.noticeMerchantList = selectedData
}
this.selectedList = selectedData
this.handleRelateStoreClose(this.state)
......@@ -600,7 +601,7 @@ export default {
this.$messageBox.confirm('是否删除该banner?', '删除', {
confirmButtonText: '确定',
cancelButtonText: '取消',
// type: 'error',
type: 'warning',
callback: action => {
if (action == 'confirm') {
this.editForm[attrName].splice(subIndex, 1)
......@@ -792,31 +793,31 @@ export default {
})
// banner管理配置门店
params.bannerMerchantList = []
if(this.editForm.bannerToSubMerchant == 'Y') {
this.editForm.bannerMerchantList.forEach(item => {
params.bannerMerchantList.push({
merchantId: item.merchantNo,
merchantName: item.merchantName,
merchantAccountLevel: item.merchantAccountLevel
})
})
if (this.editForm.bannerToSubMerchant == 'Y') {
this.editForm.bannerMerchantList.forEach(item => {
params.bannerMerchantList.push({
merchantId: item.merchantNo,
merchantName: item.merchantName,
merchantAccountLevel: item.merchantAccountLevel
})
})
}
// 公告管理配置门店
params.noticeMerchantList = []
if(this.editForm.noticeToSubMerchant == 'Y') {
this.editForm.noticeMerchantList.forEach(item => {
params.noticeMerchantList.push({
merchantId: item.merchantNo,
merchantName: item.merchantName,
merchantAccountLevel: item.merchantAccountLevel
})
})
if (this.editForm.noticeToSubMerchant == 'Y') {
this.editForm.noticeMerchantList.forEach(item => {
params.noticeMerchantList.push({
merchantId: item.merchantNo,
merchantName: item.merchantName,
merchantAccountLevel: item.merchantAccountLevel
})
})
}
// 金刚区管理
params.clueList = this.editForm.clueList.length
? this.editForm.clueList.map(k => {
return { clueId: k }
})
return { clueId: k }
})
: []
console.log(params)
this.$apis.homeSet.updateHomeApi(params).then(res => {
......@@ -967,9 +968,9 @@ export default {
height: 20px;
font-size: 16px;
}
.home-set .server-dialog .el-dialog__footer {
/* .home-set .server-dialog .el-dialog__footer {
text-align: center;
}
} */
.merchantTable {
width: 800px;
margin-left: 45px;
......
......@@ -15,6 +15,12 @@ export default {
editorOption: {}
}
},
props: {
excludeMenus: {
type: Array,
default: () => ['code']
}
},
mounted() {
this.getEdit()
},
......@@ -27,7 +33,7 @@ export default {
this.editor.config.menuTooltipPosition = 'down'
this.editor.config.height = 400
this.editor.config.width = 500
this.editor.config.excludeMenus = ['code']
this.editor.config.excludeMenus = this.excludeMenus
this.editor.config.onchange = html => {
// console.log(html);
this.content = html // 绑定当前逐渐地值
......
......@@ -79,15 +79,31 @@
</div>
</template>
<template slot="activityMusic" slot-scope="scope">
<el-upload v-show="!editForm[scope.scope.name]" class="upload-demo" action="" accept="audio/mp3, audio/m4a" :show-file-list="false" :http-request="handleMusicUpload" :before-upload="e => handleMusicBeforeUpload(e, scope.scope)" :file-list="fileList" :limit="1">
<div class="flex">
<div class="music-box flex-center" v-for="(item, index) in musicList" :key="index" @click="handleMusicChange(index)">
<div class="music-icon" @click.stop="handleMusic(item, index)">
<div :class="[index != playObj.idx ? 'icon-start' : 'icon-stop']"></div>
<img src="@/assets/seckillActivity/icon-music-default.png" />
</div>
<div class="music-name">
<p class="ellipsis-1" style="max-width: 90%;">{{ item.name }}</p>
.mp3
</div>
<img v-show="item.isCheck" :class="{ 'icon-check': item.isCheck }" src="@/assets/seckillActivity/icon-check.png" />
</div>
</div>
<el-upload class="m-t-10" action="" accept="audio/mp3, audio/m4a" :show-file-list="false" :http-request="handleMusicUpload" :before-upload="e => handleMusicBeforeUpload(e, scope.scope)" :file-list="fileList">
<el-button class="el-icon-plus" size="small" type="default">背景音乐</el-button>
</el-upload>
<div v-if="editForm[scope.scope.name]" class="flex">
<audio v-if="playObj.src" style="display: none;" id="music-audio" controls>
<source type="audio/mpeg" :src="playObj.src" />
</audio>
<!-- <div v-if="editForm[scope.scope.name]" class="flex">
<audio controls>
<source :src="editForm[scope.scope.name]" type="audio/mpeg" />
</audio>
<el-button class="describe-delete" icon="el-icon-delete" type="text" @click="handleMusicDelete(scope.scope)"></el-button>
</div>
</div> -->
</template>
<template slot="fictitious">
<div class="fictitious" id="fictitious">
......@@ -455,6 +471,29 @@ export default {
}
}
],
// 活动音乐
playObj: {
idx: -1,
src: ''
},
musicUploadName: '音频',
musicList: [
{
name: '1',
addr: 'https://img01.glsx.com.cn/group1/M00/23/C8/wKgFHWLh7Y2ARPH_ACav2AhE_vA583.mp3',
isCheck: false
},
{
name: '2',
addr: 'https://img01.glsx.com.cn/group1/M00/23/C8/wKgFHWLh7a-ADfhZABqkegKp2yY992.mp3',
isCheck: false
},
{
name: '3',
addr: 'https://img01.glsx.com.cn/group1/M00/23/C8/wKgFHWLh7cyACPoUACnOiS36FT0760.mp3',
isCheck: false
}
],
// 活动配置
configEditFormData: [
{
......@@ -508,10 +547,16 @@ export default {
handleUpload: (e, file, targetItem) => {
const imgFile = e.target.result
const base64 = file.name.split('.')[file.name.split('.').length - 1] + '@' + imgFile.split(',')[1]
this.$apis.common.uploadImgApi({ file: base64, fileType: 'image' }).then(res => {
this.editForm[targetItem.name] = res
this.$refs.configEditFormRef.$refs[this.editChildRef].validateField(targetItem.name)
})
this.loading = true
this.$apis.common
.uploadImgApi({ file: base64, fileType: 'image' })
.then(res => {
this.editForm[targetItem.name] = res
this.$refs.configEditFormRef.$refs[this.editChildRef].validateField(targetItem.name)
})
.finally(() => {
this.loading = false
})
}
},
{
......@@ -526,16 +571,23 @@ export default {
handleUpload: (e, file, targetItem) => {
const imgFile = e.target.result
const base64 = file.name.split('.')[file.name.split('.').length - 1] + '@' + imgFile.split(',')[1]
this.$apis.common.uploadVideoApi({ file: base64 }).then(res => {
this.editForm[targetItem.name].push(res)
})
this.loading = true
this.$apis.common
.uploadVideoApi({ file: base64 })
.then(res => {
this.editForm[targetItem.name].push(res)
})
.finally(() => {
this.loading = false
})
}
},
{
label: '活动详情',
name: 'activityDetail',
tips: '展示活动的详细内容',
type: 'textBox'
type: 'textBox',
excludeMenus: ['video', 'code']
},
{
label: '音乐文件',
......@@ -900,13 +952,61 @@ export default {
reader.onload = e => {
const imgFile = e.target.result
const base64 = file.name.split('.')[file.name.split('.').length - 1] + '@' + imgFile.split(',')[1]
this.loading = true
this.$apis.common.uploadMusicApi({ file: base64 }).then(res => {
this.loading = false
this.$set(this.editForm, targetItem.name, res)
if (this.musicList.length == 4) {
this.musicList.pop()
}
this.musicList.push({
name: this.musicUploadName,
addr: res,
isCheck: false
})
this.handleMusicChange(this.musicList.length - 1)
})
}
},
// 音乐
handleMusic(targetItem, idx) {
// stop-音频结束;play-音频播放
var playFlag = this.playObj.idx != -1 && this.playObj.idx == idx ? 'stop' : 'play'
var audioDom = document.getElementById('music-audio')
this.playObj.idx = -1
this.playObj.src = ''
this.$nextTick(() => {
if (playFlag == 'play') {
this.playObj.idx = idx
this.playObj.src = targetItem.addr
this.$nextTick(() => {
if (playFlag == 'play') {
audioDom = document.getElementById('music-audio')
audioDom && audioDom.play()
}
})
}
})
},
stopMusic() {
this.playObj.idx = -1
this.playObj.src = ''
},
handleMusicChange(idx) {
this.musicList.forEach((item, index) => {
if (index != idx) {
item.isCheck = false
}
})
this.musicList[idx].isCheck = !this.musicList[idx].isCheck
this.editForm.activityMusic = this.musicList[idx].isCheck ? this.musicList[idx].addr : ''
},
handleMusicBeforeUpload(file, targetItem) {
this.stopMusic()
this.musicUpload(file, targetItem)
},
......@@ -994,6 +1094,21 @@ export default {
this.editForm.activityDetail = decodeURIComponent(info.activityDetail)
this.$refs.configEditFormRef.$refs.activityDetailTextBox[0].setEdit(this.editForm.activityDetail)
}
// 活动音乐
if (info.activityMusic) {
var checkIdx = this.musicList.map(item => item.addr).findIndex(k => k == info.activityMusic)
if (checkIdx != -1) {
this.musicList[checkIdx].isCheck = false
this.handleMusicChange(checkIdx)
} else {
this.musicList.push({
name: this.musicUploadName,
addr: info.activityMusic,
isCheck: false
})
this.handleMusicChange(this.musicList.length - 1)
}
}
// 表单设置
this.formDescribeList = []
Object.values(this.describeIdxToAttr).forEach((item, index) => {
......@@ -1107,6 +1222,7 @@ export default {
},
handleConfirm() {
this.stopMusic()
this.validateRules()
var flag = true
if (this.nameToValSpecsList && this.nameToValSpecsList.length > 0) {
......@@ -1354,6 +1470,60 @@ export default {
padding: 20px 20px 0 20px;
background: #f9f9f9;
}
.edit-activity .music-box {
position: relative;
box-sizing: border-box;
width: 160px;
height: 56px;
background: #fafbfe;
border-radius: 2px;
border: 1px solid #e8e8ea;
padding: 10px 7px;
margin: 0 8px 8px 0;
cursor: pointer;
.music-icon {
position: relative;
cursor: pointer;
width: 36px;
height: 36px;
}
.icon-start {
position: absolute;
display: inline-block;
top: 0;
left: 0;
width: 36px;
height: 36px;
cursor: pointer;
}
.icon-stop {
position: absolute;
display: inline-block;
top: 0;
left: 0;
width: 36px;
height: 36px;
background-image: url('../../assets/seckillActivity/icon-stop.png');
cursor: pointer;
}
.icon-start:hover {
background-image: url('../../assets/seckillActivity/icon-start.png');
z-index: 999;
}
.icon-check {
width: 15px;
height: 15px;
position: absolute;
right: 0;
bottom: 0;
}
.music-name {
display: flex;
box-sizing: border-box;
width: calc(100% - 36px);
padding-left: 8px;
}
}
.edit-activity .fictitious {
width: 600px;
padding: 20px 20px 0 20px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!