佣金
This commit is contained in:
66
pages/commission/commission.js
Normal file
66
pages/commission/commission.js
Normal file
@@ -0,0 +1,66 @@
|
||||
// pages/commission/commission.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad: function (options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage: function () {
|
||||
|
||||
}
|
||||
})
|
||||
6
pages/commission/commission.json
Normal file
6
pages/commission/commission.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"yuedetail": "/components/yue/yuedetail/yuedetail"
|
||||
|
||||
}
|
||||
}
|
||||
45
pages/commission/commission.scss
Normal file
45
pages/commission/commission.scss
Normal file
@@ -0,0 +1,45 @@
|
||||
.box{
|
||||
background-color: #eee;
|
||||
padding:0 30rpx;
|
||||
.top{
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
.tx{
|
||||
width: 130rpx;
|
||||
height: 130rpx;
|
||||
|
||||
}
|
||||
.rigth{
|
||||
display: flex;
|
||||
.name{
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
}
|
||||
.mp{
|
||||
font-size: 24rpx;
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
}
|
||||
.xj{
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
>view{
|
||||
width: 263rpx;
|
||||
border-right: 1rpx solid #eee;
|
||||
}
|
||||
>view:last-child{
|
||||
border:none;
|
||||
}
|
||||
}
|
||||
.list{
|
||||
margin-top: 20rpx;
|
||||
background-color: #fff;
|
||||
.title{
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
25
pages/commission/commission.wxml
Normal file
25
pages/commission/commission.wxml
Normal file
@@ -0,0 +1,25 @@
|
||||
<view class="box">
|
||||
<view class="top">
|
||||
<image src="{{img}}" class="tx"></image>
|
||||
<view class="rigth">
|
||||
<view class="name"></view>
|
||||
<view class="mp"></view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="xj">
|
||||
<view>
|
||||
<text>A级</text>
|
||||
<text>0</text>
|
||||
</view>
|
||||
<view><text> B级</text>
|
||||
<text>0</text></view>
|
||||
<view><text>C级</text>
|
||||
<text>0</text></view>
|
||||
</view>
|
||||
<view class="list">
|
||||
<view class="title">佣金明细 </view>
|
||||
<view>
|
||||
<yuedetail date="2019-09-09" money="+12000" time="00-00-00"></yuedetail>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
1
pages/commission/commission.wxss
Normal file
1
pages/commission/commission.wxss
Normal file
@@ -0,0 +1 @@
|
||||
.box{background-color:#eee;padding:0 30rpx}.box .top{background-color:#fff;display:flex}.box .top .tx{width:130rpx;height:130rpx}.box .top .rigth{display:flex}.box .top .rigth .name{font-size:28rpx;color:#333}.box .top .rigth .mp{font-size:24rpx;color:#999}.box .xj{background-color:#fff;display:flex}.box .xj>view{width:263rpx;border-right:1rpx solid #eee}.box .xj>view:last-child{border:none}.box .list{margin-top:20rpx;background-color:#fff}.box .list .title{font-size:28rpx;color:#333}
|
||||
Reference in New Issue
Block a user