Commit e5201e02 by 杨北旺

提交个人中心页面

1 parent a780c152
{
"pages": ["pages/tab/index/index", "pages/tab/discovery/discovery", "pages/tab/mine/mine", "pages/webView/webView"],
"requiredPrivateInfos": ["getLocation"],
"pages": [
"pages/tab/index/index",
"pages/tab/discovery/discovery",
"pages/tab/mine/mine",
"pages/webView/webView"
],
"requiredPrivateInfos": [
"getLocation"
],
"lazyCodeLoading": "requiredComponents",
"window": {
"backgroundTextStyle": "light",
......@@ -12,7 +19,8 @@
"selectedColor": "#5C72F6",
"backgroundColor": "#FFFFFF",
"borderStyle": "white",
"list": [{
"list": [
{
"pagePath": "pages/tab/index/index",
"text": "活动",
"iconPath": "images/icon_activity.png",
......@@ -32,7 +40,18 @@
}
]
},
"subpackages": [],
"subpackages": [
{
"root": "packageMine",
"pages": [
"pages/editBasicInfo/index",
"pages/settingName/index",
"pages/withdrawal/index",
"pages/withdrawalSuccess/index",
"pages/withdrawalNote/index"
]
}
],
"usingComponents": {
"navigation-bar": "/components/NavigationBar/NavigationBar"
},
......
......@@ -106,6 +106,11 @@
align-items: center;
justify-content: center;
}
.flex_scb{
display: flex;
align-items: center;
justify-content: space-between;
}
@keyframes show-box {
0% {
opacity: 0;
......
import { IMG_URL } from '~/utils/constantData'
Page({
data: {
IMGURL:IMG_URL,
list_fill: [
{
label: '姓名',
value: '百晓生',
},
{
label: '部门',
value: '市场部',
},
],
list_disable: [
{
label: '门店',
value: '广联数科4s店',
},
{
label: '电话',
value: '18269555555',
},
],
showModal:false
},
clickRow(e){
const {index} = e.currentTarget.dataset
if(index==1){
this.setData({
showModal:true
})
return
}
},
onLoad(options) {
},
})
\ No newline at end of file
{
"usingComponents": {},
"navigationBarTitleText":"编辑"
}
\ No newline at end of file
page {
background: #F7F8FA;
}
.container {
padding: 32rpx;
}
.wrapper {
background: #FFFFFF;
border-radius: 16rpx;
.row_widget {
padding: 36rpx 32rpx;
.label {
font-weight: 500;
font-size: 28rpx;
color: #333333;
}
.value {
font-weight: 400;
font-size: 30rpx;
color: #666666;
}
.icon{
width: 24rpx;
height: 24rpx;
margin-left: 8rpx;
}
}
.border_line{
border-bottom: 2rpx solid #F0F0F0;
}
}
.martop32{
margin-top: 32rpx;
}
\ No newline at end of file
<view class="container">
<view class="wrapper">
<block wx:for="{{list_fill}}" wx:key="index">
<view class="row_widget flex_scb {{index?'':'border_line'}}">
<view class="label">{{item.label}}</view>
<view class="value flex_sc" data-index="{{index}}" bind:tap="clickRow">
<text>{{item.value}}</text>
<image class="icon" src="{{IMGURL}}right_arrow_icon.png" />
</view>
</view>
</block>
</view>
<view class="wrapper martop32">
<block wx:for="{{list_disable}}" wx:key="index">
<view class="row_widget flex_scb {{index?'':'border_line'}}">
<view class="label">{{item.label}}</view>
<view class="value flex_sc">{{item.value}}</view>
</view>
</block>
</view>
</view>
\ No newline at end of file
// packageMine/pages/settingName/index.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})
\ No newline at end of file
{
"usingComponents": {},
"navigationBarTitleText":"设置名字"
}
\ No newline at end of file
page {
background: #F7F8FA;
}
.container {
padding: 32rpx;
}
.input_wrapper {
height: 108rpx;
background: #FFFFFF;
border-radius: 16rpx;
box-sizing: border-box;
padding-left: 32rpx;
.int_class {
width: calc(100% - 64rpx);
height: 100%;
font-weight: 400;
font-size: 32rpx;
color: #556AF5;
}
}
.sumbit_btn {
margin: 0 auto;
margin-top: 102rpx;
width: calc(100% - 32rpx);
height: 88rpx;
background-image: linear-gradient(-60deg, #556AF5 0%, #7197FF 100%);
border-radius: 20rpx;
font-weight: 500;
font-size: 32rpx;
color: #FFFFFF;
}
\ No newline at end of file
<view class="container">
<view class="input_wrapper">
<input class="int_class" placeholder="请输入名字" />
</view>
<view class="sumbit_btn flex_cc">提交</view>
</view>
\ No newline at end of file
import { IMG_URL } from '~/utils/constantData'
Page({
data: {
IMGURL:IMG_URL,
},
})
\ No newline at end of file
{
"usingComponents": {},
"navigationBarTitleText":"积分提现"
}
\ No newline at end of file
page {
background: #F7F8FA;
}
.container {
padding: 32rpx;
}
.tip_wrapper {
height: 108rpx;
background: #FFFFFF;
border-radius: 16rpx;
box-sizing: border-box;
padding: 0 32rpx;
.label {
font-weight: 400;
font-size: 32rpx;
color: #333333;
}
.tip {
.icon {
width: 56rpx;
height: 56rpx;
border-radius: 50%;
margin-right: 8rpx;
}
font-weight: 400;
font-size: 28rpx;
color: #333333;
}
}
.input_wrapper {
width: 686rpx;
background: #FFFFFF;
border-radius: 16rpx;
margin-top: 32rpx;
box-sizing: border-box;
padding: 32rpx;
.title {
font-weight: 400;
font-size: 32rpx;
color: #333333;
}
.int_widget {
box-sizing: border-box;
padding: 8rpx 0;
margin-top: 32rpx;
.input-placeholder {
font-weight: 400;
font-size: 24rpx;
color: #999999;
}
.intClass {
width: calc(100% - 174rpx);
font-weight: 400;
font-size: 24rpx;
color: #556AF5;
}
.btn {
width: 154rpx;
height: 48rpx;
background: rgba(85, 106, 245, 0.10);
border-radius: 24rpx;
font-weight: 400;
font-size: 24rpx;
color: #556AF5;
}
}
}
.sumbit_btn {
margin: 0 auto;
margin-top: 120rpx;
width: calc(100% - 32rpx);
height: 88rpx;
background-image: linear-gradient(-60deg, #556AF5 0%, #7197FF 100%);
border-radius: 20rpx;
font-weight: 500;
font-size: 32rpx;
color: #FFFFFF;
}
\ No newline at end of file
<view class="container">
<view class="tip_wrapper flex_scb">
<view class="label">提现人</view>
<view class="tip flex_sc">
<image mode="aspectFill" class="icon" src="{{IMGURL}}discovery_prod1.png" />
<text>百晓生</text>
</view>
</view>
<view class="input_wrapper">
<view class="title">输入提现的积分值</view>
<view class="int_widget flex_scb">
<input class="intClass" maxlength="20" placeholder="当前可提现积分:5263.22" placeholder-class="input-placeholder"/>
<view class="btn flex_cc">全部提现</view>
</view>
</view>
<view class="sumbit_btn flex_cc">提交</view>
</view>
\ No newline at end of file
import { IMG_URL } from '~/utils/constantData'
Page({
data: {
IMGURL:IMG_URL,
STATUSICON:['wait','comlpete','fail'],
listData:[
{
num:110,
status:0,
},
{
num:1100,
status:1,
},
{
num:11000,
status:2,
},
]
},
})
\ No newline at end of file
{
"usingComponents": {},
"navigationBarTitleText":"提现记录"
}
\ No newline at end of file
page {
background: #F7F8FA;
}
.container {
padding: 40rpx 32rpx;
}
.title_widget {
margin-bottom: 38rpx;
.text_1 {
font-weight: 600;
font-size: 36rpx;
color: #1B233D;
}
.marlf8 {
margin: 0 8rpx;
}
.text_2 {
font-weight: 400;
font-size: 28rpx;
color: #2D2D33;
}
}
.list {
.element {
position: relative;
.bgicon {
height: 260rpx;
}
.posi_wrap {
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 0;
box-sizing: border-box;
padding: 32rpx;
.avatar_info {
.icon {
width: 60rpx;
height: 60rpx;
border-radius: 50%;
margin-right: 8rpx;
}
.nameText {
font-weight: 400;
font-size: 28rpx;
color: #333333;
}
}
.countText {
font-weight: Bold;
font-size: 60rpx;
color: #333333;
line-height: 72rpx;
margin-top: 16rpx;
margin-bottom: 15rpx;
}
.line {
width: calc(100% - 32rpx);
height: 2rpx;
background: #EDEDED;
}
.date_wrap {
margin-top: 15rpx;
box-sizing: border-box;
padding-right: 32rpx;
.dateText {
font-weight: 400;
font-size: 20rpx;
color: #999999;
line-height: 32rpx;
}
}
}
}
}
\ No newline at end of file
<view class="container">
<view class="title_widget flex_sc">
<view class="text_1">提现记录</view>
<view class="text_2 marlf8">·</view>
<view class="text_2">80</view>
</view>
<view class="list">
<block wx:for="{{listData}}" wx:key="index">
<view class="element">
<image mode="widthFix" class="bgicon" src="{{IMGURL}}status_{{STATUSICON[item.status]}}.png" />
<view class="posi_wrap">
<view class="avatar_info flex_sc">
<image mode="aspectFill" class="icon" src="{{IMGURL}}discovery_prod1.png" />
<view class="nameText">百晓生</view>
</view>
<view class="countText">-{{item.num}}</view>
<view class="line"></view>
<view class="date_wrap flex_scb">
<view class="dateText">申请时间:2022-10-12 17:32</view>
<view wx:if="{{item.status}}" class="dateText">完成时间:2022-10-12 17:32</view>
</view>
</view>
</view>
</block>
</view>
</view>
\ No newline at end of file
import { IMG_URL } from '~/utils/constantData'
Page({
data: {
IMGURL:IMG_URL,
},
})
\ No newline at end of file
{
"usingComponents": {},
"navigationBarTitleText":"积分提现"
}
\ No newline at end of file
page {
background: white;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
}
.icon {
width: 400rpx;
height: 400rpx;
margin-top: 64rpx;
}
.max_text {
font-weight: 600;
font-size: 40rpx;
color: #1B233D;
margin-top: 16rpx;
margin-bottom: 24rpx;
}
.tip_text {
font-weight: 400;
font-size: 28rpx;
color: #7A8299;
}
.btn_group {
margin-top: 128rpx;
.btn_left {
width: 316rpx;
height: 88rpx;
background: #FFFFFF;
border: 2rpx solid #DCDFE6;
border-radius: 20rpx;
font-weight: 400;
font-size: 32rpx;
color: #1B233D;
}
.btn_right {
width: 316rpx;
height: 88rpx;
background-image: linear-gradient(-60deg, #556AF5 0%, #7197FF 100%);
border-radius: 20rpx;
font-weight: 500;
font-size: 32rpx;
color: #FFFFFF;
margin-left: 22rpx;
}
}
\ No newline at end of file
<view class="container">
<image mode="widthFix" class="icon" src="{{IMGURL}}success_icon_1.png" />
<view class="max_text">提交成功</view>
<view class="tip_text">您的提现申请已成功提交,预计将在24小时</view>
<view class="tip_text">到达您的微信零钱,请留意到账情况</view>
<view class="btn_group flex_cc">
<view class="btn_left flex_cc">查看提现记录</view>
<view class="btn_right flex_cc">返回我的积分</view>
</view>
</view>
\ No newline at end of file
......@@ -62,6 +62,41 @@
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "编辑",
"pathName": "packageMine/pages/editBasicInfo/index",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "设置名称",
"pathName": "packageMine/pages/settingName/index",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "提现",
"pathName": "packageMine/pages/withdrawal/index",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "提现成功",
"pathName": "packageMine/pages/withdrawalSuccess/index",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "提现记录",
"pathName": "packageMine/pages/withdrawalNote/index",
"query": "",
"launchMode": "default",
"scene": null
}
]
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!