Commit dc6c6014 by 前端

Merge branch 'v3.16.0' into 'master'

V3.16.0

See merge request !537
2 parents f233bcf5 7448ddf5
......@@ -8,11 +8,12 @@
"lint": "vue-cli-service lint"
},
"dependencies": {
"axios": "^1.4.0",
"core-js": "^3.4.4",
"dayjs": "^1.10.7",
"el-tree-transfer": "^2.2.6",
"element-ui": "^2.4.5",
"glsx-components": "^1.5.3",
"glsx-components": "^1.5.7",
"glsx-components_beta": "^1.0.4",
"lodash": "^4.17.21",
"node-sass": "^4.0.0",
......@@ -22,7 +23,7 @@
"vuedraggable": "^2.24.3",
"vuex": "^3.1.2",
"wangeditor": "^4.7.12",
"word-edit": "^1.2.5"
"word-edit": "^1.2.7"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^4.1.0",
......@@ -36,7 +37,7 @@
"eslint": "^5.16.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-vue": "^5.0.0",
"glsx-common": "^1.4.9",
"glsx-common": "^2.1.0",
"node-sass": "^4.12.0",
"prettier": "^1.19.1",
"sass-loader": "^8.0.0",
......
/*
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-08-21 11:35:26
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-08-22 15:45:33
* @FilePath: \scrm-micro-marketing\src\api\glsxUpload.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
import TcVod from 'vod-js-sdk-v6'
import { http } from '@/main'
// 请求配置
const SIGN = {
v: '1.0.0',
source: 'scm-home',
format: 'json',
appKey: '48e5e13229b82c1b4e6e8c96151f0637'
}
const SECRET = 'c24619ed7fef02a0ae16328146bca5f97cc6493957a2137b'
const REQUEST = {
timeout: 180000,
responseType: 'json',
baseURL: 'http://scrm.dev.glsx.com.cn',
withCredentials: true
}
// const RESPONSE = {
// code_key: ['code', 'returnCode'],
// code_message_map: {},
// code_success_value: '0',
// data_key: 'data',
// errId_logout_value: '21',
// message_key: 'message'
// }
class GlsxUpload {
constructor(params) {
this.initParam = params
}
init() {
return new Promise((resolve, reject) => {
if (this.tcVod) return resolve({ status: 0, msg: 'init successful' })
const { params: { data, url } = {} } = this.initParam || {}
console.log(data)
return http({
data,
url: url,
returnAll: true
})
.then(res => {
if (res.code == '0') {
this.tcVod = new TcVod({
getSignature: () => {
return res.data
}
})
}
if (this.tcVod) return resolve({ status: 0, msg: 'init successful' })
reject({ status: -1, msg: 'init failed' })
})
.catch(err => {
reject({ status: -1, msg: 'init failed' })
})
})
}
uploaded(file, img) {
return new Promise((resolve, reject) => {
if (!file) return reject({ status: -1, msg: 'file is required' })
let params = {
mediaFile: file
}
if (img) params.coverFile = img
this.uploader = this.tcVod.upload(params)
this.uploader
.done()
.then(doneResult => {
resolve(doneResult)
})
.catch(err => {
reject(err)
})
})
}
uploadEvent(eventType, callback) {
if (!eventType) callback({ status: -1, msg: 'eventType is required' })
try {
this.uploader.on(eventType, info => {
callback(info)
})
} catch (err) {
callback(err)
}
}
uploadCancel() {
this.uploader.cancel()
}
}
export default GlsxUpload
/*
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-08-21 11:35:02
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-08-21 11:37:50
* @FilePath: \scrm-micro-marketing\src\api\modules\uploadApi.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
import GlsxUpload from './glsxUpload'
const upload = new GlsxUpload({
params: {
data: { method: 'scrm.api.shopmall.tencentcloudmedia.uploadsignature' },
url: 'rop-scrm-shopmall/router'
}
})
export default upload
/*
* @Author: yangming yangming@didihu.com.cn
* @Date: 2022-10-19 18:34:08
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-08-31 15:25:35
* @FilePath: \scrm-micro-marketing\src\config\index.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
// 根据环境引入不同配置 process.env.VUE_APP_ENV
// let request = require('@/http/request.js')
let cfg = require('./conf.js')
......
......@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2022-11-24 14:42:00
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2022-11-24 17:18:31
* @LastEditTime: 2023-08-28 11:12:22
* @FilePath: \live\src\mixins\upload.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
......@@ -11,7 +11,7 @@ export default {
return {}
},
methods: {
getImgUrl(url, multiple = 3) {
getImgUrl(url, multiple = 0.5) {
return new Promise((resolve, reject) => {
var canvas = document.createElement('canvas') // 获取 canvas 对象
const ctx = canvas.getContext('2d') // 绘制2d
......@@ -20,10 +20,10 @@ export default {
video.crossOrigin = 'anonymous' // 解决跨域问题,也就是提示污染资源无法转换视频
video.currentTime = 1 // 第一帧
video.oncanplay = async () => {
canvas.width = video.clientWidth * multiple // 获取视频宽度
canvas.height = video.clientHeight * multiple // 获取视频高度
canvas.width = video.videoWidth * multiple // 获取视频宽度
canvas.height = video.videoHeight * multiple // 获取视频高度
// 利用canvas对象方法绘图
ctx.drawImage(video, 0, 0, video.clientWidth * multiple, video.clientHeight * multiple)
ctx.drawImage(video, 0, 0, video.videoWidth * multiple, video.videoHeight * multiple)
console.log(canvas, 'canvas')
// 转换成base64形式
var oGrayImg = canvas.toDataURL('image/png') // 截取后的视频封面
......
......@@ -2,16 +2,16 @@
* @Description:
* @Author: huyue
* @Date: 2022-01-20 18:06:46
* @LastEditors: huyue
* @LastEditTime: 2022-07-12 14:14:15
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-08-29 09:58:45
*/
import Vue from 'vue'
import {message, messageBox} from '@/plugins/element.js'
import {fetchConfig} from '@/config'
import { message, messageBox } from '@/plugins/element.js'
import { fetchConfig } from '@/config'
import ElementUI from 'element-ui'
import {GLButton, GLTable, GLFooter, GLCombiForm, GLTableButton, GLDialog} from 'glsx-components' //权限按钮 (根据权限动态创建)
import {GLEditor} from 'word-edit'
import {getRoutes} from '@/router'
import { GLButton, GLTable, GLFooter, GLCombiForm, GLTableButton, GLDialog } from 'glsx-components' //权限按钮 (根据权限动态创建)
import { GLEditor } from 'word-edit'
import { getRoutes } from '@/router'
import '@/assets/css/public.scss'
import render from './render'
// import 'glsx-components/src/theme/theme.scss'
......@@ -29,99 +29,89 @@ Vue.use(GLTableButton)
Vue.use(GLEditor)
Vue.use(GLDialog)
export async function bootstrap({history, common, messenger, globalState, routerBase}) {
const {
response,
request,
request2,
sign,
secret,
sign_common,
request_common,
request_merchant,
merchantId
} = await fetchConfig(false)
Vue.prototype.$history = history
Vue.prototype.$messenger = messenger
Vue.prototype.$globalState = globalState
Vue.prototype.$common = common
Vue.prototype.$message = message
Vue.prototype.$messageBox = messageBox
Vue.prototype.$hmdMerchantId = merchantId
// 集团版集团账号
Vue.prototype.$isGroupUp = globalState.session.accountLevel != 4
Vue.prototype.$http = new common.Http({
response,
request,
sign,
secret,
alert: message.error,
headers: {token: globalState.session.token}
})
Vue.prototype.$http_upload = new common.Http({
response: {...response, data_key: 'result', code_success_value: true, code_key: 'success'},
request,
sign,
secret,
alert: message.error,
headers: {token: globalState.session.token, 'Content-Type': 'multipart/form-data'}
})
Vue.prototype.$http2 = new common.Http({
response,
request: request2,
sign,
secret,
alert: message.error,
headers: {token: globalState.session.token}
})
Vue.prototype.$http_merchant = new common.Http({
response,
request: request_merchant,
sign,
secret,
alert: message.error,
headers: {token: globalState.session.token}
})
Vue.prototype.$http_common = new common.Http({
response,
signWay: 'md5',
request: request_common,
sign: sign_common,
secret,
alert: ElementUI.Message.error,
headers: {TGT: globalState.session.token}
})
// Vue.prototype.$http_xiaolong = new common.Http({ response, request: xiaolong_req, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
Vue.prototype.$tracker = common.tracker
// const myToken = 'scrm-base-107ee03c-1214-48c3-a443-a2332e553b2f-rop'
// Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: myToken } })
// Vue.prototype.$http2 = new common.Http({ response, request: request2, sign, secret, alert: message.error, headers: { token: myToken } })
// Vue.prototype.$http_merchant = new common.Http({ response, request: request_merchant, sign, secret, alert: message.error, headers: { token: myToken } })
// Vue.prototype.$http_common = new common.Http({ response, signWay: 'md5', request: request_common, sign: sign_common, secret, alert: ElementUI.Message.error, headers: { TGT: myToken } })
// Vue.prototype.$http_xiaolong = new common.Http({ response, request: xiaolong_req, sign, secret, alert: message.error, headers: { token: myToken } })
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
// Vue.use(GLButton, { permissions: globalState.permissions || ['1-1-1-1', '2-1-1-1', '3-1-1-1'] })
const routesData = common.utils.deepClone(globalState.routers)
routes = getRoutes(routesData)
subscribe({messenger})
Vue.use(GLButton, {routes, routerBase})
export async function bootstrap({ history, common, messenger, globalState, routerBase }) {
const { response, request, request2, sign, secret, sign_common, request_common, request_merchant, merchantId } = await fetchConfig(false)
Vue.prototype.$history = history
Vue.prototype.$messenger = messenger
Vue.prototype.$globalState = globalState
Vue.prototype.$common = common
Vue.prototype.$message = message
Vue.prototype.$messageBox = messageBox
Vue.prototype.$hmdMerchantId = merchantId
// 集团版集团账号
Vue.prototype.$isGroupUp = globalState.session.accountLevel != 4
Vue.prototype.$http = new common.Http({
response,
request,
sign,
secret,
alert: message.error,
headers: { token: globalState.session.token }
})
Vue.prototype.$http_upload = new common.Http({
response: { ...response, data_key: 'result', code_success_value: true, code_key: 'success' },
request,
sign,
secret,
alert: message.error,
headers: { token: globalState.session.token, 'Content-Type': 'multipart/form-data' }
})
Vue.prototype.$http2 = new common.Http({
response,
request: request2,
sign,
secret,
alert: message.error,
headers: { token: globalState.session.token }
})
Vue.prototype.$http_merchant = new common.Http({
response,
request: request_merchant,
sign,
secret,
alert: message.error,
headers: { token: globalState.session.token }
})
Vue.prototype.$http_common = new common.Http({
response,
signWay: 'md5',
request: request_common,
sign: sign_common,
secret,
alert: ElementUI.Message.error,
headers: { TGT: globalState.session.token }
})
// Vue.prototype.$http_xiaolong = new common.Http({ response, request: xiaolong_req, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
Vue.prototype.$tracker = common.tracker
// const myToken = 'scrm-base-107ee03c-1214-48c3-a443-a2332e553b2f-rop'
// Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: myToken } })
// Vue.prototype.$http2 = new common.Http({ response, request: request2, sign, secret, alert: message.error, headers: { token: myToken } })
// Vue.prototype.$http_merchant = new common.Http({ response, request: request_merchant, sign, secret, alert: message.error, headers: { token: myToken } })
// Vue.prototype.$http_common = new common.Http({ response, signWay: 'md5', request: request_common, sign: sign_common, secret, alert: ElementUI.Message.error, headers: { TGT: myToken } })
// Vue.prototype.$http_xiaolong = new common.Http({ response, request: xiaolong_req, sign, secret, alert: message.error, headers: { token: myToken } })
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
// Vue.use(GLButton, { permissions: globalState.permissions || ['1-1-1-1', '2-1-1-1', '3-1-1-1'] })
const routesData = common.utils.deepClone(globalState.routers)
routes = getRoutes(routesData)
subscribe({ messenger })
Vue.use(GLButton, { routes, routerBase })
}
export async function mount(props) {
const insts = render(props.routerBase, routes)
router = insts.router
instance = insts.vm
const insts = render(props.routerBase, routes)
router = insts.router
instance = insts.vm
}
export async function unmount() {
instance.$destroy()
instance.$el.innerHTML = ''
instance = null
router = null
instance.$destroy()
instance.$el.innerHTML = ''
instance = null
router = null
}
function subscribe({messenger}) {
messenger.subscribe(v => {
console.log(`监听到子应用${v.from}发来消息:`, v)
})
function subscribe({ messenger }) {
messenger.subscribe(v => {
console.log(`监听到子应用${v.from}发来消息:`, v)
})
}
.inline-b {
display: inline-block;
}
......@@ -10,23 +9,29 @@
.green-text {
color: #00A854;
}
.gray-text{
color:#666666;
margin-left:6px;
.gray-text {
color: #666666;
margin-left: 6px;
}
.red-text {
color: rgb(255, 0, 0);
}
.blue-text{
color:$btnBlue;
&:hover{
.blue-text {
color: $btnBlue;
&:hover {
color: #9994FF;
cursor: pointer;
}
}
.pure-blue-text{
color:$btnBlue!important;
.pure-blue-text {
color: $btnBlue !important;
}
.green {
background-color: #00A854;
}
......@@ -35,12 +40,13 @@
color: rgb(255, 0, 0);
}
.flex-center{
.flex-center {
display: flex;
justify-content: center;
align-items: center;
}
.additional-text{
.additional-text {
height: 22px;
font-size: 16px;
......@@ -48,6 +54,7 @@
color: #666666;
line-height: 22px;
}
.btn-blue {
height: 32px;
background: $btnBlue;
......@@ -92,7 +99,8 @@
background: -moz-linear-gradient(left, transparent, #fff 55%);
background: linear-gradient(to right, transparent, #fff 55%);
}
.ellipsis-4{
.ellipsis-4 {
overflow: hidden;
height: 40px;
line-height: 20px;
......@@ -101,6 +109,7 @@
-webkit-box-orient: vertical;
-webkit-line-clamp: 4;
}
.ellipsis-4-text:after {
content: "...";
position: absolute;
......@@ -113,6 +122,16 @@
background: -moz-linear-gradient(left, transparent, #fff 55%);
background: linear-gradient(to right, transparent, #fff 55%);
}
.statusText {
vertical-align: middle;
}
.switch-tip {
height: 17px;
line-height: 17px;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 12px;
color: #999999;
}
\ No newline at end of file
......@@ -138,6 +138,10 @@
<template slot="useDescriptionHtml">
<el-input type="textarea" v-model="editForm.useDescription" style="width: 320px" :autosize="{ minRows: 2, maxRows: 4 }" maxlength="200" :disabled="userDisable" />
</template>
<template slot="couponCenterHtml">
<el-switch :disabled="apear != 'couponAdd'" v-model="editForm.couponCenterFlag" :active-value="2" :inactive-value="1"></el-switch>
<div class="switch-tip">开启后,用户可在小程序我的-优惠券-领券中心直接领取</div>
</template>
<template slot="editHtml">
<el-button style="margin-left: 80px" @click="editMessage">编辑</el-button>
</template>
......@@ -202,7 +206,8 @@ export default {
full: '',
goods: '1',
goodsRefList: [],
directionalFlag: '1'
directionalFlag: '1',
couponCenterFlag: 1
// scopeApplication: ''
},
//商品列表
......@@ -320,6 +325,10 @@ export default {
addHtml: 'useDescriptionHtml'
},
{
label: '领券中心可见',
addHtml: 'couponCenterHtml'
},
{
name: 'editHtml',
addHtml: 'editHtml',
isHide: true
......@@ -766,6 +775,8 @@ export default {
}
//使用描述
obj.useDescription = form.useDescription
//领券中心可见
obj.couponCenterFlag = form.couponCenterFlag
//预估成本
obj.anticipatedCost = (form.anticipatedCost * 100).toFixed(0)
return obj
......
......@@ -107,6 +107,10 @@
<template slot="useDescriptionHtml">
<el-input type="textarea" v-model="editForm.useDescription" :autosize="{ minRows: 2, maxRows: 4 }" maxlength="200" :disabled="userDisable" />
</template>
<template slot="couponCenterHtml">
<el-switch :disabled="apear != 'couponAdd'" v-model="editForm.couponCenterFlag" :active-value="2" :inactive-value="1"></el-switch>
<div class="switch-tip">开启后,用户可在小程序我的-优惠券-领券中心直接领取</div>
</template>
<template slot="editHtml">
<el-button style="margin-left: 80px" @click="editMessage">编辑</el-button>
</template>
......@@ -178,7 +182,8 @@ export default {
effectiveDays: '',
anticipatedCost: '',
discountIntensity: '',
directionalFlag: '1'
directionalFlag: '1',
couponCenterFlag: 1
// scopeApplication: ''
},
editRule: {
......@@ -243,6 +248,10 @@ export default {
addHtml: 'useDescriptionHtml'
},
{
label: '领券中心可见',
addHtml: 'couponCenterHtml'
},
{
name: '',
addHtml: 'editHtml',
isHide: true
......@@ -514,6 +523,8 @@ export default {
obj.useDescription = form.useDescription
//是否定制礼包专用
obj.directionalFlag = form.directionalFlag
//领券中心可见
obj.couponCenterFlag = form.couponCenterFlag
//预估成本
obj.anticipatedCost = (form.anticipatedCost * 100).toFixed(0)
return obj
......
......@@ -95,6 +95,10 @@
<template slot="useDescriptionHtml">
<el-input type="textarea" v-model="editForm.useDescription" style="width: 320px" :autosize="{ minRows: 2, maxRows: 4 }" maxlength="200" :disabled="userDisable" />
</template>
<template slot="couponCenterHtml">
<el-switch :disabled="apear != 'couponAdd'" v-model="editForm.couponCenterFlag" :active-value="2" :inactive-value="1"></el-switch>
<div class="switch-tip">开启后,用户可在小程序我的-优惠券-领券中心直接领取</div>
</template>
<template slot="editHtml">
<el-button style="margin-left: 80px" @click="editMessage">编辑</el-button>
</template>
......@@ -163,7 +167,8 @@ export default {
effectiveTime: [],
effectiveDays: '',
anticipatedCost: '',
directionalFlag: '1'
directionalFlag: '1',
couponCenterFlag: 1
// scopeApplication: ''
},
editRule: {
......@@ -214,6 +219,10 @@ export default {
addHtml: 'useDescriptionHtml'
},
{
label: '领券中心可见',
addHtml: 'couponCenterHtml'
},
{
name: '',
addHtml: 'editHtml',
isHide: true
......@@ -443,6 +452,8 @@ export default {
obj.useDescription = form.useDescription
//是否定制礼包专用
obj.directionalFlag = form.directionalFlag
//
obj.couponCenterFlag = form.couponCenterFlag
//预估成本
obj.anticipatedCost = (form.anticipatedCost * 100).toFixed(0)
return obj
......
......@@ -97,6 +97,10 @@
<el-form-item size="small" label="使用说明:" prop="useDescription">
<el-input size="small" :rows="6" :disabled="disabledDescription" type="textarea" v-model="ruleForm.useDescription" placeholder="请输入" maxlength="200" show-word-limit></el-input>
</el-form-item>
<el-form-item size="small" label="领券中心可见:" prop="couponCenterFlag">
<el-switch :disabled="disabledContent" v-model="ruleForm.couponCenterFlag" :active-value="2" :inactive-value="1"></el-switch>
<div class="switch-tip">开启后,用户可在小程序我的-优惠券-领券中心直接领取</div>
</el-form-item>
<el-form-item size="small" style="margin-left: -100px" v-show="isEdit">
<el-button style="margin-left: 80px" @click="editMessage">编辑</el-button>
</el-form-item>
......@@ -248,7 +252,8 @@ export default {
stock: '',
useDescription: '',
daterange: [],
limitStockFlag: 1
limitStockFlag: 1,
couponCenterFlag: 1
// scopeApplication: ''
},
copyRuleForm: {},
......@@ -500,6 +505,7 @@ export default {
// params.scopeApplication = this.ruleForm.scopeApplication
// }
params.useDescription = this.ruleForm.useDescription
params.couponCenterFlag = this.ruleForm.couponCenterFlag
params.discountType = 7
params.merchantId = this.merchantId
......@@ -531,6 +537,7 @@ export default {
param.couponId = this.$route.query.couponId
param.stock = this.ruleForm.stock
param.useDescription = this.ruleForm.useDescription
param.couponCenterFlag = this.ruleForm.couponCenterFlag
this.sloading = true
updateService(param)
.then(res => {
......
<template>
<div class="material-view">
<div class="material-view-container">
<el-carousel :height="height + 'px'" interval="100000" @change="handleChange" v-if="fileList.length">
<el-carousel-item v-for="item in fileList" :key="item">
<div class="carousel-item">
<img :src="item.url" class="carousel-img" />
<img src="@/assets/material/videoIcon.png" class="play" v-if="item.type == 'video'" />
</div>
</el-carousel-item>
</el-carousel>
<div class="material-text" v-html="textBoxContent"></div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
height: 200,
fileList: []
}
},
watch: {
materialAddForm: {
async handler(val) {
const fileList = (val.imageUrlList || []).map(item => {
return {
type: 'img',
url: item
}
})
this.fileList = val.videoUrl ? fileList.concat({ url: val.coverUrl, type: 'video' }) : fileList
if (this.fileList.length) {
for (let val of this.fileList) {
this.$set(val, 'height', await this.getHeight(val.url))
}
this.height = this.fileList[0].height
}
},
deep: true,
immediate: true
}
},
props: {
materialAddForm: {
type: Object,
default: () => {}
},
textBoxContent: {
type: String
}
},
methods: {
//获取图片高度
getHeight(url) {
return new Promise(resolve => {
const img = new Image()
img.src = url
img.onload = res => {
resolve((img.height / img.width) * 250)
}
})
},
handleChange(e) {
this.height = this.fileList[e].height
}
}
}
</script>
<style lang="scss" scoped>
.material-view {
width: 289.47px;
height: 566px;
background: url('../../../assets/phone.png');
background-size: 100% 100%;
position: relative;
overflow: hidden;
.material-view-container {
position: absolute;
top: 56px;
left: 20px;
width: calc(100% - 40px);
height: calc(100% - 112px);
overflow-y: auto;
/deep/ .el-carousel__button {
width: 8px;
}
.carousel-item {
position: relative;
height: 100%;
width: 100%;
.carousel-img {
width: 100%;
height: 100%;
}
.play {
position: absolute;
width: 30px;
height: 30px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
}
.material-text {
word-wrap: break-word;
img {
width: 100% !important;
}
}
}
}
</style>
<style>
.material-text img {
width: 100% !important;
}
</style>
File mode changed
/*
* @Author: yangming yangming@didihu.com.cn
* @Date: 2022-10-19 18:34:08
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-08-22 13:52:11
* @FilePath: \scrm-micro-marketing\vue.config.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
const path = require('path')
const packageName = require('./package.json').name
const node_env = process.env.NODE_ENV === 'production'
......@@ -32,7 +40,6 @@ module.exports = {
'element-ui': 'ELEMENT',
'vue-router': 'VueRouter',
vuex: 'Vuex',
axios: 'axios',
echarts: 'echarts',
moment: 'moment',
AMap: 'AMap'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!