Browse Source

加链接

remotes/origin/HEAD
wally 5 years ago
parent
commit
ad59210235
  1. 22
      pages/index/components/mine.vue

22
pages/index/components/mine.vue

@ -10,7 +10,10 @@
<view class="text-xl">{{ userInfo.nickName }}</view>
<view class="text-df padding-top-xs description">{{ userInfo.classes }}</view>
</view>
<view :style="{'color':userInfo.healthyCodeColor}" class="iconfont icon-qrcode healthy-coad"></view>
<view
:style="{ color: userInfo.healthyCodeColor }"
class="iconfont icon-qrcode healthy-coad"
></view>
</view>
</view>
<!-- 列表 -->
@ -28,14 +31,13 @@
<view class="text-lg">我的行程</view>
<view class="iconfont icon-right more"></view>
</view>
<view class="cu-item">
<view class="cu-item" @tap="openPage('/pages/my-signs/my-signs')">
<view class="text-lg">我的校园打卡</view>
<view class="iconfont icon-right more"></view>
</view>
</view>
</view>
</view>
</template>
<script>
@ -47,7 +49,7 @@ export default {
avatarUrl: '../../../static/head-portrait.jpg',
nickName: '丁菲菲',
classes: '计算机19级软工二班',
healthyCodeColor: '#11A20D'
healthyCodeColor: '#11A20D',
},
};
},
@ -55,14 +57,14 @@ export default {
</script>
<style lang="scss" scoped>
.portrait{
.portrait {
overflow: hidden;
}
.healthy-coad{
}
.healthy-coad {
font-size: 40px;
}
.more{
}
.more {
font-size: 18px;
color: $grey;
}
}
</style>
Loading…
Cancel
Save