Commit 1333a55f by 李伟康

修改加微样式

1 parent e9622412
......@@ -35,7 +35,7 @@ Page({
// 6
// )
}
this.getServiceCode()
},
longtap() {
let {
......@@ -96,7 +96,9 @@ Page({
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {},
onShow: function () {
this.getServiceCode()
},
/**
* 生命周期函数--监听页面隐藏
......
<view class="layout">
<view class="view-bg">
<glsx-image src="home/service/bg.png"></glsx-image>
</view>
<view class="box">
<view class="bg">
<glsx-image src="home/service/box-bg.png"></glsx-image>
......
/* pages/serviceCode/serviceCode.wxss */
.layout {
height: 1443rpx;
&::after{
// &::after{
// position: fixed;
// width: 100vw;
// height: 100%;
// left: 0;
// top: 0;
// background-color: rgb(186,9,16);
// content: '';
// z-index: -10;
// }
.view-bg {
position: fixed;
width: 100vw;
height: 100%;
left: 0;
top: 0;
background-color: rgb(186,9,16);
content: '';
width: 882rpx;
height: 1761rpx;
top: -61rpx;
left: -52rpx;
z-index: -10;
}
.box{
.box {
margin: 0 50rpx;
height: 1276rpx;
position: relative;
.bg{
.bg {
width: 100%;
height: 100%;
position: absolute;
......@@ -23,71 +34,82 @@
left: 0;
top: 0;
}
.icon{
.icon {
position: absolute;
left: 46rpx;
top: 78rpx;
width: 80rpx;
height: 80rpx;
}
.name{
.name {
position: absolute;
top: 107rpx;
left: 139rpx;
width: 191rpx;
height: 24rpx;
}
.title{
.title {
position: absolute;
top: 204rpx;
width: 438rpx;
height: 54rpx;
}
.sub-title{
.sub-title {
position: absolute;
top: 290rpx;
width: 424rpx;
height: 117rpx;
}
.line{
.line {
position: absolute;
width: 339rpx;
height: 3rpx;
top: 486rpx;
}
.receive{
.receive {
position: absolute;
width: 121rpx;
height: 29rpx;
top: 473rpx;
}
.qr-box{
.qr-box {
position: absolute;
top: 526rpx;
width: 312rpx;
height: 312rpx;
.wx-tips{
.wx-tips {
position: absolute;
left: 59rpx;
bottom: 16rpx;
width: 206rpx;
height: 22rpx;
}
.qr{
.qr {
position: absolute;
width: 230rpx;
height: 230rpx;
top: 33rpx;
}
}
.qr-bg{
.qr-bg {
position: absolute;
top: 559rpx;
width: 559rpx;
height: 235rpx;
z-index: -1;
}
.tips{
.tips {
position: absolute;
right: 0;
bottom: -34rpx;
......
<view class="layout">
<view class="view-bg">
<glsx-image src="home/service/bg.png"></glsx-image>
</view>
<view class="box">
<view class="bg">
<glsx-image src="home/service/box-bg.png"></glsx-image>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!