Commit 565bd136 authored by JingChao's avatar JingChao

动态配置

parent fd2ae777
...@@ -159,7 +159,7 @@ export default { ...@@ -159,7 +159,7 @@ export default {
content: '*'; content: '*';
color: #D24E4E; color: #D24E4E;
height: 8px; height: 8px;
padding-top: 4px; padding-top: 2px;
margin-left: 2px; margin-left: 2px;
} }
} }
......
...@@ -75,9 +75,9 @@ export default { ...@@ -75,9 +75,9 @@ export default {
}, },
mounted () { mounted () {
let vm = this let vm = this
setTimeout(()=>{ setTimeout(() => {
this.items[vm.current].$el.classList.add('activated') this.items[vm.current].$el.classList.add('activated')
},100) }, 100)
this.scrollToActiveTab(vm.current, this.items[vm.current].$el.clientWidth) this.scrollToActiveTab(vm.current, this.items[vm.current].$el.clientWidth)
}, },
methods: { methods: {
......
...@@ -45,9 +45,9 @@ ...@@ -45,9 +45,9 @@
<script> <script>
import layoutData from '../common/layout' import layoutData from '../common/layout'
import ButtonTab from "vux/src/components/button-tab/button-tab";
export default { export default {
components: {ButtonTab},
data() { data() {
return { return {
layoutData: [], layoutData: [],
......
This diff is collapsed.
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</div> </div>
<div v-show="item.isFromeMe" class="message-wrap"> <div v-show="item.isFromeMe" class="message-wrap">
<img v-show="userImg" :src="userImg" class="head-pic-right"> <img v-show="userImg" :src="userImg" class="head-pic-right">
<img v-show="!userImg" src="../assets/image/robot/user7.png" class="head-pic-right"> <img v-show="!userImg" src="@/assets/image/robot/user7.png" class="head-pic-right">
<span class="triangle-right"/> <span class="triangle-right"/>
<p class="message-right" v-text="item.content"/> <p class="message-right" v-text="item.content"/>
</div> </div>
......
This diff is collapsed.
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