@dongkboy 1 год назад
Родитель
Сommit
2cb0c50ddf
3 измененных файлов с 250 добавлено и 1 удалено
  1. 68 0
      pages/login/logoutAgreement.vue
  2. 174 0
      pages/set/accountCancellation.vue
  3. 8 1
      pages/set/safe.vue

+ 68 - 0
pages/login/logoutAgreement.vue

@@ -0,0 +1,68 @@
+<template>
+	<view style="font-size: 14px;line-height: 26px;padding: 32upx;background: #FFFFFF;" class="home1">
+		<!-- 公共组件-每个页面必须引入 -->
+		<public-module></public-module>
+		<view class="u-f-ajc" style="font-size: 16px;font-weight: bold">山西晋掌柜用户注销协议</view>
+		<view style="text-align: left;margin-top: 15upx;font-weight: bold">生效日期:2025年01月14日</view>
+		<view style="text-align: left;text-indent: 2rem;">
+			感谢您使用山西晋掌柜(以下简称“本平台”)的产品与服务。我们非常重视您的个人信息安全与隐私保护。<text
+				style="font-weight: bold;">在您决定注销晋掌柜科技账号之前,请仔细阅读以下协议条款。</text></view>
+		<view style="font-size: 16px;font-weight: bold">1、注销条件</view>
+		<view style="text-align: left;">在申请注销账号前,请确保满足以下条件:</view>
+		<ul>
+			<li>您的账号无任何未提现余额的或未关闭的订单。</li>
+			<li>您的账号未处于任何争议、投诉或调查之中。</li>
+			<li>所有与账号关联的订单均已完成且无后续纠纷。</li>
+		</ul>
+
+		<!-- <view style="text-align: left;text-indent: 2rem;">
+			2.3您应妥善保管您的账户(用户名)和密码,通过您的账户(用户名)和密码操作或实施的行为,将视为您本人的行为,由您本人承担相应的责任和后果。<text
+				style="font-weight: bold;">如果您发现他人不当使用您的账户或有任何其他可能危及您的账户安全的情形时,您应当立即以书面、有效方式通知我们,要求我们暂停相关服务。在此,您理解我们对您的请求采取行动需要合理时间,我们对在采取行动前已经产生的后果(包括但不限于您的任何损失)不承担任何责任。</text>
+		</view> -->
+
+
+		<view style="font-size: 16px;font-weight: bold">2、注销后果</view>
+		<ul>
+			<li>账号一旦注销,您将无法使用该账号登录或访问任何相关数据和服务。</li>
+			<li>注销后,您的个人信息将被删除或匿名化处理,但根据法律规定需保留的相关数据除外。</li>
+			<li>注销账号的操作不可逆,注销后的数据、信息、历史记录等将无法找回。</li>
+		</ul>
+		<view style="font-size: 16px;font-weight: bold">3、信息保留与删除</view>
+		<ul>
+			<li>在注销账号后,我们将根据法律法规的要求保留或删除您的个人信息。</li>
+			<li>对于因法律要求需要保留的个人信息,我们将继续保护其安全,直至删除。</li>
+		</ul>
+		<view style="font-size: 16px;font-weight: bold">4、注销流程</view>
+		<ul>
+			<li><text style="font-weight: bold;">提交申请:</text>通过上述任一方式提交注销申请。</li>
+			<li><text style="font-weight: bold;">信息验证:</text>我们将要求您提供必要的信息以验证您的身份,并确认注销意图。</li>
+			<li><text style="font-weight: bold;">审核处理:</text>系统在收到注销申请后会进行校验,校验完成后将会注销您的账号。</li>
+		</ul>
+		<view style="font-size: 16px;font-weight: bold">5、费用与退款</view>
+		<ul>
+			<li>如账号内存在未提现的余额,您有权在注销前申请提现。提现将付款至您绑定的银行账户,具体到账时间取决于银行或支付平台的处理周期。</li>
+			<li>注销后,如账号内有纠纷的订单,您仍需承担相关责任。</li>
+		</ul>
+		<view style="font-size: 16px;font-weight: bold">6、争议解决</view>
+		<ul>
+			<li>若在账号注销过程中产生任何争议,您可以通过客服联系我们,我们将尽力协助解决。如无法达成一致意见,双方同意将争议提交何鑫商贸所在地有管辖权的法院诉讼解决。</li>
+			<li>联系方式:请您发送电子邮件到 <text style="background-color: yellow;">690068578@qq.com</text>,我们将在15天内回复您的诉求。</li>
+		</ul>
+
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {}
+		},
+		methods: {}
+	}
+</script>
+
+<style>
+	page {
+		background: #FFFFFF;
+	}
+</style>

+ 174 - 0
pages/set/accountCancellation.vue

