完成小程序端接单模块的前端部分

This commit is contained in:
2025-06-01 10:43:37 +08:00
parent 97f9dad10d
commit 62a6b0eec6
23 changed files with 394 additions and 81 deletions

View File

@ -7,10 +7,7 @@ Page({
* 页面的初始数据
*/
data: {
items: [null, null, null],
cxz: "",
cxz2: "",
cxz3: "",
items: [null],
nickName: "",
userAvatar: "",
phoneNumber: "",
@ -19,7 +16,22 @@ Page({
currentBalance: "", // 当前余额
withdrawalAmount: "", // 提现中的余额
withdrawnAmount: "", // 已提现的余额
totalIncome:"" // 累计收入
totalIncome:"", // 累计收入
showPopup: false, // 控制弹窗显示与否
qrcode: "https://img.picui.cn/free/2025/05/29/6837c53582068.gif", // 设置二维码图片的路径
},
// 点击二维码时,显示弹窗
showPromoPopup() {
this.setData({
showPopup: true
});
},
// 关闭弹窗
closePopup() {
this.setData({
showPopup: false
});
},
myteam(){
wx.navigateTo({

View File

@ -2,25 +2,25 @@
<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">{{ nickName }}</text>
<text class="self-start font text">qingcheng</text>
<view class="flex-row items-center self-stretch group_2 mt-9">
<image
class="image_3"
src="./images/dianhua.png"
mode="aspectFill"
/>
<text class="font_2 text_2 ml-7">{{ phoneNumber }}</text>
<text class="font_2 text_2 ml-7">15214547473</text>
</view>
<view class="flex-row items-center self-stretch section_2 mt-9">
<text class="font_3 text_3">邀请码123445</text>
<image
class="shrink-0 image_4"
src="./images/fuzhi.png"
mode="aspectFill"
/>
<text class="font_3 text_3">邀请码:{{ invitationCode }}</text>
</view>
</view>
<view class="flex-col items-center" bind:tap="erweima">
<view class="flex-col items-center">
<image
class="image_2"
src="./images/erweima.png"
@ -34,7 +34,7 @@
<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">¥{{ currentBalance }}</text>
<text class="text_5">¥5.00</text>
</view>
<view class="flex-row items-center section_3" bind:tap="lijitixian">
<image
@ -47,15 +47,15 @@
<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">¥{{ withdrawalAmount }}</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">¥{{ withdrawnAmount }}</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">¥{{ totalIncome }}</text>
<text class="font_4 mt-15">¥0.00</text>
</view>
</view>
</view>