fixing bug
This commit is contained in:
parent
40e4d10bd7
commit
d69486d1ab
@ -57,6 +57,9 @@ export default {
|
|||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
props:['url','type']
|
props:['url','type'],
|
||||||
|
created() {
|
||||||
|
console.log(this.url, this.type);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
@ -46,7 +46,7 @@
|
|||||||
<imageTop v-else :url="item.article_pic" @click.native="toDetailsPage({ id: item.article_id, type: item.type })"></imageTop>
|
<imageTop v-else :url="item.article_pic" @click.native="toDetailsPage({ id: item.article_id, type: item.type })"></imageTop>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="indexlist.length" class="container-bottom">
|
<view v-if="indexlist.length" class="container-bottom">
|
||||||
<listitem v-for="item in indexlist" :key="item.id" :type="item.type" :url="item.article_pic" class="bottom-item" @click.native="toDetailsPage({ id: item.article_id, type: item.type })"></listitem>
|
<listitem v-for="item in indexlist" :key="item.article_id" :type="item.type" :url="item.article_pic" class="bottom-item" @click.native="toDetailsPage({ id: item.article_id, type: item.type })"></listitem>
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
<view class="item" v-if="cur==1">
|
<view class="item" v-if="cur==1">
|
||||||
|
@ -136,7 +136,7 @@ export default {
|
|||||||
sizeType: ['original', 'compressed'],
|
sizeType: ['original', 'compressed'],
|
||||||
sourceType: ['album'],
|
sourceType: ['album'],
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
this.avatar = res.tempFilePaths[0];
|
// this.avatar = res.tempFilePaths[0];
|
||||||
common.uploadFile({
|
common.uploadFile({
|
||||||
url: url,
|
url: url,
|
||||||
name: 'avatar',
|
name: 'avatar',
|
||||||
@ -144,7 +144,7 @@ export default {
|
|||||||
}).then(result => {
|
}).then(result => {
|
||||||
// console.log(result);
|
// console.log(result);
|
||||||
// this.$set(this, 'avatar', result.file_path);
|
// this.$set(this, 'avatar', result.file_path);
|
||||||
// this.avatar = result.file_path;
|
this.avatar = result.file_path + "?" + new Date().getTime();
|
||||||
this.uploadPath = result.file_name;
|
this.uploadPath = result.file_name;
|
||||||
}, error => {
|
}, error => {
|
||||||
this.$u.toast(error);
|
this.$u.toast(error);
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="information">
|
<view class="information">
|
||||||
<view class="info-avatar">
|
<view class="info-avatar">
|
||||||
<u-avatar :src="userInfo.member_avatar + '?' + new Date().getTime()" :size="120"></u-avatar>
|
<u-avatar :src="userInfo.member_avatar" :size="120"></u-avatar>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-item">
|
<view class="info-item">
|
||||||
<view class="title">昵称</view>
|
<view class="title">昵称</view>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<view class="mine">
|
<view class="mine">
|
||||||
<view class="mine-top">
|
<view class="mine-top">
|
||||||
<view class="top">
|
<view class="top">
|
||||||
<u-avatar @click="toOtherPage('/mine/MineInfo')" :src="userInfo.member_avatar + '?' + new Date().getTime()" :size="110"></u-avatar>
|
<u-avatar @click="toOtherPage('/mine/MineInfo')" :src="userInfo.member_avatar" :size="110"></u-avatar>
|
||||||
<view class="user-info">
|
<view class="user-info">
|
||||||
<view class="info-top">
|
<view class="info-top">
|
||||||
<view class="user-nickname u-line-1">{{ userInfo.member_nickname }}</view>
|
<view class="user-nickname u-line-1">{{ userInfo.member_nickname }}</view>
|
||||||
@ -58,35 +58,6 @@
|
|||||||
<text>{{ item.number }}</text>
|
<text>{{ item.number }}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view @click="toOtherPage('/order/Index?current=1')">
|
|
||||||
<image src="/static/image/mine/6.png"></image>
|
|
||||||
<view>待支付</view>
|
|
||||||
<view class="order-num">{{ 99 }}</view>
|
|
||||||
</view>
|
|
||||||
<view @click="toOtherPage('/order/Index?current=2')">
|
|
||||||
<image src="/static/image/mine/35.png"></image>
|
|
||||||
<view>待发货</view>
|
|
||||||
</view>
|
|
||||||
<view @click="toOtherPage('/order/Index?current=3')">
|
|
||||||
<image src="/static/image/mine/2.png"></image>
|
|
||||||
<view>待收货</view>
|
|
||||||
</view>
|
|
||||||
<view @click="toOtherPage('/order/Index?current=4')">
|
|
||||||
<image src="/static/image/mine/1.png"></image>
|
|
||||||
<view>试穿试送</view>
|
|
||||||
</view>
|
|
||||||
<view @click="toOtherPage('/order/Index?current=5')">
|
|
||||||
<image src="/static/image/mine/37.png"></image>
|
|
||||||
<view>拼团中</view>
|
|
||||||
</view>
|
|
||||||
<view @click="toOtherPage('/order/Index?current=6')">
|
|
||||||
<image src="/static/image/mine/3.png"></image>
|
|
||||||
<view>待评价</view>
|
|
||||||
</view>
|
|
||||||
<view @click="toOtherPage('/order/Index?current=7')">
|
|
||||||
<image src="/static/image/mine/9.png"></image>
|
|
||||||
<view>售后</view>
|
|
||||||
</view> -->
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="tool">
|
<view class="tool">
|
||||||
@ -181,7 +152,7 @@ export default {
|
|||||||
{
|
{
|
||||||
name: 'wait_evaluation',
|
name: 'wait_evaluation',
|
||||||
title: '待评价',
|
title: '待评价',
|
||||||
img: '/static/image/mine/40.png',
|
img: '/static/image/mine/3.png',
|
||||||
link: '/order/Index?current=6',
|
link: '/order/Index?current=6',
|
||||||
number: '',
|
number: '',
|
||||||
},
|
},
|
||||||
@ -415,8 +386,7 @@ export default {
|
|||||||
.order-num{
|
.order-num{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -12rpx;
|
top: -12rpx;
|
||||||
right: -38rpx;
|
left: 40rpx;
|
||||||
width: 50rpx;
|
|
||||||
}
|
}
|
||||||
.order-num > text {
|
.order-num > text {
|
||||||
z-index: 9;
|
z-index: 9;
|
||||||
@ -447,7 +417,7 @@ export default {
|
|||||||
@include image-size($image-width: 35rpx, $image-height: 35rpx);
|
@include image-size($image-width: 35rpx, $image-height: 35rpx);
|
||||||
}
|
}
|
||||||
> view:nth-child(5){
|
> view:nth-child(5){
|
||||||
@include image-size($image-width: 43rpx, $image-height: 35rpx);
|
@include image-size($image-width: 35rpx, $image-height: 35rpx);
|
||||||
}
|
}
|
||||||
> view:nth-child(6){
|
> view:nth-child(6){
|
||||||
@include image-size($image-width: 33rpx, $image-height: 35rpx);
|
@include image-size($image-width: 33rpx, $image-height: 35rpx);
|
||||||
|
Loading…
Reference in New Issue
Block a user