企业信息

This commit is contained in:
zdx
2020-12-31 16:10:36 +08:00
parent 3855eb456f
commit f9f71e1c19
75 changed files with 425 additions and 357 deletions

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
const style = {
codeContent: {
backgroundColor: 'white',
@@ -63,7 +67,7 @@ Page({
code: "", //二维码
company: {}, //公司信息
user: {}, //用户信息,
name:'',//用户名
name: '', //用户名
},
/**
@@ -79,7 +83,7 @@ Page({
user: {
job: res.job,
cover: res.cover,
name:options.name
name: options.name
},
company: {
name: res.company,
@@ -115,7 +119,7 @@ Page({
}).then(() => {
this.codeimg.canvasToTempFilePath().then(res => {
console.log(res);
if (res.tempFilePath) {
wx.hideLoading()
this.dowQrCodeImg(res.tempFilePath)

View File

@@ -1,11 +1,15 @@
.codeImg{
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
.codeImg {
position: fixed;
left: -100%;
top: -100%;
}
/* 展示图片 */
.code-content{
.code-content {
margin: 30rpx;
padding: 60rpx 30rpx;
background: white;
@@ -14,12 +18,12 @@
text-align: center;
}
.code-nickname{
.code-nickname {
font-size: 50rpx;
padding-bottom: 20rpx;
}
.code-text{
.code-text {
border-top: dashed 1rpx #ddd;
padding-top: 30rpx;
color: gray;
@@ -27,34 +31,34 @@
font-size: 26rpx;
}
.code-img{
.code-img {
padding: 70rpx 0;
}
.code-img-src{
.code-img-src {
width: 300rpx;
height: 300rpx;
background: #eee;
vertical-align: top;
}
.code-logo-src{
.code-logo-src {
background: #eee;
width: 98rpx;
height: 98rpx;
}
.code-company{
.code-company {
padding-top: 20rpx;
}
/* 操作按钮 */
.code-btns{
.code-btns {
padding: 0 15rpx 50rpx 15rpx;
display: flex;
}
.code-btn[size="default"]{
.code-btn[size="default"] {
background: #ddd;
width: 100%;
line-height: 90rpx;
@@ -67,7 +71,6 @@
background: #ff8c37;
}
.code-btn[size="default"]:last-child{
.code-btn[size="default"]:last-child {
background: #378fff;
}
}