Commit c2805ef0 authored by ly's avatar ly

数据

parent c775a69b
No preview for this file type
.i-page{
width: 100%;
height: 100vh;
min-height: 1624rpx;
background: #F7FAFF;
.i-header{
position: sticky;
top:0;
z-index:9988;
padding-top:98rpx;
width: 100%;
height: 88rpx;
background: #FFFFFF;
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 36rpx;
color: #333333;
line-height: 88rpx;
text-align: center;
font-style: normal;
}
.i-boxs{
.i-banner{
margin: 20rpx 22rpx 32rpx;
width: 706rpx;
height: 359rpx;
.swiper-item-i{
width: 706rpx;
height: 359rpx;
.banner-item{
width: 706rpx;
height: 359rpx;
background-size: 690rpx 359rpx;
}
}
}
.i-list{
margin: 0 50rpx;
display: flex;
flex-wrap: wrap;
.mian-item{
margin-right: 67rpx;
.item-img{
margin: 0 16rpx;
width: 80rpx;
height: 80rpx;
background-size: 100%;
}
.item-text{
height: 40rpx;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 28rpx;
color: #333333;
line-height: 40rpx;
text-align: center;
font-style: normal;
}
}
.mian-item:nth-of-type(4n){
margin-right:0;
}
}
.i-malll{
.hot-tab{
margin:50rpx 36rpx 16rpx;
height: 86rpx;
display: flex;
align-items: center;
font-size: 28rpx;
line-height: 40rpx;
.hot-header-text{
width: 160rpx;
display: flex;
// flex:1;
font-family: PingFangSC-Regular, PingFang SC;
color: #999999;
text-align: center;
.hot-ative{
position: relative;
z-index: 1;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
font-size: 30rpx;
color: #333333;
}
.hot-ative::after{
content: '';
position: absolute;
top:30%;
left: 0;
width: 100%;
height: 6px; /* 背景色的高度 */
background-color: #CDE0FE; /* 背景色 */
z-index: -1
}
.hot-icon-show{
margin-top:10rpx;
margin-left: 10rpx;
width: 22rpx;
height: 22rpx;
background: url('https://ddh.yyhock.com/ddhMall/hot-active-show.png') 0 0 no-repeat;
background-size: 100%;
}
.hot-icon-show-down{
margin-top:10rpx;
margin-left: 10rpx;
width: 22rpx;
height: 22rpx;
background: url('https://ddh.yyhock.com/ddhMall/hot-active-show-down.png') 0 0 no-repeat;
background-size: 100%;
}
}
.hot-icon{
margin-top:36rpx;
margin-left: 10rpx;
width: 22rpx;
height: 22rpx;
background: url('https://ddh.yyhock.com/ddhMall/hot-active.png') 0 0 no-repeat;
background-size: 100%;
}
.hot-show{
// flex:1;
width: 160rpx;
display: flex;
color:#999999;
line-height:90rpx;
text-align: center;
}
}
.hot-fixed-show{
position: sticky;
top:0;
left: 0;
width: 100%;
z-index: 99;
height: 86rpx;
background:#FFFFFF;
font-size: 28rpx;
line-height: 40rpx;
margin-bottom: 220rpx;
.hot-text{
padding-top:108rpx;
width: 100%;
height:98rpx;
background: #FFFFFF;
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 36rpx;
color: #333333;
line-height: 50rpx;
text-align: center;
font-style: normal;
}
.hot-tab-fixed{
height: 86rpx;
display: flex;
align-items: center;
background:#FFFFFF;
font-size: 28rpx;
line-height: 40rpx;
.hot-text{
width: 100%;
height:98rpx;
background: #FFFFFF;
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 36rpx;
color: #333333;
line-height: 50rpx;
text-align: center;
font-style: normal;
}
.hot-header-text{
margin-left:30rpx;
width: 160rpx;
display: flex;
font-family: PingFangSC-Regular, PingFang SC;
color: #999999;
text-align: center;
.hot-ative{
position: relative;
z-index: 1;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
font-size: 30rpx;
color: #333333;
}
.hot-ative::after{
content: '';
position: absolute;
top:30%;
left: 0;
width: 100%;
height: 6px; /* 背景色的高度 */
background-color: #CDE0FE; /* 背景色 */
z-index: -1
}
.hot-icon-show{
margin-top:10rpx;
margin-left: 10rpx;
width: 22rpx;
height: 22rpx;
background: url('https://ddh.yyhock.com/ddhMall/hot-active-show.png') 0 0 no-repeat;
background-size: 100%;
}
.hot-icon-show-down{
margin-top:10rpx;
margin-left: 10rpx;
width: 22rpx;
height: 22rpx;
background: url('https://ddh.yyhock.com/ddhMall/hot-active-show-down.png') 0 0 no-repeat;
background-size: 100%;
}
}
.hot-icon{
margin-top:36rpx;
margin-left: 10rpx;
width: 22rpx;
height: 22rpx;
background: url('https://ddh.yyhock.com/ddhMall/hot-active.png') 0 0 no-repeat;
background-size: 100%;
}
.hot-show{
margin-left:36rpx;
width: 160rpx;
display: flex;
color:#999999;
line-height:90rpx;
text-align: center;
}
}
}
.box-at-home{
// height: 880rpx;
.main-box{
display:flex;
flex-wrap: wrap;
align-items: center;
margin:0 30rpx;
.box-item{
margin-bottom:24rpx;
width: 333rpx;
height: 426rpx;
background: #FFFFFF;
box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(232,232,232,0.49);
border-radius: 10rpx;
.item-top{
display: flex;
width: 333rpx;
height: 272rpx;
position: relative;
.top-img{
width: 333rpx;
height: 272rpx;
background-size: 333rpx 272rpx;
border-radius: 10rpx;
}
.top-icon{
position: absolute;
// position: sticky;
top:0;
// right:0;
margin-left: 215rpx;
// z-index:99;
display: inline-block;
width:118rpx;
height: 110rpx;
background: url('https://ddh.yyhock.com/ddhMall/goods-sale.png') 0 0 no-repeat;
background-size:118rpx 110rpx ;
}
}
.item-footer{
padding: 9rpx 16rpx 21rpx 0rpx;
.footer-des{
width: 160rpx;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 26rpx;
color: #333333;
line-height: 37rpx;
text-align: left;
font-style: normal;
white-space: nowrap; /* 确保文本在一行内显示 */
overflow: hidden; /* 隐藏超出容器的内容 */
text-overflow: ellipsis; /* 使用省略号表示被截断的文本 */
word-break: break-all; /* 允许在单词内换行 */
}
.footer-box{
display: flex;
margin:9rpx 0 16rpx;
.box-num{
display: flex;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 28rpx;
color: #FC4D3E;
line-height: 28rpx;
text-align: left;
font-style: normal;
.num-icon{
margin-top:4rpx;
font-size: 20rpx;
}
}
}
.footer-line{
display: flex;
align-items: center;
justify-content: space-between;
.box-btn{
width: 76rpx;
height: 38rpx;
border-radius: 5rpx;
border: 1rpx solid #2263E6;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 20rpx;
color: #2263E6;
line-height: 38rpx;
text-align: center;
font-style: normal;
}
.box-last{
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 20rpx;
color: #999999;
line-height: 38rpx;
text-align: right;
font-style: normal;
}
}
}
}
:nth-child(2n){
margin-left: 24rpx;
}
}
}
}
}
}
\ No newline at end of file
......@@ -3,7 +3,7 @@
"appid" : "__UNI__DE04B13",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : 107,
"versionCode" : 108,
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
......
.i-page{
width:100%;
height:calc(100vh-120rpx) ;
min-height: 1624rpx;
// min-height: 1624rpx;
background: #F7FAFF;
.scroll-y-hs{
// height: 800rpx;
height: 1200rpx;
padding-top:6rpx;
.i-line{
margin: 0 30rpx;
......
<template>
<view class="a-page">
<view class='a-main' v-show="list && list.length>0">
<view class='main-item' v-for="items in list">
<view class='item-top'>申请时间:{{items.gmtCreated}}</view>
<view class='item-box'>
<image class='box-img' :src='items.imagesUrl[0]'></image>
<view class='box-con'>
<view class='cont-top'>{{items.name}}</view>
<view class='cont-footer'>{{items.type}}</view>
<scroll-view
class='box-at-home'
scroll-y="true"
refresher-default-style="none"
@scrolltoupper="toupperTop"
@scrolltolower="lowerMore">
<view class='main-item' v-for="items in list" :key="items.id">
<view class='item-top'>申请时间:{{items.gmtCreated}}</view>
<view class='item-box'>
<image class='box-img' :src='items.imagesUrl[0]'></image>
<view class='box-con'>
<view class='cont-top'>{{items.name}}</view>
<view class='cont-footer'>{{items.type}}</view>
</view>
<image class='box-icon' v-show="items.status=='CREATED'" src='https://ddh.yyhock.com/ddhMall/application-icon.png'></image>
</view>
<image class='box-icon' v-show="items.status=='CREATED'" src='https://ddh.yyhock.com/ddhMall/application-icon.png'></image>
<view class='item-btn' @click="goIndex">查看详情</view>
</view>
<view class='item-btn' @click="goIndex">查看详情</view>
</view>
</scroll-view>
</view>
</view>
</template>
......@@ -24,7 +29,13 @@
export default {
data() {
return {
list:[]
list:[],
pageNum: 1,
pageSize: 10,
total: 0,
hasNextText:'上拉加载更多',
loadFlag:true,
hasNextPage:false,
}
},
onLoad() {
......@@ -33,19 +44,56 @@
methods: {
init(){
const self=this
self.$request('/pawn/authenticate/selectLists','POST').then((res)=>{
console.log(res,'selectLists')
res.result.map(item=>{
const { sort,pageSize,pageNum}=self
const params={
"current":pageNum,
"size":pageSize,
"sort":sort
}
self.$request('/pawn/authenticate/selectLists','POST',params).then((res)=>{
const {current,total,size,records }=res.result
const hasNextPage=total-self.pageSize*self.pageNum>0?true:false //是否有下一页
records.map(item=>{
const newUrl=JSON.parse(item.imagesUrl)
item.imagesUrl=newUrl
})
console.log(res.result,'0')
self.list=res.result
if(self.loadFlag){
console.log(res.result,'023')
self.list=self.list.concat(records)
}else{
self.list=records
}
self.hasNextPage=hasNextPage
self.loadFlag=false
})
},
goIndex(){
this.Go('uni:/pages/index/index','tab')
}
},
toupperTop:function(e){
console.log(e,'到顶了');
},
lowerMore:function(e){
console.log(e,'触底了');
if(!this.hasNextPage){
uni.showToast({
icon: 'none',
title: '到底了',
})
return false;
}
if(this.loadFlag) return;
this.loadFlag=true,
this.pageNum=this.pageNum+1
this.init();
},
},
onShow() {
this.init()
......
......@@ -6,76 +6,79 @@
padding-bottom:280rpx;
.a-main{
padding-top:29rpx;
.main-item{
margin:0 30rpx 24rpx;
width: 690rpx;
height: 523rpx;
background: #FFFFFF;
box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(232,232,232,0.49);
border-radius: 10rpx;
.item-top{
margin: 0 18rpx;
height: 97rpx;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 28rpx;
color: #333333;
line-height: 97rpx;
text-align: left;
font-style: normal;
border-bottom:1rpx solid #E9E9E9;
}
.item-box{
display: flex;
margin:28rpx 0 0 42rpx;
.box-img{
width: 212rpx;
height: 212rpx;
background-size: 100%;
}
.box-con{
padding:35rpx 66rpx 0 49rpx;
text-align: center;
.box-at-home{
height: 1100rpx;
.main-item{
margin:0 30rpx 24rpx;
width: 690rpx;
height: 523rpx;
background: #FFFFFF;
box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(232,232,232,0.49);
border-radius: 10rpx;
.item-top{
margin: 0 18rpx;
height: 97rpx;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
.cont-top{
font-size: 30rpx;
color: #333333;
line-height: 42rpx;
text-align: left;
font-style: normal;
font-size: 28rpx;
color: #333333;
line-height: 97rpx;
text-align: left;
font-style: normal;
border-bottom:1rpx solid #E9E9E9;
}
.item-box{
display: flex;
margin:28rpx 0 0 42rpx;
.box-img{
width: 212rpx;
height: 212rpx;
background-size: 100%;
}
.box-con{
padding:35rpx 66rpx 0 49rpx;
text-align: center;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
.cont-top{
font-size: 30rpx;
color: #333333;
line-height: 42rpx;
text-align: left;
font-style: normal;
}
.cont-footer{
padding-top:54rpx;
font-size: 28rpx;
color: #999999;
line-height: 40rpx;
text-align: left;
font-style: normal;
}
}
.cont-footer{
padding-top:54rpx;
font-size: 28rpx;
color: #999999;
line-height: 40rpx;
text-align: left;
font-style: normal;
.box-icon{
margin-top:56rpx;
width: 150rpx;
height: 150rpx;
background-size: 100%;
}
}
.box-icon{
margin-top:56rpx;
width: 150rpx;
height: 150rpx;
background-size: 100%;
.item-btn{
margin: 62rpx 9rpx 35rpx;
width: 670rpx;
height: 88rpx;
background: linear-gradient( 137deg, #3877F5 0%, #5690FA 100%);
border-radius: 44rpx;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 32rpx;
color: #FFFFFF;
line-height: 88rpx;
text-align: center;
font-style: normal;
}
}
.item-btn{
margin: 62rpx 9rpx 35rpx;
width: 670rpx;
height: 88rpx;
background: linear-gradient( 137deg, #3877F5 0%, #5690FA 100%);
border-radius: 44rpx;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 32rpx;
color: #FFFFFF;
line-height: 88rpx;
text-align: center;
font-style: normal;
}
}
}
}
\ No newline at end of file
.i-page {
width: 100%;
height: 100vh;
min-height: 1624rpx;
background: #F7FAFF;
}
.i-page .i-header {
position: sticky;
top: 0;
z-index: 9988;
padding-top: 98rpx;
width: 100%;
height: 88rpx;
background: #FFFFFF;
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 36rpx;
color: #333333;
line-height: 88rpx;
text-align: center;
font-style: normal;
}
.i-page .i-boxs .i-banner {
margin: 20rpx 22rpx 32rpx;
width: 706rpx;
height: 359rpx;
}
.i-page .i-boxs .i-banner .swiper-item-i {
width: 706rpx;
height: 359rpx;
}
.i-page .i-boxs .i-banner .swiper-item-i .banner-item {
width: 706rpx;
height: 359rpx;
background-size: 690rpx 359rpx;
}
.i-page .i-boxs .i-list {
margin: 0 50rpx;
display: flex;
flex-wrap: wrap;
}
.i-page .i-boxs .i-list .mian-item {
margin-right: 67rpx;
}
.i-page .i-boxs .i-list .mian-item .item-img {
margin: 0 16rpx;
width: 80rpx;
height: 80rpx;
background-size: 100%;
}
.i-page .i-boxs .i-list .mian-item .item-text {
height: 40rpx;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 28rpx;
color: #333333;
line-height: 40rpx;
text-align: center;
font-style: normal;
}
.i-page .i-boxs .i-list .mian-item:nth-of-type(4n) {
margin-right: 0;
}
.i-page .i-boxs .i-malll .hot-tab {
margin: 50rpx 36rpx 16rpx;
height: 86rpx;
display: flex;
align-items: center;
font-size: 28rpx;
line-height: 40rpx;
}
.i-page .i-boxs .i-malll .hot-tab .hot-header-text {
width: 160rpx;
display: flex;
font-family: PingFangSC-Regular, PingFang SC;
color: #999999;
text-align: center;
}
.i-page .i-boxs .i-malll .hot-tab .hot-header-text .hot-ative {
position: relative;
z-index: 1;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
font-size: 30rpx;
color: #333333;
}
.i-page .i-boxs .i-malll .hot-tab .hot-header-text .hot-ative::after {
content: '';
position: absolute;
top: 30%;
left: 0;
width: 100%;
height: 6px;
/* 背景色的高度 */
background-color: #CDE0FE;
/* 背景色 */
z-index: -1;
}
.i-page .i-boxs .i-malll .hot-tab .hot-header-text .hot-icon-show {
margin-top: 10rpx;
margin-left: 10rpx;
width: 22rpx;
height: 22rpx;
background: url('https://ddh.yyhock.com/ddhMall/hot-active-show.png') 0 0 no-repeat;
background-size: 100%;
}
.i-page .i-boxs .i-malll .hot-tab .hot-header-text .hot-icon-show-down {
margin-top: 10rpx;
margin-left: 10rpx;
width: 22rpx;
height: 22rpx;
background: url('https://ddh.yyhock.com/ddhMall/hot-active-show-down.png') 0 0 no-repeat;
background-size: 100%;
}
.i-page .i-boxs .i-malll .hot-tab .hot-icon {
margin-top: 36rpx;
margin-left: 10rpx;
width: 22rpx;
height: 22rpx;
background: url('https://ddh.yyhock.com/ddhMall/hot-active.png') 0 0 no-repeat;
background-size: 100%;
}
.i-page .i-boxs .i-malll .hot-tab .hot-show {
width: 160rpx;
display: flex;
color: #999999;
line-height: 90rpx;
text-align: center;
}
.i-page .i-boxs .i-malll .hot-fixed-show {
position: sticky;
top: 0;
left: 0;
width: 100%;
z-index: 99;
height: 86rpx;
background: #FFFFFF;
font-size: 28rpx;
line-height: 40rpx;
margin-bottom: 220rpx;
}
.i-page .i-boxs .i-malll .hot-fixed-show .hot-text {
padding-top: 108rpx;
width: 100%;
height: 98rpx;
background: #FFFFFF;
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 36rpx;
color: #333333;
line-height: 50rpx;
text-align: center;
font-style: normal;
}
.i-page .i-boxs .i-malll .hot-fixed-show .hot-tab-fixed {
height: 86rpx;
display: flex;
align-items: center;
background: #FFFFFF;
font-size: 28rpx;
line-height: 40rpx;
}
.i-page .i-boxs .i-malll .hot-fixed-show .hot-tab-fixed .hot-text {
width: 100%;
height: 98rpx;
background: #FFFFFF;
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 36rpx;
color: #333333;
line-height: 50rpx;
text-align: center;
font-style: normal;
}
.i-page .i-boxs .i-malll .hot-fixed-show .hot-tab-fixed .hot-header-text {
margin-left: 30rpx;
width: 160rpx;
display: flex;
font-family: PingFangSC-Regular, PingFang SC;
color: #999999;
text-align: center;
}
.i-page .i-boxs .i-malll .hot-fixed-show .hot-tab-fixed .hot-header-text .hot-ative {
position: relative;
z-index: 1;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
font-size: 30rpx;
color: #333333;
}
.i-page .i-boxs .i-malll .hot-fixed-show .hot-tab-fixed .hot-header-text .hot-ative::after {
content: '';
position: absolute;
top: 30%;
left: 0;
width: 100%;
height: 6px;
/* 背景色的高度 */
background-color: #CDE0FE;
/* 背景色 */
z-index: -1;
}
.i-page .i-boxs .i-malll .hot-fixed-show .hot-tab-fixed .hot-header-text .hot-icon-show {
margin-top: 10rpx;
margin-left: 10rpx;
width: 22rpx;
height: 22rpx;
background: url('https://ddh.yyhock.com/ddhMall/hot-active-show.png') 0 0 no-repeat;
background-size: 100%;
}
.i-page .i-boxs .i-malll .hot-fixed-show .hot-tab-fixed .hot-header-text .hot-icon-show-down {
margin-top: 10rpx;
margin-left: 10rpx;
width: 22rpx;
height: 22rpx;
background: url('https://ddh.yyhock.com/ddhMall/hot-active-show-down.png') 0 0 no-repeat;
background-size: 100%;
}
.i-page .i-boxs .i-malll .hot-fixed-show .hot-tab-fixed .hot-icon {
margin-top: 36rpx;
margin-left: 10rpx;
width: 22rpx;
height: 22rpx;
background: url('https://ddh.yyhock.com/ddhMall/hot-active.png') 0 0 no-repeat;
background-size: 100%;
}
.i-page .i-boxs .i-malll .hot-fixed-show .hot-tab-fixed .hot-show {
margin-left: 36rpx;
width: 160rpx;
display: flex;
color: #999999;
line-height: 90rpx;
text-align: center;
}
.i-page .i-boxs .i-malll .box-at-home .main-box {
display: flex;
flex-wrap: wrap;
align-items: center;
margin: 0 30rpx;
}
.i-page .i-boxs .i-malll .box-at-home .main-box .box-item {
margin-bottom: 24rpx;
width: 333rpx;
height: 426rpx;
background: #FFFFFF;
box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(232, 232, 232, 0.49);
border-radius: 10rpx;
}
.i-page .i-boxs .i-malll .box-at-home .main-box .box-item .item-top {
display: flex;
width: 333rpx;
height: 272rpx;
position: relative;
}
.i-page .i-boxs .i-malll .box-at-home .main-box .box-item .item-top .top-img {
width: 333rpx;
height: 272rpx;
background-size: 333rpx 272rpx;
border-radius: 10rpx;
}
.i-page .i-boxs .i-malll .box-at-home .main-box .box-item .item-top .top-icon {
position: absolute;
top: 0;
margin-left: 215rpx;
display: inline-block;
width: 118rpx;
height: 110rpx;
background: url('https://ddh.yyhock.com/ddhMall/goods-sale.png') 0 0 no-repeat;
background-size: 118rpx 110rpx ;
}
.i-page .i-boxs .i-malll .box-at-home .main-box .box-item .item-footer {
padding: 9rpx 16rpx 21rpx 0rpx;
}
.i-page .i-boxs .i-malll .box-at-home .main-box .box-item .item-footer .footer-des {
width: 160rpx;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 26rpx;
color: #333333;
line-height: 37rpx;
text-align: left;
font-style: normal;
white-space: nowrap;
/* 确保文本在一行内显示 */
overflow: hidden;
/* 隐藏超出容器的内容 */
text-overflow: ellipsis;
/* 使用省略号表示被截断的文本 */
word-break: break-all;
/* 允许在单词内换行 */
}
.i-page .i-boxs .i-malll .box-at-home .main-box .box-item .item-footer .footer-box {
display: flex;
margin: 9rpx 0 16rpx;
}
.i-page .i-boxs .i-malll .box-at-home .main-box .box-item .item-footer .footer-box .box-num {
display: flex;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 28rpx;
color: #FC4D3E;
line-height: 28rpx;
text-align: left;
font-style: normal;
}
.i-page .i-boxs .i-malll .box-at-home .main-box .box-item .item-footer .footer-box .box-num .num-icon {
margin-top: 4rpx;
font-size: 20rpx;
}
.i-page .i-boxs .i-malll .box-at-home .main-box .box-item .item-footer .footer-line {
display: flex;
align-items: center;
justify-content: space-between;
}
.i-page .i-boxs .i-malll .box-at-home .main-box .box-item .item-footer .footer-line .box-btn {
width: 76rpx;
height: 38rpx;
border-radius: 5rpx;
border: 1rpx solid #2263E6;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 20rpx;
color: #2263E6;
line-height: 38rpx;
text-align: center;
font-style: normal;
}
.i-page .i-boxs .i-malll .box-at-home .main-box .box-item .item-footer .footer-line .box-last {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 20rpx;
color: #999999;
line-height: 38rpx;
text-align: right;
font-style: normal;
}
.i-page .i-boxs .i-malll .box-at-home .main-box :nth-child(2n) {
margin-left: 24rpx;
}
......@@ -278,7 +278,7 @@
.item-footer{
padding: 9rpx 16rpx 21rpx 0rpx;
.footer-des{
width: 160rpx;
width: 260rpx;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 26rpx;
......
......@@ -145,7 +145,7 @@
},
hotShow(item){
console.log(item,'7766')
console.log(item.id,'7766')
this.hotIndex=item.id
if(item.id==0){
......@@ -156,11 +156,9 @@
this.showUP=!this.showUP
}
this.pageNum=1
// this.IndexList=[]
this.searchGood()
},
bannerItem(item){
if(this.token==''){
this.Go('uni:/pages/login/login')
}else{
......@@ -179,7 +177,7 @@
}
},
goUP(val){
console.log(val,'val')
console.log(val,'val33')
this.showUP=!this.showUP
if(val==0){
//浏览量
......@@ -203,7 +201,6 @@
}
}
this.pageNum=1
// this.IndexList=[]
this.searchGood()
},
// 查询商品
......@@ -255,7 +252,10 @@
},
},
onShow() {
const token=uni.getStorageSync('token')
this.token=token
this.init()
this.searchGood()
}
}
</script>
......
......@@ -94,7 +94,7 @@
IndexList:[],
bannerList:[],
pageNum: 1,
pageSize: 60,
pageSize: 50,
total: 0,
hasNextText:'上拉加载更多',
loadFlag:true,
......
......@@ -5,8 +5,8 @@
</view>
<view class="p-box">
<view class='box-top'>
<view class='top-text-s' v-if="goodsName.length>5">{{goodsName}}</view>
<view class='top-text' v-else>{{goodsName}}</view>
<!-- <view class='top-text-s' v-if="goodsName.length>5">{{goodsName}}</view> -->
<view class='top-text' >{{goodsName}}</view>
<view class='top-btn'>在售</view>
</view>
<view class='box-footer'>
......
iosProfile=/Users/jinzhouhang/work/zhanhai/uni-ddh-app/profile/uni_test_ddh.mobileprovision
iosProfile=/Users/jinzhouhang/work/zhanhai/uni-ddh-app/profile/uni_ddh_test.mobileprovision
ioscertFile=/Users/jinzhouhang/work/zhanhai/uni-ddh-app/profile/ddh-test.p12
ioscertPassword=ep/Tdjka4Y7WYqDB6/S7dw==
var isReady=false;var onReadyCallbacks=[];
var isServiceReady=false;var onServiceReadyCallbacks=[];
var __uniConfig = {"pages":["pages/index/indexs","pages/sort/index","pages/my/index","pages/recruit/index","pages/recruitResult/index","pages/category/category","pages/application/application","pages/myneed/myneed","pages/Ineed/Ineed","pages/productDetails/productDetails","pages/detailResult/detailResult","pages/useFeed/useFeed","pages/lookGoods/lookGoods","pages/login/login","pages/prolist/prolist","pages/setting/setting","pages/webview/webview","pages/web/web","pages/agreement/index"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#FFFFFF","backgroundColor":"#F8F8F8"},"tabBar":{"borderStyle":"white","color":"#BBBBBB","selectedColor":"#2263E6","iconWidth":"24px","height":"52px","fontSize":"12px","list":[{"pagePath":"pages/index/indexs","iconPath":"static/tab/index-h.png","selectedIconPath":"static/tab/index.png","text":"首页"},{"pagePath":"pages/sort/index","iconPath":"static/tab/sort-h.png","selectedIconPath":"static/tab/sort.png","text":"分类"},{"pagePath":"pages/my/index","iconPath":"static/tab/my-h.png","selectedIconPath":"static/tab/my.png","text":"我的"}]},"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"多典花","compilerVersion":"3.6.4","entryPagePath":"pages/index/indexs","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniRoutes = [{"path":"/pages/index/indexs","meta":{"isQuit":true,"isTabBar":true},"window":{"enablePullDownRefresh":false,"navigationStyle":"custom"}},{"path":"/pages/sort/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"款式"}},{"path":"/pages/my/index","meta":{"isQuit":true,"isTabBar":true},"window":{"enablePullDownRefresh":true,"navigationStyle":"custom"}},{"path":"/pages/recruit/index","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"鉴定师招聘"}},{"path":"/pages/recruitResult/index","meta":{},"window":{"enablePullDownRefresh":false,"navigationStyle":"custom"}},{"path":"/pages/category/category","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"选择鉴定品类"}},{"path":"/pages/application/application","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"我的鉴定申请"}},{"path":"/pages/myneed/myneed","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"我需要的"}},{"path":"/pages/Ineed/Ineed","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"我需要"}},{"path":"/pages/productDetails/productDetails","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"商品详情"}},{"path":"/pages/detailResult/detailResult","meta":{},"window":{"enablePullDownRefresh":false,"navigationStyle":"custom"}},{"path":"/pages/useFeed/useFeed","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"用户反馈"}},{"path":"/pages/lookGoods/lookGoods","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":""}},{"path":"/pages/login/login","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"登录"}},{"path":"/pages/prolist/prolist","meta":{},"window":{"navigationBarTitleText":"相关协议"}},{"path":"/pages/setting/setting","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"设置"}},{"path":"/pages/webview/webview","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"协议"}},{"path":"/pages/web/web","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":""}},{"path":"/pages/agreement/index","meta":{},"window":{"navigationStyle":"custom","navigationBarTitleText":"","enablePullDownRefresh":false,"bounce":"none","animationType":"fade-in","background":"transparent","backgroundColor":"rgba(0,0,0,0)","webviewBGTransparent":true,"mask":"none"}}];
var __uniConfig = {"pages":["pages/index/index","pages/sort/index","pages/my/index","pages/recruit/index","pages/recruitResult/index","pages/category/category","pages/application/application","pages/myneed/myneed","pages/Ineed/Ineed","pages/productDetails/productDetails","pages/detailResult/detailResult","pages/useFeed/useFeed","pages/lookGoods/lookGoods","pages/login/login","pages/prolist/prolist","pages/setting/setting","pages/webview/webview","pages/web/web","pages/agreement/index"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#FFFFFF","backgroundColor":"#F8F8F8"},"tabBar":{"borderStyle":"white","color":"#BBBBBB","selectedColor":"#2263E6","iconWidth":"24px","height":"52px","fontSize":"12px","list":[{"pagePath":"pages/index/index","iconPath":"static/tab/index-h.png","selectedIconPath":"static/tab/index.png","text":"首页"},{"pagePath":"pages/sort/index","iconPath":"static/tab/sort-h.png","selectedIconPath":"static/tab/sort.png","text":"分类"},{"pagePath":"pages/my/index","iconPath":"static/tab/my-h.png","selectedIconPath":"static/tab/my.png","text":"我的"}]},"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"多典花","compilerVersion":"3.6.4","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{"enablePullDownRefresh":false,"navigationStyle":"custom"}},{"path":"/pages/sort/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"款式"}},{"path":"/pages/my/index","meta":{"isQuit":true,"isTabBar":true},"window":{"enablePullDownRefresh":true,"navigationStyle":"custom"}},{"path":"/pages/recruit/index","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"鉴定师招聘"}},{"path":"/pages/recruitResult/index","meta":{},"window":{"enablePullDownRefresh":false,"navigationStyle":"custom"}},{"path":"/pages/category/category","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"选择鉴定品类"}},{"path":"/pages/application/application","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"我的鉴定申请"}},{"path":"/pages/myneed/myneed","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"我需要的"}},{"path":"/pages/Ineed/Ineed","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"我需要"}},{"path":"/pages/productDetails/productDetails","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"商品详情"}},{"path":"/pages/detailResult/detailResult","meta":{},"window":{"enablePullDownRefresh":false,"navigationStyle":"custom"}},{"path":"/pages/useFeed/useFeed","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"用户反馈"}},{"path":"/pages/lookGoods/lookGoods","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":""}},{"path":"/pages/login/login","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"登录"}},{"path":"/pages/prolist/prolist","meta":{},"window":{"navigationBarTitleText":"相关协议"}},{"path":"/pages/setting/setting","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"设置"}},{"path":"/pages/webview/webview","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"协议"}},{"path":"/pages/web/web","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":""}},{"path":"/pages/agreement/index","meta":{},"window":{"navigationStyle":"custom","navigationBarTitleText":"","enablePullDownRefresh":false,"bounce":"none","animationType":"fade-in","background":"transparent","backgroundColor":"rgba(0,0,0,0)","webviewBGTransparent":true,"mask":"none"}}];
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment