update api abput mine
This commit is contained in:
		
							parent
							
								
									dbffca53c8
								
							
						
					
					
						commit
						70e848cbbb
					
				| @ -26,35 +26,38 @@ const install = (Vue, vm) => { | |||||||
| 		getorderlist(){ | 		getorderlist(){ | ||||||
| 			return vm.$u.get("/Order/orderList") | 			return vm.$u.get("/Order/orderList") | ||||||
| 		}, | 		}, | ||||||
|  | 		// 获取试穿订单列表
 | ||||||
|  | 		getshiftlist(){ | ||||||
|  | 			return vm.$u.get("/order/goodsTryOrderList") | ||||||
|  | 		}, | ||||||
| 		// 获取轮播图列表
 | 		// 获取轮播图列表
 | ||||||
| 		getswiper(){ | 		getswiper(){ | ||||||
| 			return vm.$u.get("/Order/orderList") | 			return vm.$u.get("/Order/orderList") | ||||||
| 		}, | 		}, | ||||||
| 		// 商家登陆
 | 		// 商家登陆
 | ||||||
| 		shoplogin(obj){ | 		shoplogin({member_name,member_password}){ | ||||||
| 		    return vm.$u.get("/Login/storeLogin",obj) | 		    return vm.$u.get("/Login/storeLogin",{member_name,member_password}) | ||||||
| 		}, | 		}, | ||||||
| 		// 获取个人信息
 | 		// 获取个人信息
 | ||||||
| 		getshopinfo(obj){ | 		getshopinfo(){ | ||||||
| 		    return vm.$u.post("/member/memberInfo",obj) | 		    return vm.$u.post("/member/memberInfo") | ||||||
| 		}, | 		}, | ||||||
| 		// 获取粉丝列表
 | 		// 获取粉丝列表
 | ||||||
| 		myfanlist(obj){ | 		myfanlist(){ | ||||||
| 		    return vm.$u.post("/member/myFansList",obj) | 		    return vm.$u.post("/member/myFansList") | ||||||
| 		}, |  | ||||||
| 		// 商家登陆
 |  | ||||||
| 		getshopinfo(obj){ |  | ||||||
| 		    return vm.$u.post("/member/memberInfo",obj) |  | ||||||
| 		}, | 		}, | ||||||
| 		// 修改个人信息
 | 		// 修改个人信息
 | ||||||
| 		changeinfo(obj){ | 		changeinfo({nickname,avatar,signature}){ | ||||||
| 		    return vm.$u.post("/Member/changeMemberInfo",obj) | 		    return vm.$u.post("/Member/changeMemberInfo",{nickname,avatar,signature}) | ||||||
| 		}, | 		}, | ||||||
| 		// 获取内容列表
 | 		// 获取内容列表
 | ||||||
| 		articlelist(obj){ | 		articlelist({type,page}){ | ||||||
| 		    return vm.$u.post("/Article/articleList",obj) | 		    return vm.$u.post("/Article/articleList",{type,page}) | ||||||
|  | 		}, | ||||||
|  | 		// 骑手列表
 | ||||||
|  | 		takeawayerlist(){ | ||||||
|  | 		    return vm.$u.get("/Order/getTakeawayerList") | ||||||
| 		}, | 		}, | ||||||
| 		 |  | ||||||
|     } |     } | ||||||
| 	// 将各个定义的接口名称,统一放进对象挂载到vm.$u.api(因为vm就是this,也即this.$u.api)下
 | 	// 将各个定义的接口名称,统一放进对象挂载到vm.$u.api(因为vm就是this,也即this.$u.api)下
 | ||||||
