Commit ae8ce5cf by 前端

增加分享功能

1 parent 6ffc3ea1
......@@ -8,13 +8,16 @@
box-shadow: inset 0 2rpx 0 0 #F2F3F7;
padding: 16rpx 48rpx;
filter: blur(0);
.home-btn {
width: 100%;
}
.video-btn {
display: flex;
flex: 1;
}
.phoneNumber {
width: 100%;
color: #fff;
......@@ -22,10 +25,11 @@
font-weight: 500;
font-size: 32rpx;
color: #FFFFFF;
letter-spacing: 0;
letter-spacing: 0;
height: 72rpx;
line-height: 72rpx;
}
.forward-box {
width: 136rpx;
padding: 4rpx 44rpx;
......@@ -33,20 +37,23 @@
text-align: center;
margin-right: 40rpx;
margin-top: -16rpx;
box-shadow: 8rpx 0 16rpx 0 rgba(202,211,230,0.30);
box-shadow: 8rpx 0 16rpx 0 rgba(202, 211, 230, 0.30);
.forward-text {
line-height: 32rpx;
}
.icon-forward {
width: 48rpx;
height: 48rpx;
}
}
button{
button {
margin: 0;
line-height: 88rpx;
}
// 了解更多的样式
.phone-number {
display: flex;
......@@ -61,44 +68,69 @@
background-image: linear-gradient(180deg, #4791FF 0%, #5850FF 100%, #643DFF 100%);
border-radius: 8rpx;
line-height: 72rpx;
.icon-arrow {
width: 32rpx;
height: 32rpx;
}
.icon-arrow:first-child {
margin-right: 48rpx;
}
.icon-arrow:last-child {
margin-left: 48rpx;
}
}
.video-box {
display: inline-flex;
margin-right: 20rpx;
.btn-item {
width: 100rpx;
text-align: center;
.btn-text {
font-weight: 500;
font-size: 20rpx;
color: #5A6066;
}
}
.icon-forward {
width: 40rpx;
height: 40rpx;
}
.phoneNumber {
}
.phoneNumber {}
}
}
// .isFullSucreen {
// width: 100%;
// }
.product_full{
flex:1;
.product_full {
flex: 1;
display: flex;
align-items: center;
}
.forward_box {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 0 !important;
margin: 0;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 10px;
color: #6E6E7A;
background: #fff;
box-shadow: 4px 0 8px 0 rgba(202, 211, 230, 0.30);
.icon-forward {
flex-shrink: 0;
}
}
\ No newline at end of file
......@@ -7,10 +7,10 @@
</view>
<view wx:if="{{type == 'product'}}" class="isFullSucreen product_full">
<block wx:if="{{hasPhone}}">
<view class="forward-box">
<button class="forward-box forward_box" open-type="share">
<image class="icon-forward" webp src="{{IMGURL}}home/icon-forward.png"></image>
<view class="forward-text" bindtap="forward">转发</view>
</view>
</button>
<button class="phoneNumber" bindtap="jump">申请合作</button>
</block>
<block wx:else>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!