幼教产品B2B生态平台小程序端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

117 lines
2.6 KiB

12 months ago
<template>
<view>
12 months ago
<view class="block">
<view class="form-list">
<view class="line with-arrow">
<view class="name">LOGO</view>
<view class="val">
<image class="avatar" src="@/static/image/info-bg.jpg"></image>
<uni-icons type="right" size="18" color="#ababab"></uni-icons>
12 months ago
</view>
</view>
12 months ago
<view class="line with-arrow">
<view class="name">幼儿园名称</view>
<view class="val">
<input type="text" placeholder="请输入幼儿园名称" />
<uni-icons type="right" size="18" color="#ababab"></uni-icons>
</view>
</view>
<view class="line with-arrow">
<view class="name">标签</view>
<view class="val">
<input type="text" placeholder="请输入标签" />
<uni-icons type="right" size="18" color="#ababab"></uni-icons>
</view>
</view>
<view class="line textarea-line">
<view class="name">幼儿园slogan</view>
<textarea placeholder="请输入幼儿园slogan"></textarea>
</view>
<view class="line textarea-line">
<view class="name">地址</view>
<textarea placeholder="请输入地址"></textarea>
</view>
<view class="line textarea-line">
<view class="name">幼儿园简介</view>
<textarea placeholder="请输入幼儿园简介"></textarea>
</view>
12 months ago
</view>
12 months ago
</view>
12 months ago
12 months ago
<view class="block info">
<view class="title">联系我们</view>
<view class="line">地址测试测试</view>
<view class="line">联系电话测试测试</view>
<image class="qrcode" src="@/static/image/info-bg.jpg"></image>
12 months ago
</view>
</view>
</template>
<script>
12 months ago
import { my } from '@/apis/modules/parner.js'
12 months ago
export default {
data() {
return {
12 months ago
12 months ago
}
},
onShow() {
12 months ago
this.getInfo()
12 months ago
},
methods: {
12 months ago
// 获取个人信息
getInfo() {
const { partnerId, teamId } = uni.getStorageSync('team')
my({
partnerId,
teamId
}).then(({ my }) => {
this.info = my.info
12 months ago
}).catch(e => {})
},
12 months ago
toPage(path) {
this.$util.to(path)
12 months ago
},
12 months ago
// 退出登录
logout() {
const that = this
uni.showModal({
title: '提示',
content: '确定要退出账号吗?',
success(res) {
if (res.confirm) {
uni.clearStorageSync()
that.$util.to('/pages/login/login')
}
}
})
}
12 months ago
}
}
</script>
<style scoped lang="scss">
12 months ago
.avatar {
width: 80rpx;
height: 80rpx;
border: 0;
border-radius: 50%;
12 months ago
}
12 months ago
.info {
12 months ago
position: relative;
12 months ago
padding: 24rpx;
.line {
margin: 20rpx 0;
font-size: 26rpx;
12 months ago
color: #333;
}
12 months ago
.qrcode {
12 months ago
position: absolute;
12 months ago
top: 30rpx;
right: 30rpx;
width: 120rpx;
height: 120rpx;
12 months ago
}
}
</style>