| 	vm.$u.api = api; | 	vm.$u.api = api; | ||||||
|  | |||||||
| @ -1,6 +1,6 @@ | |||||||
| <template> | <template> | ||||||
| 	<view class="item" @click="toDetailsPage"> | 	<view class="item" @click="toDetailsPage"> | ||||||
| 		<image></image> | 		<image :src="info.extend_order_goods[0].goods_image"></image> | ||||||
| 		<view class="goods"> | 		<view class="goods"> | ||||||
| 			<view class=""> | 			<view class=""> | ||||||
| 				<view class=""> | 				<view class=""> | ||||||
| @ -28,9 +28,8 @@ export default { | |||||||
| 	}, | 	}, | ||||||
| 	methods: { | 	methods: { | ||||||
| 		toDetailsPage() { | 		toDetailsPage() { | ||||||
| 			console.log(this.info) |  | ||||||
| 			uni.navigateTo({ | 			uni.navigateTo({ | ||||||
| 				url: '/pages/index/details?current=' + this.cur | 				url: '/pages/index/details?id=' + this.info.order_id | ||||||
| 			}); | 			}); | ||||||
| 		}, | 		}, | ||||||
| 	}, | 	}, | ||||||
|  | |||||||
							
								
								
									
										84
									
								
								components/order-item/testlist.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										84
									
								
								components/order-item/testlist.vue
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,84 @@ | |||||||
|  | <template> | ||||||
|  | 	<view class="item" @click="toDetailsPage"> | ||||||
|  | 		<image :src="info.goods_pic"></image> | ||||||
|  | 		<view class="goods"> | ||||||
|  | 			<view class=""> | ||||||
|  | 				<view class="status" v-if="cur==4">待处理订单</view> | ||||||
|  | 			</view> | ||||||
|  | 			 | ||||||
|  | 			<view class="name u-line-1">{{info.extend_order_goods[0].goods_name}}</view> | ||||||
|  | 			<view class="info"> | ||||||
|  | 				<view class="num">共{{info.extend_order_goods[0].goods_num}}件商品</view> | ||||||
|  | 				<view class="price">实付<span>¥{{info.extend_order_goods[0].goods_pay_price}}</span></view> | ||||||
|  | 			</view> | ||||||
|  | 		</view> | ||||||
|  | 	</view> | ||||||
|  | </template> | ||||||
|  | <script> | ||||||
|  | export default { | ||||||
|  | 	data() { | ||||||
|  | 		return {} | ||||||
|  | 	}, | ||||||
|  | 	props: { | ||||||
|  | 		cur: [Number, String], | ||||||
|  | 		info: Object | ||||||
|  | 	}, | ||||||
|  | 	methods: { | ||||||
|  | 		toDetailsPage() { | ||||||
|  | 			uni.navigateTo({ | ||||||
|  | 				url: '/pages/index/details?id=' + this.info.order_id | ||||||
|  | 			}); | ||||||
|  | 		}, | ||||||
|  | 	}, | ||||||
|  | }; | ||||||
|  | </script> | ||||||
|  | <style lang="scss" scoped> | ||||||
|  | .item { | ||||||
|  | 	margin: 0 auto 20rpx; | ||||||
|  | 	width: 690rpx; | ||||||
|  | 	height: 220rpx; | ||||||
|  | 	background: rgba(255,255,255,1); | ||||||
|  | 	border-radius: 10rpx; | ||||||
|  | 	padding: 30rpx; | ||||||
|  | 	display: flex;  | ||||||
|  | 	align-items: center; | ||||||
|  | 	> image { | ||||||
|  | 		width: 160rpx; | ||||||
|  | 		height: 160rpx; | ||||||
|  | 		flex-shrink: 0; | ||||||
|  | 		margin-right: 25rpx; | ||||||
|  | 		background-color: aqua; | ||||||
|  | 	} | ||||||
|  | 	.goods { | ||||||
|  | 		display: flex; | ||||||
|  | 		flex-direction: column; | ||||||
|  | 		align-items: flex-start; | ||||||
|  | 		justify-content: center; | ||||||
|  | 		.status { | ||||||
|  | 			align-self: flex-end; | ||||||
|  | 			font-size: 26rpx; | ||||||
|  | 			color: rgba(255,49,49,1); | ||||||
|  | 			margin-bottom: 30rpx; | ||||||
|  | 		} | ||||||
|  | 		.name { | ||||||
|  | 			width: 439rpx; | ||||||
|  | 			font-size: 28rpx; | ||||||
|  | 			color: rgba(51,51,51,1); | ||||||
|  | 			margin-bottom: 30rpx; | ||||||
|  | 		} | ||||||
|  | 		.info { | ||||||
|  | 			width: 100%; | ||||||
|  | 			display: flex; | ||||||
|  | 			align-items: center; | ||||||
|  | 			font-size: 26rpx; | ||||||
|  | 			color: rgba(102,102,102,1); | ||||||
|  | 			.price { | ||||||
|  | 				margin-left: 10rpx; | ||||||
|  | 				> span { | ||||||
|  | 					color: #FF780F; | ||||||
|  | 				} | ||||||
|  | 			} | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
|  | } | ||||||
|  | </style> | ||||||
| @ -26,7 +26,9 @@ | |||||||
| 			</swiper-item> | 			</swiper-item> | ||||||
| 			<swiper-item class="swiper-item"> | 			<swiper-item class="swiper-item"> | ||||||
| 				<scroll-view scroll-y style="height: 100%;width: 100%;"> | 				<scroll-view scroll-y style="height: 100%;width: 100%;"> | ||||||
| 					<view v-for="(item, index) in 5" :key="index"><OrderItem :cur="current"></OrderItem></view> | 					<view v-for="(item, index) in testlist" :key="index"> | ||||||
|  | 						<testList :info="item"></testList> | ||||||
|  | 					</view> | ||||||
| 				</scroll-view> | 				</scroll-view> | ||||||
| 			</swiper-item> | 			</swiper-item> | ||||||
| 			<swiper-item class="swiper-item"> | 			<swiper-item class="swiper-item"> | ||||||
| @ -106,7 +108,12 @@ | |||||||
| 
 | 
 | ||||||
| <script> | <script> | ||||||
| import OrderItem from '@/components/order-item/index'; | import OrderItem from '@/components/order-item/index'; | ||||||
|  | import testList from '@/components/order-item/testlist.vue'; | ||||||
| export default { | export default { | ||||||
|  | 	components: { | ||||||
|  | 		OrderItem, | ||||||
|  | 		testList | ||||||
|  | 	}, | ||||||
| 	data() { | 	data() { | ||||||
| 		return { | 		return { | ||||||
| 			list: [ | 			list: [ | ||||||
| @ -167,15 +174,14 @@ export default { | |||||||
| 			publishstate: false, | 			publishstate: false, | ||||||
| 			num: 0, | 			num: 0, | ||||||
| 			allorder:[],//所有订单 | 			allorder:[],//所有订单 | ||||||
|  | 			testlist:[],//试穿列表 | ||||||
| 		}; | 		}; | ||||||
| 	}, | 	}, | ||||||
| 	components: { |  | ||||||
| 		OrderItem |  | ||||||
| 	}, |  | ||||||
| 	onLoad() { | 	onLoad() { | ||||||
| 		this.getswiper(); | 		this.getswiper(); | ||||||
| 		this.getallorder(); | 		this.getallorder(0); | ||||||
| 		// 订单状态:0:已取消 10:未付款 20:已付款 30:已发货 40:已收货 | 		this.getshiftlist() | ||||||
|  | 		// 订单状态: 0:全部 1已付款未发货 2已发货 3已完成 4申请退款/退货 5已退款/退货 | ||||||
| 	}, | 	}, | ||||||
| 	onReachBottom() { | 	onReachBottom() { | ||||||
| 		this.num++ | 		this.num++ | ||||||
| @ -185,10 +191,29 @@ export default { | |||||||
| 		close() { | 		close() { | ||||||
| 			this.publishstate = false; | 			this.publishstate = false; | ||||||
| 		}, | 		}, | ||||||
| 		// 获取全部订单 | 		// 获取试穿列表 | ||||||
| 		getallorder() { | 		getshiftlist(){ | ||||||
|  | 			let that = this; | ||||||
|  | 			this.$u.api.getshiftlist({ | ||||||
|  | 				type:type, | ||||||
|  | 				page: that.num | ||||||
|  | 			}).then(res => { | ||||||
|  | 				console.log(res); | ||||||
|  | 				if (res.errCode != 0) { | ||||||
|  | 					this.$refs.uToast.show({ | ||||||
|  | 						title: res.message, | ||||||
|  | 						type: 'error' | ||||||
|  | 					}); | ||||||
|  | 				} else { | ||||||
|  | 					this.testlist = res.data.orderList | ||||||
|  | 				} | ||||||
|  | 			}); | ||||||
|  | 		}, | ||||||
|  | 		// 获取订单列表 | ||||||
|  | 		getallorder(type) { | ||||||
| 			let that = this; | 			let that = this; | ||||||
| 			this.$u.api.getorderlist({ | 			this.$u.api.getorderlist({ | ||||||
|  | 				type:type, | ||||||
| 				page: that.num | 				page: that.num | ||||||
| 			}).then(res => { | 			}).then(res => { | ||||||
| 				console.log(res); | 				console.log(res); | ||||||
|  | |||||||
| @ -1,21 +1,30 @@ | |||||||
| <template> | <template> | ||||||
| 	<view class="content"> | 	<view class="content"> | ||||||
| 		<view class="tab-swiper"> | 		<view class="tab-swiper"> | ||||||
| 			<u-tabs-swiper ref="uTabs" :list="list" :current="current" @change="tabsChange" active-color="#FF780F" inactive-color="#333333" font-size="30" gutter="317" height="98" :show-bar="false" swiperWidth="750" :is-scroll="false"></u-tabs-swiper> | 			<u-tabs-swiper | ||||||
|  | 				ref="uTabs" | ||||||
|  | 				:list="list" | ||||||
|  | 				:current="current" | ||||||
|  | 				@change="tabsChange" | ||||||
|  | 				active-color="#FF780F" | ||||||
|  | 				inactive-color="#333333" | ||||||
|  | 				font-size="30" | ||||||
|  | 				gutter="317" | ||||||
|  | 				height="98" | ||||||
|  | 				:show-bar="false" | ||||||
|  | 				swiperWidth="750" | ||||||
|  | 				:is-scroll="false" | ||||||
|  | 			></u-tabs-swiper> | ||||||
| 		</view> | 		</view> | ||||||
| 		<swiper :current="swiperCurrent" > | 		<swiper :current="swiperCurrent"> | ||||||
| 			<swiper-item class="swiper-item"> | 			<swiper-item class="swiper-item"> | ||||||
| 				<scroll-view scroll-y style="height: 100%;width: 100%;" class="list"> | 				<scroll-view scroll-y style="height: 100%;width: 100%;" class="list"> | ||||||
| 					<view v-for="(item, index) in newlist" :key="index"> | 					<view v-for="(item, index) in newlist" :key="index"><ContentItem :info="item" :type="type" del="del"></ContentItem></view> | ||||||
| 						<ContentItem :info="item" :type="type" del="del"></ContentItem> |  | ||||||
| 					</view> |  | ||||||
| 				</scroll-view> | 				</scroll-view> | ||||||
| 			</swiper-item> | 			</swiper-item> | ||||||
| 			<swiper-item class="swiper-item"> | 			<swiper-item class="swiper-item"> | ||||||
| 				<scroll-view scroll-y style="height: 100%;width: 100%;" class="video-list"> | 				<scroll-view scroll-y style="height: 100%;width: 100%;" class="video-list"> | ||||||
| 					<view v-for="(item, index) in newlist" :key="index"> | 					<view v-for="(item, index) in newlist" :key="index"><ContentItem :info="item" :type="type" @del="del"></ContentItem></view> | ||||||
| 						<ContentItem :info="item" :type="type" @del="del"></ContentItem> |  | ||||||
| 					</view> |  | ||||||
| 				</scroll-view> | 				</scroll-view> | ||||||
| 			</swiper-item> | 			</swiper-item> | ||||||
| 		</swiper> | 		</swiper> | ||||||
| @ -23,7 +32,7 @@ | |||||||
| 			<view class="close-popup"> | 			<view class="close-popup"> | ||||||
| 				<view class="tips">确定要删除该视频吗</view> | 				<view class="tips">确定要删除该视频吗</view> | ||||||
| 				<view class="btn"> | 				<view class="btn"> | ||||||
| 					<view class="cancel" @click="show=false">取消</view> | 					<view class="cancel" @click="show = false">取消</view> | ||||||
| 					<view class="confirm">确定</view> | 					<view class="confirm">确定</view> | ||||||
| 				</view> | 				</view> | ||||||
| 			</view> | 			</view> | ||||||
| @ -31,102 +40,109 @@ | |||||||
| 	</view> | 	</view> | ||||||
| </template> | </template> | ||||||
| <script> | <script> | ||||||
| import ContentItem from '@/components/content-item/index' | import ContentItem from '@/components/content-item/index'; | ||||||
| export default { | export default { | ||||||
| 	data() { | 	data() { | ||||||
| 		return { | 		return { | ||||||
| 			show: false, | 			show: false, | ||||||
| 			current: 0, | 			current: 0, | ||||||
| 			swiperCurrent: 0, | 			swiperCurrent: 0, | ||||||
| 			list: [{ | 			list: [ | ||||||
| 				name: '图文' | 				{ | ||||||
| 			}, { | 					name: '图文' | ||||||
| 				name: '视频' | 				}, | ||||||
| 			}], | 				{ | ||||||
| 			type:1, | 					name: '视频' | ||||||
| 			num:1, | 				} | ||||||
| 			newlist:[] | 			], | ||||||
| 		} | 			type: 1, | ||||||
|  | 			num: 1, | ||||||
|  | 			newlist: [] | ||||||
|  | 		}; | ||||||
| 	}, | 	}, | ||||||
| 	components: { | 	components: { | ||||||
| 		ContentItem | 		ContentItem | ||||||
| 	}, | 	}, | ||||||
| 	onLoad() { | 	onLoad() { | ||||||
| 		this.getlist() | 		this.getlist(); | ||||||
| 	}, | 	}, | ||||||
| 	onReachBottom() { | 	onReachBottom() { | ||||||
| 		this.num++ | 		this.num++; | ||||||
| 		this.getlist() | 		this.getlist(); | ||||||
| 	}, | 	}, | ||||||
| 	methods: { | 	methods: { | ||||||
| 		getlist(){ | 		getlist() { | ||||||
| 			let that = this; | 			let that = this; | ||||||
| 			this.$u.api.articlelist({ | 			this.$u.api | ||||||
| 				type:that.type, | 				.articlelist({ | ||||||
| 				page:that.num | 					type: that.type, | ||||||
| 			}).then(res => { | 					page: that.num | ||||||
| 				console.log(res); | 				}) | ||||||
| 				if (res.errCode != 0) { | 				.then(res => { | ||||||
| 					this.$refs.uToast.show({ | 					console.log(res); | ||||||
| 						title: res.message, | 					if (res.errCode != 0) { | ||||||
| 						type: 'error' | 						this.$refs.uToast.show({ | ||||||
| 					}); | 							title: res.message, | ||||||
| 				} else { | 							type: 'error' | ||||||
| 					let arr = res.data.articleList | 						}); | ||||||
| 					for(let index in arr){ | 					} else { | ||||||
| 						that.newlist.push(arr[index]) | 						let arr = res.data.articleList; | ||||||
|  | 						for (let index in arr) { | ||||||
|  | 							that.newlist.push(arr[index]); | ||||||
|  | 						} | ||||||
| 					} | 					} | ||||||
| 				} | 				}); | ||||||
| 			}); |  | ||||||
| 			 |  | ||||||
| 		}, | 		}, | ||||||
| 		del(e) { | 		del(e) { | ||||||
| 			// 删除元素 | 			// 删除元素 | ||||||
| 			this.show=true | 			this.show = true; | ||||||
| 			console.log(e) | 			console.log(e); | ||||||
| 		}, | 		}, | ||||||
| 		tabsChange(index) { | 		tabsChange(index) { | ||||||
| 			this.swiperCurrent = index; | 			this.swiperCurrent = index; | ||||||
| 			this.type=index+1; | 			this.type = index + 1; | ||||||
| 			this.num=0 | 			this.num = 0; | ||||||
| 			this.newlist=[] | 			this.newlist = []; | ||||||
| 			this.getlist() | 			this.getlist(); | ||||||
| 		}, | 		}, | ||||||
| 		animationfinish(e) { | 		animationfinish(e) { | ||||||
| 			console.log(12345666) | 			console.log(12345666); | ||||||
| 			let current = e.detail.current; | 			let current = e.detail.current; | ||||||
| 			this.swiperCurrent = current; | 			this.swiperCurrent = current; | ||||||
| 			this.current = current; | 			this.current = current; | ||||||
| 			this.type=current+1; | 			this.type = current + 1; | ||||||
| 		}, | 		} | ||||||
| 	}, | 	} | ||||||
| }; | }; | ||||||
| </script> | </script> | ||||||
| <style lang="scss" scoped> | <style lang="scss" scoped> | ||||||
|  | .tab-swiper { | ||||||
|  | 	width: 100%; | ||||||
|  | 	position: fixed; | ||||||
|  | 	top: 0; | ||||||
|  | 	margin-bottom: 2rpx 0 20rpx 0; | ||||||
|  | } | ||||||
| .content { | .content { | ||||||
| 	min-height: calc(100vh - var(--window-top)); | 	min-height: calc(100vh - var(--window-top)); | ||||||
| 	background-color: #ECECEC; | 	background-color: #ececec; | ||||||
| 	display: flex; | 	display: flex; | ||||||
| 	flex-direction: column; | 	flex-direction: column; | ||||||
| 	> uni-swiper { | 	> uni-swiper { | ||||||
| 		flex: 1; | 		flex: 1; | ||||||
| 	} | 	} | ||||||
| 	.tab-swiper { |  | ||||||
| 		margin: 2rpx 0 20rpx 0; |  | ||||||
| 	} |  | ||||||
| 	.close-popup { | 	.close-popup { | ||||||
| 		background:rgba(255,255,255,1); | 		background: rgba(255, 255, 255, 1); | ||||||
| 		border-radius: 10rpx; | 		border-radius: 10rpx; | ||||||
| 		.tips { | 		.tips { | ||||||
| 			width: 420rpx; | 			width: 420rpx; | ||||||
| 			font-size: 28rpx; | 			font-size: 28rpx; | ||||||
| 			color: rgba(102,102,102,1); | 			color: rgba(102, 102, 102, 1); | ||||||
| 			text-align: center; | 			text-align: center; | ||||||
| 			padding: 38rpx 0; | 			padding: 38rpx 0; | ||||||
| 		} | 		} | ||||||
| 		.btn { | 		.btn { | ||||||
| 			width: 420rpx; | 			width: 420rpx; | ||||||
| 			border-top: 2rpx #ECECEC solid; | 			border-top: 2rpx #ececec solid; | ||||||
| 			display: flex; | 			display: flex; | ||||||
| 			> view { | 			> view { | ||||||
| 				font-size: 26rpx; | 				font-size: 26rpx; | ||||||
| @ -136,10 +152,10 @@ export default { | |||||||
| 			} | 			} | ||||||
| 			.cancel { | 			.cancel { | ||||||
| 				color: #333333; | 				color: #333333; | ||||||
| 				border-right: 2rpx #ECECEC solid; | 				border-right: 2rpx #ececec solid; | ||||||
| 			} | 			} | ||||||
| 			.confirm { | 			.confirm { | ||||||
| 				color: #FF780F; | 				color: #ff780f; | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
|  | |||||||
| @ -3,7 +3,7 @@ | |||||||
| 		<view class="lately"> | 		<view class="lately"> | ||||||
| 			<view class="title">最新</view> | 			<view class="title">最新</view> | ||||||
| 			<view class="items"> | 			<view class="items"> | ||||||
| 				<view v-for="(item, index) in myfans" :key="index"> | 				<view v-for="(item, index) in newfans" :key="index"> | ||||||
| 					<FansItem :info="item"></FansItem> | 					<FansItem :info="item"></FansItem> | ||||||
| 				</view> | 				</view> | ||||||
| 			</view> | 			</view> | ||||||
| @ -11,7 +11,7 @@ | |||||||
| 		<view class="before"> | 		<view class="before"> | ||||||
| 			<view class="title">早前</view> | 			<view class="title">早前</view> | ||||||
| 			<view class="items"> | 			<view class="items"> | ||||||
| 				<view v-for="(item, index) in newfans" :key="index"> | 				<view v-for="(item, index) in myfans" :key="index"> | ||||||
| 					<FansItem :info="item"></FansItem> | 					<FansItem :info="item"></FansItem> | ||||||
| 				</view> | 				</view> | ||||||
| 			</view> | 			</view> | ||||||
|  | |||||||
| @ -6,11 +6,11 @@ | |||||||
| 		</view> | 		</view> | ||||||
| 		<view class="item"> | 		<view class="item"> | ||||||
| 			<text class="title">用户名</text> | 			<text class="title">用户名</text> | ||||||
| 			<input type="text" :value="info.member_nickname==null?'新用户':info.member_nickname" /> | 			<input type="text" value="" v-model="info.member_nickname" placeholder="请输入用户名"/> | ||||||
| 		</view> | 		</view> | ||||||
| 		<view class="item"> | 		<view class="item"> | ||||||
| 			<text class="title">个性签名</text> | 			<text class="title">个性签名</text> | ||||||
| 			<input type="text" :value="info.signature==''?'该用户很懒没有签名!':info.signature" /> | 			<input type="text" value="" v-model="info.signature" placeholder="请输入个性签名"/> | ||||||
| 		</view> | 		</view> | ||||||
| 		<view class="password" @click="updatePwd"> | 		<view class="password" @click="updatePwd"> | ||||||
| 			<text>修改密码</text> | 			<text>修改密码</text> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user