@@ -0,0 +1,174 @@
+<template>
+	<view class="page">
+		<view class="header dis a-c f-c">
+			<image src="../../static/image/my/zgcx.png" mode=""></image>
+			<text class="name">申请注销晋掌柜账号</text>
+		</view>
+		<view class="content">
+			<view class="mb-4">
+				<text class="p">在您注销账号前,请确保账号内的 <text style="color: #343EEF;">余额</text> 已全部提现,<text
+						style="color: #343EEF;">订单</text> 已全部关闭以保障您的账号,财产安全。</text>
+			</view>
+			<text class="title">注销账号后,将放弃所有资产和权益</text>
+			<ul class="ul">
+				<li>身份、帐号信息、增员关系等资产将清空且无法恢复</li>
+				<li>订单记录、出单员身份、增员关系及收益记录清空</li>
+				<li>帐号一旦被注销将不可恢复,请在操作前自行备份帐号相关的所有信息和数据</li>
+				<li>账号注销前请确认不存在或不需要管理的业务团队,否则一旦注销后将会导致其他产品或服务的必要功能无法实现,你将无法再登录掌柜应用。</li>
+			</ul>
+		</view>
+		<view class="footer dis f-c a-start">
+			<view class="selection">
+				<u-checkbox v-model="checked" style="margin-top: 4px;"></u-checkbox>
+				<text>
+					我已阅读并同意<text @tap="nav('/pages/login/logoutAgreement')" class="text-color">《用户注销协议》</text>
+				</text>
+			</view>
+			<view class="btn dis a-c j-c " @click="accountSubmit">
+				申请注销
+			</view>
+		</view>
+	</view>
+</template>
+
+<script>
+	import {
+		mapState,
+		mapMutations
+	} from "vuex"
+	export default {
+		data() {
+			return {
+				checked: false,
+			}
+		},
+		computed: {
+			...mapState(['userInfo']),
+		},
+		onShow() {
+
+		},
+		onLoad() {
+
+		},
+		methods: {
+			...mapMutations(['emptyUserInfo']),
+			nav(url) {
+				uni.navigateTo({
+					url: url
+				});
+			},
+			async accountSubmit() {
+				let _this = this;
+				if (!this.checked) {
+					return uni.showToast({
+						title: '请勾选用户注销协议',
+						icon: 'none'
+					});
+				}
+				uni.showModal({
+					title: '提示',
+					content: '是否要注销账户?',
+					confirmText: '立刻注销',
+					success: async res => {
+						if (res.confirm) {
+							let res = await _this.$http.get('/user/userLogout?userId=' + _this.userInfo
+								.sysUser.id)
+							console.log(res);
+							if (res.code == 200) {
+								uni.showToast({
+									title: res.msg,
+									icon: 'none'
+								});
+								_this.emptyUserInfo();
+								setTimeout(() => {
+									uni.reLaunch({
+										url: "/pages/login/login"
+									})
+									return true;
+								}, 500);
+							} else {
+								uni.showToast({
+									title: res.msg,
+									icon: 'none'
+								});
+							}
+						}
+					},
+				});
+			}
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	page {
+		background: #fff;
+	}
+
+	.header {
+		border-top: 1px solid #EEEEEE;
+		border-bottom: 1px solid #EEEEEE;
+		padding: 69rpx 69rpx 65rpx;
+
+		image {
+			width: 72rpx;
+			height: 72rpx;
+			margin-bottom: 24rpx;
+
+		}
+
+		.name {
+			font-size: 30rpx;
+			font-weight: bold;
+			color: #333;
+		}
+	}
+
+	.content {
+		padding: 40rpx 40rpx;
+
+		.p {
+			font-size: 28rpx;
+			color: #333;
+		}
+
+		.title {
+			font-size: 32rpx;
+			font-weight: bold;
+			color: #333;
+			margin-top: 60rpx;
+		}
+
+		.ul {
+			li {
+				font-size: 28rpx;
+				color: #666;
+				margin: 30rpx 0;
+			}
+		}
+	}
+
+	.footer {
+		padding: 32rpx;
+
+		.selection {
+			font-size: 28rpx;
+			color: #666;
+			margin-bottom: 40rpx;
+
+			.text-color {
+				color: #343EEF;
+			}
+		}
+
+		.btn {
+			width: 100%;
+			background: #343EEF;
+			border-radius: 6rpx;
+			padding: 16rpx;
+			color: #fff;
+			font-size: 32rpx;
+		}
+	}
+</style>

+ 8 - 1
pages/set/safe.vue

@@ -35,7 +35,14 @@
 						text: '',
 						auth: true
 					},
-
+					{
+						icon: "",
+						name: "账号注销",
+						clicktype: "navigateTo",
+						text: '去注销',
+						url: "/pages/set/accountCancellation",
+						auth: true
+					},
 				],