| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <template>
- <view class="system_content column-c" :style="{paddingTop:`${$tools.topHeight()}px`}">
- <view class="column justify-center avatar r-100">
- <view class="avatar r-100" style="background-color: rgba(0, 0, 0, 0.1);"></view>
- <view class="row-c avatar_name m-l20">
- <image class="wh-100 r-circle" src="/static/img/logo.png" mode=""></image>
- <view class="column m-l20">
- <text class="size-30 text-color-333">团子</text>
- <text class="size-26 text-color-666">游客</text>
- </view>
- </view>
- </view>
- <view class="system_item">
- <view class="row-c p-tb25" v-for="(item,index) in systemList" :key="index" @click="onGoSetting(item)">
- <image class="m-r20" :src="item.icon" mode=""></image>
- <text class="size-28 text-color-333">{{item.name}}</text>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- topNavHeight: null,
- systemList: [{
- icon: "/static/img/index/index-info.png",
- name: '个人信息',
- id: 1
- }, {
- icon: "/static/img/index/index-lock.png",
- name: '修改密码',
- id: 2
- }, {
- icon: "/static/img/index/index-phone.png",
- name: '修改手机号',
- id: 3
- }, {
- icon: "/static/img/index/index-phone.png",
- name: '邀请二维码',
- id: 4
- }, ]
- }
- },
- created() {
- this.topNavHeight = getApp().globalData.topNavHeight
- },
- methods: {
- moveHandle() {
- return false
- },
- onGoSetting(item) {
- if (item.id == 1) {
- return uni.navigateTo({
- url: `/page_subpack/personal_details/personal_details?id=${item.id}&title=${item.name}`
- })
- }
- uni.navigateTo({
- url: `/page_subpack/system_setting/system_setting?id=${item.id}&title=${item.name}`
- })
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .system_content {
- width: 375rpx;
- height: 100vh;
- background-image: url("https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/index/popup_bg.png");
- background-repeat: no-repeat;
- background-size: 100% 100%;
- }
- .avatar {
- width: 315rpx;
- height: 140rpx;
- }
- .avatar_name {
- position: absolute;
- }
- .system_item {
- width: 315rpx;
- margin-top: 50rpx;
- image {
- width: 30rpx;
- height: 32rpx;
- }
- }
- </style>
|