a
doum
18 小时以前 307960b07d8cb122d9de0c8267b8cb7a63cfc605
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
<template>
    <view class="share">
        <view class="head" :style="{ height: 'calc(' + (navHeight + statusbarHeight + 'px)') }">
            <view class="head-bar" :style="{ height: navHeight + statusbarHeight + 'px' }">
                <view :style="{ width: '100%', height: statusbarHeight + 'px' }"></view>
                <view class="head-bar-nav" :style="{ height: navHeight + 'px' }">
                    <image src="/static/icon/nav_ic_back@2x.png" mode="widthFix"></image>
                    <text>分享</text>
                </view>
            </view>
        </view>
        <view class="image" :style="{ backgroundImage: 'url(' + backgroundImge + ')', top: -navHeight + 'px' }"></view>
        <view class="list">
            <view class="list-item">
                <view class="list-item-list">
                    <view class="list-item-list-item">
                        <image src="/static/icon/yaoqing_ic_a@2x.png" mode="widthFix"></image>
                        <text>邀请好友</text>
                    </view>
                    <image class="list-item-list-next" src="/static/icon/yaoqing_ic_ar@2x.png" mode="widthFix"></image>
                    <view class="list-item-list-item">
                        <image src="/static/icon/yaoqing_ic_b@2x.png" mode="widthFix"></image>
                        <text>好友首次登录获积分</text>
                    </view>
                    <image class="list-item-list-next" src="/static/icon/yaoqing_ic_ar@2x.png" mode="widthFix"></image>
                    <view class="list-item-list-item">
                        <image src="/static/icon/yaoqing_ic_c@2x.png" mode="widthFix"></image>
                        <text>完成首单获优惠券</text>
                    </view>
                </view>
                <view class="list-item-btn">立即邀请</view>
                <view class="list-item-tips">成功邀请好友可享任务好礼</view>
            </view>
            <view class="list-item" style="margin-bottom: 40rpx;">
                <view class="list-item-cate">
                    <view class="list-item-cate-item">
                        <text>已成功邀请(人)</text>
                        <text>5</text>
                    </view>
                    <view class="list-item-cate-item">
                        <text>积分奖励</text>
                        <text>1000</text>
                    </view>
                    <view class="list-item-cate-item">
                        <text>优惠券奖励</text>
                        <text>查看</text>
                    </view>
                </view>
            </view>
            <view class="list-item" style="padding-top: 50rpx; box-sizing: border-box;">
                <view class="list-item-top">
                    <image src="/static/images/yaoqing_title@2x.png" mode="widthFix"></image>
                </view>
                <view class="list-item-row" v-for="(item, index) in 10" :key="index">
                    <view class="user">
                        <view class="user-image">
                            <image src="/static/logo.png" mode="widthFix"></image>
                        </view>
                        <view class="user-info">
                            <text>黄轩平</text>
                            <text>2025-11-21 19:12:32</text>
                        </view>
                    </view>
                    <view class="statis">完成首单</view>
                </view>
            </view>
        </view>
    </view>
</template>
 
<script>
    import { mapState } from 'vuex'
    export default {
        computed: {
            ...mapState(['navHeight', 'statusbarHeight'])
        },
        data() {
            return {
                backgroundImge: require('@/static/images/fenxiang_ic@2x.png')
            }
        }
    }
</script>
 
