dengjie commit : 会员中心及其联系客服页面初步完成
This commit is contained in:
32
components/myAvatar/myAvatar.vue
Normal file
32
components/myAvatar/myAvatar.vue
Normal file
@@ -0,0 +1,32 @@
|
||||
<template>
|
||||
<view class="my_avatar">
|
||||
<view style="border: 1px solid #EEEEEE;border-radius: 50rpx;">
|
||||
<u--image :src="avatar" width="100rpx" height="100rpx" :lazy-load="true" shape="circle">
|
||||
</u--image>
|
||||
</view>
|
||||
<view style="margin-top: 10rpx;margin-bottom: 4rpx;">
|
||||
<u--image v-if="show==false" :src="normal" width="84rpx" height="30rpx" :lazy-load="true">
|
||||
</u--image>
|
||||
<u--image v-else :src="VIP" width="84rpx" height="30rpx" :lazy-load="true">
|
||||
</u--image>
|
||||
</view>
|
||||
<text>顾发航</text>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "myAvatar",
|
||||
data() {
|
||||
return {
|
||||
avatar: '/static/my/avatar.png',
|
||||
normal: '/static/my/wo_icon_pthy.png',
|
||||
VIP: '/static/my/wo_icon_vip.png',
|
||||
};
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
30
components/myForm/myForm.vue
Normal file
30
components/myForm/myForm.vue
Normal file
@@ -0,0 +1,30 @@
|
||||
<template>
|
||||
<view>
|
||||
<u--form labelPosition="left" :model="model">
|
||||
<u-form-item label="公司名称" prop="userInfo.name" borderBottom>
|
||||
<u--input v-model="model.userInfo.name" border="none" placeholder="请输入您的名称"
|
||||
placeholderStyle="color: #CCCCCC;font-size: 24rpx;"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item label="公司电话" prop="userInfo.phone" borderBottom>
|
||||
<u--input v-model="model.userInfo.phone" border="none" placeholder="请输入您的电话"
|
||||
placeholderStyle="color: #CCCCCC;font-size: 24rpx;">
|
||||
</u--input>
|
||||
</u-form-item>
|
||||
</u--form>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "form",
|
||||
data() {
|
||||
return {
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user