解决了已知问题

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

@ -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;
}