解决了已知问题

This commit is contained in:
Ling53666 2025-05-11 15:12:01 +08:00
parent 36cc2fe7ba
commit bb84973913
41 changed files with 2980 additions and 801 deletions

View File

@ -8,7 +8,12 @@
"pages/find/find",
"pages/logain/logain",
"pages/zucepage/zucepage",
"pages/wangjimima/wangjimima"
"pages/wangjimima/wangjimima",
"pages/xiangqing/xiangqing",
"pages/woyaojiedan/woyaojiedan",
"pages/mingxi/mingxi",
"pages/findxiangqing/findxiangqing",
"pages/wodetuandui/wodetuandui"
],
"window": {
"navigationBarTextStyle": "black",

View File

@ -5,6 +5,17 @@ Page({
* 页面的初始数据
*/
data: {
picture:[{
image:'/image/20250407154233.jpg'
},
{
image:'/image/20250407154300.png'
},
{
image:'/image/20250407154310.png'
}
],
items: [null, null],
messageshop: [
{ name: '红枣夹核桃 500g 坚果大礼包', image: '/image/logo.png', price: 65, oldPrice: 99 },
{ name: '新疆大枣 1000g 优选原产地', image: '/image/logo.png', price: 48, oldPrice: 78 },
@ -17,6 +28,11 @@ Page({
/**
* 生命周期函数--监听页面加载
*/
goumai(){
wx.navigateTo({
url: '/pages/findxiangqing/findxiangqing',
})
},
onLoad(options) {
},

View File

@ -0,0 +1,70 @@
<view class="flex-col page">
<swiper class="swiper" autoplay circular indicator-dots>
<swiper-item wx:for="{{picture}}" wx:key="index">
<image class="imagesize" src="{{item.image}}" mode="aspectFill" />
</swiper-item>
</swiper>
<view class="mt-16 flex-row justify-evenly group">
<view class="flex-col justify-start items-center text-wrapper"><text class="font text">全部</text></view>
<view class="flex-col justify-start items-center text-wrapper_2"><text class="font text_2">公考笔试</text></view>
<view class="flex-col justify-start text-wrapper_3"><text class="font text_3">事业单位</text></view>
<view class="flex-col justify-start text-wrapper_3"><text class="font text_4">教师资格证</text></view>
</view>
<view class="mt-16 flex-col list">
<view
class="flex-col relative mt-20 list-item"
wx:for="{{items}}"
wx:for-item="item"
wx:for-index="index"
wx:key="index"
>
<text class="self-start font_2 text_5">【早晚课】最全面公考资料</text>
<text class="self-start font_3 text_6">2025.5.10开课至2025.10.10日 早7晚10 每周休一天</text>
<view class="flex-row self-stretch group_2">
<view class="flex-col justify-start text-wrapper_4"><text class="font_4 text_7">一周六天</text></view>
<view class="ml-26 flex-col justify-start text-wrapper_4"><text class="font_4 text_8">名师授课</text></view>
</view>
<view class="flex-row justify-between items-end self-stretch group_3">
<view class="flex-row">
<view class="flex-col">
<view class="flex-row">
<image
class="image_2"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=f14ebd9d7d107dcdcc3502578c9804ac.png"
/>
<image
class="ml-20 image_3"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=32000e6a12c1fe3deb6acc69b8aefa04.png"
/>
</view>
<view class="mt-10 flex-row group_4">
<text class="font_8">教师1</text>
<text class="ml-34 font_8">教师2</text>
</view>
</view>
<view class="ml-24 flex-col items-center">
<image
class="image_2"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=f14ebd9d7d107dcdcc3502578c9804ac.png"
/>
<text class="mt-10 font_8">教师3</text>
</view>
</view>
<view class="flex-col">
<view class="flex-row">
<view class="flex-col justify-start items-center shrink-0 text-wrapper_5" bind:tap="goumai">
<text class="font_2 text_9">购买</text>
</view>
<text class="ml-18 self-start font_5 text_10">¥1000</text>
</view>
<view class="flex-row mt-13">
<view class="flex-col justify-start items-center shrink-0 text-wrapper_6" bind:tap="goumai">
<text class="font_6 text_11">试听</text>
</view>
<text class="ml-20 self-start font_7 text_12 text_13">50积分</text>
</view>
</view>
</view>
</view>
</view>
</view>

View File

@ -1,74 +1,199 @@
/* pages/find/find.wxss */.show {
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: 20rpx;
box-sizing: border-box;
.mt-13 {
margin-top: 25rpx;
}
.shopping {
width: 45%;
margin: 10rpx;
.page {
padding-bottom: 313.46rpx;
background-color: #ffffff;
border-radius: 20rpx;
box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.08);
overflow: hidden;
display: flex;
flex-direction: column;
transition: transform 0.2s ease;
}
.shopping:active {
transform: scale(0.97);
}
.imagebox {
width: 100%;
aspect-ratio: 1;
background-color: #f6f6f6;
overflow: hidden;
overflow-y: auto;
overflow-x: hidden;
}
.imagesize {
.image {
width: 100vw;
height: 48.7179vw;
}
.group {
padding: 0 13.46rpx;
}
.text-wrapper {
padding: 7.69rpx 0;
background-color: #ff8d1a;
border-radius: 19.23rpx;
width: 111.54rpx;
height: 46.15rpx;
}
.font {
font-size: 26.92rpx;
font-family: SourceHanSansCN;
line-height: 23.35rpx;
color: #000000;
}
.text {
color: #ffffff;
line-height: 25.02rpx;
}
.text-wrapper_2 {
padding: 7.69rpx 0;
background-color: #ffffff;
border-radius: 19.23rpx;
width: 184.62rpx;
height: 48.08rpx;
border-left: solid 1.92rpx #e5e5e5;
border-right: solid 1.92rpx #e5e5e5;
border-top: solid 1.92rpx #e5e5e5;
border-bottom: solid 1.92rpx #e5e5e5;
}
.text_2 {
line-height: 24.83rpx;
}
.text-wrapper_3 {
padding: 7.69rpx 0;
background-color: #ffffff;
border-radius: 19.23rpx;
height: 48.08rpx;
border-left: solid 1.92rpx #e5e5e5;
border-right: solid 1.92rpx #e5e5e5;
border-top: solid 1.92rpx #e5e5e5;
border-bottom: solid 1.92rpx #e5e5e5;
}
.text_3 {
margin-left: 11.54rpx;
line-height: 25.04rpx;
}
.text_4 {
margin: 0 15.38rpx;
line-height: 24.88rpx;
}
.list {
padding: 0 25rpx;
}
.list-item {
padding: 26.92rpx 15.38rpx 53.85rpx 23.08rpx;
background-color: #ffffff;
border-radius: 19.23rpx;
box-shadow: 0rpx 3.85rpx 7.69rpx #00000040;
}
.list-item:first-child {
margin-top: 0;
}
.font_2 {
font-size: 30.77rpx;
font-family: SourceHanSansCN;
line-height: 28.83rpx;
color: #000000;
}
.text_5 {
margin-left: 7.69rpx;
}
.font_3 {
font-size: 26.92rpx;
font-family: SourceHanSansCN;
line-height: 30.77rpx;
color: #808080;
}
.text_6 {
margin-left: 7.69rpx;
margin-top: 23.08rpx;
font-size: 25rpx;
text-align: center;
width: 444.23rpx;
}
.group_2 {
margin-top: 23.08rpx;
padding: 0 5.77rpx;
}
.font_4 {
font-size: 15.38rpx;
font-family: SourceHanSansCN;
line-height: 14.17rpx;
color: #e33c64;
}
.text_7 {
margin: 0 7.69rpx;
}
.text-wrapper_4 {
padding: 3.85rpx 0;
background-color: #fc7e0961;
height: 23.08rpx;
}
.text_8 {
margin: 0 7.69rpx;
line-height: 14.21rpx;
}
.group_3 {
margin-top: 34.62rpx;
}
.image_2 {
border-radius: 288.46rpx;
width: 76.92rpx;
height: 76.92rpx;
}
.image_3 {
border-radius: 288.46rpx;
width: 69.23rpx;
height: 76.92rpx;
}
.group_4 {
padding-left: 11.54rpx;
}
.font_8 {
font-size: 21.15rpx;
font-family: SourceHanSansCN;
line-height: 19.52rpx;
color: #000000;
}
.text-wrapper_5 {
padding: 26.92rpx 0 11.54rpx;
background-color: #a5d63fcc;
border-radius: 19.23rpx;
width: 111.54rpx;
height: 65.38rpx;
}
.text_9 {
line-height: 19.37rpx;
}
.font_5 {
font-size: 30.77rpx;
font-family: SourceHanSansCN;
line-height: 23.35rpx;
color: #d43030;
}
.text_10 {
margin-top: 26.92rpx;
}
.text-wrapper_6 {
padding: 15.38rpx 0 23.08rpx;
background-color: #ff8d1a;
border-radius: 19.23rpx;
width: 111.54rpx;
height: 65.38rpx;
}
.font_6 {
font-size: 30.77rpx;
font-family: SourceHanSansCN;
line-height: 28.83rpx;
color: #ffffff;
}
.text_11 {
line-height: 35.1rpx;
}
.font_7 {
font-size: 30.77rpx;
font-family: SourceHanSansCN;
line-height: 28.83rpx;
color: #d43030;
}
.text_12 {
line-height: 28.12rpx;
}
.text_13 {
margin-top: 11.54rpx;
}
.swiper{
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.tetxt {
padding: 16rpx;
display: flex;
flex-direction: column;
gap: 10rpx;
}
.wraptext {
font-size: 26rpx;
color: #333;
line-height: 1.4;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2; /* 最多显示2行 */
-webkit-box-orient: vertical;
text-overflow: ellipsis;
}
.price-row {
display: flex;
justify-content: space-between;
align-items: center;
}
.price-now {
color: #fc7e09;
font-size: 28rpx;
font-weight: bold;
}
.price-old {
color: #aaa;
font-size: 24rpx;
text-decoration: line-through;
height:400rpx;
}
.imagesize{
width: 100%;
height: 100%;
}

View File

@ -0,0 +1,66 @@
// pages/findxiangqing/findxiangqing.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

View File

@ -0,0 +1,4 @@
{
"navigationBarTitleText": "课程详情",
"usingComponents": {}
}

View File

@ -0,0 +1,36 @@
<view class="flex-col page">
<view class="flex-col items-start self-stretch section">
<view class="flex-col group_2">
<text class="self-stretch text_2">【早晚课】最全面公考资料</text>
<text class="mt-10 self-start font_2 text_3">早7晚10 每周休一天</text>
<view class="mt-10 flex-row items-center self-stretch group_3">
<view class="flex-col justify-start text-wrapper"><text class="font_3 text_4">一周六天</text></view>
<view class="flex-col justify-start text-wrapper ml-25">
<text class="font_3 text_4 text_5">名师授课</text>
</view>
</view>
</view>
<text class="font_2 text_6">2025.5.10-2025.10.10 300课时</text>
</view>
<view class="flex-row justify-between self-stretch group_4">
<view class="flex-row justify-start"><text class="font">课程介绍</text></view>
<view class="flex-row justify-start items-center text-wrapper_2"><text class="font text_7">课程表</text></view>
<view class="flex-row justify-start text-wrapper_3"><text class="font">老师介绍</text></view>
</view>
<view class="self-start section_2"></view>
<view class="flex-col self-stretch group_5">
<image
class="image_2"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=97efa07583f5a0d7e32dcbcbf8302ddf.png"
/>
<view class="flex-row justify-between section_3">
<text class="self-start font_3 text_10">1000+人购买 500人试听</text>
<view class="flex-row self-center">
<view class="flex-col justify-start items-center text-wrapper_4"><text class="font text_8">购买</text></view>
<view class="ml-14 flex-col justify-start items-center text-wrapper_5">
<text class="font text_9">试听</text>
</view>
</view>
</view>
</view>
</view>

View File

@ -0,0 +1,135 @@
.ml-128 {
margin-left: 244.27rpx;
}
.ml-25 {
margin-left: 47.71rpx;
}
.page {
background-color: #f8f8f8;
width: 100%;
overflow-y: auto;
overflow-x: hidden;
height: 100%;
}
.group {
padding: 34.35rpx 22.9rpx;
}
.image {
width: 34.35rpx;
height: 19.08rpx;
}
.font {
font-size: 24.81rpx;
font-family: SourceHanSansCN;
line-height: 23.05rpx;
color: #000000;
}
.text {
font-size: 26.72rpx;
line-height: 24.64rpx;
}
.section {
padding: 38.17rpx 34.35rpx 34.35rpx;
background-color: #ffffff;
}
.group_2 {
margin-left: 7.63rpx;
}
.text_2 {
color: #000000;
font-size: 30.53rpx;
font-family: SourceHanSansCN;
line-height: 28.61rpx;
}
.group_3 {
padding: 0 7.63rpx;
}
.text-wrapper {
padding: 3.82rpx 0;
background-color: #fc7e0961;
height: 22.9rpx;
}
.font_3 {
font-size: 15.27rpx;
font-family: SourceHanSansCN;
line-height: 14.06rpx;
color: #e33c64;
}
.text_4 {
margin:0 7.63rpx;
}
.text_5 {
line-height: 14.1rpx;
}
.font_2 {
font-size: 20.99rpx;
font-family: SourceHanSansCN;
line-height: 23.05rpx;
color: #a6a6a6;
}
.text_3 {
line-height: 24.81rpx;
width: 276.34rpx;
}
.text_6 {
line-height: 24.81rpx;
width: 404.2rpx;
margin-top: 20rpx;
}
.group_4 {
padding: 26.72rpx 76.34rpx 3.82rpx;
}
.text-wrapper_2 {
width: 101.15rpx;
}
.text_7 {
line-height: 22.81rpx;
}
.text-wrapper_3 {
margin-right: 22.9rpx;
}
.section_2 {
margin-left: 78.24rpx;
background-color: #ff5733;
width: 91.6rpx;
height: 5.73rpx;
}
.group_5 {
padding-top: 30.53rpx;
}
.image_2 {
width: 100vw;
height: 377.6081vw;
}
.section_3 {
padding: 24.81rpx 17.18rpx 15.27rpx 106.87rpx;
background-color: #ffffff;
}
.text_10 {
margin-top: 41.98rpx;
color: #a6a6a6;
line-height: 19.08rpx;
text-align: center;
width: 118.32rpx;
}
.text-wrapper_4 {
padding: 22.9rpx 0 15.27rpx;
background-color: #a5d63fcc;
border-radius: 19.08rpx;
width: 198.47rpx;
height: 59.16rpx;
}
.text_8 {
line-height: 22.88rpx;
}
.text-wrapper_5 {
padding: 22.9rpx 0 15.27rpx;
background-color: #ff5733cc;
border-radius: 19.08rpx;
width: 198.47rpx;
height: 59.16rpx;
}
.text_9 {
color: #ffffff;
line-height: 22.65rpx;
}

View File

@ -1,6 +1,7 @@
// pages/jiedan/jiedan.js
import {url} from '../../request'
Page({
data: {
list:[],
show:false,
picture:[{
image:'/image/20250407154233.jpg'
@ -12,99 +13,18 @@ Page({
image:'/image/20250407154310.png'
}
],
message:[
{
person:'1000人正在进行',
level:'简单',
title:'推广豆包',
money:'40'
},
{
person:'1000人正在进行',
level:'简单',
title:'推广豆包',
money:'40'
},
{
person:'1000人正在进行',
level:'简单',
title:'推广豆包',
money:'40'
},
{
person:'1000人正在进行',
level:'简单',
title:'推广豆包',
money:'40'
},
{
person:'1000人正在进行',
level:'简单',
title:'推广豆包',
money:'40'
},
{
person:'1000人正在进行',
level:'简单',
title:'推广豆包',
money:'40'
},
{
person:'1000人正在进行',
level:'简单',
title:'推广豆包',
money:'40'
},
{
person:'1000人正在进行',
level:'简单',
title:'推广豆包',
money:'40'
},
],
lie:[
{
name:'全部分类'
},
{
name:'派发'
},
{
name:'推广'
},
{
name:'注册'
},
],
selectedIndex: 0,
},
change(){
this.setData({
show:!this.data.show
xiangqing(e){
const item = e.currentTarget.dataset.item;
const id = item.id
console.log(item);
wx.navigateTo({
url: `/pages/xiangqing/xiangqing?id=${id}`,
})
},
bindKeyInput: function (e) {
this.setData({
inputValue: e.detail.value
})
console.log(this.data.inputValue);
},
onSelect(e) {
console.log('jashdjkasdjahs');
const index = e.currentTarget.dataset.index;
console.log(index);
const name = this.data.lie[index].name;
this.setData({
selectedIndex: index,
show:!this.data.show
});
console.log('你点击了:', name);
// 你也可以触发其他逻辑,比如发送请求等
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
@ -120,7 +40,26 @@ Page({
* 生命周期函数--监听页面显示
*/
onShow() {
const that =this
wx.request({
url: url + '/project/query/card',
method: 'POST',
data: {
},
header: {
'content-type': 'application/json'
},
success(res) {
console.log('查询成功', res);
that.setData({
list:res.data.data
})
},
fail(err) {
console.error('请求失败', err);
}
});
},
/**

View File

@ -1,86 +1,43 @@
<!--pages/jiedan/jiedan.wxml-->
<view class="box">
<!-- 轮播图 -->
<view class="swiper">
<swiper autoplay="true">
<swiper-item wx:for="{{picture}}" wx:key="image">
<image class="imagesize" src="{{item.image}}" mode="aspectFill"/>
</swiper-item>
</swiper>
<view class="text-overlay">
<text>校园接单 实现财富自由</text>
</view>
</view>
<!-- 下半部分 -->
<view class="xiabox">
<!-- 搜索框部分 -->
<view class="sousuo tongyong">
<view class="hhhh">
<view class="inputkuang tongyong">
<view class="souimage tongyong">
<image class="sousuosize" src="/image/sousuo.png" mode="aspectFill"/>
</view>
<view class="inputk tongyong" >
<input bindinput="bindKeyInput" placeholder="请输入内容"/>
</view>
</view>
</view>
<!-- 筛选 -->
<view class="sidebox tongyong" bind:tap="change">
<view class="saixuan tongyong">
<image class="imageshai" src="/image/shaiixuan.png" mode="aspectFill"/>
<text>筛选</text>
</view>
</view>
</view>
<!-- 推广部分 -->
<view class="messagebox">
<view class="kuang" wx:for="{{message}}">
<view class="touxianmg tongyong">
<image class="touxiangimage" src="https://pic4.zhimg.com/v2-f10ac7fc477596faf538ca274852c68f_b.jpg" mode="aspectFill"/>
</view>
<view class="messagesize">
<text class="text" style="font-size: 15px;color: #FC7E09;">{{item.title}}</text>
<text class="text" style="font-size: 12px;color: rgb(161, 154, 154);">容易度:{{item.level}}</text>
<text class="text" style="font-size: 12px;color: rgb(161, 154, 154);" >{{item.person}}</text>
</view>
<view class="moneybox">
<view style="width: 100%;height: 50%;" class="tongyong">
<text style="color: #FC7E09;font-size: 14px;">佣金:{{item.money}}积分</text>
</view>
<view style="width: 100%;height: 50%;" class="weizhi">
<view class="jiedan tongyong">
<text>接单</text>
</view>
</view>
</view>
<view>
</view>
</view>
</view>
</view>
</view>
<!-- 侧边栏 -->
<view class="cebianlan" wx:if="{{show}}">
<view class="zuo" bind:tap="change">
</view>
<view class="you">
<view class="wenzi">
<view class="chengsehezi">
<view class="chengse">
</view>
<view class="wenzicheng">
<text style="margin-left: 20rpx;font-size: 18px;font-weight: bolder;">任务分类</text>
</view>
<view class="flex-col page">
<swiper class="swiper" autoplay circular indicator-dots>
<swiper-item wx:for="{{picture}}" wx:key="index">
<image class="imagesize" src="{{item.image}}" mode="aspectFill" />
</swiper-item>
</swiper>
<view class="mt-16 flex-col list">
<view
class="flex-row justify-between mt-12 list-item"
wx:for="{{list}}"
wx:for-item="item"
wx:for-index="index"
wx:key="index"
data-item="{{item}}"
bind:tap="xiangqing"
>
<image
class="self-start image_2"
src="{{item.projectImage}}"
mode="aspectFill"
/>
<view class="flex-col self-center group_2 view">
<text class="self-start font text_5 text_6">{{item.projectName}}</text>
<view class="flex-col justify-start items-center self-start text-wrapper_6">
<text class="font_3 text_7">结算T+{{item.projectSettlementCycle}}</text>
</view>
<view class="flex-row equal-division">
<view class="flex-col items-start equal-division-item">
<text class="font_4">最高价</text>
<text class="font_5 mt-5">¥{{item.projectPrice}}</text>
</view>
<view class="xuazhongbox">
<view class="he {{index === selectedIndex ? 'active' : ''}}" wx:for="{{lie}}" wx:key="index" data-index="{{index}}" bind:tap="onSelect" >
<text style="font-size: 13px;">{{item.name}}</text>
</view>
<view class="flex-col items-start equal-division-item">
<text class="font_4">正在推广</text>
<text class="font_5 mt-5">{{item.currentPromotionCount}}人</text>
</view>
</view>
</view>
<view class="flex-col justify-start items-center self-start text-wrapper_5 view_2">
<text class="font_2">参与推广</text>
</view>
</view>
</view>
</view>

View File

@ -1,197 +1,169 @@
/* pages/jiedan/jiedan.wxss */
.box{
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
.mt-5 {
margin-top: 9.62rpx;
}
.text-overlay {
width: 100%;
position: absolute;
top: 80%;
left: 70%;
transform: translate(-50%, -50%);
color: white;
font-size: 25px;
font-weight: bold;
text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.6);
z-index: 10;
font-style: italic;
}
.sousuo{
width: 100%;
height: 7vh;
}
.zuo{
width: 40%;
height: 100%;
background-color: rgba(36, 34, 34, 0.2);
}
.wenzi{
width: 100%;
height: 40%;
}
.you{
width: 60%;
height: 100%;
.page {
padding-bottom: 144.23rpx;
background-color: #ffffff;
}
.chengsehezi{
width: 100%;
height: 10%;
display: flex;
align-items: center;
overflow-y: auto;
overflow-x: hidden;
}
.chengse{
width: 4%;
height: 80%;
background-color: #FC7E09;
margin-left: 10rpx;
.image {
width: 100vw;
height: 48.7179vw;
}
.wenzicheng{
width: 96%;
height: 100%;
display: flex;
align-items: center;
.group {
padding: 0 15.38rpx;
}
.xuazhongbox{
width: 100%;
display: flex;
flex: 1;
flex-wrap: wrap;
gap: 20rpx;
.text-wrapper {
padding: 7.69rpx 0;
background-color: #ff8d1a;
border-radius: 19.23rpx;
width: 112.12rpx;
height: 46.15rpx;
}
.he{
display: flex;
justify-content: center;
align-items: center;
padding: 5px;
margin: 20rpx;
.font {
font-size: 26.92rpx;
font-family: SourceHanSansCN;
line-height: 25.17rpx;
color: #000000;
}
.he.active {
background-color: #f37b1d; /* 高亮背景色 */
.text {
color: #ffffff;
line-height: 25.02rpx;
}
.cebianlan{
width: 100%;
height: 100%;
display: flex;
position: fixed;
top: 0;
left: 0;
z-index: 9999;
}
.shuzhi{
display: flex;
align-items: center;
}
.tongyong{
display: flex;
justify-content: center;
align-items: center;
}
.souimage{
width: 20%;
height: 100%;
}
.sousuosize{
width: 20px;
height: 20px;
}
.sidebox{
width: 20%;
height: 100%;
}
.saixuan{
width: 100%;
height: 100%;
}
.hhhh{
width: 80%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.inputk{
width: 80%;
height: 100%;
}
.xiabox{
width: 100%;
background-color: #EFEFEF;
}
.swiper {
width: 100%;
height: 30vh;
position: relative;
overflow: hidden;
}
.inputkuang{
width: 80%;
height: 70%;
border-radius: 50px;
.text-wrapper_2 {
padding: 7.69rpx 0;
background-color: #ffffff;
border-radius: 19.23rpx;
width: 185.54rpx;
height: 48.08rpx;
border-left: solid 1.92rpx #e5e5e5;
border-right: solid 1.92rpx #e5e5e5;
border-top: solid 1.92rpx #e5e5e5;
border-bottom: solid 1.92rpx #e5e5e5;
}
.imageshai{
width: 30px;
height: 30px;
.text_2 {
line-height: 27.52rpx;
}
.text-wrapper_3 {
padding: 7.69rpx 0;
background-color: #ffffff;
border-radius: 19.23rpx;
width: 125.63rpx;
height: 48.08rpx;
border-left: solid 1.92rpx #e5e5e5;
border-right: solid 1.92rpx #e5e5e5;
border-top: solid 1.92rpx #e5e5e5;
border-bottom: solid 1.92rpx #e5e5e5;
}
.text_3 {
line-height: 24.96rpx;
}
.text-wrapper_4 {
margin-right: 23.08rpx;
padding: 7.69rpx 0;
background-color: #ffffff;
border-radius: 19.23rpx;
width: 173.94rpx;
height: 48.08rpx;
border-left: solid 1.92rpx #e5e5e5;
border-right: solid 1.92rpx #e5e5e5;
border-top: solid 1.92rpx #e5e5e5;
border-bottom: solid 1.92rpx #e5e5e5;
}
.text_4 {
line-height: 24.77rpx;
}
.list {
padding: 0 23.08rpx;
}
.list-item {
padding: 26.92rpx 30.77rpx 19.23rpx 50rpx;
background-color: #ffffff;
border-radius: 19.23rpx;
box-shadow: 0rpx 3.85rpx 7.69rpx #00000040;
}
.list-item:first-child {
margin-top: 0;
}
.image_2 {
width: 111.54rpx;
height: 111.54rpx;
}
.group_2 {
margin-left: 38.46rpx;
width: 281.6rpx;
}
.view {
margin-left: 0;
}
.text_5 {
margin-left: 15.38rpx;
}
.text_6 {
line-height: 24.9rpx;
}
.text-wrapper_6 {
margin-left: 15.38rpx;
margin-top: 15.38rpx;
padding: 3.85rpx 0;
background-color: #fc7e0961;
width: 75.38rpx;
}
.font_3 {
font-size: 15.38rpx;
font-family: SourceHanSansCN;
line-height: 14.33rpx;
color: #e33c64;
}
.text_7 {
line-height: 14.25rpx;
}
.equal-division {
align-self: stretch;
margin-top: 7.69rpx;
}
.equal-division-item {
padding: 11.54rpx;
width: 140.81rpx;
}
.font_4 {
font-size: 15.38rpx;
font-family: SourceHanSansCN;
line-height: 14.33rpx;
color: #00000080;
}
.font_5 {
font-size: 15.38rpx;
font-family: SourceHanSansCN;
line-height: 11.67rpx;
color: #e33c64;
}
.text-wrapper_5 {
margin-left: 53.85rpx;
margin-top: 21.15rpx;
padding: 15.38rpx 0;
background-color: #a5d63fcc;
border-radius: 19.23rpx;
width: 127.58rpx;
height: 51.92rpx;
}
.view_2 {
margin-left: 0;
margin-top: 19.23rpx;
}
.font_2 {
font-size: 21.15rpx;
font-family: SourceHanSansCN;
line-height: 19.79rpx;
color: #ffffff;
}
.swiper{
width: 100%;
height:400rpx;
}
.imagesize{
width: 100%;
height: 100%;
}
swiper,swiper-item {
width: 100%;
height: 100%;
}
.messagebox{
width: 100%;
height: 100%;
display: flex;
align-items: center;
flex-direction: column;
}
.kuang{
width: 90%;
height: 140px;
border-radius: 20px;
margin-top: 20rpx;
background-color: #ffffff;
display: flex;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.touxianmg{
width: 30%;
height: 100%;
}
.touxiangimage{
width: 100px;
height: 100px;
border-radius: 50px;
}
.messagesize{
width: 40%;
height: 100%;
display: flex;
flex-direction: column;
}
.text{
margin-top: 20rpx;
}
.moneybox{
width: 30%;
display: flex;
flex-direction: column;
}
.jiedan{
width: 50px;
height: 30px;
background-color: #EFEFEF;
margin-right: 20rpx;
}
.weizhi{
display: flex;
justify-content: flex-end;
width: 100%;
height: 100%;
}

View File

@ -1,9 +1,11 @@
import {url} from '../../request'
Page({
data: {
show: true,
morenshow: false,
currentTab: 'code',
},
// 初始加载
onShow(){
this.setData({
show: false,
@ -11,6 +13,7 @@ Page({
currentTab: 'password'
})
},
// 账号密码登录
showchange() {
this.setData({
show: true,
@ -18,12 +21,39 @@ Page({
currentTab: 'code'
})
},
// 注册界面
gozucepage(){
wx.navigateTo({
url: '/pages/zucepage/zucepage',
})
},
yanzhengphone(e){
this.setData({
yanzhengphone: e.detail.value
})
console.log(e.detail.value);
},
yanzhengcode(e){
this.setData({
yanzhengcode: e.detail.value
})
console.log(e.detail.value);
},
// 账号登录账号
bindKeyInput(e){
this.setData({
inputValue: e.detail.value
})
console.log(e.detail.value);
},
// 账号登录密码
bindKeyInputpassword(e){
this.setData({
inputValuepassword: e.detail.value
})
console.log(e.detail.value);
},
// 验证码登录
showchangeback() {
this.setData({
show: false,
@ -31,10 +61,251 @@ Page({
currentTab: 'password'
})
},
// 忘记密码
wangji() {
wx.navigateTo({
url: '/pages/wangjimima/wangjimima',
})
},
// 账号密码登录提交
submit(){
const that = this
const phone = this.data.inputValue;
const password = this.data.inputValuepassword;
// 手机号验证6~11位数字
if (!/^\d{6,11}$/.test(phone)) {
wx.showToast({
title: '请输入6到11位的账号',
icon: 'none'
});
return;
}
// 密码验证6~10位字符
if (!/^.{6,10}$/.test(password)) {
wx.showToast({
title: '请输入6到10位的密码',
icon: 'none'
});
return;
}
// 勾选校验
if (this.data.isAgree!=true) {
wx.showToast({
title: '请先勾选协议',
icon: 'none'
});
return;
}
console.log("sakldhasjdhja");
wx.request({
url: url + '/userInfo/mini/pwd/login',
method: 'POST',
data: {
phoneNumber: this.data.inputValue,
userPassword: this.data.inputValuepassword
},
header: {
'content-type': 'application/json'
},
success(res) {
console.log('登录成功', res);
if(res.data.code==1){
wx.showToast({
title: '登录成功',
icon: 'success',
duration: 2000
});
wx.setStorage({
key: "logmessage",
data: {
Authorization:res.data.data
},
success() {
console.log("信息存储成功");
}
})
setTimeout(() => {
that.setmessage();
wx.switchTab({
url: '/pages/jiedan/jiedan',
});
}, 2000);
}else{
wx.showToast({
title: res.data.message,
icon: 'error',
duration: 2000
});
}
},
fail(err) {
console.error('请求失败', err);
}
});
},
// 勾选
onAgreeChange(e) {
this.setData({
isAgree: true
});
console.log("gaibianler",this.data.isAgree);
},
// 获取验证码
getcode(){
const phone = this.data.yanzhengphone;
if (!/^\d{11}$/.test(phone)) {
wx.showToast({
title: '请输入11位的手机号',
icon: 'none'
});
return;
}
wx.request({
url: url + '/userInfo/code',
method: 'POST',
data: {
templateString: this.data.yanzhengphone
},
header: {
'content-type': 'application/json'
},
success(res) {
console.log('发送成功', res);
if(res.data.code==1){
wx.showToast({
title: '发送成功',
icon: 'success',
duration: 2000
});
}else{
wx.showToast({
title: res.data.message,
icon: 'success',
duration: 2000
});
}
},
fail(err) {
console.error('请求失败', err);
}
});
},
// 验证码登录提交
submityanzhengma(){
const _this = this;
const code = this.data.yanzhengcode
if (!/^\d{6}$/.test(code)) {
wx.showToast({
title: '请输入6位的有效验证码',
icon: 'none'
});
return;
}
if (this.data.isAgree!=true) {
wx.showToast({
title: '请先勾选协议',
icon: 'none'
});
return;
}
console.log("sakldhasjdhja");
wx.request({
url: url + '/userInfo/mini/vcd/login',
method: 'POST',
data: {
phoneNumber: this.data.yanzhengphone,
verificationCode: this.data.yanzhengcode
},
header: {
'content-type': 'application/json'
},
success(res) {
console.log('登录成功', res);
if(res.data.code==1){
wx.showToast({
title: '登录成功',
icon: 'success',
duration: 2000
});
wx.setStorage({
key: "logmessage",
data: {
Authorization:res.data.data
},
success() {
console.log("信息存储成功");
}
})
setTimeout(() => {
_this.setmessage();
wx.switchTab({
url: '/pages/jiedan/jiedan',
});
}, 2000);
}else{
wx.showToast({
title: res.data.message,
icon: 'error',
duration: 2000
});
}
},
fail(err) {
console.error('请求失败', err);
}
});
},
setmessage() {
const that = this;
wx.getStorage({
key: "logmessage",
success(res) {
console.log(res.data, 'sajlkdlasjdkl');
const userinfo = res.data;
wx.request({
url: url + '/userInfo/get/jwt',
method: 'GET',
data: {},
header: {
'content-type': 'application/json',
'Authorization': userinfo.Authorization
},
success(res) {
console.log('查询成功', res);
if (res.data.code==1) {
wx.setStorage({
key: "usermessage",
data: {
nickName:res.data.data.nickName,
phoneNumber:res.data.data.phoneNumber,
userRole:res.data.data.userRole,
invitationCode:res.data.data.invitationCode,
userAvatar:res.data.data.userAvatar
},
success() {
console.log("信息存储成功");
}
})
} else {
wx.showToast({
title: res.data.message,
icon: 'error',
duration: 2000
});
}
},
fail(err) {
console.error('请求失败', err);
}
});
},
fail(err) {
console.error("获取 logmessage 失败", err);
}
});
}
})

View File

@ -1,5 +1,6 @@
<view class="flex-col page">
<view class="flex-col justify-start items-center self-center text-wrapper">
<image src="/image/logo.png" mode="aspectFill"></image>
<text class="font text">欢迎登陆—青橙校园</text>
</view>
<view class="flex-col self-stretch group">
@ -11,30 +12,33 @@
<view class="flex-col mt-21">
<view wx:if="{{show==true}}" class="flex-col self-stretch">
<view class="flex-col justify-start items-start relative text-wrapper_2">
<input class="text_4 font_4 text_1" placeholder="请输入手机号" />
<input class="text_4 font_4 text_1" bindinput="yanzhengphone" placeholder="请输入手机号" />
</view>
<view class="flex-row justify-between section mt-21">
<input class="font_4 text_5" placeholder="请输入验证码" />
<text class="font_2 text_6">获取验证码</text>
<input class="font_4 text_5" bindinput="yanzhengcode" placeholder="请输入验证码" />
<text bind:tap="getcode" class="font_2 text_6">获取验证码</text>
</view>
</view>
<view wx:if="{{morenshow==true}}" class="flex-col self-stretch">
<view class="flex-col justify-start items-start relative text-wrapper_2">
<input class="text_4 font_4 text_1" placeholder="请输入账号" />
<input class="text_4 font_4 text_1" bindinput="bindKeyInput" placeholder="请输入账号" />
</view>
<view class="flex-row justify-between section mt-21">
<input class="font_4 text_5" placeholder="请输入密码" />
<input class="font_4 text_5" bindinput="bindKeyInputpassword" password type="text" placeholder="请输入密码" />
</view>
</view>
<text class="self-end font_3 text_7" bind:tap="wangji">忘记密码</text>
<view class="flex-col justify-start items-center self-stretch text-wrapper_3">
<view wx:if="{{morenshow==true}}" class="flex-col justify-start items-center self-stretch text-wrapper_3" bind:tap="submit">
<text class="font text_8">登录</text>
</view>
<view wx:if="{{show==true}}" class="flex-col justify-start items-center self-stretch text-wrapper_3" bind:tap="submityanzhengma">
<text class="font text_8">登录</text>
</view>
</view>
</view>
<view class="flex-col self-stretch group_3">
<view class="flex-row items-center self-start">
<radio class="radio" color="#ff8d1a"></radio>
<radio class="radio" color="#ff8d1a" bind:tap="onAgreeChange"></radio>
<text class="shrink-0 font_5 text_9">我已阅读并同意</text>
<text class="font_5 text_10">用户服务协议、隐私政策</text>
</view>

View File

@ -13,8 +13,6 @@
height: 100%;
}
.text-wrapper {
padding: 336.58rpx 0 19.48rpx;
background-image: url('https://ide.code.fun/api/image?token=680efc2c4ae84d00122e3b6c&name=b75462a220057be84813b1b06d446dac.png');
background-size: 100% 100%;
background-repeat: no-repeat;
width: 384.62rpx;

66
pages/mingxi/mingxi.js Normal file
View File

@ -0,0 +1,66 @@
// pages/mingxi/mingxi.js
Page({
/**
* 页面的初始数据
*/
data: {
items: [null, null],
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

4
pages/mingxi/mingxi.json Normal file
View File

@ -0,0 +1,4 @@
{
"navigationBarTitleText": "明细",
"usingComponents": {}
}

43
pages/mingxi/mingxi.wxml Normal file
View File

@ -0,0 +1,43 @@
<view class="flex-col page">
<view class="flex-col group mt-25">
<view class="flex-col justify-start items-start self-stretch text-wrapper">
<text class="text_2">业务员 高婧怡</text>
</view>
<text class="self-start font text_3">结算日期</text>
<view class="flex-col self-stretch list">
<view
class="flex-col relative list-item mt-15"
wx:for="{{items}}"
wx:for-item="item"
wx:for-index="index"
wx:key="index"
>
<view class="flex-row items-center self-stretch group_2">
<image
class="image_2"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=8295b124fb9c66fde0f968424b693190.png"
/>
<text class="ml-14 font text_4">美团省钱包</text>
</view>
<view class="flex-col self-stretch section_2">
<view class="flex-row">
<text class="font">结算标准</text>
<text class="ml-38 font text_5">结算数量</text>
<text class="ml-38 font">结算收益</text>
</view>
<view class="flex-row items-baseline mt-25">
<text class="font text_6">完成订单</text>
<text class="font_2 text_7">3</text>
<text class="font_2 text_8">¥2.00</text>
</view>
<view class="flex-row items-baseline mt-25">
<text class="font text_9">合计金额</text>
<text class="font_2 text_10">3</text>
<text class="font_2 text_11">¥2.00</text>
</view>
</view>
<text class="self-start font_3 text_12">时间2025-04-16</text>
</view>
</view>
</view>
</view>

125
pages/mingxi/mingxi.wxss Normal file
View File

@ -0,0 +1,125 @@
.mt-25 {
margin-top: 48.08rpx;
}
.mt-15 {
margin-top: 28.85rpx;
}
.ml-123 {
margin-left: 236.54rpx;
}
.page {
padding-bottom: 238.46rpx;
background-color: #ffffff;
width: 100%;
overflow-y: auto;
overflow-x: hidden;
height: 100%;
}
.section {
padding: 34.62rpx 23.08rpx;
background-color: #f8f8f8;
}
.image {
width: 34.62rpx;
height: 19.23rpx;
}
.group {
padding: 0 38.46rpx;
}
.text-wrapper {
padding: 46.15rpx 0 38.46rpx;
background-color: #ffffff;
border-radius: 28.85rpx;
box-shadow: 0rpx 3.85rpx 7.69rpx #00000040;
}
.text_2 {
margin-left: 42.31rpx;
color: #000000;
font-size: 30.77rpx;
font-family: SourceHanSansCN;
line-height: 36.54rpx;
width: 100%;
}
.list {
margin-top: 26.92rpx;
}
.list-item {
padding: 0 38.46rpx 50rpx;
background-color: #ffffff;
border-radius: 9.62rpx;
box-shadow: 0rpx 3.85rpx 7.69rpx #00000040;
}
.list-item:first-child {
margin-top: 0;
}
.group_2 {
padding: 38.46rpx 0;
}
.image_2 {
width: 82.69rpx;
height: 82.69rpx;
}
.section_2 {
margin-left: 13.46rpx;
margin-right: 5.77rpx;
padding: 30.77rpx 46.15rpx 53.85rpx;
background-color: #f7f7f7;
border-radius: 8.15rpx;
}
.font {
font-size: 25rpx;
font-family: SourceHanSansCN;
line-height: 23.15rpx;
color: #000000;
}
.text_4 {
font-size: 26.92rpx;
line-height: 24.9rpx;
}
.text_3 {
margin-left: 11.54rpx;
margin-top: 42.31rpx;
line-height: 23.23rpx;
}
.text {
font-size: 26.92rpx;
line-height: 25.1rpx;
}
.text_5 {
line-height: 23.19rpx;
}
.text_6 {
line-height: 23.4rpx;
}
.font_2 {
font-size: 25rpx;
font-family: SourceHanSansCN;
line-height: 18.98rpx;
color: #000000;
}
.text_7 {
margin-left: 107.69rpx;
}
.text_8 {
margin-left: 138.46rpx;
}
.text_9 {
line-height: 23.33rpx;
}
.text_10 {
margin-left: 103.85rpx;
}
.text_11 {
margin-left: 142.31rpx;
}
.font_3 {
font-size: 21.15rpx;
font-family: SourceHanSansCN;
line-height: 18.98rpx;
color: #808080;
}
.text_12 {
margin-left: 19.23rpx;
margin-top: 23.08rpx;
line-height: 19.37rpx;
}

View File

@ -1,65 +1,56 @@
// pages/mypage/mypage.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
myteam(){
wx.navigateTo({
url: '/pages/wodetuandui/wodetuandui',
})
},
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
const that = this
wx.getStorage({
key: "usermessage",
success(res) {
console.log(res.data,'aslkdjas');
const userInfo = res.data
that.setData({
nickName : userInfo.nickName,
phoneNumber: userInfo.phoneNumber,
invitationCode:userInfo.invitationCode,
userAvatar:userInfo.userAvatar
});
}
})
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}

View File

@ -1,122 +1,154 @@
<!-- 头像 -->
<view class="touxiangbox">
<view class="imagebox">
<image class="imagesize" src="https://tse2-mm.cn.bing.net/th/id/OIP-C.g5M-iZUiocFCi9YAzojtRAAAAA?rs=1&pid=ImgDetMain" mode="aspectFill"/>
</view>
<view class="wenzibox">
<text>蒙娜丽莎</text>
<text style="font-size: 13px;margin-top: 20rpx;">ID:1829378126738</text>
</view>
</view>
<!-- 积分面板 -->
<view class="jifenbox">
<view class="kuang">
<!-- 标题 -->
<view class="baioti">
<text style="font-weight: bolder;margin-left: 20rpx;">我的积分</text>
</view>
<!-- 积分 -->
<view class="jifenbufen">
<view class="zuo">
<text style="font-size: 23px; color: #BD3124;">500</text>
</view>
<view class="zuo">
<view class="tixian">
<text style="color:#ffffff;">提现</text>
<view class="flex-col page">
<view class="shrink-0 section"></view>
<view class="flex-col relative group_2">
<view class="flex-col section_2">
<view class="flex-row items-end self-stretch relative group">
<image
class="image"
src="{{userAvatar}}"
/>
<view class="ml-14 flex-col flex-1">
<text class="self-start font text">{{nickName}}</text>
<view class="flex-row items-center self-stretch mt-15">
<image
class="image_2"
src="/image/shaiixuan.png"
/>
<text class="font_2 text_2 ml-7">{{phoneNumber}}</text>
</view>
</view>
</view>
<!-- 统计 -->
<view class="tongjibox">
<view class="jifenxiao">
<text class="number">30积分</text>
<text style="font-size: 12px;">支出</text>
<view class="flex-row justify-center items-center left section_3">
<text class="text_3">邀请码:{{invitationCode}}</text>
<image
class="ml-6 image_3"
src="/image/shaiixuan.png"
/>
</view>
<view class="flex-row justify-between items-center self-stretch group_3">
<view class="group_4">
<text class="font_2 text_4">当前金额:</text>
<text class="text_5">¥5.00</text>
</view>
<view class="jifenxiao">
<text class="number">500</text>
<text style="font-size: 12px;">收入</text>
<view class="flex-row section_4">
<text class="font_2 text_6">立即提现</text>
<image
class="ml-4 shrink-0 image_4"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=74217acb04c7195abd2532ff4af72c61.png"
/>
</view>
<view class="jifenxiao">
<text class="number">5.00</text>
<text style="font-size: 12px;">兑换金额</text>
</view>
<view class="flex-col self-stretch section_5">
<view class="flex-row justify-between">
<text class="font_2 text_7">待结算</text>
<text class="font_2 text_8">提现中</text>
<text class="font text_9">已提现</text>
<text class="font_2 text_10">累计收入</text>
</view>
<view class="mt-14 flex-row justify-between">
<text class="font_2 text_11">¥0.00</text>
<text class="font_2 text_12">¥0.00</text>
<text class="font_2 text_13 ml-29">¥0.00</text>
<text class="font_2 text_14 youmian">¥0.00</text>
</view>
</view>
</view>
</view>
<!-- 更多设置 -->
<view class="gengduo">
<view class="shezhitiao">
<text>更多设置</text>
</view>
<view class="shezhitiao">
<view class="neibu">
<image class="imagebiao" src="/image/sousuo.png" mode=""/>
<text style="margin-left: 10rpx;">客服</text>
</view>
<view class="neibu" style="justify-content: flex-end;">
<image class="imagebiao" src="/image/jiatou.png" mode=""/>
<view class="flex-col justify-start section_6">
<view class="flex-row equal-division">
<view class="flex-col items-center group_5 equal-division-item">
<image
class="image_5"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=39edc99781511ab686d6b07290b376d1.png"
/>
<text class="mt-6 font_3">资金明细</text>
</view>
<view class="flex-col items-center group_5 equal-division-item">
<image
class="image_5"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=8682072f44b5fb0dd83dc3187bf32f2d.png"
/>
<text class="mt-6 font_3">提现账户</text>
</view>
<view class="flex-col items-center group_5 equal-division-item">
<image
class="image_5"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=16d828b713b2f70f899c4e678516576a.png"
/>
<text class="mt-8 font_3">提现记录</text>
</view>
</view>
</view>
<view class="flex-row equal-division_2 section_7">
<view class="flex-col items-start equal-division-item_2">
<image
class="image_5 image_6"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=c432ff17b41f470760ae10d3069e91bf.png"
/>
<text class="mt-6 font_4">我的课程</text>
</view>
<view class="flex-col items-center equal-division-item_3">
<image
class="image_5"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=5f908d0a671b5ec6d57fcee228fce66c.png"
/>
<text class="mt-6 font_4">我的接单</text>
</view>
<view class="flex-col items-center group_7 equal-division-item_3">
<image
class="image_5"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=8617e68f608192d2da284bfdab6b4c87.png"
/>
<text class="mt-6 font_2 text_15">勤工俭学</text>
</view>
<view class="flex-col items-start equal-division-item_4 group_8">
<image
class="image_5"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=79a346c585f09dd9cb9b756a45228b43.png"
/>
<text class="font_2 text_16 mt-7">购物订单</text>
</view>
</view>
<view class="flex-col section_8">
<view class="flex-row justify-between group_9">
<view class="flex-row items-end self-center">
<image
class="shrink-0 image_7"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=8d2a546eff17d0f8759f0f3ea91c47bf.png"
/>
<text class="ml-16 font_2 text_17">账号设置</text>
</view>
<image
class="self-start image_8 image_9"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=5d87653bf87dbef75429085db7c53b31.png"
/>
</view>
<view class="flex-row justify-between items-center group_10">
<view class="flex-row items-center">
<image
class="shrink-0 image_10"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=4875fbdc868788e873dd606d7418f411.png"
/>
<text class="ml-4 font_2 text_18">佣金设置</text>
</view>
<image
class="image_8 image_11"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=5d87653bf87dbef75429085db7c53b31.png"
/>
</view>
<view class="flex-row justify-between items-center group_11" bind:tap="myteam">
<text class="font_4">我的团队</text>
<image
class="image_8"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=5d87653bf87dbef75429085db7c53b31.png"
/>
</view>
<view class="flex-row justify-between items-center group_11">
<text class="font_2 text_19">项目</text>
<image
class="image_8"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=5d87653bf87dbef75429085db7c53b31.png"
/>
</view>
</view>
</view>
</view>
<view class="shezhitiao">
<view class="neibu">
<image class="imagebiao" src="/image/sousuo.png" mode=""/>
<text style="margin-left: 10rpx;">我的课程</text>
</view>
<view class="neibu" style="justify-content: flex-end;">
<image class="imagebiao" src="/image/jiatou.png" mode=""/>
</view>
</view>
<view class="shezhitiao">
<view class="neibu">
<image class="imagebiao" src="/image/sousuo.png" mode=""/>
<text style="margin-left: 10rpx;">接单记录</text>
</view>
<view class="neibu" style="justify-content: flex-end;">
<image class="imagebiao" src="/image/jiatou.png" mode=""/>
</view>
</view>
<view class="shezhitiao">
<view class="neibu">
<image class="imagebiao" src="/image/sousuo.png" mode=""/>
<text style="margin-left: 10rpx;">勤工俭学</text>
</view>
<view class="neibu" style="justify-content: flex-end;">
<image class="imagebiao" src="/image/jiatou.png" mode=""/>
</view>
</view>
<view class="shezhitiao">
<view class="neibu">
<image class="imagebiao" src="/image/sousuo.png" mode=""/>
<text style="margin-left: 10rpx;">我的推广码</text>
</view>
<view class="neibu" style="justify-content: flex-end;">
<image class="imagebiao" src="/image/jiatou.png" mode=""/>
</view>
</view>
<view class="shezhitiao">
<view class="neibu">
<image class="imagebiao" src="/image/sousuo.png" mode=""/>
<text style="margin-left: 10rpx;">更多设置</text>
</view>
<view class="neibu" style="justify-content: flex-end;">
<image class="imagebiao" src="/image/jiatou.png" mode=""/>
</view>
</view>
<view class="shezhitiao">
<view class="neibu">
<image class="imagebiao" src="/image/sousuo.png" mode=""/>
<text style="margin-left: 10rpx;">审核查询</text>
</view>
<view class="neibu" style="justify-content: flex-end;">
<image class="imagebiao" src="/image/jiatou.png" mode=""/>
</view>
</view>
</view>

View File

@ -1,111 +1,290 @@
/* pages/mypage/mypage.wxss */
.touxiangbox{
width: 100%;
height: 25vh;
display: flex;
flex-direction: column;
.mt-15 {
margin-top: 28.85rpx;
}
.imagesize{
width: 100px;
height: 100px;
border-radius: 50px;
.mt-7 {
margin-top: 13.46rpx;
}
.imagebox{
width: 100%;
height: 60%;
display: flex;
justify-content: center;
align-items: center;
.ml-29 {
margin-right: 15.77rpx;
}
.wenzibox{
width: 100%;
height: 30%;
display: flex;
align-items: center;
flex-direction: column;
.youmian{
margin-right: 18.77rpx;
}
.jifenbox{
width: 100%;
height: 25vh;
display: flex;
align-items: center;
justify-content: center;
.ml-7 {
margin-left: 13.46rpx;
}
.kuang{
width: 90%;
height: 90%;
border-radius: 20px;
background-image:url(https://img.ixintu.com/download/jpg/201912/9ce015df2a7c79ee7498367168b41bfc.jpg!con);
}
.baioti{
width: 100%;
height: 20%;
display: flex;
align-items: center;
}
.jifenbufen{
width: 100%;
height: 50%;
display: flex;
}
.zuo{
width: 50%;
.page {
background-color: #ffffff;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.tixian{
width: 50%;
height: 50%;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50px;
border: 1px solid #FC7E09;
background-color: #FC7E09;
margin-left: 60rpx;
}
.tongjibox{
width: 100%;
height: 30%;
display: flex;
overflow-y: auto;
overflow-x: hidden;
}
.jifenxiao{
width: 33%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
.section {
background-image: linear-gradient(180deg, #ff8d1a -34.1%, #ffffff1a 134.1%);
height: 446.15rpx;
}
.number{
color: #BD3124;
.group_2 {
margin-top: -305.77rpx;
padding: 0 42.31rpx;
}
.gengduo{
width: 100%;
height: 50vh;
display: flex;
align-items: center;
flex-direction: column;
margin-top: 50rpx;
.section_2 {
padding: 0 26.92rpx 38.46rpx 30.77rpx;
background-color: #ffffff;
border-radius: 28.85rpx;
height: 446.15rpx;
}
.shezhitiao{
width: 90%;
height: 50px;
display: flex;
align-items: center;
border-bottom: 1px solid #b1adaa ;
.group {
margin-top: -46.15rpx;
padding: 0 15.38rpx;
}
.imagebiao{
width: 30px;
height: 30px;
.image {
margin-bottom: 7.69rpx;
width: 134.62rpx;
height: 134.62rpx;
border-radius: 40px;
}
.neibu{
width: 50%;
height: 100%;
display: flex;
align-items: center;
.font {
font-size: 21.15rpx;
font-family: SourceHanSansCN;
line-height: 21.27rpx;
color: #000000;
}
.text {
margin-left: 3.85rpx;
font-size: 23.08rpx;
}
.image_2 {
width: 17.31rpx;
height: 17.31rpx;
}
.left{
margin-left: 160rpx;
}
.section_3 {
margin-top: 17.31rpx;
padding: 7.69rpx 0 7.69rpx 11.54rpx;
background-color: #ffc3006e;
border-radius: 30.44rpx;
width: 205.77rpx;
}
.text_3 {
color: #d43030;
font-size: 17.31rpx;
font-family: SourceHanSansCN;
line-height: 15.9rpx;
}
.image_3 {
width: 25rpx;
height: 23.08rpx;
}
.group_3 {
padding: 46.15rpx 0;
}
.group_4 {
line-height: 23.35rpx;
height: 24.88rpx;
}
.text_5 {
color: #d43030;
font-size: 30.77rpx;
font-family: SourceHanSansCN;
line-height: 23.35rpx;
}
.section_4 {
padding: 11.54rpx 19.23rpx 11.54rpx 26.92rpx;
background-color: #ffffff;
border-radius: 38.46rpx;
height: 48.08rpx;
border-left: solid 1.92rpx #ff8d1a;
border-right: solid 1.92rpx #ff8d1a;
border-top: solid 1.92rpx #ff8d1a;
border-bottom: solid 1.92rpx #ff8d1a;
}
.image_4 {
width: 17.31rpx;
height: 23.08rpx;
}
.section_5 {
margin-right: 3.85rpx;
padding: 15.38rpx 42.31rpx 34.62rpx 50rpx;
background-color: #f7f7f7;
border-radius: 9.62rpx;
}
.text_9 {
font-size: 23.08rpx;
}
.section_6 {
padding-bottom: 11.54rpx;
background-color: #ffffff;
border-radius: 19.23rpx;
height: 136.54rpx;
border-left: solid 1.92rpx #e5e5e5;
border-right: solid 1.92rpx #e5e5e5;
border-top: solid 1.92rpx #e5e5e5;
border-bottom: solid 1.92rpx #e5e5e5;
}
.equal-division {
padding: 7.69rpx 23.08rpx 0;
}
.group_5 {
flex: 1 1 205.56rpx;
}
.equal-division-item {
padding: 7.69rpx 0;
}
.image_5 {
width: 64rpx;
height: 64rpx;
}
.font_3 {
font-size: 21.15rpx;
font-family: SourceHanSansCN;
line-height: 19.5rpx;
color: #000000;
}
.equal-division_2 {
position: relative;
margin-top: 28.85rpx;
}
.section_7 {
padding: 7.69rpx;
background-color: #ffffff;
border-radius: 19.23rpx;
border-left: solid 1.92rpx #e5e5e5;
border-right: solid 1.92rpx #e5e5e5;
border-top: solid 1.92rpx #e5e5e5;
border-bottom: solid 1.92rpx #e5e5e5;
}
.equal-division-item_2 {
padding: 11.54rpx 34.62rpx;
}
.image_6 {
margin-left: 7.69rpx;
}
.font_4 {
font-size: 21.15rpx;
font-family: SourceHanSansCN;
line-height: 19.62rpx;
color: #000000;
}
.group_6 {
margin-left: 326.92rpx;
}
.group_7 {
position: absolute;
right: 170rpx;
top: 50%;
transform: translateY(-50%);
}
.equal-division-item_3 {
padding: 11.54rpx 0;
width: 160.88rpx;
}
.equal-division-item_4 {
position: absolute;
right: 9.12rpx;
top: 50%;
transform: translateY(-50%);
}
.group_8 {
padding: 11.54rpx 38.46rpx;
}
.section_8 {
margin-top: 30.77rpx;
padding: 11.54rpx 19.23rpx 338.46rpx 46.15rpx;
background-color: #ffffff;
border-radius: 19.23rpx 19.23rpx 0 0;
border-left: solid 1.92rpx #e5e5e5;
border-right: solid 1.92rpx #e5e5e5;
border-top: solid 1.92rpx #e5e5e5;
border-bottom: solid 1.92rpx #e5e5e5;
}
.group_9 {
padding: 26.92rpx 0 11.54rpx;
}
.image_7 {
width: 30.77rpx;
height: 34.62rpx;
}
.font_2 {
font-size: 21.15rpx;
font-family: SourceHanSansCN;
line-height: 17.52rpx;
color: #000000;
}
.text_16 {
line-height: 19.46rpx;
}
.text_15 {
line-height: 19.73rpx;
}
.text_14 {
font-size: 23.08rpx;
}
.text_13 {
font-size: 23.08rpx;
}
.text_12 {
font-size: 23.08rpx;
}
.text_11 {
font-size: 23.08rpx;
}
.text_10 {
font-size: 23.08rpx;
line-height: 21.25rpx;
}
.text_8 {
font-size: 23.08rpx;
line-height: 21.31rpx;
}
.text_7 {
font-size: 23.08rpx;
line-height: 21.37rpx;
}
.text_6 {
font-size: 23.08rpx;
line-height: 21.44rpx;
}
.text_4 {
font-size: 23.08rpx;
line-height: 21.54rpx;
}
.text_2 {
color: #808080;
line-height: 16.06rpx;
}
.text_17 {
line-height: 19.19rpx;
}
.image_8 {
width: 15.38rpx;
height: 25rpx;
}
.image_9 {
margin-right: 19.23rpx;
margin-top: 11.54rpx;
}
.group_10 {
padding: 26.92rpx 0 9.62rpx;
border-top: solid 3.85rpx #e5e5e5;
border-bottom: solid 3.85rpx #e5e5e5;
}
.image_10 {
width: 51.92rpx;
height: 46.15rpx;
}
.text_18 {
line-height: 19.71rpx;
}
.image_11 {
margin-right: 19.23rpx;
}
.group_11 {
padding: 23.08rpx 19.23rpx 23.08rpx 61.54rpx;
border-bottom: solid 3.85rpx #e5e5e5;
}
.text_19 {
line-height: 18.52rpx;
}

View File

@ -1,66 +1,151 @@
// pages/wangjimima/wangjimima.js
import {url} from '../../request'
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
phone(e){
this.setData({
phone:e.detail.value
})
console.log(e.detail.value);
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
yanzhengma(e){
this.setData({
yanzhengma:e.detail.value
})
console.log(e.detail.value);
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
password(e){
this.setData({
password:e.detail.value
})
console.log(e.detail.value);
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
passwordagain(e){
this.setData({
passwordagain:e.detail.value
})
console.log(e.detail.value);
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
subimt(){
const phone = this.data.phone
const yanzhengma = this.data.yanzhengma
const password = this.data.password
const passwordagain = this.data.passwordagain
console.log(phone,'aslkjyhdkjashdjkashkj');
if (!/^\d{11}$/.test(phone)) {
wx.showToast({
title: '请输入11位的手机号',
icon: 'none'
});
return;
}
if (!/^\d{6}$/.test(yanzhengma)) {
wx.showToast({
title: '请输入6位的验证码',
icon: 'none'
});
return;
}
if (!/^[a-zA-Z0-9]{6,10}$/.test(password)) {
wx.showToast({
title: '请输入6~10位的密码',
icon: 'none'
});
return;
}
if (!/^[a-zA-Z0-9]{6,10}$/.test(passwordagain)) {
wx.showToast({
title: '请再次输入密码',
icon: 'none'
});
return;
}
if(password !== passwordagain){
wx.showToast({
title: '两次输入的密码不一致,请重新输入',
icon: 'none'
});
return;
}
wx.request({
url: url + '/userInfo/mini/out/reset/pwd',
method: 'POST',
data: {
phoneNumber: this.data.phone,
verificationCode: this.data.yanzhengma,
userPassword: this.data.password,
userConfirmPassword: this.data.passwordagain
},
header: {
'content-type': 'application/json'
},
success(res) {
console.log('重置成功', res);
if(res.data.code==1){
wx.showToast({
title: '重置成功',
icon: 'success',
duration: 2000
});
setTimeout(() => {
wx.navigateBack({
delta: 1
})
}, 2000);
}else{
wx.showToast({
title: res.data.message,
icon: 'error',
duration: 2000
});
}
},
fail(err) {
console.error('请求失败', err);
}
});
},
// 获取验证码
getcode(){
const phone = this.data.phone;
console.log(phone,'askjhdsakjhdjkashjk');
if (!/^\d{11}$/.test(phone)) {
wx.showToast({
title: '请输入11位的手机号',
icon: 'none'
});
return;
}
wx.request({
url: url + '/userInfo/code',
method: 'POST',
data: {
templateString: this.data.phone
},
header: {
'content-type': 'application/json'
},
success(res) {
console.log('发送成功', res);
if(res.data.code==1){
wx.showToast({
title: '发送成功',
icon: 'success',
duration: 2000
});
}else{
wx.showToast({
title: res.data.message,
icon: 'success',
duration: 2000
});
}
},
fail(err) {
console.error('请求失败', err);
}
});
},
})

View File

@ -1,25 +1,26 @@
<view class="flex-col page">
<view class="flex-col justify-start items-center self-center text-wrapper">
<image src="/image/logo.png" mode="aspectFill"></image>
<text class="font text">欢迎登陆—青橙校园</text>
</view>
<view class="flex-col self-stretch group">
<text class="self-start font_2 text_2">忘记密码</text>
<view class="flex-col self-stretch mt-22">
<view class="flex-col self-stretch">
<view class="flex-col justify-start items-start text-wrapper_1"><input class="text_1 font_2 text_4" placeholder="请输入手机号" /></view>
<view class="flex-col justify-start items-start text-wrapper_1"><input class="text_1 font_2 text_4" bindinput="phone" placeholder="请输入手机号" /></view>
<view class="flex-row justify-between section mt-20">
<input class="font_2 text_5" placeholder="请输入验证码" />
<text class="font_2 text_6">获取验证码</text>
<input class="font_2 text_5" bindinput="yanzhengma" placeholder="请输入验证码" />
<text class="font_2 text_6" bind:tap="getcode">获取验证码</text>
</view>
<view class="flex-col justify-start items-start text-wrapper_2 mt-20"><input class="text_1 font_2" placeholder="请输入密码" /></view>
<view class="flex-col justify-start items-start text-wrapper_2 mt-20"><input class="text_1 font_2" bindinput="password" password type="text" placeholder="请输入密码" /></view>
<view class="flex-col justify-start items-start text-wrapper_4 mt-20">
<input class="text_1 font_2 text_7" placeholder="请再次输入密码" />
<input class="text_1 font_2 text_7" bindinput="passwordagain" password type="text" placeholder="请再次输入密码" />
</view>
</view>
<text class="self-end text_8 mt-16">登陆账号</text>
</view>
</view>
<view class="flex-col justify-start items-center self-stretch text-wrapper_3">
<view class="flex-col justify-start items-center self-stretch text-wrapper_3" bind:tap="subimt">
<text class="font text_9">重置密码</text>
</view>
</view>

View File

@ -2,13 +2,11 @@
padding: 73.08rpx 38.46rpx 275rpx 48.08rpx;
background-color: #ffffff;
width: 100%;
overflow-y: auto;
overflow-y: hidden;
overflow-x: hidden;
height: 100%;
}
.text-wrapper {
padding: 384.65rpx 0 19.48rpx;
background-image: url('https://ide.code.fun/api/image?token=680efc2c4ae84d00122e3b6c&name=9927844a76c9298d1ba7d7f5f997ca65.png');
background-size: 100% 100%;
background-repeat: no-repeat;
width: 432.69rpx;

View File

@ -0,0 +1,66 @@
// pages/wodetuandui/wodetuandui.js
Page({
/**
* 页面的初始数据
*/
data: {
items: [null, null, null],
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

View File

@ -0,0 +1,4 @@
{
"navigationBarTitleText": "我的团队",
"usingComponents": {}
}

View File

@ -0,0 +1,61 @@
<view class="flex-col page">
<view class="flex-col section">
<view class="flex-col group_2 mt-23">
<view class="flex-col section_2">
<view class="flex-row equal-division">
<view class="flex-col items-start group_3 group_7">
<text class="font_2 text_2">直接代理人数(人)</text>
<text class="font_3 text_5 mt-14">4</text>
</view>
<view class="flex-col group_3 group_1">
<text class="self-stretch font_4 text_3">团队总人数(人)</text>
<text class="self-center font_3 text_15 mt-10">12</text>
</view>
<view class="flex-col items-center group_3 group_5">
<text class="font_2 text_4">团队总收益(人)</text>
<text class="text_1 mt-11">¥10.88</text>
</view>
</view>
<view class="flex-col justify-start items-center self-center text-wrapper mt-9">
<text class="font text_6">查看直属下级</text>
</view>
</view>
<view class="flex-row justify-between section_3 mt-8">
<text class="font text_7">请设置邀请下级抽成比例如0</text>
<image
class="image_2"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=9f91bad352adf2c78c239200e3325df9.png"
/>
</view>
</view>
</view>
<view class="flex-col group_4 mt-27">
<view class="flex-row justify-between items-center">
<text class="font_3 text_8">成员列表</text>
<view class="flex-row section_4">
<image
class="image_3"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=89f9bd4ddcbce51e29a7b594fb6dce3a.png"
/>
<input class="font_4 text_9 ml-15" placeholder="请输入关键词" />
</view>
</view>
<view class="flex-col list mt-27">
<view
class="flex-col relative list-item mt-18"
wx:for="{{items}}"
wx:for-item="item"
wx:for-index="index"
wx:key="index"
>
<text class="self-start font_5 text_10">张新然</text>
<view class="flex-col items-start self-stretch section_5">
<text class="font">手机号1234567797</text>
<text class="font_6 text_12 mt-18">团队人数0 给我创造的收益¥0</text>
</view>
<text class="self-end font_4 text_13">注册时间2025-10-31 132030</text>
</view>
</view>
</view>
</view>

View File

@ -0,0 +1,205 @@
.ml-127 {
margin-left: 244.23rpx;
}
.mt-23 {
margin-top: 44.23rpx;
}
.mt-11 {
margin-top: 21.15rpx;
}
.mt-9 {
margin-top: 17.31rpx;
}
.ml-15 {
margin-left: 28.85rpx;
position: relative;
bottom: 6rpx;
}
.mt-27 {
margin-top: 51.92rpx;
}
.page {
padding-bottom: 105.77rpx;
background-color: #ffffff;
width: 100%;
overflow-y: auto;
overflow-x: hidden;
height: 100%;
}
.section {
padding-top: 44.23rpx;
background-image: linear-gradient(180deg, #ff8d1a -34.1%, #ffffff1a 134.1%);
}
.group {
padding: 0 48.08rpx;
}
.image {
width: 15.38rpx;
height: 23.08rpx;
}
.font {
font-size: 26.92rpx;
font-family: SourceHanSansCN;
line-height: 24.77rpx;
color: #000000;
}
.text {
color: #ffffff;
line-height: 24.85rpx;
}
.group_2 {
padding-left: 61.54rpx;
padding-right: 53.85rpx;
}
.section_2 {
padding: 47.37rpx 0 24.04rpx;
background-color: #ffffff;
border-radius: 28.85rpx;
}
.equal-division {
align-self: stretch;
}
.group_3 {
flex: 1 1 211.54rpx;
}
.group_7 {
padding: 10rpx 5.79rpx 10rpx 23.1rpx;
}
.font_2 {
font-size: 23.08rpx;
font-family: SourceHanSansCN;
line-height: 24.77rpx;
color: #000000;
}
.text_2 {
line-height: 23.92rpx;
}
.font_3 {
font-size: 38.46rpx;
font-family: SourceHanSansCN;
line-height: 26.92rpx;
}
.text_5 {
margin-left: 46.9rpx;
color: #ff8d1a;
line-height: 28.19rpx;
}
.group_1 {
padding: 10rpx 27.02rpx 11.92rpx 29.29rpx;
}
.font_4 {
font-size: 23.08rpx;
font-family: SourceHanSansCN;
line-height: 26.92rpx;
color: #808080;
}
.text_3 {
color: #000000;
text-align: center;
}
.text_15 {
color: #d43030;
line-height: 28.69rpx;
}
.group_5 {
padding: 11.94rpx 0 11.42rpx;
}
.text_4 {
line-height: 23.9rpx;
}
.text_1 {
color: #d43030;
font-size: 38.46rpx;
font-family: SourceHanSansCN;
line-height: 29.19rpx;
}
.text-wrapper {
padding: 20.4rpx 0 21.9rpx;
background-color: #ffffff;
border-radius: 38.46rpx;
width: 436.54rpx;
border: solid 1.92rpx #a5d63f;
}
.text_6 {
color: #a5d63f;
font-size: 25rpx;
line-height: 23.08rpx;
}
.section_3 {
padding: 36.15rpx 31.9rpx 36.92rpx;
background-color: #ffffff;
border-radius: 28.85rpx;
box-shadow: 0rpx 3.85rpx 7.69rpx #00000040;
}
.text_7 {
line-height: 24.98rpx;
}
.image_2 {
width: 23.08rpx;
height: 26.92rpx;
}
.group_4 {
padding-left: 39.85rpx;
padding-right: 37.5rpx;
}
.text_8 {
color: #000000;
line-height: 35.65rpx;
}
.section_4 {
padding: 13.96rpx 31.27rpx 12.9rpx;
background-color: #ffffff;
border-radius: 38.46rpx;
width: 365.38rpx;
height: 55.77rpx;
border: solid 1.92rpx #a6a6a6;
}
.image_3 {
border-radius: 50%;
width: 23.08rpx;
height: 25.06rpx;
}
.text_9 {
line-height: 21.5rpx;
}
.list {
padding-left: 21.69rpx;
padding-right: 10.58rpx;
}
.list-item {
margin-left: 5.77rpx;
padding: 32.67rpx 27.71rpx 35.02rpx;
background-color: #ffffff;
border-radius: 16.94rpx;
box-shadow: 0rpx 3.85rpx 7.69rpx #00000040;
}
.list-item:first-child {
margin-top: 0;
}
.font_5 {
font-size: 30.77rpx;
font-family: SourceHanSansCN;
line-height: 26.92rpx;
color: #000000;
}
.text_10 {
line-height: 28.71rpx;
}
.section_5 {
margin: 30.92rpx 20.37rpx 0 33.83rpx;
padding: 31.69rpx 26.35rpx 36.69rpx;
background-color: #f7f7f7cc;
}
.font_6 {
font-size: 26.92rpx;
font-family: SourceHanSansCN;
line-height: 32.69rpx;
color: #000000;
}
.text_12 {
width: 450.77rpx;
}
.text_13 {
margin-top: 26.52rpx;
width: 338.46rpx;
}

View File

@ -0,0 +1,66 @@
// pages/woyaojiedan/woyaojiedan.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

View File

@ -0,0 +1,4 @@
{
"navigationBarTitleText": "我要接单",
"usingComponents": {}
}

View File

@ -0,0 +1,13 @@
<view class="flex-col page">
<view class="flex-col">
<view class="flex-col group">
<text style="margin: 20rpx;">姓名</text>
<input class="flex-col justify-start items-start text-wrapper input" />
<text style="margin: 20rpx;">手机号</text>
<input class="flex-col justify-start items-start text-wrapper_1 mt-10 input_1" />
</view>
</view>
<view class="flex-col justify-start items-center text-wrapper_2 mt-609">
<text class="text_3">申请资料报备</text>
</view>
</view>

View File

@ -0,0 +1,58 @@
.ml-124 {
margin-left: 238.46rpx;
}
.mt-609 {
margin-top: 1171.15rpx;
}
.page {
background-color: #ffffff;
width: 100%;
overflow-y: auto;
overflow-x: hidden;
height: 100%;
}
.section {
padding: 34.62rpx 23.08rpx 37.69rpx;
background-color: #f8f8f8;
}
.image {
width: 34.62rpx;
height: 19.23rpx;
}
.font {
font-size: 26.92rpx;
font-family: SourceHanSansCN;
line-height: 24.83rpx;
color: #000000;
}
.group {
padding: 33.65rpx 39.42rpx 0;
}
.text-wrapper {
padding: 34.42rpx 0 33.06rpx;
background-color: #ffffff;
border-radius: 28.85rpx;
border: solid 1.92rpx #e5e5e5;
}
.text-wrapper_1 {
padding: 32.58rpx 0 34.96rpx;
background-color: #ffffff;
border-radius: 28.85rpx;
border: solid 1.92rpx #e5e5e5;
}
.text-wrapper_2 {
padding: 42.44rpx 0 31.02rpx;
background-color: #ff8d1a;
}
.text_3 {
color: #ffffff;
font-size: 30.77rpx;
font-family: SourceHanSansCN;
line-height: 28.46rpx;
}
.input {
padding: 34.62rpx 38.38rpx 32.69rpx 38.38rpx;
}
.input_1 {
padding: 32.69rpx 38.77rpx 34.62rpx 38.77rpx;
}

View File

@ -0,0 +1,107 @@
import {url} from '../../request'
Page({
/**
* 页面的初始数据
*/
data: {
projectImage:""
},
/**
* 生命周期函数--监听页面加载
*/
jiedan(){
wx.navigateTo({
url: '/pages/woyaojiedan/woyaojiedan',
})
},
mingxi(){
wx.navigateTo({
url: '/pages/mingxi/mingxi',
})
},
onLoad(options) {
const that = this
const id = options.id
wx.request({
url: url + '/project/query/id',
method: 'POST',
data: {
"id": id
},
header: {
'content-type': 'application/json'
},
success(res) {
console.log('查询成功', res);
if(res.data.code==1){
const defalt = res.data.data
that.setData({
projectDesc:defalt.projectDesc,
projectDescription:defalt.projectDescription,
projectFlow:defalt.projectFlow,
projectImage:defalt.projectImage,
projectName:defalt.projectName,
projectStatus:defalt.projectStatus,
settlementDesc:defalt.settlementDesc,
projectPrice:defalt.projectPrice,
})
}
},
fail(err) {
console.error('请求失败', err);
}
});
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

View File

@ -0,0 +1,4 @@
{
"navigationBarTitleText": "项目详情",
"usingComponents": {}
}

View File

@ -0,0 +1,105 @@
<view class="flex-col page">
<view class="mt-34 flex-col group">
<view class="flex-row relative">
<image
class="image_2"
src="{{projectImage}}"
mode="aspectFill"
/>
<text class="self-start font text_2">{{projectName}}</text>
<view class="flex-col justify-start items-start group_2 pos">
<text class="font_2 text_4">{{projectDescription}}</text>
<view class="flex-col justify-start items-center text-wrapper pos_2" bind:tap="mingxi">
<text class="font_2 text_3">结算明细</text>
</view>
</view>
</view>
<view class="flex-row items-baseline group_3 mt-7">
<text class="text_5">最高价</text>
<text class="text_6 ml-3">¥{{projectPrice}}</text>
</view>
</view>
<view class="mt-34 flex-col">
<view class="flex-col group_4">
<view class="flex-row justify-between self-stretch group_5">
<text class="font_3 text_7" >项目详情</text>
<text class="font_3 text_8">我的推广码</text>
</view>
<view class="self-start section_2"></view>
</view>
<view class="flex-col mt-19">
<view class="flex-col group_6">
<view class="flex-row section_3">
<image
class="self-center image_3"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=7e28ffe3e2c62077f3c18df1307ca5a3.png"
/>
<text class="ml-10 self-start font_3 text_9">项目政策</text>
</view>
<view class="mt-18 flex-col section_4">
<text class="self-start font_3 text_10">结算说明</text>
<text class="mt-14 self-start font_4 text_11">新增推广码→填写信息→开码记录查看推广码</text>
<view class="mt-14 flex-row equal-division">
<image
class="image_4 equal-division-item"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=4a65b818aef0dd76b6ff0c87f670a813.png"
/>
<image
class="image_4 equal-division-item"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=8681161514b4cad81ac8c31908b02191.png"
/>
</view>
</view>
<view class="mt-18 flex-col section_5">
<text class="self-start font_3 text_12">项目说明</text>
<view class="flex-col self-stretch group_7">
<text class="self-stretch font_4">1.此业务需要用户扫描二维码/通过小程序链接跳转至小程序购买;</text>
<text class="self-stretch font_4 mt-3">
2.必须通过我们链接/二维码购买才能统计数据,例如:用户第二次直接在小程序/APP购买那么第二次购买的就不能算作结算数据。
</text>
<text class="self-start font_4 text_13 mt-3">
推广口令 报备流程(口令有效期一个月) 应各位合伙人要求,开通美团 外卖省钱包-春季活动 口令推广申请权限
</text>
</view>
<text class="self-stretch font_4 text_14">
开头口令推广权限注意点: 1:先正常申请一个省钱包的推广sid后扫下方二维码报备。
2:注意查看报备结果,审核通过后可使用 3:注意口令有效期,为申请开始的一个月有效,到期后重新申请。
4:每天1600前申请的次日12点查看结果。每天16:00后申请的。次日19点查看结果
</text>
</view>
<view class="mt-18 flex-col section_6">
<text class="self-start font_3 text_15">项目流程</text>
<view class="mt-14 flex-row self-stretch">
<image
class="equal-division-item image_5"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=74ae81e1a9ceaa0c8585bcde66df2ab1.png"
/>
<image
class="equal-division-item image_6"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=3f390df5eebc0f00039477aae4784edb.png"
/>
</view>
<view class="mt-14 flex-row equal-division_2">
<image
class="image_4 equal-division-item"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=154de9535322807a344cc2237d0c8fd9.png"
/>
<image
class="image_4 equal-division-item"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=1b8774ac572d6c38a996416f2b5181c0.png"
/>
</view>
</view>
</view>
<view class="mt-18 flex-row">
<view class="flex-col justify-start items-center text-wrapper_2">
<text class="font_5 text_16">再想想</text>
</view>
<view class="flex-col justify-start items-center text-wrapper_3" bind:tap="jiedan">
<text class="font_5 text_17">我要接单</text>
</view>
</view>
</view>
</view>
</view>

View File

@ -0,0 +1,239 @@
.ml-123 {
margin-left: 236.54rpx;
}
.mt-7 {
margin-top: 13.46rpx;
}
.ml-3 {
margin-left: 5.77rpx;
}
.mt-19 {
margin-top: 36.54rpx;
}
.mt-3 {
margin-top: 5.77rpx;
}
.page {
background-color: #ffffff;
width: 100%;
overflow-y: auto;
overflow-x: hidden;
height: 100%;
}
.section {
padding: 34.62rpx 23.08rpx;
background-color: #f8f8f8;
}
.image {
width: 34.62rpx;
height: 19.23rpx;
}
.font {
font-size: 25rpx;
font-family: SourceHanSansCN;
line-height: 23.1rpx;
color: #000000;
}
.text {
font-size: 26.92rpx;
line-height: 24.83rpx;
}
.group {
padding-left: 57.69rpx;
padding-right: 25rpx;
}
.image_2 {
width: 103.85rpx;
height: 103.85rpx;
}
.text_2 {
margin-left: 38.46rpx;
margin-top: 11.54rpx;
font-size: 26.92rpx;
line-height: 24.9rpx;
}
.group_2 {
padding-top: 38.46rpx;
width: 526rpx;
}
.pos {
position: absolute;
right: 0;
top: 15.38rpx;
}
.font_2 {
font-size: 23.08rpx;
font-family: SourceHanSansCN;
line-height: 23.1rpx;
}
.text_4 {
color: #00000080;
font-size: 21.15rpx;
line-height: 21.75rpx;
}
.text-wrapper {
padding: 15.38rpx 0;
background-color: #a5d63fcc;
border-radius: 19.23rpx;
width: 126.92rpx;
}
.pos_2 {
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
}
.text_3 {
color: #ffffff;
line-height: 21.5rpx;
}
.group_3 {
padding: 0 142.31rpx;
}
.text_5 {
color: #00000080;
font-size: 15.38rpx;
font-family: HarmonyOSSansTC;
line-height: 14.42rpx;
}
.text_6 {
color: #e33c64;
font-size: 17.31rpx;
font-family: SourceHanSansCN;
line-height: 13.13rpx;
}
.group_4 {
padding-left: 138.46rpx;
padding-right: 134.62rpx;
}
.group_5 {
padding-bottom: 11.54rpx;
}
.section_2 {
margin-left: 26.92rpx;
background-color: #ff8d1a;
width: 48.08rpx;
height: 3.85rpx;
}
.group_6 {
padding-left: 32.69rpx;
padding-right: 25rpx;
}
.section_3 {
margin-right: 13.46rpx;
padding: 21.15rpx 25rpx 284.62rpx;
background-color: #f8f8f8;
border-radius: 19.23rpx;
}
.image_3 {
width: 34.62rpx;
height: 38.46rpx;
}
.font_3 {
font-size: 25rpx;
font-family: HarmonyOSSansTC;
line-height: 23.1rpx;
color: #000000;
}
.text_8 {
line-height: 23.56rpx;
}
.text_7 {
color: #ff8d1a;
line-height: 23.06rpx;
}
.text_9 {
line-height: 23.19rpx;
}
.section_4 {
margin-left: 13.46rpx;
padding: 15.38rpx 30.77rpx 36.54rpx;
background-color: #f8f8f8;
border-radius: 19.23rpx;
}
.text_10 {
margin-left: 34.62rpx;
line-height: 23.52rpx;
}
.font_4 {
font-size: 23.08rpx;
font-family: SourceHanSansCN;
line-height: 26.92rpx;
color: #000000;
}
.text_11 {
line-height: 21.69rpx;
}
.equal-division {
align-self: stretch;
margin: 0 15.38rpx;
}
.image_4 {
flex: 1 1 292.31rpx;
}
.equal-division-item {
height: 403.85rpx;
}
.section_5 {
margin-left: 13.46rpx;
padding: 23.08rpx 26.92rpx 30.77rpx;
background-color: #f8f8f8;
border-radius: 19.23rpx;
}
.text_12 {
margin-left: 38.46rpx;
}
.group_7 {
margin-top: 23.08rpx;
}
.text_13 {
text-indent: 0rpx;
}
.text_14 {
margin-top: 38.46rpx;
}
.section_6 {
margin-left: 13.46rpx;
padding: 30.77rpx 46.15rpx 40.38rpx;
background-color: #f8f8f8;
border-radius: 30.81rpx;
}
.text_15 {
margin-left: 19.23rpx;
line-height: 22.88rpx;
}
.image_5 {
flex: 1 1 292.31rpx;
}
.image_6 {
margin-left: -7.69rpx;
margin-right: 7.69rpx;
flex: 1 1 292.31rpx;
}
.equal-division_2 {
align-self: stretch;
}
.text-wrapper_2 {
padding: 26.92rpx 0;
flex: 1 1 375rpx;
background-color: #cccccc;
height: 84.62rpx;
}
.font_5 {
font-size: 30.77rpx;
font-family: SourceHanSansCN;
line-height: 26.92rpx;
color: #000000;
}
.text_16 {
line-height: 28.31rpx;
}
.text-wrapper_3 {
padding: 26.92rpx 0;
flex: 1 1 375rpx;
background-color: #ff8d1a;
height: 84.62rpx;
}
.text_17 {
line-height: 28.37rpx;
}

View File

@ -1,4 +1,4 @@
// pages/zucepage/zucepage.js
import {url} from '../../request'
Page({
/**
@ -8,59 +8,171 @@ Page({
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
name(e){
this.setData({
name:e.detail.value
})
console.log(e.detail.value);
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
phone(e){
this.setData({
phone:e.detail.value
})
console.log(e.detail.value);
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
code(e){
this.setData({
code:e.detail.value
})
console.log(e.detail.value);
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
yanzhengma(e){
this.setData({
yanzhengma:e.detail.value
})
console.log(e.detail.value);
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
password(e){
this.setData({
password:e.detail.value
})
console.log(e.detail.value);
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
getcode(){
const phone = this.data.phone;
if (!/^\d{11}$/.test(phone)) {
wx.showToast({
title: '请输入11位的手机号',
icon: 'none'
});
return;
}
wx.request({
url: url + '/userInfo/code',
method: 'POST',
data: {
templateString: this.data.phone
},
header: {
'content-type': 'application/json'
},
success(res) {
console.log('发送成功', res);
if(res.data.code==1){
wx.showToast({
title: '发送成功',
icon: 'success',
duration: 2000
});
}else{
wx.showToast({
title: res.data.message,
icon: 'success',
duration: 2000
});
}
},
fail(err) {
console.error('请求失败', err);
}
});
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
// 注册
submit(){
const yanzhengma = this.data.yanzhengma
const phone = this.data.phone
const password = this.data.password
const code = this.data.code
const name = this.data.name
if (!name) {
wx.showToast({
title: '请输入昵称',
icon: 'none'
});
return;
}
if (!/^\d{6}$/.test(yanzhengma)) {
wx.showToast({
title: '请输入6位验证码',
icon: 'none'
});
return;
}
if (!/^\d{6,11}$/.test(phone)) {
wx.showToast({
title: '请输入6到11位的账号',
icon: 'none'
});
return;
}
// 密码验证6~10位字符
if (!/^.{6,10}$/.test(password)) {
wx.showToast({
title: '请输入6到10位的密码',
icon: 'none'
});
return;
}
if (!/^\d{6}$/.test(code)) {
wx.showToast({
title: '请输入6位的邀请码',
icon: 'none'
});
return;
}
if (this.data.isAgree!=true) {
wx.showToast({
title: '请先勾选协议',
icon: 'none'
});
return;
}
console.log("sakldhasjdhja");
wx.request({
url: url + '/userInfo/register',
method: 'POST',
data: {
nickName: this.data.name,
phoneNumber: this.data.phone,
verificationCode: this.data.yanzhengma,
invitationCode: this.data.code,
userPassword: this.data.password
},
header: {
'content-type': 'application/json'
},
success(res) {
console.log('注册成功', res);
if(res.data.code==1){
wx.showToast({
title: '注册成功',
icon: 'success',
duration: 2000
});
setTimeout(() => {
wx.navigateBack({
delta: 1
})
}, 2000);
}else{
wx.showToast({
title: res.data.message,
icon: 'error',
duration: 2000
});
}
},
fail(err) {
console.error('请求失败', err);
}
});
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})
// 勾选
onAgreeChange(e) {
this.setData({
isAgree: true
});
console.log("gaibianler",this.data.isAgree);
},
})

View File

@ -1,26 +1,27 @@
<view class="flex-col page">
<view class="flex-col justify-start items-center self-center text-wrapper">
<image src="/image/logo.png" mode="aspectFill"></image>
<text class="font text">欢迎登陆—青橙校园</text>
</view>
<view class="flex-col self-stretch group">
<text class="self-start font_2 text_2">账号注册</text>
<view class="flex-col self-stretch mt-15">
<view class="flex-col justify-start items-start text-wrapper_2"><input class="text_3 font_3 text_4" placeholder="请输入昵称" /></view>
<view class="flex-col justify-start items-start view"><input class="text_3 font_3 text_5" placeholder="请输入手机号" /></view>
<view class="flex-col justify-start items-start text-wrapper_2"><input class="text_3 font_3 text_4" bindinput="name" bindinput="name" placeholder="请输入昵称" /></view>
<view class="flex-col justify-start items-start view"><input class="text_3 font_3 text_5" bindinput="phone" placeholder="请输入手机号" /></view>
<view class="flex-row justify-between section">
<input class="font_3 text_6" placeholder="请输入验证码" />
<text class="font_2 text_7">获取验证码</text>
<input class="font_3 text_6" bindinput="yanzhengma" placeholder="请输入验证码" />
<text class="font_2 text_7" bind:tap="getcode">获取验证码</text>
</view>
<view class="flex-col justify-start items-start view_2"><input class="text_3 font_3 text_8" placeholder="请输入邀请码" /></view>
<view class="flex-col justify-start items-start view_3"><input class="text_3 font_3 text_9" placeholder="请设置密码" /></view>
<view class="flex-col justify-start items-start view_2"><input class="text_3 font_3 text_8" bindinput="code" placeholder="请输入邀请码" /></view>
<view class="flex-col justify-start items-start view_3"><input class="text_3 font_3 text_9" bindinput="password" placeholder="请设置密码" /></view>
</view>
</view>
<view class="flex-row items-center self-start group_2">
<radio class="radio" color="#ff8d1a"></radio>
<radio class="radio" color="#ff8d1a" bind:tap="onAgreeChange"></radio>
<text class="shrink-0 font_4 text_10">我已阅读并同意</text>
<text class="flex-1 font_4 text_11">青橙用户服务协议、隐私政策</text>
</view>
<view class="flex-col justify-start items-center self-stretch text-wrapper_3">
<view class="flex-col justify-start items-center self-stretch text-wrapper_3" bind:tap="submit">
<text class="font text_12">注册</text>
</view>
<view class="self-center group_3">

View File

@ -10,8 +10,6 @@
height: 100%;
}
.text-wrapper {
padding: 426.96rpx 0 6.02rpx;
background-image: url('https://ide.code.fun/api/image?token=680efc2c4ae84d00122e3b6c&name=ac6edf59808d551877b71d448fce5024.png');
background-size: 100% 100%;
background-repeat: no-repeat;
width: 461.54rpx;

View File

@ -2,7 +2,20 @@
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"projectname": "qingcheng",
"setting": {
"compileHotReLoad": true
"compileHotReLoad": true,
"urlCheck": false
},
"condition": {}
"condition": {
"miniprogram": {
"list": [
{
"name": "pages/xiangqing/xiangqing",
"pathName": "pages/logain/logain",
"query": "",
"launchMode": "default",
"scene": null
}
]
}
}
}

1
request.js Normal file
View File

@ -0,0 +1 @@
export const url='http://localhost:3456';