Commit eb942d8f Harvey

no message

1 个父辈 3c0b1446
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
<view class="header-content"> <view class="header-content">
<image class="header-logo-img" src="@/static/img/ccdg.png"></image> <image class="header-logo-img" src="@/static/img/ccdg.png"></image>
<view class="header-info"> <view class="header-info">
<view class="header-tip">彩店名称</view> <view class="header-tip">{{name}}</view>
<view class="header-name">{{data.addr}}</view> <view class="header-name">{{addr}}</view>
</view> </view>
</view> </view>
<view class="panel" v-for="(list,i1) in navList" :class="{'panel-top':i1>0}" :key="i1"> <view class="panel" v-for="(list,i1) in navList" :class="{'panel-top':i1>0}" :key="i1">
...@@ -44,10 +44,9 @@ ...@@ -44,10 +44,9 @@
name: '缓存清理', name: '缓存清理',
to: '' to: ''
}] }]
], ],
data: { name:'彩店名称',
addr: '未登记彩店' addr:''
}
} }
}, },
async onLoad(e) { async onLoad(e) {
...@@ -57,7 +56,8 @@ ...@@ -57,7 +56,8 @@
if (!(res && res.length > 0)) return if (!(res && res.length > 0)) return
const data = res[0] const data = res[0]
this.data.addr = data.addr this.name = data.name
this.addr = data.addr
}, },
methods: { methods: {
menuNavTo(e) { menuNavTo(e) {
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!