完成第一部分
This commit is contained in:
66
pages/personCenter/mine/mine.js
Normal file
66
pages/personCenter/mine/mine.js
Normal file
@ -0,0 +1,66 @@
|
||||
// pages/personCenter/mine/mine.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
items: [null, null],
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
3
pages/personCenter/mine/mine.json
Normal file
3
pages/personCenter/mine/mine.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
153
pages/personCenter/mine/mine.wxml
Normal file
153
pages/personCenter/mine/mine.wxml
Normal file
@ -0,0 +1,153 @@
|
||||
<view class="flex-col page">
|
||||
<view class="flex-col relative section">
|
||||
<view class="flex-row justify-between items-center group">
|
||||
<view class="flex-col">
|
||||
<text class="self-start font text">青橙723h723</text>
|
||||
<view class="flex-row items-center self-stretch group_2 mt-9">
|
||||
<image
|
||||
class="image_3"
|
||||
src="https://ide.code.fun/api/image?token=682c6f4f4ae84d0012300213&name=319ad63bd1f84326c37f0a1589cfb01a.png"
|
||||
/>
|
||||
<text class="font_2 text_2 ml-7">13945493113</text>
|
||||
</view>
|
||||
<view class="flex-row items-center self-stretch section_2 mt-9">
|
||||
<image
|
||||
class="shrink-0 image_4"
|
||||
src="https://ide.code.fun/api/image?token=682c6f4f4ae84d0012300213&name=486b46e979f4407cc260437ec81253ac.png"
|
||||
/>
|
||||
<text class="font_3 text_3">邀请码:312242</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="flex-col items-center">
|
||||
<image
|
||||
class="image_2"
|
||||
src="https://ide.code.fun/api/image?token=682c6f4f4ae84d0012300213&name=8734df2e6820df0d87688d70cbc2598b.png"
|
||||
/>
|
||||
<text class="font_3 text_4 mt-6">二维码邀请</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="flex-col group_3">
|
||||
<view class="flex-row justify-between items-center group_4">
|
||||
<view class="group_5">
|
||||
<text class="font_2 text_6">当前金额:</text>
|
||||
<text class="text_5">¥5.00</text>
|
||||
</view>
|
||||
<view class="flex-row items-center section_3">
|
||||
<image
|
||||
class="image_5 image_6"
|
||||
src="https://ide.code.fun/api/image?token=682c6f4f4ae84d0012300213&name=a981acbf01273a3c288b415ed03920a9.png"
|
||||
/>
|
||||
<text class="font_3 text_7">立即提现</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="flex-row items-start equal-division section_4">
|
||||
<view class="flex-col items-center equal-division-item_8">
|
||||
<text class="font_2 text_8">提现中</text>
|
||||
<text class="font_4 mt-15">¥0.00</text>
|
||||
</view>
|
||||
<view class="flex-col items-center group_6 equal-division-item">
|
||||
<text class="font_2 text_9">已提现</text>
|
||||
<text class="font_4 mt-15">¥0.00</text>
|
||||
</view>
|
||||
<view class="flex-col items-center group_7 equal-division-item_8">
|
||||
<text class="font_2 text_10">累计收入</text>
|
||||
<text class="font_4 mt-15">¥0.00</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<image
|
||||
class="image pos"
|
||||
src="https://ide.code.fun/api/image?token=682c6f4f4ae84d0012300213&name=e8e019939eb09c44c825eb6566ae49e0.png"
|
||||
/>
|
||||
</view>
|
||||
<view class="flex-row items-start equal-division_2 section_5">
|
||||
<view class="flex-col items-center equal-division-item_1 equal-division-item_2">
|
||||
<image
|
||||
class="image_7"
|
||||
src="https://ide.code.fun/api/image?token=682c6f4f4ae84d0012300213&name=edfaff95081ed57443cb7e1f61a171bd.png"
|
||||
/>
|
||||
<text class="font text_11 mt-6">资金明细</text>
|
||||
</view>
|
||||
<view class="flex-col items-center group_6 group_1">
|
||||
<image
|
||||
class="image_7"
|
||||
src="https://ide.code.fun/api/image?token=682c6f4f4ae84d0012300213&name=cc6e3cc0c2025537165bb25f6005f441.png"
|
||||
/>
|
||||
<text class="font text_12 mt-6">提现账户</text>
|
||||
</view>
|
||||
<view class="flex-col items-center group_9 group_10">
|
||||
<image
|
||||
class="image_7"
|
||||
src="https://ide.code.fun/api/image?token=682c6f4f4ae84d0012300213&name=6deae93a1c966ef0a706b019dba682fa.png"
|
||||
/>
|
||||
<text class="font text_13 mt-6">提现记录</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="flex-col list">
|
||||
<view
|
||||
class="flex-row equal-division equal-division_3 mt-15"
|
||||
wx:for="{{items}}"
|
||||
wx:for-item="item"
|
||||
wx:for-index="index"
|
||||
wx:key="index"
|
||||
>
|
||||
<view class="flex-col items-center equal-division-item_3">
|
||||
<image
|
||||
class="image_8"
|
||||
src="https://ide.code.fun/api/image?token=682c6f4f4ae84d0012300213&name=5b43a02628dbfcb995a95d266489cc34.png"
|
||||
/>
|
||||
<text class="font text_14 mt-10">我的项目</text>
|
||||
</view>
|
||||
<view class="flex-col items-center group_15 equal-division-item_6">
|
||||
<image
|
||||
class="image_8"
|
||||
src="https://ide.code.fun/api/image?token=682c6f4f4ae84d0012300213&name=17d4f4d6c41f90d9353cfe9a8d6c40aa.png"
|
||||
/>
|
||||
<text class="font text_15 mt-10">团队管理</text>
|
||||
</view>
|
||||
<view class="flex-col items-center group_11 equal-division-item_3">
|
||||
<image
|
||||
class="image_8"
|
||||
src="https://ide.code.fun/api/image?token=682c6f4f4ae84d0012300213&name=90434867969b0528211e1825c8b507ac.png"
|
||||
/>
|
||||
<text class="font text_16 mt-11">设置抽佣</text>
|
||||
</view>
|
||||
<view class="flex-col items-center group_12 equal-division-item_7">
|
||||
<image
|
||||
class="image_8"
|
||||
src="https://ide.code.fun/api/image?token=682c6f4f4ae84d0012300213&name=eb4f6411f7b454f280901cd364db4d44.png"
|
||||
/>
|
||||
<text class="font mt-11">联系上级</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="flex-col list_2">
|
||||
<view class="flex-row justify-between items-center self-stretch group_13">
|
||||
<view class="flex-row items-center">
|
||||
<image
|
||||
class="shrink-0 image_9"
|
||||
src="https://ide.code.fun/api/image?token=682c6f4f4ae84d0012300213&name=aa91727b7d18ada3db15ea0bb92a31bf.png"
|
||||
/>
|
||||
<text class="font text_17 ml-5">账号设置</text>
|
||||
</view>
|
||||
<image
|
||||
class="image_5"
|
||||
src="https://ide.code.fun/api/image?token=682c6f4f4ae84d0012300213&name=ce5680aec87249d911d2df64fb355704.png"
|
||||
/>
|
||||
</view>
|
||||
<view class="self-end list-divider"></view>
|
||||
<view class="flex-row justify-between items-center self-stretch group_14">
|
||||
<view class="flex-row items-center">
|
||||
<image
|
||||
class="shrink-0 image_9"
|
||||
src="https://ide.code.fun/api/image?token=682c6f4f4ae84d0012300213&name=cbafbfae3c8363a26e2cb8afc1817fd1.png"
|
||||
/>
|
||||
<text class="font text_18 ml-5">联系客服</text>
|
||||
</view>
|
||||
<image
|
||||
class="image_5"
|
||||
src="https://ide.code.fun/api/image?token=682c6f4f4ae84d0012300213&name=ce5680aec87249d911d2df64fb355704.png"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
295
pages/personCenter/mine/mine.wxss
Normal file
295
pages/personCenter/mine/mine.wxss
Normal file
@ -0,0 +1,295 @@
|
||||
.ml-7 {
|
||||
margin-left: 13.13rpx;
|
||||
}
|
||||
.mt-9 {
|
||||
margin-top: 16.88rpx;
|
||||
}
|
||||
.mt-15 {
|
||||
margin-top: 28.13rpx;
|
||||
}
|
||||
.mt-11 {
|
||||
margin-top: 20.63rpx;
|
||||
}
|
||||
.ml-5 {
|
||||
margin-left: 9.38rpx;
|
||||
}
|
||||
.page {
|
||||
padding: 65.63rpx 28.13rpx 331.88rpx 30rpx;
|
||||
background-image: linear-gradient(180deg, #ff8d1a -7.3%, #ffffff00 92.1%);
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
height: 100%;
|
||||
}
|
||||
.section {
|
||||
padding-left: 31.88rpx;
|
||||
padding-right: 31.74rpx;
|
||||
background-color: #ffffff;
|
||||
border-radius: 18.75rpx;
|
||||
}
|
||||
.group {
|
||||
padding: 45.9rpx 30.73rpx 33.75rpx 153.75rpx;
|
||||
border-bottom: solid 1.88rpx #ededed;
|
||||
}
|
||||
.font {
|
||||
font-size: 26.25rpx;
|
||||
font-family: SourceHanSansCN;
|
||||
line-height: 24.39rpx;
|
||||
color: #000000;
|
||||
}
|
||||
.text {
|
||||
line-height: 24.21rpx;
|
||||
}
|
||||
.group_2 {
|
||||
padding: 0 7.26rpx;
|
||||
}
|
||||
.image_3 {
|
||||
width: 22.5rpx;
|
||||
height: 22.5rpx;
|
||||
}
|
||||
.font_2 {
|
||||
font-size: 22.5rpx;
|
||||
font-family: SourceHanSansCN;
|
||||
line-height: 19.93rpx;
|
||||
color: #000000;
|
||||
}
|
||||
.text_2 {
|
||||
color: #808080;
|
||||
line-height: 17.08rpx;
|
||||
}
|
||||
.section_2 {
|
||||
padding: 10.5rpx 23.13rpx 10.5rpx 14.03rpx;
|
||||
background-color: #fff6de;
|
||||
border-radius: 31.26rpx;
|
||||
}
|
||||
.image_4 {
|
||||
margin-left: 169.72rpx;
|
||||
width: 24.38rpx;
|
||||
height: 24.38rpx;
|
||||
}
|
||||
.font_3 {
|
||||
font-size: 22.5rpx;
|
||||
font-family: SourceHanSansCN;
|
||||
line-height: 19.93rpx;
|
||||
color: #ff8d1a;
|
||||
}
|
||||
.text_3 {
|
||||
margin-left: -194.1rpx;
|
||||
margin-right: 21.6rpx;
|
||||
line-height: 20.68rpx;
|
||||
}
|
||||
.image_2 {
|
||||
width: 76.88rpx;
|
||||
height: 76.88rpx;
|
||||
}
|
||||
.text_4 {
|
||||
line-height: 20.72rpx;
|
||||
}
|
||||
.group_3 {
|
||||
padding-bottom: 28.13rpx;
|
||||
}
|
||||
.group_4 {
|
||||
padding: 29.06rpx 0 32.81rpx 2.59rpx;
|
||||
}
|
||||
.group_5 {
|
||||
line-height: 25.78rpx;
|
||||
height: 27.21rpx;
|
||||
}
|
||||
.text_6 {
|
||||
line-height: 21rpx;
|
||||
}
|
||||
.text_5 {
|
||||
color: #ff8d1a;
|
||||
font-size: 33.75rpx;
|
||||
font-family: SourceHanSansCN;
|
||||
line-height: 25.78rpx;
|
||||
}
|
||||
.section_3 {
|
||||
padding: 6.43rpx 10.44rpx 6.69rpx 20.77rpx;
|
||||
background-color: #ffffff;
|
||||
border-radius: 37.5rpx;
|
||||
width: 151.88rpx;
|
||||
height: 46.88rpx;
|
||||
border: solid 1.88rpx #ff8d1a;
|
||||
}
|
||||
.image_5 {
|
||||
width: 30rpx;
|
||||
height: 30rpx;
|
||||
}
|
||||
.image_6 {
|
||||
margin-left: 86.91rpx;
|
||||
}
|
||||
.text_7 {
|
||||
margin-left: -116.91rpx;
|
||||
line-height: 20.91rpx;
|
||||
}
|
||||
.equal-division {
|
||||
position: relative;
|
||||
}
|
||||
.equal-division:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
.section_4 {
|
||||
padding: 15.96rpx 0 17.32rpx;
|
||||
background-color: #f7f7f7;
|
||||
border-radius: 9.38rpx;
|
||||
}
|
||||
.text_8 {
|
||||
line-height: 20.77rpx;
|
||||
}
|
||||
.font_4 {
|
||||
font-size: 26.25rpx;
|
||||
font-family: SourceHanSansCN;
|
||||
line-height: 19.93rpx;
|
||||
color: #000000;
|
||||
}
|
||||
.group_6 {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
.equal-division-item {
|
||||
padding: 10.01rpx 0 9.99rpx;
|
||||
width: 208.74rpx;
|
||||
}
|
||||
.text_9 {
|
||||
line-height: 20.74rpx;
|
||||
}
|
||||
.group_7 {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
.equal-division-item_8 {
|
||||
padding: 9.99rpx 0 9.99rpx;
|
||||
width: 208.74rpx;
|
||||
}
|
||||
.text_10 {
|
||||
line-height: 20.72rpx;
|
||||
}
|
||||
.image {
|
||||
width: 161.25rpx;
|
||||
height: 161.25rpx;
|
||||
}
|
||||
.pos {
|
||||
position: absolute;
|
||||
left: 13.13rpx;
|
||||
top: 15rpx;
|
||||
}
|
||||
.equal-division_2 {
|
||||
position: relative;
|
||||
margin-top: 24.38rpx;
|
||||
}
|
||||
.section_5 {
|
||||
padding: 6.88rpx 0 13.52rpx;
|
||||
background-color: #ffffff;
|
||||
border-radius: 18.75rpx;
|
||||
}
|
||||
.equal-division-item_1 {
|
||||
margin-left: 8.85rpx;
|
||||
}
|
||||
.equal-division-item_2 {
|
||||
padding: 11.76rpx 0 10.01rpx;
|
||||
width: 224.06rpx;
|
||||
}
|
||||
.image_7 {
|
||||
width: 63.99rpx;
|
||||
height: 63.99rpx;
|
||||
}
|
||||
.text_11 {
|
||||
line-height: 24.56rpx;
|
||||
}
|
||||
.group_1 {
|
||||
padding: 11.76rpx 0 10.03rpx;
|
||||
width: 224.06rpx;
|
||||
}
|
||||
.text_12 {
|
||||
line-height: 24.43rpx;
|
||||
}
|
||||
.group_9 {
|
||||
position: absolute;
|
||||
right: 10.84rpx;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
.group_10 {
|
||||
padding: 11.76rpx 0 10.11rpx;
|
||||
width: 224.06rpx;
|
||||
}
|
||||
.text_13 {
|
||||
line-height: 24.21rpx;
|
||||
}
|
||||
.list {
|
||||
padding: 28.13rpx 0 33.75rpx;
|
||||
}
|
||||
.equal-division_3 {
|
||||
padding: 12.51rpx 10.14rpx 17.23rpx;
|
||||
background-color: #ffffff;
|
||||
border-radius: 18.75rpx;
|
||||
}
|
||||
.image_8 {
|
||||
border-radius: 9.38rpx;
|
||||
width: 63.99rpx;
|
||||
height: 63.99rpx;
|
||||
}
|
||||
.text_14 {
|
||||
line-height: 24.34rpx;
|
||||
}
|
||||
.equal-division-item_6 {
|
||||
padding: 11.76rpx 0 10.18rpx;
|
||||
width: 167.4rpx;
|
||||
}
|
||||
.text_15 {
|
||||
line-height: 24.3rpx;
|
||||
}
|
||||
.group_11 {
|
||||
position: absolute;
|
||||
right: 179.53rpx;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
.equal-division-item_3 {
|
||||
padding: 11.76rpx 0 10.14rpx;
|
||||
width: 167.4rpx;
|
||||
}
|
||||
.text_16 {
|
||||
line-height: 24.23rpx;
|
||||
}
|
||||
.group_12 {
|
||||
position: absolute;
|
||||
right: 12.13rpx;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
.equal-division-item_7 {
|
||||
padding: 11.76rpx 0 9.99rpx;
|
||||
width: 167.4rpx;
|
||||
}
|
||||
.list_2 {
|
||||
background-color: #ffffff;
|
||||
border-radius: 17.72rpx;
|
||||
}
|
||||
.group_13 {
|
||||
padding: 30rpx 30rpx 28.13rpx 35.63rpx;
|
||||
}
|
||||
.image_9 {
|
||||
border-radius: 9.38rpx;
|
||||
width: 41.25rpx;
|
||||
height: 41.25rpx;
|
||||
}
|
||||
.text_17 {
|
||||
line-height: 23.81rpx;
|
||||
}
|
||||
.list-divider {
|
||||
margin-right: 39.43rpx;
|
||||
background-color: #d4d4d4;
|
||||
width: 566.17rpx;
|
||||
height: 1.88rpx;
|
||||
}
|
||||
.group_14 {
|
||||
padding: 22.5rpx 30rpx 28.13rpx 35.63rpx;
|
||||
}
|
||||
.text_18 {
|
||||
line-height: 24.6rpx;
|
||||
}
|
Reference in New Issue
Block a user