首页接口对接
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
<view class="mine-nav-label">公司介绍</view>
|
||||
<uni-icons type="forward" color="#aaa" size="20"></uni-icons>
|
||||
</view>
|
||||
<view class="mine-nav" @click="jump('feedback')" >
|
||||
<view class="mine-nav" @click="jump('feedback')">
|
||||
<view class="mine-nav-label">意见反馈</view>
|
||||
<uni-icons type="forward" color="#aaa" size="20"></uni-icons>
|
||||
</view>
|
||||
@@ -49,16 +49,19 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { queryPersonSet } from '@/common/api/mine.js'
|
||||
export default {
|
||||
data () {
|
||||
data() {
|
||||
return {
|
||||
loading: false
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
init () {
|
||||
async init() {
|
||||
const res = await queryPersonSet()
|
||||
console.log(res);
|
||||
},
|
||||
jump (type) {
|
||||
jump(type) {
|
||||
switch (type) {
|
||||
case 'changePwd':
|
||||
uni.navigateTo({
|
||||
@@ -83,7 +86,7 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
onLoad () {
|
||||
onLoad() {
|
||||
this.init()
|
||||
},
|
||||
}
|
||||
@@ -92,6 +95,7 @@ export default {
|
||||
<style lang="scss">
|
||||
.mine {
|
||||
padding-top: 20rpx;
|
||||
|
||||
.mine-header {
|
||||
padding: 200rpx 34rpx 34rpx;
|
||||
display: flex;
|
||||
@@ -118,7 +122,7 @@ export default {
|
||||
}
|
||||
|
||||
.mine-nav {
|
||||
padding: 34rpx;
|
||||
padding: 34rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: $uni-theme-white;
|
||||
|
||||
Reference in New Issue
Block a user