<template>
							 | 
						|
									<view class="page">
							 | 
						|
								
							 | 
						|
										<navbar title="设置与管理" leftClick @leftClick="$utils.navigateBack" />
							 | 
						|
								
							 | 
						|
										<view class="frame">
							 | 
						|
											<view class="content">
							 | 
						|
												<view class="title">账号管理</view>
							 | 
						|
												
							 | 
						|
												<uv-cell
							 | 
						|
												icon="coupon" 
							 | 
						|
												title="地址管理"
							 | 
						|
												isLink
							 | 
						|
												@click="$utils.navigateTo('/pages_order/mine/address')"
							 | 
						|
												iconStyle="font-size: 34rpx;"
							 | 
						|
												rightIconStyle="font-size: 34rpx;">
							 | 
						|
													<template #icon>
							 | 
						|
														<!-- <image src="../static/setting/1.png" mode="" -->
							 | 
						|
														<!-- style="width: 30rpx;height: 30rpx;"></image> -->
							 | 
						|
													</template>
							 | 
						|
												</uv-cell>
							 | 
						|
												
							 | 
						|
												<uv-cell
							 | 
						|
												icon="coupon" 
							 | 
						|
												title="订单管理"
							 | 
						|
												isLink
							 | 
						|
												@click="$utils.navigateTo('/pages_order/order/order')"
							 | 
						|
												iconStyle="font-size: 34rpx;"
							 | 
						|
												rightIconStyle="font-size: 34rpx;">
							 | 
						|
													<template #icon>
							 | 
						|
														<!-- <image src="../static/setting/1.png" mode=""
							 | 
						|
														style="width: 30rpx;height: 30rpx;"></image> -->
							 | 
						|
													</template>
							 | 
						|
												</uv-cell>
							 | 
						|
												
							 | 
						|
												<uv-cell
							 | 
						|
												icon="coupon" 
							 | 
						|
												title="修改个人信息"
							 | 
						|
												isLink
							 | 
						|
												@click="$utils.navigateTo('/pages_order/auth/wxUserInfo?back=1')"
							 | 
						|
												iconStyle="font-size: 34rpx;"
							 | 
						|
												rightIconStyle="font-size: 34rpx;">
							 | 
						|
													<template #icon>
							 | 
						|
														<!-- <image src="../static/setting/1.png" mode=""
							 | 
						|
														style="width: 30rpx;height: 30rpx;"></image> -->
							 | 
						|
													</template>
							 | 
						|
												</uv-cell>
							 | 
						|
												
							 | 
						|
												
							 | 
						|
												<uv-cell
							 | 
						|
												icon="coupon" 
							 | 
						|
												title="退出登录"
							 | 
						|
												isLink
							 | 
						|
												@click="$store.commit('logout')"
							 | 
						|
												iconStyle="font-size: 34rpx;"
							 | 
						|
												rightIconStyle="font-size: 34rpx;">
							 | 
						|
													<template #icon>
							 | 
						|
														<!-- <image src="../static/setting/1.png" mode=""
							 | 
						|
														style="width: 30rpx;height: 30rpx;"></image> -->
							 | 
						|
													</template>
							 | 
						|
												</uv-cell>
							 | 
						|
												
							 | 
						|
											</view>
							 | 
						|
											<view class="content">
							 | 
						|
												<view class="title">系统设置</view>
							 | 
						|
												
							 | 
						|
												<uv-cell
							 | 
						|
												icon="coupon" 
							 | 
						|
												title="清理缓存"
							 | 
						|
												isLink
							 | 
						|
												@click="clearCache"
							 | 
						|
												iconStyle="font-size: 34rpx;"
							 | 
						|
												rightIconStyle="font-size: 34rpx;">
							 | 
						|
													<template #icon>
							 | 
						|
														<!-- <image src="../static/setting/1.png" mode=""
							 | 
						|
														style="width: 30rpx;height: 30rpx;"></image> -->
							 | 
						|
													</template>
							 | 
						|
												</uv-cell>
							 | 
						|
												
							 | 
						|
												
							 | 
						|
											</view>
							 | 
						|
										</view>
							 | 
						|
								
							 | 
						|
								
							 | 
						|
									</view>
							 | 
						|
								</template>
							 | 
						|
								<script>
							 | 
						|
									export default {
							 | 
						|
										data() {
							 | 
						|
											return {
							 | 
						|
											}
							 | 
						|
										},
							 | 
						|
								
							 | 
						|
										methods: {
							 | 
						|
											tapItem(item, index) {
							 | 
						|
												if (item.text === this.$t('pageTitle.languageSwitch')) {
							 | 
						|
													this.$refs.changeLanguage.open();
							 | 
						|
												}
							 | 
						|
											},
							 | 
						|
											// 清理缓存
							 | 
						|
											clearCache(){
							 | 
						|
												uni.showModal({
							 | 
						|
													title: '确认清理缓存吗?',
							 | 
						|
													success(r) {
							 | 
						|
														if(r.confirm){
							 | 
						|
															uni.showLoading()
							 | 
						|
															setTimeout(() => {
							 | 
						|
																uni.hideLoading()
							 | 
						|
																uni.showToast({
							 | 
						|
																	title: '缓存清理成功!',
							 | 
						|
																	icon: 'none'
							 | 
						|
																})
							 | 
						|
															}, 800)
							 | 
						|
														}
							 | 
						|
													}
							 | 
						|
												})
							 | 
						|
											},
							 | 
						|
										},
							 | 
						|
									}
							 | 
						|
								</script>
							 | 
						|
								
							 | 
						|
								
							 | 
						|
								<style scoped lang="scss">
							 | 
						|
									.page {
							 | 
						|
										background-color: #FFF;
							 | 
						|
										height: 100vh;
							 | 
						|
								
							 | 
						|
										.frame {
							 | 
						|
								
							 | 
						|
											.content {
							 | 
						|
												margin: 40rpx 0;
							 | 
						|
								
							 | 
						|
												.title {
							 | 
						|
													font-size: 30rpx;
							 | 
						|
													color: #b0b0b0;
							 | 
						|
													padding: 0 30rpx;
							 | 
						|
												}
							 | 
						|
												
							 | 
						|
												.uv-cell__body{
							 | 
						|
													padding: 40rpx 20rpx;
							 | 
						|
													margin-top: 10rpx;
							 | 
						|
												}
							 | 
						|
											}
							 | 
						|
								
							 | 
						|
										}
							 | 
						|
									}
							 | 
						|
								</style>
							 |