Commit 87f2b601 by kyle

样式调整

parent d160e73e
......@@ -18,6 +18,7 @@
/*每个页面公共css */
uni-page-body{
height: 100%;
padding-top: 80rpx;
}
@font-face {font-family: 'iconfont';
src: url('./static/font/iconfont.eot');
......
......@@ -29,7 +29,7 @@
},
methods: {
navTo(item) {
if (item.link !== this.currentPage) {
if (item.link != this.currentPage) {
uni.navigateTo({
url:`/pages/${item.link}/${item.link}`
})
......
......@@ -34,7 +34,7 @@
<view class="featureContent">
<!-- 模块导航 -->
<view class="nav_wrapper">
<view class="nav_content" v-for="featureItem in featureLists" @click="featureSelect(featureItem)">
<view class="nav_content" v-for="featureItem in featureLists" :key="featureItem.key" @click="featureSelect(featureItem)">
<view style="width: 120rpx;text-align: center;">
<image :src="'/static/moduleIcon/'+featureItem.icon + '.png'" alt="" srcset="" mode="widthFix"></image>
</view>
......@@ -68,13 +68,13 @@
return {
featureLists:[
{ key: '00', name: '销售课程', icon: 'salesCourse', link: '/pages/saleCourseLists/saleCourseLists', isOpen: true },
{ key: '01', name: '我的积分', icon: 'integral', link: '../myPoints/myPoints', isOpen: true },
{ key: '02', name: '申请加盟', icon: 'applyJoin', link: '../application-process/basic-info', isOpen: true },
{ key: '03', name: '学习认证', icon: 'learningCertify', link: '../learnCertify/learnCertify', isOpen: true },
{ key: '04', name: '邀请加盟', icon: 'shareJoin', link: '../inviteJoin/inviteJoin', isOpen: true },
{ key: '05', name: '我的分享', icon: 'share', link: '../myShare/myShare', isOpen: true },
{ key: '01', name: '我的积分', icon: 'integral', link: '/pages/myPoints/myPoints', isOpen: true },
{ key: '02', name: '申请加盟', icon: 'applyJoin', link: '/pages/application-process/basic-info', isOpen: true },
{ key: '03', name: '学习认证', icon: 'learningCertify', link: '/pages/learnCertify/learnCertify', isOpen: true },
{ key: '04', name: '邀请加盟', icon: 'shareJoin', link: '/pages/inviteJoin/inviteJoin', isOpen: true },
{ key: '05', name: '我的分享', icon: 'share', link: '/pages/myShare/myShare', isOpen: true },
{ key: '06', name: '我的团队', icon: 'team', link: '', isOpen: false },
{ key: '07', name: '更多功能', icon: 'more', link: '../personalCenter/personalCenter', isOpen: true }
{ key: '07', name: '更多功能', icon: 'more', link: '/pages/personalCenter/personalCenter', isOpen: true }
],
cffpUserInfo:{
address:'',
......@@ -107,7 +107,7 @@
methods: {
featureSelect(featureItem){
console.log(featureItem)
if(featureItem.isOpen){
if(featureItem.isOpen && featureItem.link){
uni.navigateTo({
url:featureItem.link
})
......
......@@ -120,7 +120,7 @@
<style lang="scss">
.container{
position: relative;
height: 100%;
height: 100vh;
.tabTitle{
color: #666666;
background-color:#fff;
......@@ -181,10 +181,9 @@
}
.sendInvite{
position: absolute;
bottom: 0;
left: 0;
right: 0;
margin: 30% auto;
left: 50%;
top: 80%;
transform: translateX(-45%);
width: 60%;
border-radius: 80rpx;
background-color: #20269B;
......
......@@ -182,9 +182,8 @@
}
.basicInfoBox{
display: flex;
padding: 17rpx 20rpx 0 28rpx;
padding: 67rpx 20rpx 60rpx 28rpx;
background:linear-gradient(26deg, #D8E2E5 0%, #F0E6DD 31%, #E7DBDF 100%);
min-height: 220rpx;
.avatar{
width: 80rpx;
height: 80rpx;
......
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