Commit fa3a98e3 authored by yyh's avatar yyh

个人中心修改

parent 27fd461a
...@@ -19,10 +19,10 @@ ...@@ -19,10 +19,10 @@
<!-- <router-link tag="div" class="btn" role="button" :to="{name:'Recharge'}">去充值</router-link> --> <!-- <router-link tag="div" class="btn" role="button" :to="{name:'Recharge'}">去充值</router-link> -->
</section> </section>
<ul style="margin-top:30px;"> <ul style="margin-top:30px;">
<li v-for="(data, index) in datas" :key="index" class="item" @click="go(data.to)"> <li v-for="({ icon, title, label, to}, index) in datas" :key="index" class="item" @click="go(to)">
<common-svg :name="data.icon" style="margin-right:10px;" width="24px" height="24px"></common-svg> <common-svg :name="icon" style="margin-right:10px;" width="24px" height="24px"></common-svg>
<div class="title">{{data.title}}</div> <div class="title">{{title}}</div>
<div class="label">{{data.label }}</div> <div class="label">{{label }}</div>
<common-svg name="jinru" style="margin-left:10px;"></common-svg> <common-svg name="jinru" style="margin-left:10px;"></common-svg>
</li> </li>
</ul> </ul>
...@@ -138,7 +138,6 @@ export default class Index extends Vue { ...@@ -138,7 +138,6 @@ export default class Index extends Vue {
<style scoped lang="scss"> <style scoped lang="scss">
.user-index{ .user-index{
padding: 17px; padding: 17px;
background: #F9FBFF;
header{ header{
display: grid; display: grid;
grid-template-rows: repeat(2, 30px); grid-template-rows: repeat(2, 30px);
......
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