|
|
@@ -1,9 +1,39 @@
|
|
|
<template>
|
|
|
<view class="content">
|
|
|
- <image class="logo" src="/static/logo.png"></image>
|
|
|
- <view class="text-area">
|
|
|
- <text class="title">{{title}}</text>
|
|
|
+ <image class="logo" src="/static/post-bg.png"></image>
|
|
|
+ <view class="share-box">
|
|
|
+ <view>分销商分享给好友,好友购买产品成功后即可获</view>
|
|
|
+ <view>得分享奖励</view>
|
|
|
+ <view>单笔最高可赚¥200.00</view>
|
|
|
+ <view>快去分享吧</view>
|
|
|
+ <button type="default">分享</button>
|
|
|
</view>
|
|
|
+
|
|
|
+ <view class="share-box" style="height: 200upx;margin-top: 2%;">
|
|
|
+ <view>长按复制框内整段文字,打开 [手淘] 即可购买</view>
|
|
|
+ <view>¥kSfsDfrtrEjt¥</view>
|
|
|
+ <button type="default">一键复制</button>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view class="product-title">推荐产品</view>
|
|
|
+
|
|
|
+ <view class="recommend-box">
|
|
|
+ <view class="product-box">
|
|
|
+ <image src="/static/bed-bg.png"></image>
|
|
|
+ <view class="detail-box">
|
|
|
+ <view>甜蜜瑞士系列床垫 卧室独立袋弹簧 护脊静音软硬适…</view>
|
|
|
+ <view style="color: #999;">¥11999</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="product-box">
|
|
|
+ <image src="/static/bed2-bg.png"></image>
|
|
|
+ <view class="detail-box">
|
|
|
+ <view>甜蜜瑞士系列床垫 卧室独立袋弹簧 护脊静音软硬适…</view>
|
|
|
+ <view style="color: #999;">¥13999</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
@@ -32,21 +62,67 @@
|
|
|
}
|
|
|
|
|
|
.logo {
|
|
|
- height: 200upx;
|
|
|
- width: 200upx;
|
|
|
- margin-top: 200upx;
|
|
|
- margin-left: auto;
|
|
|
- margin-right: auto;
|
|
|
- margin-bottom: 50upx;
|
|
|
+ height: 400px;
|
|
|
+ width: 100%;
|
|
|
+ margin-bottom: 30upx;
|
|
|
}
|
|
|
|
|
|
- .text-area {
|
|
|
+ .share-box {
|
|
|
display: flex;
|
|
|
+ flex-direction: column;
|
|
|
justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ width: 80%;
|
|
|
+ height: 300upx;
|
|
|
+ border: 1px dashed red;
|
|
|
+ background: #fff;
|
|
|
+ font-size: 28rpx;
|
|
|
+ padding: 5px;
|
|
|
+ }
|
|
|
+ .share-box button {
|
|
|
+ width: 300rpx;
|
|
|
+ height: 70rpx;
|
|
|
+ line-height: 70rpx;
|
|
|
+ margin-top: 2%;
|
|
|
+ background-color: #27BCEF;
|
|
|
+ color: #fff;
|
|
|
}
|
|
|
|
|
|
.title {
|
|
|
font-size: 36upx;
|
|
|
color: #8f8f94;
|
|
|
}
|
|
|
+ .product-title {
|
|
|
+ margin-left: -75%;
|
|
|
+ margin-top: 5%;
|
|
|
+ margin-bottom: 1%;
|
|
|
+ }
|
|
|
+ .recommend-box {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
+ .product-box {
|
|
|
+ width: 90%;
|
|
|
+ height: 200rpx;
|
|
|
+ padding: 20rpx;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ background-color: #fff;
|
|
|
+ border-radius:10px;
|
|
|
+ margin-bottom: 2%;
|
|
|
+ }
|
|
|
+ .product-box image {
|
|
|
+ width: 420rpx;
|
|
|
+ height: 180rpx;
|
|
|
+ margin-right: 5%;
|
|
|
+ }
|
|
|
+ .detail-box {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: space-between;
|
|
|
+ font-size: 30rpx;
|
|
|
+ height: 190rpx;
|
|
|
+ }
|
|
|
</style>
|