接单部分完成

This commit is contained in:
Ling53666 2025-05-15 09:40:36 +08:00
parent bb84973913
commit 9b8553930b
37 changed files with 611 additions and 265 deletions

View File

@ -1,19 +1,20 @@
{
"pages": [
"pages/index/index",
"pages/logain/logain",
"pages/logs/logs",
"pages/jiedan/jiedan",
"pages/mypage/mypage",
"pages/shop/shop",
"pages/find/find",
"pages/logain/logain",
"pages/zucepage/zucepage",
"pages/wangjimima/wangjimima",
"pages/xiangqing/xiangqing",
"pages/woyaojiedan/woyaojiedan",
"pages/mingxi/mingxi",
"pages/findxiangqing/findxiangqing",
"pages/wodetuandui/wodetuandui"
"pages/wodetuandui/wodetuandui",
"pages/wodejiedan/wodejiedan",
"pages/index/index"
],
"window": {
"navigationBarTextStyle": "black",

View File

@ -25,6 +25,7 @@ text {
.flex-row {
display: flex;
flex-direction: row;
}
.flex-col {

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 616 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

BIN
image/erweima.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

@ -40,26 +40,42 @@ Page({
* 生命周期函数--监听页面显示
*/
onShow() {
const that =this
wx.request({
url: url + '/project/query/card',
method: 'POST',
data: {
},
header: {
'content-type': 'application/json'
},
const that = this
wx.getStorage({
key: "logmessage",
success(res) {
console.log('查询成功', res);
that.setData({
list:res.data.data
})
},
fail(err) {
console.error('请求失败', err);
const userinfo = res.data.Authorization
wx.request({
url: url + '/project/query/card',
method: 'POST',
data: {
},
header: {
'content-type': 'application/json',
'Authorization': userinfo
},
success(res) {
console.log('查询成功', res);
if(res.data.code==1){
that.setData({
list:res.data.data
})
}else{
wx.showToast({
title: res.data.message,
icon:'error',
duration:2000
})
}
},
fail(err) {
console.error('请求失败', err);
}
});
}
});
})
},
/**

View File

@ -1,5 +1,5 @@
<view class="flex-col page">
<swiper class="swiper" autoplay circular indicator-dots>
<swiper class="swiper" autoplay circular >
<swiper-item wx:for="{{picture}}" wx:key="index">
<image class="imagesize" src="{{item.image}}" mode="aspectFill" />
</swiper-item>

View File

@ -72,6 +72,7 @@ submit(){
const that = this
const phone = this.data.inputValue;
const password = this.data.inputValuepassword;
console.log(password,'isdjidasjiodaso');
// 手机号验证6~11位数字
if (!/^\d{6,11}$/.test(phone)) {
wx.showToast({
@ -82,9 +83,9 @@ submit(){
}
// 密码验证6~10位字符
if (!/^.{6,10}$/.test(password)) {
if (!/^[a-zA-Z0-9]{6,10}$/.test(password)) {
wx.showToast({
title: '请输入6到10位密码',
title: '请输入6到10位密码',
icon: 'none'
});
return;
@ -106,11 +107,12 @@ submit(){
userPassword: this.data.inputValuepassword
},
header: {
'content-type': 'application/json'
'content-type': 'application/json',
},
success(res) {
console.log('登录成功', res);
if(res.data.code==1){
console.log(res.data.data,'zhehsidata');
wx.showToast({
title: '登录成功',
icon: 'success',
@ -168,7 +170,7 @@ getcode(){
templateString: this.data.yanzhengphone
},
header: {
'content-type': 'application/json'
'content-type': 'application/json',
},
success(res) {
console.log('发送成功', res);
@ -218,7 +220,7 @@ submityanzhengma(){
verificationCode: this.data.yanzhengcode
},
header: {
'content-type': 'application/json'
'content-type': 'application/json',
},
success(res) {
console.log('登录成功', res);
@ -257,12 +259,14 @@ submityanzhengma(){
});
},
setmessage() {
console.log("diaoyongle ");
const that = this;
wx.getStorage({
key: "logmessage",
success(res) {
console.log(res.data, 'sajlkdlasjdkl');
const userinfo = res.data;
console.log(userinfo,'这是获取的');
wx.request({
url: url + '/userInfo/get/jwt',
method: 'GET',

View File

@ -5,7 +5,7 @@
</view>
<view class="flex-col self-stretch group">
<view class="flex-row items-baseline group_2">
<text class="font_3 text_3" bind:tap="showchangeback"
<text class="font_2 text_2" bind:tap="showchangeback"
style="color: {{currentTab == 'password' ? '#ff8d1a' : '#383838'}}; font-weight: {{currentTab == 'password' ? 'bold' : 'normal'}};">密码登录</text>
<text class="font_2 text_2 ml-7" style="color: {{currentTab == 'code' ? '#ff8d1a' : '#383838'}}; font-weight: {{currentTab == 'code' ? 'bold' : 'normal'}};" bind:tap="showchange">验证码登录</text>
</view>

View File

@ -5,7 +5,7 @@
margin-top: 40.38rpx;
}
.page {
padding: 121.15rpx 42.31rpx 440.48rpx 44.23rpx;
padding: 121.15rpx 42.31rpx 180.48rpx 44.23rpx;
background-color: #ffffff;
width: 100%;
overflow-y: hidden;
@ -59,13 +59,14 @@
margin-left: 35.75rpx;
}
.font_4 {
font-size: 26.92rpx;
font-size: 30.92rpx;
font-family: SourceHanSansCN;
color: #808080;
}
.text_1 {
line-height: 24.85rpx;
width: 590rpx;
height: 20px;
}
.section {
padding: 37.27rpx 16.25rpx 35.79rpx 35.75rpx;

View File

@ -1,4 +1,4 @@
// pages/mypage/mypage.js
Page({
@ -19,6 +19,7 @@ Page({
},
onShow() {
console.log("askjda");
const that = this
wx.getStorage({
key: "usermessage",
@ -34,7 +35,11 @@ Page({
}
})
},
wodejiedan(){
wx.navigateTo({
url: '/pages/wodejiedan/wodejiedan',
})
},
onHide() {
},

View File

@ -34,7 +34,7 @@
<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"
src="/image/jiatou.png"
/>
</view>
</view>
@ -58,21 +58,21 @@
<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"
src="/image/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"
src="/image/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"
src="/image/16d828b713b2f70f899c4e678516576a.png"
/>
<text class="mt-8 font_3">提现记录</text>
</view>
@ -82,28 +82,29 @@
<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"
src="/image/c432ff17b41f470760ae10d3069e91bf.png"
mode="aspectFill"
/>
<text class="mt-6 font_4">我的课程</text>
</view>
<view class="flex-col items-center equal-division-item_3">
<view class="flex-col items-center equal-division-item_3" bind:tap="wodejiedan">
<image
class="image_5"
src="https://ide.code.fun/api/image?token=68199c7e4ae84d00122ebbb9&name=5f908d0a671b5ec6d57fcee228fce66c.png"
src="/image/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"
src="/image/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"
src="/image/79a346c585f09dd9cb9b756a45228b43.png"
/>
<text class="font_2 text_16 mt-7">购物订单</text>
</view>
@ -113,40 +114,41 @@
<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"
src="/image/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"
src="/image/jiatou.png"
mode="aspectFill"
/>
</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"
src="/image/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"
src="/image/jiatou.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"
src="/image/jiatou.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"
src="/image/jiatou.png"
/>
</view>
</view>

View File

@ -23,7 +23,7 @@
padding: 42.96rpx 0 42.96rpx;
}
.text-wrapper_1 {
padding: 35.46rpx 0 37.77rpx;
padding: 25.46rpx 0 27.77rpx;
background-color: #ffffff;
box-shadow: 0rpx 3.85rpx 7.69rpx #00000040;
}
@ -45,7 +45,7 @@
line-height: 24.85rpx;
}
.section {
padding: 37.27rpx 20.1rpx 35.79rpx 31.9rpx;
padding: 27.27rpx 20.1rpx 25.79rpx 25.9rpx;
background-color: #ffffff;
box-shadow: 0rpx 3.85rpx 7.69rpx #00000040;
}
@ -56,12 +56,12 @@
color: #d43030;
}
.text-wrapper_2 {
padding: 35.27rpx 0 37.79rpx;
padding: 25.27rpx 0 27.79rpx;
background-color: #ffffff;
box-shadow: 0rpx 3.85rpx 7.69rpx #00000040;
}
.text-wrapper_4 {
padding: 37.19rpx 0 35.73rpx;
padding: 27.19rpx 0 25.73rpx;
background-color: #ffffff;
box-shadow: 0rpx 3.85rpx 7.69rpx #00000040;
}

View File

@ -0,0 +1,86 @@
import {url} from '../../request'
Page({
data: {
items: [null, null, null,null],
},
onLoad(options) {
},
onReady() {
},
onShow() {
const that = this
wx.getStorage({
key: "logmessage",
success(res) {
const userinfo = res.data.Authorization
wx.request({
url: url + '/project/get/running',
method: 'POST',
data: {
},
header: {
'content-type': 'application/json',
'Authorization': userinfo
},
success(res) {
console.log('登录成功', res);
if(res.data.code==1){
that.setData({
list:res.data.data
})
wx.showToast({
title: '查询成功',
icon: 'success',
duration: 2000
});
}else{
wx.showToast({
title: res.data.message,
icon:"error",
duration:2000
})
}
},
fail(err) {
console.error('请求失败', err);
}
});
}
})
},
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

View File

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

View File

@ -0,0 +1,48 @@
<view class="flex-col page">
<view class="flex-col justify-start items-start section">
</view>
<view class="flex-col relative list">
<view
class="flex-row justify-center items-start mt-16 list-item"
wx:for="{{list}}"
wx:for-item="item"
wx:for-index="index"
wx:key="index"
>
<image
class="image_2"
src="{{item.projectImage}}"
mode="aspectFill"
/>
<view class="ml-14 flex-col group_2">
<text class="self-start font">{{item.projectName}}</text>
<text class="self-stretch font_2 text_2 mt-9">结算周期T+{{item.projectSettlementCycle}} 实时数据</text>
</view>
<view class="ml-14 flex-col group_3">
<image
class="self-end image_3"
src="/image/jiatou.png"
mode="aspectFill"
/>
<view class="flex-row self-stretch mt-25">
<view class="flex-row items-center section_2">
<image
class="image_5"
src="/image/erweima.png"
mode="aspectFill"
/>
<text class="font_3 text_3 ml-5">推广码</text>
</view>
<view class="flex-row items-center section_3 ml-11">
<image
class="shrink-0 image_4"
src="/image/17470264949353830750.png"
mode="aspectFill"
/>
<text class="font_3">结算明细</text>
</view>
</view>
</view>
</view>
</view>
</view>

View File

@ -0,0 +1,122 @@
.ml-126 {
margin-left: 242.31rpx;
}
.mt-9 {
margin-top: 17.31rpx;
}
.mt-25 {
margin-top: 48.08rpx;
}
.ml-5 {
margin-left: 9.62rpx;
}
.ml-11 {
margin-left: 21.15rpx;
}
.page {
padding-bottom: 871.15rpx;
background-color: #ffffff;
height: 100%;
width: 100%;
overflow-y: auto;
overflow-x: hidden;
}
.section {
padding: 44.23rpx 0 373.08rpx;
background-image: linear-gradient(180deg, #ff8d1a -34.1%, #ffffff1a 134.1%);
}
.group {
margin-left: 48.08rpx;
}
.image {
width: 15.38rpx;
height: 23.08rpx;
}
.font {
font-size: 25rpx;
font-family: SourceHanSansCN;
line-height: 23.13rpx;
color: #000000;
}
.text {
color: #ffffff;
font-size: 26.92rpx;
line-height: 23.56rpx;
}
.list {
margin-top: -298.08rpx;
padding: 0 44.23rpx;
}
.list-item {
padding: 38.46rpx 19.23rpx 11.54rpx 38.46rpx;
background-color: #ffffff;
border-radius: 14.58rpx;
box-shadow: 0rpx 3.85rpx 7.69rpx #00000040;
}
.list-item:first-child {
margin-top: 0;
}
.image_2 {
width: 103.85rpx;
height: 103.85rpx;
}
.group_2 {
margin-top: 7.69rpx;
width: 142.31rpx;
}
.font_2 {
font-size: 19.23rpx;
font-family: SourceHanSansCN;
line-height: 23.13rpx;
color: #808080;
}
.text_2 {
line-height: 23.08rpx;
}
.group_3 {
margin-top: 11.54rpx;
}
.image_3 {
margin-right: 23.08rpx;
width: 23.08rpx;
height: 26.92rpx;
}
.section_2 {
padding: 7.69rpx 15.38rpx 3.85rpx;
background-color: #ffffff;
border-radius: 9.62rpx;
width: 142.31rpx;
height: 42.31rpx;
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_5 {
width: 25rpx;
height: 25rpx;
}
.font_3 {
font-size: 19.23rpx;
font-family: SourceHanSansCN;
line-height: 17.92rpx;
color: #ff8d1a;
}
.text_3 {
line-height: 17.9rpx;
}
.section_3 {
padding: 3.85rpx 0;
background-color: #ffffff;
border-radius: 9.62rpx;
width: 142.31rpx;
height: 42.31rpx;
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: 48.08rpx;
height: 36.54rpx;
}

View File

@ -1,66 +1,66 @@
// pages/woyaojiedan/woyaojiedan.js
import {url} from '../../request'
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
onLoad(options){
const id = options.id
this.setData({
id:id
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
name(e){
this.setData({
name:e.detail.value
})
console.log(e.detail.value);
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
phone(e){
this.setData({
phone:e.detail.value
})
console.log(e.detail.value);
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
submit(){
const that = this
wx.getStorage({
key: "logmessage",
success(res) {
const userinfo = res.data.Authorization
wx.request({
url: url + '/promoCodeApply/apply',
method: 'POST',
data: {
"salespersonName": that.data.name,
"salespersonPhone": that.data.phone,
"projectId": that.data.id
},
header: {
'content-type': 'application/json',
'Authorization': userinfo
},
success(res) {
console.log('提交成功', res);
if(res.data.code==1){
wx.showToast({
title: res.data.message,
icon: 'sucess',
duration: 2000
})
}else{
wx.showToast({
title: res.data.message,
icon: 'error',
duration: 2000
})
}
},
fail(err) {
console.error('请求失败', err);
}
});
}
})
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

View File

@ -2,12 +2,12 @@
<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" />
<input class="flex-col justify-start items-start text-wrapper input" bindinput="name" />
<text style="margin: 20rpx;">手机号</text>
<input class="flex-col justify-start items-start text-wrapper_1 mt-10 input_1" />
<input class="flex-col justify-start items-start text-wrapper_1 mt-10 input_1" bindinput="phone" />
</view>
</view>
<view class="flex-col justify-start items-center text-wrapper_2 mt-609">
<view class="flex-col justify-start items-center text-wrapper_2 mt-609" bind:tap="submit">
<text class="text_3">申请资料报备</text>
</view>
</view>

View File

@ -5,16 +5,28 @@ Page({
* 页面的初始数据
*/
data: {
projectImage:""
projectImage:"",
selected: 'detail',
show:false,
promoCodeApplyVOList:[]
},
/**
* 生命周期函数--监听页面加载
*/
onSelect(e) {
const key = e.currentTarget.dataset.key;
console.log(key,'dianjile');
this.setData({
selected: key
});
},
jiedan(){
const id = this.data.id
wx.navigateTo({
url: '/pages/woyaojiedan/woyaojiedan',
url: `/pages/woyaojiedan/woyaojiedan?id=${id}`,
})
console.log(id);
},
mingxi(){
wx.navigateTo({
@ -24,84 +36,51 @@ Page({
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'
},
wx.getStorage({
key: "logmessage",
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);
const userinfo = res.data.Authorization
wx.request({
url: url + '/project/query/id',
method: 'POST',
data: {
"id": id
},
header: {
'content-type': 'application/json',
'Authorization': userinfo
},
success(res) {
console.log('查询成功', res);
if(res.data.code==1){
const defalt = res.data.data
that.setData({
id:defalt.id,
projectDesc:defalt.projectDesc,
projectDescription:defalt.projectDescription,
projectFlow:defalt.projectFlow,
projectImage:defalt.projectImage,
projectName:defalt.projectName,
projectStatus:defalt.projectStatus,
settlementDesc:defalt.settlementDesc,
projectPrice:defalt.projectPrice,
promoCodeApplyVOList:defalt.promoCodeApplyVOList
})
console.log(that.data.promoCodeApplyVOList,'hhhhhh');
}
},
fail(err) {
console.error('请求失败', err);
}
});
}
});
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
back(){
wx.navigateBack({
delta: 1
})
}
})

View File

@ -23,81 +23,79 @@
<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>
<text class="font_3 text_7" bindtap="onSelect"
data-key="detail"
class="{{ selected === 'detail' ? 'active' : '' }}" >项目详情</text>
<view wx:if="{{selected=='detail'}}" class="self-start section_2" style="margin-top: 10rpx;"></view>
</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>
<text class="font_3 text_8"
bindtap="onSelect"
data-key="code"
class="{{ selected === 'code' ? 'active' : '' }}" >我的推广码</text>
<view wx:if="{{selected=='code'}}" class="self-start section_2" style="margin-top: 10rpx;"></view>
</view>
</view>
</view>
<view wx:if="{{selected=='detail'}}" class="flex-col mt-19">
<view class="flex-col group_6">
<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"
/>
<text class="self-start font_3 text_100 color" >结算说明:</text>
<view style="margin-top: 30rpx;">
<rich-text nodes="{{settlementDesc}}"></rich-text>
</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>
<text class="self-start font_3 text_12 color">项目说明:</text>
<rich-text style="margin-top: 30rpx;" nodes="{{projectDesc}}"></rich-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>
<text class="self-start font_3 text_15 color">项目流程:</text>
<rich-text style="margin-top: 30rpx;" nodes="{{projectFlow}}"></rich-text>
</view>
</view>
<view class="mt-18 flex-row">
<view class="flex-col justify-start items-center text-wrapper_2">
<view class="flex-col justify-start items-center text-wrapper_2" bind:tap="back">
<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>
<text class="font_5 text_17">申请推广码</text>
</view>
</view>
</view>
<!-- 无数据部分 -->
<view wx:if="{{selected == 'code' && promoCodeApplyVOList.length == 0}}" class="box">
<image class="imagesize" src="/image/4ec3ad48669184342e84e3641589c19b.png" mode="aspectFill"/>
<text>暂无数据</text>
</view>
<!-- 二维码部分 -->
<view class="mabox" wx:if="{{selected == 'code' && promoCodeApplyVOList.length > 0}}">
<view class="messagebox" wx:for="{{promoCodeApplyVOList}}">
<view class="title">
<text style="padding: 0 0 0 20px; color: #ffffff;">审核通过</text>
</view>
<view class="erweima">
<view class="zuobox">
<view style="padding: 10px;">
<text>{{item.salespersonName}}</text>
<text style="margin-left: 15rpx;">{{item.salespersonPhone}}</text>
</view>
<view style="padding: 10px;">
<text>任务名称:{{item.projectName}}</text>
</view>
<view class="jiexuan">
<view style="background-color: #FC7E09; width: 80px;display: flex;justify-content: center; align-items: center;">
<text style="color: #E33C64;">结算明细</text>
</view>
</view>
</view>
<view class="youbox">
<image class="imagesize1" src="{{item.projectImage}}" mode="aspectFill"/>
<text style="margin-top: 10rpx;">查看推广码</text>
</view>
</view>
</view>
</view>

View File

@ -155,6 +155,9 @@
margin-left: 34.62rpx;
line-height: 23.52rpx;
}
.text_100 {
line-height: 23.52rpx;
}
.font_4 {
font-size: 23.08rpx;
font-family: SourceHanSansCN;
@ -181,7 +184,7 @@
border-radius: 19.23rpx;
}
.text_12 {
margin-left: 38.46rpx;
margin-left: 0.46rpx;
}
.group_7 {
margin-top: 23.08rpx;
@ -199,7 +202,7 @@
border-radius: 30.81rpx;
}
.text_15 {
margin-left: 19.23rpx;
line-height: 22.88rpx;
}
.image_5 {
@ -236,4 +239,73 @@
}
.text_17 {
line-height: 28.37rpx;
}
.active {
color: #ff8d1a;
}
.box{
width: 100%;
height: 100%;
margin-top: 50rpx;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.imagesize{
width: 300px;
height: 300px;
}
.color{
color: #ff8d1a;
font-size: 16px;
}
.mabox{
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.messagebox{
width: 90%;
height: 200px;
border-radius: 20px;
border: 1px #a09d9d solid;
margin-top: 20rpx;
}
.title{
width: 100%;
height: 30%;
background-color: #ff8d1a;
border-radius: 20px 20px 0 0;
display: flex;
align-items: center;
}
.erweima{
width: 100%;
height: 70%;
display: flex;
}
.zuobox{
width: 60%;
height: 100%;
}
.jiexuan{
width: 100%;
height: 40px;
padding: 10px;
}
.youbox{
width: 40%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.imagesize1{
width: 100px;
height: 100px;
}

View File

@ -1,6 +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>
<image class="imagesize" src="/image/logo.png" mode="aspectFill"></image>
<text class="font text">欢迎登陆—青橙校园</text>
</view>
<view class="flex-col self-stretch group">

View File

@ -5,10 +5,11 @@
padding: 30.77rpx 42.31rpx 71.27rpx 44.23rpx;
background-color: #ffffff;
width: 100%;
overflow-y: auto;
overflow-y: hidden;
overflow-x: hidden;
height: 100%;
height: 100vh;
}
.text-wrapper {
background-size: 100% 100%;
background-repeat: no-repeat;
@ -37,7 +38,7 @@
line-height: 25.04rpx;
}
.text-wrapper_2 {
padding: 35.46rpx 0 37.73rpx;
padding: 25.46rpx 0 25.73rpx;
background-color: #ffffff;
box-shadow: 0rpx 3.85rpx 7.69rpx #00000040;
}
@ -55,7 +56,7 @@
}
.view {
margin-top: 40.38rpx;
padding: 37.38rpx 0 35.85rpx;
padding: 25.38rpx 0 25.85rpx;
background-color: #ffffff;
box-shadow: 0rpx 3.85rpx 7.69rpx #00000040;
}
@ -65,7 +66,7 @@
}
.section {
margin-top: 32.69rpx;
padding: 35.35rpx 27.79rpx 37.71rpx 35.75rpx;
padding: 27.35rpx 27.79rpx 27.71rpx 27.75rpx;
background-color: #ffffff;
box-shadow: 0rpx 3.85rpx 7.69rpx #00000040;
}
@ -78,7 +79,7 @@
}
.view_2 {
margin-top: 40.38rpx;
padding: 37.38rpx 0 35.87rpx;
padding: 27.38rpx 0 25.87rpx;
background-color: #ffffff;
box-shadow: 0rpx 3.85rpx 7.69rpx #00000040;
}
@ -88,7 +89,7 @@
}
.view_3 {
margin-top: 26.92rpx;
padding: 37.19rpx 0 35.77rpx;
padding: 27.19rpx 0 25.77rpx;
background-color: #ffffff;
box-shadow: 0rpx 3.85rpx 7.69rpx #00000040;
}
@ -143,4 +144,8 @@
.text_14 {
color: #ff5733;
line-height: 21.31rpx;
}
.imagesize{
width: 150px;
height: 150px;
}

View File

@ -17,12 +17,13 @@
"ignore": [],
"disablePlugins": [],
"outputPath": ""
}
},
"condition": false
},
"condition": {},
"editorSetting": {
"tabIndent": "auto",
"tabSize": 2
},
"appid": "wxc8a6a6a076b37247"
"appid": "wx3f968a09e31d6bed"
}

View File

@ -3,14 +3,15 @@
"projectname": "qingcheng",
"setting": {
"compileHotReLoad": true,
"urlCheck": false
"urlCheck": false,
"bigPackageSizeSupport": false
},
"condition": {
"miniprogram": {
"list": [
{
"name": "pages/xiangqing/xiangqing",
"pathName": "pages/logain/logain",
"pathName": "pages/wodejiedan/wodejiedan",
"query": "",
"launchMode": "default",
"scene": null

View File

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