Commit c775a69b authored by ly's avatar ly

新增暂无数据页面

parent d2cc8df0
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/indexs",
"path": "pages/index/index",
"style": {
"enablePullDownRefresh": false,
"navigationStyle": "custom"
......@@ -151,7 +151,7 @@
"fontSize": "12px",
"list": [
{
"pagePath": "pages/index/indexs",
"pagePath": "pages/index/index",
"iconPath": "static/tab/index-h.png",
"selectedIconPath": "static/tab/index.png",
"text": "首页"
......
......@@ -17,7 +17,8 @@
</view>
<view v-else class="i-lins-null">
暂时还没有数据哦!
<image class="footer-img" src='https://ddh.yyhock.com/ddhMall/result-null.png'></image>
<view class='footer-text'>暂无数据哦!</view>
</view>
</scroll-view>
<view class='my-n-footer'>
......
......@@ -25,15 +25,23 @@
}
}
.i-lins-null{
margin-top:45%;
height: 42rpx;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 34rpx;
color: #333333;
line-height: 42rpx;
text-align: center;
font-style: normal;
padding-top:6rpx;
.footer-img{
margin:30% 146rpx 0;
width: 458rpx;
height: 458rpx;
background-size: 100%;
}
.footer-text{
// margin-top: 30%;
height: 40rpx;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 28rpx;
color: #999999;
line-height: 40rpx;
text-align: center;
}
}
}
......
......@@ -44,7 +44,7 @@
})
},
goIndex(){
this.Go('uni:/pages/index/indexs','tab')
this.Go('uni:/pages/index/index','tab')
}
},
onShow() {
......
......@@ -45,7 +45,7 @@
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 32rpx;
color: #999999;
color: #333333;
line-height: 45rpx;
text-align: right;
font-style: normal;
......@@ -89,7 +89,7 @@
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 28rpx;
color: #999999;
color: #333333;
line-height: 40rpx;
text-align: left;
font-style: normal;
......
......@@ -20,7 +20,7 @@
},
methods: {
goBtn(){
this.Go('uni:/pages/index/indexs','tab')
this.Go('uni:/pages/index/index','tab')
}
}
}
......
.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: 20rpx;
height: 20rpx;
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: 20rpx;
height: 20rpx;
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: 20rpx;
height: 20rpx;
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: 20rpx;
height: 20rpx;
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: 20rpx;
height: 20rpx;
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: 20rpx;
height: 20rpx;
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
<template>
<view class="i-page">
<view class='i-header' v-show='isFixed!=true'>
多典花
</view>
<view class='i-boxs'>
<view class='i-banner'>
<!-- :indicator-dots="true" -->
<swiper :autoplay="true" :interval="3000" :duration="1000" style="height: 359rpx;">
<swiper-item class='swiper-item-i' v-for="item in bannerList" :key="item.id"
@click='bannerItem(item)'>
<image :src='item.url' class='banner-item'></image>
</swiper-item>
</swiper>
</view>
<view class="i-list">
<view class='mian-item' v-for="item in list" :key="item.id" @click="goItem(item)">
<image class='item-img' :src='item.url'></image>
<view class='item-text'>{{item.name}}</view>
</view>
</view>
<view class="i-malll">
<view v-if='isFixed!=true' class="hot-tab">
<view :class="hotIndex==item.id ?'hot-header-text':'hot-show'" v-for="item in hotList" :key='item.id'>
<view class='hot-ative' @click="hotShow(item)">{{item.title}}</view>
<view v-show="hotIndex!=item.id" class='hot-icon'></view>
<view v-show='hotIndex==item.id' :class="showUP==false ?'hot-icon-show-down':'hot-icon-show'" @click="goUP(item.id)"></view>
</view>
</view>
<view v-else class="hot-fixed-show">
<view class="hot-text">多典花</view>
<view class="hot-tab-fixed">
<view :class="hotIndex==item.id ?'hot-header-text':'hot-show'" v-for="item in hotList" :key='item.id'>
<view class='hot-ative' @click="hotShow(item)">{{item.title}}</view>
<view v-show="hotIndex!=item.id" class='hot-icon'></view>
<view v-show='hotIndex==item.id' :class="showUP==false ?'hot-icon-show-down':'hot-icon-show'" @click="goUP(item.id)"></view>
</view>
</view>
</view>
<scroll-view
class='box-at-home'
scroll-y="true"
refresher-default-style="none"
@scrolltoupper="toupperTop"
@scrolltolower="lowerMore">
<view class='main-box' v-show="IndexList && IndexList.length>0">
<view class='box-item' v-for="item in IndexList" :key="item.id" @click="goDetail(item)">
<view class='item-top'>
<image :src="item.goodsImage" class='top-img'></image>
<i class='top-icon'></i>
</view>
<view class='item-footer'>
<view class='footer-des'>{{item.goodsName}}</view>
<view class='footer-box'>
<view class='box-num'>
<view class='num-icon'>¥</view>
{{item.goodsMoney}}
</view>
</view>
<view class='footer-line'>
<view class='box-btn'>可置换</view>
<view class="box-last">{{item.lookSum}}次浏览</view>
</view>
</view>
</view>
</view>
</scroll-view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
list:[],
hotList:[
{title:'浏览量',id:0},
{title:'价格',id:1},
],
hotIndex:0,
isFixed: false,
showUP:false,
headerHeight: 0,
scrollTop:0,
IndexList:[],
bannerList:[],
pageNum: 1,
pageSize: 50,
total: 0,
hasNextText:'上拉加载更多',
loadFlag:true,
hasNextPage:false,
sort:'look_sum desc',
token:''
}
},
onPageScroll(e) {
// 页面滚动时设置isFixed和scrollTop
// console.log(e,'876')
this.scrollTop = e.scrollTop;
if( e.scrollTop > 290){
this.isFixed = true;
}else{
this.isFixed = false;
}
},
onReady() {
const isAgree = uni.getStorageSync('m-agreement')
if (!isAgree) {
this.Go('uni:/pages/agreement/index')
}
},
onLoad() {
const token=uni.getStorageSync('token')
this.token=token
this.init()
this.searchGood()
},
methods:{
init(){
const self=this
self.$request('/pawn/index','GET').then(res => {
const {goodList,shortcutList,bannerList }=res.result
if(shortcutList){
self.list=JSON.parse(shortcutList)
}
if(bannerList){
self.bannerList=JSON.parse(bannerList)
}
}).catch(err=>{
console.log(err,'请求出错')
})
},
goDetail(item){
// console.log(item,'8766')
const params={
goodId:item.id
}
uni.navigateTo({
url:'/pages/productDetails/productDetails?mydata='+encodeURIComponent(JSON.stringify(params))
})
},
hotShow(item){
console.log(item,'7766')
this.hotIndex=item.id
if(item.id==0){
this.sort='look_sum desc'
this.showUP=!this.showUP
}else{
this.sort='goods_money desc'
this.showUP=!this.showUP
}
this.pageNum=1
// this.IndexList=[]
this.searchGood()
},
bannerItem(item){
if(this.token==''){
this.Go('uni:/pages/login/login')
}else{
const { tager }=item
this.Go(tager)
}
},
goItem(item){
if(this.token==''){
this.Go('uni:/pages/login/login')
}else{
const { tager }=item
this.Go(tager)
}
},
goUP(val){
console.log(val,'val')
this.showUP=!this.showUP
if(val==0){
//浏览量
if(this.showUP==false){
this.sort='look_sum desc'
}else{
this.sort='look_sum asc'
}
}else{
//价格
if(this.showUP==false){
this.sort='goods_money desc'
}else{
//倒序
this.sort='goods_money asc'
}
}
this.pageNum=1
// this.IndexList=[]
this.searchGood()
},
// 查询商品
searchGood(){
const self=this
const { sort,pageSize,pageNum}=self
const params={
"current":pageNum,
"size":pageSize,
"sort":sort
}
console.log(params,'查询商品')
self.$request('/pawn/category/getGoodsPage','POST',params).then(res => {
const {current,total,size,records }=res.result
const hasNextPage=total-self.pageSize*self.pageNum>0?true:false //是否有下一页
if(self.loadFlag){
self.IndexList=self.IndexList.concat(records)
}else{
self.IndexList=records
}
self.hasNextPage=hasNextPage
self.loadFlag=false
}).catch(err=>{
console.log(err,'请求出错')
})
},
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.searchGood();
},
},
onShow() {
}
}
</script>
<style src='./index.less' lang="less" scoped></style>
\ No newline at end of file
......@@ -327,7 +327,6 @@
.box-num{
display: flex;
margin-top:8rpx;
margin-right: 30rpx;
height: 37rpx;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
......@@ -341,8 +340,14 @@
font-size: 20rpx;
}
}
}
.footer-line{
display: flex;
align-items: center;
justify-content: space-between;
.box-btn{
width: 76rpx;
height: 38rpx;
border-radius: 5rpx;
......@@ -355,18 +360,19 @@
text-align: center;
font-style: normal;
}
.box-last{
height: 28rpx;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 20rpx;
color: #999999;
line-height: 28rpx;
text-align: right;
font-style: normal;
}
}
.box-last{
height: 28rpx;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 20rpx;
color: #999999;
line-height: 28rpx;
text-align: right;
font-style: normal;
}
}
}
:nth-child(2n){
......
......@@ -58,9 +58,12 @@
<view class='num-icon'>¥</view>
{{item.goodsMoney}}
</view>
</view>
<view class='footer-line'>
<view class='box-btn'>可置换</view>
<view class="box-last">{{item.lookSum}}次浏览</view>
</view>
<view class="box-last">{{item.lookSum}}次浏览</view>
</view>
</view>
......
......@@ -120,13 +120,19 @@
}
.look-footer{
padding-top:6rpx;
.footer-img{
margin:30% 146rpx 0;
width: 458rpx;
height: 458rpx;
background-size: 100%;
}
.footer-text{
margin-top: 30%;
// margin-top: 30%;
height: 40rpx;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 28rpx;
color: #333333;
color: #999999;
line-height: 40rpx;
text-align: center;
font-style: normal;
......
......@@ -33,6 +33,7 @@
</scroll-view>
</view>
<view class='look-footer' v-else>
<image class="footer-img" src='https://ddh.yyhock.com/ddhMall/result-null.png'></image>
<view class='footer-text'>暂无数据哦!</view>
</view>
</view>
......
.product-page{
width: 100%;
height: calc(100vh-120px);
min-height: 2476rpx;
height: calc(100vh-20px);
min-height: 2276rpx;
background: #F7FAFF;
.p-banner{
......@@ -24,8 +24,24 @@
.box-top{
display: flex;
padding: 24rpx 0 30rpx 30rpx;
width: 100%;
.top-text{
width: 320rpx;
padding: 0 8rpx;
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 30rpx;
color: #333333;
line-height: 42rpx;
text-align: left;
font-style: normal;
white-space: nowrap; /* 确保文本在一行内显示 */
overflow: hidden; /* 隐藏超出容器的内容 */
text-overflow: ellipsis; /* 使用省略号表示被截断的文本 */
word-break: break-all; /* 允许在单词内换行 */
}
.top-text-s{
padding: 0 8rpx;
width: 180rpx;
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 30rpx;
......@@ -83,7 +99,7 @@
}
.p-detail{
margin: 0 30rpx;
margin-bottom: 230rpx;
margin-bottom: 130rpx;
width: 690rpx;
height: 100%;
background: #FFFFFF;
......
......@@ -5,7 +5,8 @@
</view>
<view class="p-box">
<view class='box-top'>
<view class='top-text'>{{goodsName}}</view>
<view class='top-text-s' v-if="goodsName.length>5">{{goodsName}}</view>
<view class='top-text' v-else>{{goodsName}}</view>
<view class='top-btn'>在售</view>
</view>
<view class='box-footer'>
......
......@@ -20,7 +20,7 @@
},
methods: {
goBtn(){
this.Go('uni:/pages/index/indexs','tab')
this.Go('uni:/pages/index/index','tab')
}
}
}
......
......@@ -150,7 +150,7 @@
console.log(die,'die2')
self.userFeedbackHidden=false
uni.removeStorageSync('token')
this.Go('uni:/pages/index/indexs','tab')
this.Go('uni:/pages/index/index','tab')
}
......@@ -164,7 +164,7 @@
console.log(res,'logout');
self.outHidden=false
uni.removeStorageSync('token')
this.Go('uni:/pages/index/indexs','tab')
this.Go('uni:/pages/index/index','tab')
})
},
......
......@@ -39,7 +39,7 @@
self.$request('/pawn/feed/addFeed','POST',params).then(res => {
console.log(res.result,'followGood');
self.toast('提交成功')
self.Go('uni:/pages/index/indexs','tab')
self.Go('uni:/pages/index/index','tab')
}).catch(err=>{
console.log(err,'请求出错')
})
......
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.
......@@ -12,7 +12,7 @@ const request=async(url,type,data)=>{
rd = JSON.stringify(common)
}
console.log(rd,'rd')
// console.log(rd,'rd')
return new Promise((resolve,reject)=>{
const token=uni.getStorageSync('token')
uni.request({
......
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