<style lang="scss" scoped>
    .share {
        width: 100%;
        background: linear-gradient( 180deg, #FE6D27 0%, #B11F00 100%);
        .head {
            width: 100%;
            height: 424rpx;
            padding: 0 30rpx;
            position: sticky;
            top: 0;
            left: 0;
            z-index: 999;
            box-sizing: border-box;
            position: sticky;
            top: 0;
            left: 0;
            z-index: 999;
            .head-bar {
                width: 100%;
        
                .head-bar-nav {
                    width: 100%;
                    display: flex;
                    align-items: center;
                    image {
                        width: 44rpx;
                        height: 44rpx;
                    }
                    text {
                        font-weight: 500;
                        font-size: 32rpx;
                        color: #FFFFFF;
                    }
                }
            }
        }
        .image {
            width: 100%;
            height: 674rpx;
            background-repeat: no-repeat;
            background-size: 100% 100%;
            position: relative;
            left: 0;
        }
        .list {
            width: 100%;
            padding: 0 30rpx;
            box-sizing: border-box;
            position: relative;
            top: -210rpx;
            left: 0;
            .list-item {
                width: 100%;
                padding: 30rpx 0;
                box-sizing: border-box;
                background: #FFFFFF;
                border-radius: 20rpx;
                margin-bottom: 20rpx;
                position: relative;
                &:last-child {
                    margin: 0 !important;
                }
                .list-item-top {
                    width: 354rpx;
                    height: 72rpx;
                    position: absolute;
                    top: -24rpx;
                    left: 50%;
                    z-index: 999;
                    transform: translate(-50%, 0);
                    image {
                        width: 100%;
                        height: 100%;
                    }
                }
                .list-item-row {
                    width: 100%;
                    padding: 30rpx 32rpx;
                    box-sizing: border-box;
                    border-bottom: 1rpx solid #E5E5E5;
                    display: flex;
                    align-items: center;
                    .user {
                        flex: 1;
                        display: flex;
                        align-items: center;
                        .user-image {
                            width: 80rpx;
                            height: 80rpx;
                            border-radius: 50%;
                            overflow: hidden;
                            margin-right: 16rpx;
                            image {
                                width: 100%;
                            }
                        }
                        .user-info {
                            height: 80rpx;
                            display: flex;
                            flex-direction: column;
                            justify-content: space-between;
                            text {
                                &:nth-child(1) {
                                    font-weight: 600;
                                    font-size: 30rpx;
                                    color: #333333;
                                }
                                &:nth-child(2) {
                                    font-weight: 400;
                                    font-size: 24rpx;
                                    color: #999999;
                                }
                            }
                        }
                    }
                    .statis {
                        font-weight: 400;
                        font-size: 26rpx;
                        color: #E4001D;
                    }
                }
                .list-item-cate {
                    width: 100%;
                    display: flex;
                    align-items: center;
                    .list-item-cate-item {
                        flex: 1;
                        height: 98rpx;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        justify-content: space-between;
                        border-right: 1rpx solid #EEEEEE;
                        &:last-child {
                            border: none;
                        }
                        text {
                            &:nth-child(1) {
                                font-weight: 400;
                                font-size: 24rpx;
                                color: #333333;
                            }
                            &:nth-child(2) {
                                font-weight: 600;
                                font-size: 34rpx;
                                color: #E4001D;
                            }
                        }
                    }
                }
                .list-item-list {
                    width: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    .list-item-list-item {
                        flex: 1;
                        display: flex;
                        flex-direction: column;
                        justify-content: center;
                        align-items: center;
                        image {
                            width: 88rpx;
                            height: 88rpx;
                        }
                        text {
                            font-weight: 400;
                            font-size: 24rpx;
                            color: #333333;
                            margin-top: 10rpx;
                        }
                    }
                    .list-item-list-next {
                        flex-shrink: 0;
                        width: 14rpx;
                        height: 16rpx;
                    }
                }
                .list-item-btn {
                    width: 594rpx;
                    height: 80rpx;
                    line-height: 80rpx;
                    text-align: center;
                    background: linear-gradient( 90deg, #FF2E0F 0%, #FF6241 100%);
                    box-shadow: 0rpx 4rpx 16rpx 0rpx rgba(255,63,35,0.36);
                    border-radius: 44rpx;
                    font-weight: 600;
                    font-size: 32rpx;
                    color: #FFFFFF;
                    margin: 0 auto;
                    margin-top: 36rpx;
                }
                .list-item-tips {
                    width: 100%;
                    text-align: center;
                    margin-top: 32rpx;
                    font-weight: 400;
                    font-size: 24rpx;
                    color: #666666;
                }
            }
        }
    }
</style>