解决已知问题
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
// pages/tuiguangma/tuiguangma.js
|
import {url} from '../../request'
|
||||||
Page({
|
Page({
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -26,6 +26,33 @@ Page({
|
|||||||
* 生命周期函数--监听页面显示
|
* 生命周期函数--监听页面显示
|
||||||
*/
|
*/
|
||||||
onShow() {
|
onShow() {
|
||||||
|
const that = this
|
||||||
|
wx.getStorage({
|
||||||
|
key: "logmessage",
|
||||||
|
success(res) {
|
||||||
|
const userinfo = res.data.Authorization
|
||||||
|
wx.request({
|
||||||
|
url: url + '/userInfo/get/main/jwt',
|
||||||
|
method: 'GET',
|
||||||
|
data: {
|
||||||
|
|
||||||
|
},
|
||||||
|
header: {
|
||||||
|
'content-type': 'application/json',
|
||||||
|
'Authorization': userinfo
|
||||||
|
},
|
||||||
|
success(res) {
|
||||||
|
console.log('查询成功', res);
|
||||||
|
that.setData({
|
||||||
|
picture:res.data.inviteQrCode
|
||||||
|
})
|
||||||
|
},
|
||||||
|
fail(err) {
|
||||||
|
console.error('请求失败', err);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
})
|
||||||
console.log("页面展示 onShow");
|
console.log("页面展示 onShow");
|
||||||
try {
|
try {
|
||||||
const userInfo = wx.getStorageSync('usermessage');
|
const userInfo = wx.getStorageSync('usermessage');
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding-bottom: 200rpx;
|
padding-bottom: 200rpx;
|
||||||
|
background-image: url(https://th.bing.com/th/id/R.6bc30bd02cad5fed25b0b3c3b62a3d24?rik=GBt%2fhbcBgs9Zaw&riu=http%3a%2f%2fpic.616pic.com%2fbg_w1180%2f00%2f00%2f25%2f31Nz2xXsep.jpg!%2ffw%2f880&ehk=iS08XthP%2f40q7lSY3C2FPfJhzClUjjs84SZyLN9Ca3Q%3d&risl=&pid=ImgRaw&r=0);
|
||||||
}
|
}
|
||||||
.shangmian{
|
.shangmian{
|
||||||
width: 260px;
|
width: 260px;
|
||||||
|
@ -54,22 +54,22 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="erweima">
|
<view class="erweima">
|
||||||
<view class="zuobox">
|
<view class="zuobox">
|
||||||
<view style="padding: 10px;">
|
<view style="padding: 5px 0 0 10px;">
|
||||||
<text>{{item.salespersonName}}</text>
|
<text style="font-size: 14px;">{{item.salespersonName}}</text>
|
||||||
<text style="margin-left: 15rpx;">{{item.salespersonPhone}}</text>
|
<text style="margin-left: 15rpx;font-size: 15px;">{{item.salespersonPhone}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view style="padding: 10px;">
|
<view style="padding: 5px 0 0 10px;">
|
||||||
<text>任务名称:{{item.projectName}}</text>
|
<text style="font-size: 12px;color: #a5a5a5;">任务名称:{{item.projectName}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="jiexuan">
|
<view class="jiexuan">
|
||||||
<view style="background-color: #FC7E09; width: 80px;display: flex;justify-content: center; align-items: center;">
|
<view style="border-radius: 8rpx; background-color: #f7c79b; width: 80px;display: flex;justify-content: center; align-items: center;margin-top: 10rpx;">
|
||||||
<text style="color: #E33C64;">结算明细</text>
|
<text style="color: #f02453;font-size: 13px;padding: 5rpx;">结算明细</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="youbox" bind:tap="xianshi">
|
<view class="youbox" bind:tap="xianshi">
|
||||||
<image class="imagesize1" src="{{item.projectImage}}" mode="aspectFill"/>
|
<image class="imagesize1" src="{{item.projectImage}}" mode="aspectFill"/>
|
||||||
<text style="margin-top: 10rpx;">查看推广码</text>
|
<text style="margin-top: 10rpx;font-size: 12px; color: #a5a5a5;">查看推广码</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -23,10 +23,10 @@
|
|||||||
}
|
}
|
||||||
.mabox{
|
.mabox{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
padding-bottom: 100px;
|
||||||
}
|
}
|
||||||
.xinxibox{
|
.xinxibox{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -106,23 +106,24 @@
|
|||||||
}
|
}
|
||||||
.messagebox{
|
.messagebox{
|
||||||
width: 90%;
|
width: 90%;
|
||||||
height: 200px;
|
height: 150px;
|
||||||
border-radius: 20px;
|
border-radius: 10px;
|
||||||
border: 1px #a09d9d solid;
|
margin-top: 30rpx;
|
||||||
margin-top: 20rpx;
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
.title{
|
.title{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 30%;
|
height: 20%;
|
||||||
background-color: #ff8d1a;
|
background-color: #ff8d1a;
|
||||||
border-radius: 20px 20px 0 0;
|
border-radius: 20rpx 20rpx 0 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
.erweima{
|
.erweima{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 70%;
|
height: 80%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
border-radius: 0 0 10rpx 0;
|
||||||
}
|
}
|
||||||
.zuobox{
|
.zuobox{
|
||||||
width: 60%;
|
width: 60%;
|
||||||
@ -142,8 +143,8 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
.imagesize1{
|
.imagesize1{
|
||||||
width: 100px;
|
width: 50px;
|
||||||
height: 100px;
|
height: 50px;
|
||||||
}
|
}
|
||||||
.renwuma{
|
.renwuma{
|
||||||
width: 90%;
|
width: 90%;
|
||||||
@ -157,7 +158,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
position: absolute;
|
position: fixed;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
background-color: rgba(138, 135, 135, 0.5);
|
background-color: rgba(138, 135, 135, 0.5);
|
||||||
}
|
}
|
||||||
@ -170,6 +171,7 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
border-radius: 10rpx 10rpx 0 0 ;
|
||||||
}
|
}
|
||||||
.imagebox{
|
.imagebox{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -191,6 +193,7 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
|
border-radius: 0rpx 0rpx 10rpx 10rpx ;
|
||||||
}
|
}
|
||||||
.copy{
|
.copy{
|
||||||
width: 180px;
|
width: 180px;
|
||||||
|
Reference in New Issue
Block a user