Commit 565bd136 authored by JingChao's avatar JingChao

动态配置

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