Commit 8e70f7dc authored by Jenny's avatar Jenny

feat: 报错修改

parent 198372e4
<template> <template>
<view> <view class="merquee">
<p <p
:class="[elementInfo.marquee.isOpen ? 'merquee-txt' : '' ]" :class="[elementInfo.marquee.isOpen ? 'merquee-txt' : '' ]"
:style="{ :style="{
...@@ -16,36 +16,23 @@ ...@@ -16,36 +16,23 @@
</template> </template>
<script> <script>
import uniEcCanvas from '@/components/uni-ec-canvas/uni-ec-canvas'
import * as echarts from '@/components/uni-ec-canvas/echarts'
import echartElementData from '@/mixins/echartElementData.js'
let chart = null
export default { export default {
name:"BasicText", name:"BasicText",
mixins: [echartElementData], props: {
elementInfo: {
type: Object,
required: true
}
},
data() { data() {
return { return {
defaultSpeed: 5
}; };
},
onReady () {
},
components: {
uniEcCanvas
},
methods: {
} }
} }
</script> </script>
<style scoped lang="less"> <style lang="scss" scoped>
/* 文字滚动 */ /* 文字滚动 */
.merquee { .merquee {
word-break: break-all; word-break: break-all;
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
} }
</script> </script>
<style lang="less" scoped> <style lang="scss" scoped>
.normal-image { .normal-image {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
......
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
} }
</script> </script>
<style scoped lang="less"> <style scoped lang="scss">
.chart-num { .chart-num {
width: 100%; width: 100%;
overflow-x: hidden; overflow-x: hidden;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment