Commit 51d54711 authored by zhengke's avatar zhengke

no message

parent a275ebbb
...@@ -18,7 +18,9 @@ ...@@ -18,7 +18,9 @@
<!-- mode="aspectFill" --> <!-- mode="aspectFill" -->
<image :src="item.img" mode="scaleToFill"/> <image :src="item.img" mode="scaleToFill"/>
</view> </view>
<text class="uni-indexed-list__item-content">{{ item.name }}</text> <view class="uni-indexed-list__item-content">
{{ item.name }}
</view>
</view> </view>
</view> </view>
</view> </view>
...@@ -126,12 +128,14 @@ ...@@ -126,12 +128,14 @@
} }
.uni-indexed-list__item-content { .uni-indexed-list__item-content {
width: 470rpx;
flex: 1; flex: 1;
font-size: 30rpx; font-size: 30rpx;
color: #191919; color: #191919;
font-weight:600; font-weight:600;
font-family: -webkit-pictograph; font-family: -webkit-pictograph;
margin-left: 20rpx; margin-left: 20rpx;
word-wrap: break-word;
} }
.uni-indexed-list { .uni-indexed-list {
...@@ -159,19 +163,20 @@ ...@@ -159,19 +163,20 @@
.imgList{ .imgList{
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
/* background: #f7f7f7; */
} }
.imgList view{ .imgList view{
flex-shrink: 0; flex-shrink: 0;
width: 33.33%; width: 33.33%;
text-align: center; text-align: center;
padding: 20rpx 0 0 0; padding: 20rpx 0 0 0;
text-align: center;
} }
.imgList view image{ .imgList view image{
width: 200rpx; width: 100rpx;
height: 150rpx; height: 80rpx;
margin-right: 10rpx; /* margin-right: 10rpx; */
margin-left: 10rpx; /* margin-left: 10rpx; */
border-radius: 15rpx; border-radius: 15rpx;
} }
/* .imgList view:nth-child(3n) image{ /* .imgList view:nth-child(3n) image{
......
...@@ -6,9 +6,6 @@ ...@@ -6,9 +6,6 @@
<!-- #endif --> <!-- #endif -->
<!-- #ifndef APP-NVUE --> <!-- #ifndef APP-NVUE -->
<scroll-view :scroll-into-view="scrollViewId" class="uni-indexed-list__scroll" scroll-y> <scroll-view :scroll-into-view="scrollViewId" class="uni-indexed-list__scroll" scroll-y>
<!-- <view class="right-img">
<image :src="classObj.Image" style="width: 100%; height: 100%;" mode="aspectFill"/>
</view> -->
<template v-if="lists.length>0"> <template v-if="lists.length>0">
<view v-for="(list, idx) in lists" :key="idx" :id="'uni-indexed-list-' + idx"> <view v-for="(list, idx) in lists" :key="idx" :id="'uni-indexed-list-' + idx">
...@@ -19,13 +16,6 @@ ...@@ -19,13 +16,6 @@
<!-- #ifndef APP-NVUE --> <!-- #ifndef APP-NVUE -->
</view> </view>
</template> </template>
<view v-else style="
height: calc(100vh - 50px);
width: calc(100vw - 20px);
padding-top: 0;
">
<u-empty text="没有找到相关品牌信息" font-size="30" mode="list"></u-empty>
</view>
</scroll-view> </scroll-view>
<!-- #endif --> <!-- #endif -->
<!-- #ifdef APP-NVUE --> <!-- #ifdef APP-NVUE -->
...@@ -107,12 +97,6 @@ ...@@ -107,12 +97,6 @@
}, },
emits: ['click'], emits: ['click'],
props: { props: {
classObj:{
type: Object,
default () {
return {}
}
},
options: { options: {
type: Array, type: Array,
default () { default () {
...@@ -316,7 +300,7 @@ ...@@ -316,7 +300,7 @@
display: flex; display: flex;
/* #endif */ /* #endif */
flex-direction: row; flex-direction: row;
height: 1116rpx; height: 100vh;
} }
.uni-indexed-list__scroll { .uni-indexed-list__scroll {
...@@ -324,11 +308,12 @@ ...@@ -324,11 +308,12 @@
} }
.uni-indexed-list__menu { .uni-indexed-list__menu {
width: 24px; width: 44px;
/* #ifndef APP-NVUE */ /* #ifndef APP-NVUE */
display: flex; display: flex;
/* #endif */ /* #endif */
flex-direction: column; flex-direction: column;
background: #f7f7f7;
} }
.uni-indexed-list__menu-item { .uni-indexed-list__menu-item {
...@@ -392,14 +377,4 @@ ...@@ -392,14 +377,4 @@
color: #fff; color: #fff;
background-color: rgba(0, 0, 0, 0.5); background-color: rgba(0, 0, 0, 0.5);
} }
.right-img{
width: 100%;
height: 200rpx;
}
.right-img image{
width: 100%;
height: 100%;
display: block;
}
</style> </style>
...@@ -199,7 +199,7 @@ ...@@ -199,7 +199,7 @@
immediate: true, immediate: true,
handler(val) { handler(val) {
val.map(value => { val.map(value => {
let data = {url: value.url?value.url:value.Path, error: false, progress: 100} let data = {url: value.url, error: false, progress: 100}
this.lists.push(JSON.parse(JSON.stringify(data))); this.lists.push(JSON.parse(JSON.stringify(data)));
}) })
} }
...@@ -417,7 +417,6 @@ ...@@ -417,7 +417,6 @@
.u-upload { .u-upload {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
align-items: center;
} }
.u-list-item { .u-list-item {
...@@ -431,6 +430,8 @@ ...@@ -431,6 +430,8 @@
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
margin-right: 20rpx;
margin-bottom: 20rpx;
} }
.u-preview-wrap { .u-preview-wrap {
......
<template> <template>
<div v-if="!isloading"> <div v-if="!isloading">
<view class="ctrl-box"> <view class="ctrl-box">
<u-searchB action-text="搜索" :focus="true" :clearabled="true" :show-action="false" <u-searchB action-text="搜索" :focus="false" :clearabled="true" :show-action="false"
radius="40" v-model="Keywords"></u-searchB> radius="40" v-model="Keywords" @chang="changeHandler"></u-searchB>
<!-- @search="searchHandler" @custom="searchHandler" @change="changeHandler" --> <!-- @search="searchHandler" @custom="searchHandler" @change="changeHandler" -->
</view> </view>
<!-- <view class="search-box" :style="{ background: bg }" @click="goSearch"> <!-- <view class="search-box" :style="{ background: bg }" @click="goSearch">
...@@ -19,25 +19,29 @@ ...@@ -19,25 +19,29 @@
></u-search> ></u-search>
</view> --> </view> -->
<div <div
:style="{ height: contentHeight + 'px' }" style="height: calc(100vh - 0px);width: calc(100vw);overflow: hidden;padding-bottom: 80px;">
style="ovoerflow: hidden; overflow-y: auto;background: #F7F7F7;" <view class="right-box">
> <uni-indexed-list :options="list" :show-select="true" @click="bindClick" />
<view class="ClassList-form"> <view style="height: calc(100vh - 50px); background: #fff;" v-if="list.length == 0">
<!-- <view class="form-left"> <u-empty text="没有找到相关品牌信息" mode="order"></u-empty>
</view>
</view>
<!-- <view class="ClassList-form">
<view class="form-left">
<view v-for="(item,index) in classData" :key="index" <view v-for="(item,index) in classData" :key="index"
class="name-box" :class="{'active':classObj.Name==item.Name}" class="name-box" :class="{'active':classObj.Name==item.Name}"
@click="chooseType(item)"> @click="chooseType(item)">
<view></view> <view></view>
<text>{{item.Name}}</text> <text>{{item.Name}}</text>
</view> </view>
</view> --> </view>
<view class="form-right"> <view class="form-right">
<view class="right-box"> <view class="right-box">
<uni-indexed-list :Image="classObj.Image" :options="list" :show-select="true" @click="bindClick" /> <uni-indexed-list :Image="classObj.Image" :options="list" :show-select="true" @click="bindClick" />
</view> </view>
</view> </view>
</view> </view> -->
</div> </div>
<auth <auth
v-if="showAuth" v-if="showAuth"
...@@ -237,16 +241,15 @@ ...@@ -237,16 +241,15 @@
this.isloading = false this.isloading = false
this.showAuth = true; this.showAuth = true;
} else { } else {
this.getBrand() this.getBrand()
} }
}, },
mounted() { mounted() {
this.contentHeightB = this.$utils.calcContentHeight(-40)+'px'; // this.contentHeightB = this.$utils.calcContentHeight(-40)+'px';
let currentPages = getCurrentPages(); let currentPages = getCurrentPages();
// let c = this.$uiConfig.is_bang ? 80 : 52; // let c = this.$uiConfig.is_bang ? 80 : 52;
let c = this.$uiConfig.is_bang ? 0 : 0; let c = this.$uiConfig.is_bang ? 80 : 52;
this.contentHeight = this.$utils.calcContentHeight(c); this.contentHeight = this.$utils.calcContentHeight(c);
let u = "/" + currentPages[currentPages.length - 1].route; let u = "/" + currentPages[currentPages.length - 1].route;
let pages = uni.getStorageSync("basedata") let pages = uni.getStorageSync("basedata")
...@@ -283,9 +286,9 @@ ...@@ -283,9 +286,9 @@
this.classObj = item this.classObj = item
this.getBrand() this.getBrand()
}, },
// changeHandler(){ changeHandler(){
this.Keywords = ''
// }, },
// searchHandler(){ // searchHandler(){
// }, // },
...@@ -304,7 +307,7 @@ ...@@ -304,7 +307,7 @@
res => { res => {
this.isloading = false; this.isloading = false;
if(res.resultCode==1){ if(res.resultCode==1){
uni.hideLoading();
this.AllList = res.data this.AllList = res.data
this.AllList.forEach(item=>{ this.AllList.forEach(item=>{
this.list.forEach(i=>{ this.list.forEach(i=>{
...@@ -319,6 +322,7 @@ ...@@ -319,6 +322,7 @@
} }
}) })
}) })
uni.hideLoading();
} }
uni.hideNavigationBarLoading(); uni.hideNavigationBarLoading();
} }
...@@ -353,9 +357,9 @@ ...@@ -353,9 +357,9 @@
</script> </script>
<style scoped> <style scoped>
.ClassList-form{ .ClassList-form{
display: flex; /* display: flex;
justify-content: space-between; justify-content: space-between;
padding: 20rpx 0 0 0; padding: 20rpx 0 0 0; */
} }
.form-left{ .form-left{
border-top: 1rpx solid #E7E7E7; border-top: 1rpx solid #E7E7E7;
...@@ -394,6 +398,6 @@ ...@@ -394,6 +398,6 @@
} }
.ctrl-box{ .ctrl-box{
padding: 20rpx 20rpx; padding: 20rpx 20rpx;
background: #f2f2f2; background: #F7F7F7;
} }
</style> </style>
\ No newline at end of file
...@@ -136,12 +136,19 @@ ...@@ -136,12 +136,19 @@
</view> </view>
</view> </view>
</div> </div>
<auth
v-if="showAuth"
@changeuserinfo="reloadUserinfo"
@gbAuth="gbAuth"
></auth>
</div> </div>
</template> </template>
<script> <script>
import auth from "@/components/auth/index.vue";
export default { export default {
data() { data() {
return { return {
showAuth:false,
loading: true, loading: true,
isloading: true, isloading: true,
pageTitle: "我要估价", pageTitle: "我要估价",
...@@ -162,9 +169,11 @@ ...@@ -162,9 +169,11 @@
data:{}, data:{},
tmplIds:[], tmplIds:[],
showOpenSettingDialog:false, showOpenSettingDialog:false,
u:{}
}; };
}, },
components: { components: {
auth,
// search, // search,
// tabbars, // tabbars,
// uniIndexedList // uniIndexedList
...@@ -179,9 +188,20 @@ ...@@ -179,9 +188,20 @@
if(option.BrandId){ if(option.BrandId){
this.msg.BrandId = option.BrandId this.msg.BrandId = option.BrandId
} }
this.u = uni.getStorageSync("mall_UserInfo");
if (!this.u) {
this.u = {
nickName: "未登录",
avatarUrl: "",
};
this.isloading = false
this.showAuth = true;
} else {
this.getDetails() this.getDetails()
this.showOpenSettingDialog = uni.getStorageSync('showOpenSettingDialog') || false; this.showOpenSettingDialog = uni.getStorageSync('showOpenSettingDialog') || false;
// this.subscription() this.subscription()
}
}, },
onShow() { onShow() {
...@@ -206,7 +226,15 @@ ...@@ -206,7 +226,15 @@
}); });
}, },
methods: { methods: {
reloadUserinfo() {
this.u = uni.getStorageSync("mall_UserInfo");
// this.showAuth=false;
this.getDetails()
},
//关闭登录窗口
gbAuth() {
uni.navigateBack();
},
goBack(type){ goBack(type){
uni.navigateBack({ uni.navigateBack({
delta: type delta: type
...@@ -471,11 +499,14 @@ ...@@ -471,11 +499,14 @@
} }
.ValuationCenter-image{ .ValuationCenter-image{
display: flex; display: flex;
justify-content: space-between; flex-wrap: wrap;
/* justify-content: space-between; */
padding: 50rpx 20rpx; padding: 50rpx 20rpx;
} }
.upload-comm-image{ .upload-comm-image{
/* width: 200rpx; */ /* width: 200rpx; */
margin-right: 10rpx;
margin-bottom: 20rpx;
} }
.image-name{ .image-name{
display: block; display: block;
...@@ -556,4 +587,11 @@ ...@@ -556,4 +587,11 @@
margin: 0 !important; margin: 0 !important;
margin-right: 20rpx; margin-right: 20rpx;
} }
.slot-btn{
width: 200rpx;
height: 200rpx;
display: flex;
justify-content: center;
align-items: center;
}
</style> </style>
\ No newline at end of file
...@@ -39,19 +39,21 @@ ...@@ -39,19 +39,21 @@
<view class="upload-comm-image" v-for="(item,index) in BrandImgList"> <view class="upload-comm-image" v-for="(item,index) in BrandImgList">
<view class="comm-image" style="height: 200rpx;" <view class="comm-image" style="height: 200rpx;"
:style="{'background':'url('+item.Path+')no-repeat rgba(48,49,60,.1)','background-size': '100% 100%'}"> :style="{'background':'url('+item.Path+')no-repeat rgba(48,49,60,.1)','background-size': '100% 100%'}">
<u-upload <u-uploadB
class="uploadImg" class="uploadImg"
style="display: flex;align-items: center;justify-content: center; width: 200rpx;background: rgba(48,49,60,.4)" style="display: flex;align-items: center;width: 200rpx;background: rgba(48,49,60,.4)"
:action="action" :action="action"
:file-list="[msg.GoodsImgList[index]]" :file-list="[msg.GoodsImgList[index]]"
:obj="item" :obj="item"
:indexs="index"
:showShanchu="showShanchu"
max-count="1" :custom-btn="true" max-count="1" :custom-btn="true"
@on-success="uploadSuccessHandler" @on-success="uploadSuccessHandler"
@on-remove="onRemove"> @on-remove="onRemove">
<view slot="addBtn" class="slot-btn"> <view slot="addBtn" class="slot-btn">
<u-icon name="photograph" size="40" color="#ffffff"></u-icon> <u-icon name="photograph" size="40" color="#ffffff"></u-icon>
</view> </view>
</u-upload> </u-uploadB>
</view> </view>
<text class="image-name">{{item.Name}}</text> <text class="image-name">{{item.Name}}</text>
</view> </view>
...@@ -73,11 +75,12 @@ ...@@ -73,11 +75,12 @@
<view class="ValuationCenter-image" style="padding: 50rpx 10rpx;"> <view class="ValuationCenter-image" style="padding: 50rpx 10rpx;">
<view class="upload-comm-image"> <view class="upload-comm-image">
<view class="comm-image"> <view class="comm-image">
<u-upload <u-uploadB
style="width: 660rpx;flex-wrap: wrap;" style="width: 660rpx;flex-wrap: wrap;"
class="uploadImg uploadImgb" class="uploadImg uploadImgb"
:action="action" :action="action"
:file-list="msg.MoreImgList" :file-list="msg.MoreImgList"
:showShanchu="showShanchu"
max-count="10" max-count="10"
:custom-btn="true" :custom-btn="true"
@on-success="uploadSuccessHandlerB" @on-success="uploadSuccessHandlerB"
...@@ -86,7 +89,7 @@ ...@@ -86,7 +89,7 @@
<view slot="addBtn" class="slot-btn" style="width: 200rpx;height: 200rpx;background:rgba(48,49,60,.1);"> <view slot="addBtn" class="slot-btn" style="width: 200rpx;height: 200rpx;background:rgba(48,49,60,.1);">
<u-icon name="photograph" size="40" color="#888" style="width: 200rpx;height: 200rpx;line-height: 200rpx;justify-content: center;"></u-icon> <u-icon name="photograph" size="40" color="#888" style="width: 200rpx;height: 200rpx;line-height: 200rpx;justify-content: center;"></u-icon>
</view> </view>
</u-upload> </u-uploadB>
</view> </view>
</view> </view>
</view> </view>
...@@ -106,7 +109,26 @@ ...@@ -106,7 +109,26 @@
</view> </view>
<view class="ValuationCenter-textarea"> <view class="ValuationCenter-textarea">
<view class="textarea-box"> <view class="textarea-box">
<textarea placeholder="描述" v-model="msg.Remark" maxlength="-1"></textarea> <textarea v-if="showShanchu" placeholder="描述" v-model="msg.Remark" maxlength="-1"></textarea>
<text v-else>描述: {{msg.Remark}}</text>
</view>
</view>
</view>
<view class="cutOff"/>
<view v-if="!showShanchu" class="ValuationCenter-box">
<view class="Valuation_item">
<view class="class-title">
<view></view>
<text>回复</text>
<view class="optional"></view>
</view>
</view>
<!-- <view class="hint">
</view> -->
<view class="ValuationCenter-textarea" style="margin-top: 0;">
<view class="textarea-box">
<text>{{datas.ReplyContent}}</text>
</view> </view>
</view> </view>
</view> </view>
...@@ -122,9 +144,15 @@ ...@@ -122,9 +144,15 @@
</view> </view>
</view> </view>
</div> </div>
<auth
v-if="showAuth"
@changeuserinfo="reloadUserinfo"
@gbAuth="gbAuth"
></auth>
</div> </div>
</template> </template>
<script> <script>
import auth from "@/components/auth/index.vue";
export default { export default {
data() { data() {
return { return {
...@@ -149,9 +177,12 @@ ...@@ -149,9 +177,12 @@
datas:{}, datas:{},
tmplIds:[], tmplIds:[],
showOpenSettingDialog:false, showOpenSettingDialog:false,
showShanchu:false,
u:{}
}; };
}, },
components: { components: {
auth,
// search, // search,
// tabbars, // tabbars,
// uniIndexedList // uniIndexedList
...@@ -165,6 +196,12 @@ ...@@ -165,6 +196,12 @@
this.host2 + "/api/File/UploadTencent?MallBaseId=" + MallBaseId; this.host2 + "/api/File/UploadTencent?MallBaseId=" + MallBaseId;
if(option.Obj){ if(option.Obj){
this.datas = JSON.parse(option.Obj) this.datas = JSON.parse(option.Obj)
console.log(this.datas.ReplyDate,'---')
if(this.datas.ReplyDate){
this.showShanchu = false
}else{
this.showShanchu = true
}
this.msg.Id = this.datas.Id this.msg.Id = this.datas.Id
this.msg.CategoryId = this.datas.CategoryId this.msg.CategoryId = this.datas.CategoryId
this.msg.BrandId = this.datas.BrandId this.msg.BrandId = this.datas.BrandId
...@@ -172,10 +209,21 @@ ...@@ -172,10 +209,21 @@
this.msg.GoodsImgList = this.datas.GoodsImgList this.msg.GoodsImgList = this.datas.GoodsImgList
this.msg.MoreImgList = this.datas.MoreImgList this.msg.MoreImgList = this.datas.MoreImgList
this.isloading = false this.isloading = false
this.getDetails()
} }
this.u = uni.getStorageSync("mall_UserInfo");
if (!this.u) {
this.u = {
nickName: "未登录",
avatarUrl: "",
};
this.isloading = false
this.showAuth = true;
} else {
this.getDetails()
this.showOpenSettingDialog = uni.getStorageSync('showOpenSettingDialog') || false; this.showOpenSettingDialog = uni.getStorageSync('showOpenSettingDialog') || false;
// this.subscription() this.subscription()
}
}, },
...@@ -211,7 +259,18 @@ ...@@ -211,7 +259,18 @@
}, },
// 提交 // 提交
setMsg(){ setMsg(){
if(this.msg.GoodsImgList.length==0||this.msg.GoodsImgList.length<this.GoodsImgList.length){ let arr = this.msg.GoodsImgList.map(item=>{
return item.Path
})
if(this.msg.GoodsImgList.length==0&&this.msg.GoodsImgList.length<this.BrandImgList.length){
uni.showToast({
title: "请上传商品图",
icon:'none'
});
return;
}
if(arr.indexOf(undefined)!=-1){
uni.showToast({ uni.showToast({
title: "请上传商品图", title: "请上传商品图",
icon:'none' icon:'none'
...@@ -229,7 +288,6 @@ ...@@ -229,7 +288,6 @@
}, },
res => { res => {
if(res.resultCode==1){ if(res.resultCode==1){
this.loading = true
uni.hideLoading(); uni.hideLoading();
uni.showToast({ uni.showToast({
title: "提交成功", title: "提交成功",
...@@ -239,21 +297,29 @@ ...@@ -239,21 +297,29 @@
url: '/pages/Luxury/myValuation' url: '/pages/Luxury/myValuation'
}); });
} }
this.loading = true
uni.hideNavigationBarLoading(); uni.hideNavigationBarLoading();
} }
); );
}, },
onRemove(index) { onRemove(index,lists,indexs) {
this.msg.GoodsImgList.splice(index, 1); this.msg.GoodsImgList[indexs]={}
// this.msg.GoodsImgList.splice(indexs, 1);
}, },
uploadSuccessHandler(data, index, lists, obj) { uploadSuccessHandler(data, index, lists, obj,indexs) {
let r = JSON.parse(data); let r = JSON.parse(data);
let datas = { let datas = {
Sort:obj.Sort, Sort:obj.Sort,
Name:obj.Name, Name:obj.Name,
Path:r.data Path:r.data
} }
this.msg.GoodsImgList.push(datas) this.msg.GoodsImgList.forEach((item,i)=>{
if(i==indexs){
item.Sort=obj.Sort,
item.Name=obj.Name,
item.Path=r.data
}
})
}, },
onRemoveB(index) { onRemoveB(index) {
this.msg.MoreImgList.splice(index, 1); this.msg.MoreImgList.splice(index, 1);
...@@ -468,11 +534,14 @@ ...@@ -468,11 +534,14 @@
} }
.ValuationCenter-image{ .ValuationCenter-image{
display: flex; display: flex;
flex-wrap: wrap;
/* justify-content: space-between; */ /* justify-content: space-between; */
padding: 50rpx 20rpx; padding: 50rpx 20rpx;
} }
.upload-comm-image{ .upload-comm-image{
/* width: 200rpx; */ /* width: 200rpx; */
margin-right: 10rpx;
margin-bottom: 20rpx;
} }
.image-name{ .image-name{
display: block; display: block;
...@@ -556,4 +625,11 @@ ...@@ -556,4 +625,11 @@
.uploadImgb .u-list-item{ .uploadImgb .u-list-item{
margin-right: 20rpx; margin-right: 20rpx;
} }
.slot-btn{
width: 200rpx;
height: 200rpx;
display: flex;
justify-content: center;
align-items: center;
}
</style> </style>
\ No newline at end of file
<template> <template>
<view class="orderindexStyle" :style="{height: contentHeight,}"> <view class="orderindexStyle" :style="{height: contentHeight,}">
<view style="padding: 10px 0; background: #fff;"> <!-- <view style="padding: 10px 0; background: #fff;"> -->
<!-- <u-tabs :list="headList" :current="current" name="Name" @change="change" :active-color="mainColor" bg-color="#FFF" <!-- <u-tabs :list="headList" :current="current" name="Name" @change="change" :active-color="mainColor" bg-color="#FFF"
height="80"></u-tabs> --> height="80"></u-tabs> -->
<view class="myValation-header"> <!-- <view class="myValation-header">
<view class="myValation-title" v-for="(item,index) in headList" <view class="myValation-title" v-for="(item,index) in headList"
:class="{'active':headID==item.Id}" @click="choose(item)"> :class="{'active':headID==item.Id}" @click="choose(item)">
<text>{{item.name}}</text> <text>{{item.name}}</text>
<view></view> <view></view>
</view> </view>
</view> </view> -->
</view> <!-- </view> -->
<view style="height: calc(100vh - 50px); background: #fff;" v-if="list.length == 0"> <view style="height: calc(100vh - 50px); background: #fff;" v-if="list.length == 0">
...@@ -42,9 +42,14 @@ ...@@ -42,9 +42,14 @@
</view> </view>
</view> </view>
</view> </view>
<u-loadmore v-if="pageCount>1" :status="status" :load-text="loadText" :font-size="24" :margin-top="20" :margin-bottom="20" bg-color="#f3f4f6" /> <u-loadmore v-if="pageCount>1&&list.length>0" :status="status" :load-text="loadText" :font-size="24" :margin-top="20" :margin-bottom="20" bg-color="#f3f4f6" />
</scroll-view> </scroll-view>
</view> </view>
<auth
v-if="showAuth"
@changeuserinfo="reloadUserinfo"
@gbAuth="gbAuth"
></auth>
</view> </view>
</template> </template>
...@@ -67,7 +72,7 @@ ...@@ -67,7 +72,7 @@
// {name:'帮卖中',Id:3}, // {name:'帮卖中',Id:3},
// {name:'已完成',Id:4}, // {name:'已完成',Id:4},
], ],
pageTitle: "我的订单", pageTitle: "估价列表",
current: 0, current: 0,
list: [], list: [],
mainColor: "", mainColor: "",
...@@ -116,6 +121,7 @@ ...@@ -116,6 +121,7 @@
loading: "努力加载中", loading: "努力加载中",
nomore: "没有更多了", nomore: "没有更多了",
}, },
u:{}
}; };
}, },
created() { created() {
...@@ -151,6 +157,15 @@ ...@@ -151,6 +157,15 @@
} }
}, },
methods: { methods: {
reloadUserinfo() {
this.u = uni.getStorageSync("mall_UserInfo");
// this.showAuth=false;
this.init()
},
//关闭登录窗口
gbAuth() {
uni.navigateBack();
},
goDetails(item){ goDetails(item){
uni.navigateTo({ uni.navigateTo({
url: '/pages/Luxury/ValuationDetails?Obj='+JSON.stringify(item) url: '/pages/Luxury/ValuationDetails?Obj='+JSON.stringify(item)
...@@ -267,12 +282,22 @@ ...@@ -267,12 +282,22 @@
width: 100%; width: 100%;
height: 100rpx; height: 100rpx;
} }
.title-box text{
display: block;
margin-bottom: 10rpx;
}
.listBox_Reply{ .listBox_Reply{
width: 100%; width: 100%;
margin-top: 20rpx; margin-top: 20rpx;
text-align: right; background: #F6F6F6;
display: flex;
padding: 20rpx 30rpx;
} }
.listBox_Reply text:first-child{ .listBox_Reply text:first-child{
margin-right: 10rpx; margin-right: 10rpx;
font-weight: 500;
color: black;
}.listBox_Reply text:last-child{
color: #191919;
} }
</style> </style>
\ No newline at end of file
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