更换版本

This commit is contained in:
2024-01-22 18:48:00 +08:00
parent 9f65ea8fd9
commit 00e6dcaec0
1158 changed files with 70609 additions and 51780 deletions

45
pages/mine/fensi/fensi.js Normal file
View File

@@ -0,0 +1,45 @@
var a;
(a = getApp()),
Page({
data: { page: 1, is_last: !1, list: [] },
onLoad: function (t) {
var e = this;
wx.setNavigationBarTitle({ title: "推广记录" }),
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "store.fans",
uid: wx.getStorageSync("uid"),
},
success: function (a) {
a.data.data && e.setData({ list: a.data.data });
},
});
},
onReachBottom: function () {
var t = this;
t.data.is_last ||
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "store.fans",
uid: wx.getStorageSync("uid"),
page: t.data.page + 1,
},
success: function (a) {
a.data.data ||
(t.setData({ is_last: !0 }),
wx.showToast({
title: "没有更多数据了",
icon: "success",
duration: 2e3,
}));
for (var e = t.data.list, s = 0; s < a.data.data.length; s++)
e.push(a.data.data[s]);
t.setData({ list: e, page: t.data.page + 1 });
},
});
},
});

View File

@@ -0,0 +1 @@
{ "usingComponents": {} }

View File

@@ -0,0 +1,14 @@
<view class="modle" wx:if="{{list.length>0}}" wx:for="{{list}}">
<image class="modle_img" src="{{item.head_image}}"></image>
<view class="modle_title">{{item.nickname}}</view>
<view class="modle_time">推广时间:{{item.create_time}}</view>
<navigator class="choose_view" url="/pages/store/index?uid={{item.uid}}">
<view class="modle_btn" data-id="{{item.uid}}">店铺</view>
</navigator>
</view>
<block wx:if="{{list.length<=0}}">
<import src="/pages/data_null/index.wxml"></import>
<view>
<template is="title" data="{{title:'暂无查看数据'}}"></template>
</view>
</block>

View File

@@ -0,0 +1,65 @@
.modle {
border-bottom: 1rpx solid #f9f9f9;
height: 100rpx;
margin-left: 5%;
padding-bottom: 30rpx;
padding-top: 30rpx;
width: 90%;
}
.modle_img {
border-radius: 100%;
float: left;
height: 100rpx;
width: 100rpx;
}
.modle_title {
color: #333;
font-size: 30rpx;
margin-top: 12rpx;
}
.modle_time,
.modle_title {
float: left;
margin-left: 23rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 50%;
word-break: keep-all;
}
.modle_time {
color: #7a7a7a;
font-size: 24rpx;
margin-top: 10rpx;
}
.modle_btn {
background: #3d61f0;
background: rgba(251, 145, 69, 0.05);
border: 1px solid #fb9145;
border-radius: 100rpx;
color: #fb9145;
font-size: 24rpx;
margin-top: -34rpx;
width: 150rpx;
}
.modle_btn,
.modle_btn_no {
float: right;
height: 54rpx;
line-height: 54rpx;
text-align: center;
}
.modle_btn_no {
background: #d0d0d0;
border-radius: 10rpx;
color: #fff;
font-size: 28rpx;
margin-top: 25rpx;
width: 100rpx;
}
.choose_view_modle_img {
height: 40rpx;
margin-top: -5rpx;
vertical-align: middle;
width: 40rpx;
}