rk
2026-03-11 0e4b49f4bee160790b1830e6a8606e739b32fc3b
mini-program/pages/share/share.vue
@@ -51,8 +51,9 @@
               </view>
            </view>
         </view>
         <view class="list-item" style="padding-top: 50rpx; box-sizing: border-box;" v-if="info.inviteRecordList && info.inviteRecordList.length">
         <view class="list-item" style="padding-top: 50rpx; box-sizing: border-box;">
            <view class="list-item-top">
               <text>邀请记录</text>
               <image src="/static/images/yaoqing_title@2x.png" mode="widthFix"></image>
            </view>
            <template v-if="info.inviteRecordList && info.inviteRecordList.length">
@@ -70,6 +71,7 @@
                  <view class="statis"  v-if="item.firstOrderStatus !==1" >已注册</view>
               </view>
            </template>
            <view class="list-item-wu" v-else>空空如也,快去邀请吧</view>
         </view>
      </view>
   </view>
@@ -82,7 +84,7 @@
      },
      data() {
         return {
            backgroundImge: null,
            backgroundImge: '',
            info:{}
         }
      },
@@ -99,11 +101,14 @@
         return { 
            title: '鼎元农机商城-邀请好友',
            path:path,
            imageUrl: "/static/images/share.jpg"
            imageUrl: uni.getStorageSync('backgroundImage').centerInviteBg
         }
      },
      onLoad(){
          this.getBase64Img('/static/images/fenxiang_ic@2x.png')
         if (uni.getStorageSync('backgroundImage')) {
            this.backgroundImge = uni.getStorageSync('backgroundImage').userInviteBg
         }
          // this.getBase64Img('/static/images/fenxiang_ic@2x.png')
      },
      methods:{
         async  getDataList(){
@@ -148,6 +153,7 @@
<style lang="scss" scoped>
   .share {
      min-height: 100vh;
      .info-rule{
         width: 30rpx;
         background: rgba(0,0,0,0.4);
@@ -213,7 +219,7 @@
         padding: 0 30rpx;
         box-sizing: border-box;
         position: relative;
         top: -210rpx;
         top: -248rpx;
         left: 0;
         .list-item {
            width: 100%;
@@ -226,6 +232,14 @@
            &:last-child {
               margin: 0 !important;
            }
            .list-item-wu {
               width: 100%;
               text-align: center;
               font-weight: 400;
               font-size: 30rpx;
               color: #999999;
               margin: 50rpx 0;
            }
            .list-item-top {
               width: 354rpx;
               height: 72rpx;
@@ -238,6 +252,16 @@
                  width: 100%;
                  height: 100%;
               }
               text {
                  font-weight: 600;
                  font-size: 30rpx;
                  color: #FFFFFF;
                  position: absolute;
                  top: 20rpx;
                  left: 50%;
                  z-index: 999;
                  transform: translate(-50%, 0);
               }
            }
            .list-item-row {
               width: 100%;