Explorar o código

页面优化,授权样式更改协议

huangzhe %!s(int64=3) %!d(string=hai) anos
pai
achega
e2ba969714

+ 51 - 27
src/components/basic-component/app-layout/app-user-login/app-user-login.vue

xqd xqd xqd xqd xqd xqd xqd xqd
@@ -1,7 +1,8 @@
 <template>
     <view class="login-1 dir-left-nowrap main-center cross-center" :class="showLoginModal ? 'show' : ''">
         <view class="login-content">
-            <image :src="'https://t17.9026.com/web/statics/image/index/auth-default.png'" class="login-img"></image>
+            <!-- <image :src="'https://t17.9026.com/web/statics/image/index/auth-default.png'" class="login-img"></image> -->
+			<image :src="'../../../../static/image/index/auth-default.png'" class="login-img"></image>
             <view>
                 <app-hotspot :hotspot="auth_page.hotspot_link">
                     <button class="login-btn" @click="link"></button>
@@ -15,35 +16,44 @@
 			<view>
 			    <app-hotspot :hotspot="userprivacy">
 			        <view class="main-left cross-center login-userprivacy">
-						<view class="login-userprivacy-radio" @click="isAgreeUserprivacy=!isAgreeUserprivacy" :style="{'border':`2px solid ${isAgreeUserprivacy?'#EA554D':'#CDCDCD'}`}">
-							<view class="login-userprivacy-radio-check" v-show="isAgreeUserprivacy"  @click.stop="isAgreeUserprivacy=!isAgreeUserprivacy"></view>
+						<view class="login-userprivacy-radio" @click="$jump({'open_type':'navigate','url':'/pages/user-center/privacyAgreement/privacyAgreement'})" :style="{'border':`2px solid ${readUserAgreement?'#A2834F':'#CDCDCD'}`}">
+							<view class="login-userprivacy-radio-check" v-show="readUserAgreement"  @click="$jump({'open_type':'navigate','url':'/pages/user-center/privacyAgreement/privacyAgreement'})"></view>
 						</view>
-						<text  @click="isAgreeUserprivacy=!isAgreeUserprivacy">登录即表示同意</text> 
-						<text style="color: #EE5C52;margin-left: 5rpx;" @click="$jump({'open_type':'navigate','url':'/pages/user-center/privacyAgreement/privacyAgreement'})">用户隐私协议</text>
+						<text  @click="$jump({'open_type':'navigate','url':'/pages/user-center/privacyAgreement/privacyAgreement'})">登录即表示同意</text> 
+						<text style="color: #A2834F;margin-left: 5rpx;" @click="$jump({'open_type':'navigate','url':'/pages/user-center/privacyAgreement/privacyAgreement'})">用户隐私协议</text>
 					</view>
 			    </app-hotspot>
 			</view>
             <view>
                 <app-hotspot :hotspot="hotspot">
                     <!-- #ifdef MP -->
-                    <button class="login-btn" v-if="canIUseGetUserProfile"
+                    <button class="main-center cross-center hxj-login" v-if="canIUseGetUserProfile" 
                             scope="userInfo"
                             @click="getUserInfoClick"
                     >
+					<image style="width: 40rpx;height: 40rpx;margin-right: 10rpx;" src="../../../../static/image/index/wxlogin.png" mode=""></image>立即登录
                     </button>
-                    <button class="login-btn"  v-else
+                    <button class="main-center cross-center hxj-login"  v-else
                             :open-type="openType"
                             scope="userInfo"
                             @getAuthorize="getUserInfo"
                             @getuserinfo="getUserInfo"
                             @click="getUserInfoClick"
                     >
+					<image style="width: 40rpx;height: 40px;margin-right: 10rpx;" src="../../../../static/image/index/wxlogin.png" mode=""></image>立即登录
                     </button>
                     <!-- #endif -->
                     <!-- #ifdef H5 -->
-                    <view class="login-btn" @click="getUserInfo"></view>
+                    <view class="main-center cross-center hxj-login" @click="getUserInfo">
+						<image style="width: 40rpx;height: 40px;margin-right: 10rpx;" src="../../../../static/image/index/wxlogin.png" mode=""></image>立即登录
+					</view>
                     <!-- #endif -->
                 </app-hotspot>
+				<!-- <app-hotspot :hotspot="hotspot">
+					<view class="hxj-login">
+						
+					</view>
+				</app-hotspot> -->
             </view>
         </view>
     </view>
@@ -64,34 +74,34 @@
 				isAgreeUserprivacy:false,
 				userprivacy:{
 					defaultX: "84",
-					defaultY: "560",
+					defaultY: "120",
 					height: "80",
 					width: "450",
 					left: "84",
 					link: "",
 					open_type: "cancel",
-					top: "560",
+					top: "120",
 					
 				},
 				hotspot:{
-					defaultX: "354",
-					defaultY: "642",
+					defaultX: "50",
+					defaultY: "208",
 					height: "80",
-					left: "354",
+					left: "50",
 					link: "",
 					open_type: "cancel",
-					top: "642",
-					width: "224",
+					top: "208",
+					width: "500",
 				},
 				hotspot_cancel:{
 					defaultX: "72",
-					defaultY: "642",
+					defaultY: "314",
 					height: "80",
-					left: "72",
+					left: "50",
 					link: "",
 					open_type: "cancel",
-					top: "642",
-					width: "224",
+					top: "314",
+					width: "500",
 				}
 			};
         },
@@ -108,7 +118,8 @@
             ...mapState({
                 showLoginModal: function(state) {
                     return state.user.showLoginModal
-                }
+                },
+				readUserAgreement:state=>state.user.readUserAgreement
             }),
 			canIUseGetUserProfile() {
 				return this.$user.canIUseGetUserProfile();
@@ -173,9 +184,9 @@
             },
             // #ifdef MP
             getUserInfoClick(e) {
-				if(!this.isAgreeUserprivacy){
+				if(!this.readUserAgreement){
 					uni.showToast({
-						title:'请勾选用户隐私协议',
+						title:'请阅读并同意用户隐私协议',
 						icon:'none'
 					})
 					return
@@ -334,13 +345,13 @@
 
         .login-content {
             position: relative;
-            width: #{650rpx};
-            height: #{770rpx};
+            width: #{600rpx};
+            height: #{458rpx};
         }
 
         .login-img {
-            width: #{650rpx};
-            height: #{770rpx};
+            width: #{600rpx};
+            height: #{458rpx};
         }
 		.login-userprivacy{
 			font-size: 24rpx;
@@ -357,7 +368,7 @@
 					width: 16rpx;
 					height: 16rpx;
 					border-radius: 50%;
-					background-color: #EA554D;
+					background-color: #A2834F;
 					position: absolute;
 					left: 50%;
 					top: 50%;
@@ -371,4 +382,17 @@
         visibility: visible;
         opacity: 1;
     }
+	
+	.hxj-login{
+		width: 504rpx;
+		height: 82rpx;
+		background: #A18253!important;
+		border-radius: 2rpx;
+
+		font-size: 28rpx;
+		font-weight: 500;
+		color: #FFFFFF;
+		line-height: 82rpx;
+		z-index: 100001!important;
+	}
 </style>

+ 4 - 3
src/components/page-component/index/app-nav-bar.vue

xqd xqd
@@ -13,8 +13,9 @@
                         class="box-grow-1 dir-left-nowrap app-navbar__right">
                         <view v-if="showLeftIcon">
 							<template v-if="xStyle==5">
-								<view class="main-left cross-center hxj-area" @click="leftClick">
-									<view class="tt t-omit">{{selectedProperties.name?selectedProperties.name:'绑定楼盘'}}</view><image src="https://t17.9026.com/web/statics/image/index/arrow-down.png" mode=""></image>
+								<view class="main-left cross-center hxj-area" :style="{color:color}"  @click="leftClick">
+									<view class="tt t-omit">{{selectedProperties.name?selectedProperties.name:'绑定楼盘'}}</view>
+									<image src="https://t17.9026.com/web/statics/image/index/arrow-down.png" mode=""></image>
 								</view>
 							</template>
 							<template v-else>
@@ -282,7 +283,7 @@ export default {
 		width: 260rpx;
 		font-size: 28rpx;
 		font-weight: 500;
-		color: #FFFFFF;
+		color: #ebe4e1;
 		.tt{
 			max-width: 240rpx;
 		}

+ 3 - 1
src/core/apiUrl.js

xqd
@@ -12,7 +12,9 @@ const apiUrl = {
 		get_token:'plugin/sale/api/customer/get-token',
 		
 		message_list:'plugin/sale/api/message/list',
-		message_delete:'plugin/sale/api/message/delete'
+		message_delete:'plugin/sale/api/message/delete',
+		
+		income_record:'plugin/sale/api/user/income-record'
 	},
 	example:{
 		style_list:'plugin/example/api/index/style-list',

+ 5 - 75
src/pages/coupon/list/list.vue

xqd xqd
@@ -65,77 +65,7 @@
 	export default {
 		data() {
 			return {
-				list: [{
-						"app_share_pic": "https://swdzshopv4.oss-cn-chengdu.aliyuncs.com/uploads/mall10000/20211129/12b320e83a7b82333ed46041acd3a4d2.jpg",
-						"app_share_title": "分享",
-						"appoint_type": "3",
-						"begin_time": "",
-						"can_receive_count": "-1",
-						"cat": [],
-						"couponGoods": [],
-						"created_at": "2021-11-30 15:31:16",
-						"deleted_at": "0000-00-00 00:00:00",
-						"desc": "",
-						"discount": "10.0",
-						"discount_limit": null,
-						"end_time": "",
-						"expire_day": "1",
-						"expire_type": "1",
-						"goods": [],
-					 "id": "3",
-						"is_delete": "0",
-						"is_member": "0",
-						"is_receive": "0",
-						"mall_id": "10000",
-						"min_price": "20000.00",
-						"name": "满减",
-						"page_url": "/pages/goods/list?coupon_id=3",
-						"pic_url": "10",
-						"rule": "",
-						"share_type": 4,
-						"sort": "3",
-						"sub_price": "200.00",
-						"total_count": "0",
-						"type": "2",
-						"updated_at": "2021-11-30 19:55:45",
-						"use_obtain": "1"
-					},
-					{
-						"app_share_pic": "",
-						"app_share_title": "",
-						"appoint_type": "3",
-						"begin_time": "",
-						"can_receive_count": "-1",
-						"cat": [],
-						"couponGoods": [],
-						"created_at": "2021-11-30 14:22:26",
-						"deleted_at": "0000-00-00 00:00:00",
-						"desc": "",
-						"discount": "10.0",
-						"discount_limit": null,
-						"end_time": "",
-						"expire_day": "1",
-					 "expire_type": "1",
-						"goods": [],
-						"id": "1",
-						"is_delete": "0",
-						"is_member": "0",
-						"is_receive": "0",
-						"mall_id": "10000",
-						"min_price": "131.00",
-						"name": "优惠卷",
-						"page_url": "/pages/goods/list?coupon_id=1",
-						"pic_url": "10",
-						"rule": "",
-						"share_type": 4,
-						"sort": "100",
-						"sub_price": "11.00",
-						"total_count": "-1",
-						"type": "2",
-						"updated_at": "2021-12-06 16:00:04",
-						"use_obtain": "0"
-					}
-				],
+				list: [],
 				loading: false,
 				page: 2,
 			}
@@ -254,10 +184,10 @@
 
 		},
 		onShow() {
-			// this.$showLoading({
-			//     text: '加载中...'
-			// });
-			// this.getList();
+			this.$showLoading({
+			    text: '加载中...'
+			});
+			this.getList();
 		},
 		filters: {
 			keepNumbers(n) {

+ 8 - 6
src/pages/index/components/scroll-list.vue

xqd xqd xqd xqd
@@ -2,7 +2,7 @@
 	<view>
 		<scroll-view class="scroll_list" :style="{'background': background}" scroll-x="true">
 			<view class="main-left" style="padding-left: 40rpx;">
-				<view v-for="(item,index) in list" :key="index" @click="goPage(item.link)">
+				<view class="item" v-for="(item,index) in list" :key="index" @click="goPage(item.link)">
 					<view class="box" :style="{'width':itemWidth,'height':itemHeight}">
 						<image class="image-bg" :src="item.image"></image>
 						<view class="text t-omit">{{item.title}}</view>
@@ -81,14 +81,16 @@
 <style lang="scss" scoped>
 	.scroll_list {
 		padding: 15rpx 0 28rpx;
-
+		
+		.item{
+			height: 330rpx;
+		}
 		.box {
 			border-radius: 20rpx;
 			overflow: hidden;
 			position: relative;
 			z-index: 2;
 			margin-right: 20rpx;
-
 			.image-bg {
 				position: absolute;
 				z-index: -1;
@@ -99,7 +101,7 @@
 				width: 100%;
 				height: 100%;
 			}
-
+ 
 			.text {
 				width: 115rpx;
 				font-size: 28rpx;
@@ -120,9 +122,9 @@
 			.tag {
 				background-color: rgba(238, 235, 222, 1);
 				color: rgb(167, 133, 79);
-				border-radius: 0 50% 50% 50%;
+				border-radius: 0 26rpx 26rpx 26rpx;
 				font-size: 24rpx;
-				padding: 10rpx 20rpx;
+				padding: 4rpx 20rpx;
 			}
 		}
 	}

+ 1 - 1
src/pages/index/index.vue

xqd
@@ -19,7 +19,7 @@
                          :link="diy__app_nav_bar.link"
                          :xStyle="5"
                          :hasMallSetting="diy__app_nav_bar.hasMallSetting"
-                         :color="diy__app_nav_bar.color"
+                         :color="sss>=0.7?'#fff':'#ebe4e1'"
                          :position="diy__app_nav_bar.position"
                          :placeholder="diy__app_nav_bar.placeholder"
                          :placeholderColor="diy__app_nav_bar.placeholderColor"

+ 5 - 4
src/pages/order-submit/app-coupon-pick.vue

xqd xqd xqd
@@ -87,9 +87,9 @@
 						            <view class="t-omit t-small-color time-area hjx-tc-B19D60" style="margin-top: 5rpx;">{{item.start_time.split(' ')[0]}} - {{item.end_time.split(' ')[0]}}</view>
 						        </view>
 								<view class="item-right-btn cross-center" >
+									<!-- <view class="btn11">领取并使用</view> -->
 									<app-submit-checkbox
 									        :round="true"
-									        v-model="item.checked"
 											:value="item.checked"
 									        :theme="theme"
 									        border-color="#999999"
@@ -267,6 +267,7 @@
                         this.list[i].checked = parseInt(index) === parseInt(i);
                     }
                 }
+				
 				console.log('this.list',this.list)
                 const formData = this.$store.state.orderSubmit.formData;
                 formData.list[this.mchIndex].user_coupon_id = data;
@@ -444,10 +445,10 @@
 		position: absolute;
 		right: 0;
 		top: 0;
-		width: 11%;
+		width: 24%;
 		height: 100%;
-		.btn{
-			width: 118rpx;
+		.btn11{
+			width: 140rpx;
 			height: 52rpx;
 			border: 1rpx solid #B19D60;
 			border-radius: 26rpx;

+ 29 - 8
src/pages/sale/myCommission.vue

xqd xqd xqd
@@ -4,11 +4,11 @@
 		<view class="main-around cross-center head">
 			<view>
 				<view class="hjx-tc-777 hjx-ts-22 mb24">已发放提成</view>
-				<view class="price28 hjx-tc-B19D60 hjx-ts-50"><text>¥</text>9826</view>
+				<view class="price28 hjx-tc-B19D60 hjx-ts-50"><text>¥</text>{{dataInfo.already_send_amount}}</view>
 			</view>
 			<view>
 				<view class="hjx-tc-777 hjx-ts-22 mb24">未发放金额</view>
-				<view class="price28 hjx-tc-333 hjx-ts-50"><text>¥</text>346</view>
+				<view class="price28 hjx-tc-333 hjx-ts-50"><text>¥</text>{{dataInfo.not_send_amount}}</view>
 			</view>
 		</view>
 		<view class="list">
@@ -16,15 +16,15 @@
 				已发放提成<image style="width: 30rpx;height: 25rpx;margin-left: 8rpx;" src="../../static/image/sale/tcff.png" mode=""></image>
 			</view>
 			<view style="width: 100%;height: 1px;background: #EAEAEA;"></view>
-			<view class="main-between cross-center item" :class="{'item-line':true}" v-for="(item,index) in dataList" :key="index">
+			<view class="main-between cross-center item" :class="{'item-line':true}" v-for="(item,index) in dataInfo.list" :key="index">
 				<view class="main-between-y">
 					<view class="hjx-ts-28 hjx-tc-222 hjx-tw-500">提成收入</view>
-					<view class="hjx-ts-24 hjx-tc-666 hjx-tw-500">2021-02-10 10:12:32</view>
+					<view class="hjx-ts-24 hjx-tc-666 hjx-tw-500">{{item.created_at}}</view>
 				</view>
-				<view class="hjx-tc-B19D60 hjx-ts-34 hjx-tw-600">¥9826</view>
+				<view class="hjx-tc-B19D60 hjx-ts-34 hjx-tw-600">¥{{item.change_amount}}</view>
 			</view>
-			<view class="no-more" v-if="isNoMore && dataList.length>0">没有更多了...</view>
-			<app-no-goods v-if="dataList.length===0" :title="`暂无提成`" background="#fff"></app-no-goods>
+			<view class="no-more" v-if="isNoMore && dataInfo.list.length>0">没有更多了...</view>
+			<app-no-goods v-if="dataInfo.list.length===0" :title="`暂无提成`" background="#fff"></app-no-goods>
 		</view>
 	</view>
 	</app-layout>
@@ -38,10 +38,31 @@
 		},
 		data() {
 			return {
-				dataList:[],
+				dataInfo:[],
 				isNoMore:false,
 				page:1,
 			};
+		},
+		onLoad() {
+			this.getData()
+		},
+		methods:{
+			getData(){
+				this.$request({
+					url:this.$api.sale.income_record,
+					data:{
+						page:this.page
+					},
+					method:'post'
+				}).then(res=>{
+					if(res.code===0){
+						this.dataInfo=res.data
+						if(res.data.list.length<20){
+							this.isNoMore=true
+						}
+					}
+				})
+			}
 		}
 	}
 </script>

+ 190 - 104
src/pages/user-center/privacyAgreement/privacyAgreement.vue

xqd xqd
@@ -1,21 +1,92 @@
 <template>
 	<view style="min-height: 100vh;background-color: #f0f2f5;">
-		<view v-html=""></view>
-		<button class="login-btn" v-if="content" @click="login">
-			立即登录
-		</button>
+		<view v-html="content"></view>
+		<view style="height: 200rpx;"></view>
+		<view class="login-btn-box">
+			<button class="main-center cross-center login-btn" :style="{'opacity':readUserAgreement?'1':'0.39'}" v-if="content" @click="login">
+				<image style="width: 40rpx;height: 40rpx;margin-right: 10rpx;"
+					src="../../../static/image/index/wxlogin.png" mode=""></image>立即登录
+			</button>
+		</view>
 	</view>
 </template>
 
 <script>
+	import {mapState,mapMutations} from 'vuex'
 	export default {
 		data() {
 			return {
-				content:''
+				content: `<p>欢迎您使用腾讯企点软件及服务!
+
+为使用腾讯企点软件(以下统称“本软件”)及服务,您应当阅读并遵守《腾讯企点软件许可及服务协议》(以下简称“本协议”),以及《腾讯服务协议》(链接地址:http://www.qq.com/contract.shtml,若链接地址变更的,则以变更后的链接地址所对应的内容为准;其他链接地址变更的情形,均适用前述约定)、《QQ软件许可及服务协议》、《QQ号码规则》(链接地址:http://zc.qq.com/chs/agreement1_chs.html)以及专项规则等。请您务必审慎阅读、充分理解各条款内容,特别是免除或者限制责任的条款,以及开通或使用某项服务的单独协议,并选择接受或不接受。限制、免责条款可能以加粗形式提示您注意。
+
+除非您已阅读并接受本协议所有条款,否则您无权下载、安装或使用本软件及相关服务。您的下载、安装、使用、登录等行为即视为您已阅读并同意本协议的约束。
+
+如果您未满18周岁,请在法定监护人的陪同下阅读本协议,并特别注意未成年人使用条款。
+
+一、【协议的范围】
+1.1【协议适用主体范围】
+本协议是用户(以下可称为“您”)与腾讯之间关于下载、安装、使用、登录本软件,以及使用本服务所订立的协议。
+
+1.2【协议关系及冲突条款】
+本协议被视为《腾讯服务协议》及《腾讯QQ软件许可及服务协议》、《QQ号码规则》的补充协议,是其不可分割的组成部分,与其构成统一整体。本协议与上述内容存在冲突的,以本协议为准。本协议内容同时包括腾讯可能不断发布的关于本服务的相 关协议、服务声明、业务规则及公告指引等内容(以下统称为“专项规则”)。专项规则一经正式发布,即为本协议不可分割的组成部分,您同样应当遵守。
+
+二、【关于本服务】
+2.1【相关定义】
+(1)腾讯企点软件:指由腾讯开发、运营并享有独立知识产权的,专为市场营销、在线客服、销售管理等需求提供内容制作、内容分发、用户数据分析、用户互动等服务的企业服务软件,以下可简称为“企点”。
+
+(2)单位用户:指按照腾讯指定方式、渠道获得本软件使用权,并对相应的企点帐号(以下可简称为“帐号”,包括单位用户帐号和个人用户帐号)有管理权限的用户。一个企点帐号下仅有一个单位用户帐号。
+
+(3)个人用户:指经过单位用户授权使用本软件的普通用户。单位用户仅可以将本软件的使用权转授权给属于本单位的工作人员或其他协助运营企点账户的人员进行使用,这里称为个人用户。
+
+2.2【本服务内容】
+本服务内容是指,通过本软件可以对腾讯指定产品进行相关操作(例如在本软件中编辑、整理QQ公众号、微信公众号的文字、图片等消息内容并对外发送)的企业服 务(简称“本服务”)。具体产品以腾讯实际指定的为准。用户在使用本服务进行相关操作时,需要遵守相关产品的服务规则、专项规则等(包括但不限于《QQ公众平台服务协议》、《微信公众平台服务协议》等)。
+
+2.3【本服务形式】
+您可能可以通过电脑、移动设备等终端以客户端、网页等形式使用本服务,具体以腾讯提供的为准,同时,腾讯会不断丰富您使用本服务的终端、形式等。当您使用本服务时,您应选择与您的终端、系统等相匹配的本软件版本,否则,您可能无法正常使用本服务。由于软件与终端设备型号不相匹配所导致的任何问题或损害,均由用户自行承担。
+
+2.4【许可的范围】
+2.4.1 腾讯给予您一项非排他性的许可,以使用本软件。
+
+2.4.2 您可以制作本软件的一个副本,仅用作备份。备份副本必须包含原软件中含有的所有著作权信息。
+
+2.4.3 本条及本协议其他条款未明示授权的其他一切权利仍由腾讯保留,您在行使这些权利时须另外取得腾讯的书面许可。腾讯如果未行使前述任何权利,并不构成对该权利的放弃。
+
+2.5【接受本服务的形式】
+2.5.1 本服务是有偿使用的服务,单位用户可以通过腾讯指定方式、渠道购买获取本服务及相应腾讯企点号码的使用权,单位用户支付本服务的相关服务费、按照腾讯要求提交相关资质材料以及满足其他腾讯的要求后,腾讯会分配相应的腾讯企点号码给单位用户,单位用户可在相应使用期限内,使用本服务及相应腾讯企点号码。 个人用户应在单位用户的授权范围内使用本服务及相应腾讯企点号码。 腾讯保留未来对本服务改变和说明的权利。您通过腾讯企点帐号使用腾讯的其他服务时,须同时遵守各项服务的服务条款。
+
+2.5.2 腾讯将根据市场与技术的发展,向您提供与本软件相关的各种互联网以及移动通信增值服务,包括免费和收费的增值服务。腾讯保留单方对相关服务收取费用及改变收费标准、方式的权利;如相关服务由免费变更为收费的,腾讯将以适当的形式通知,您可自主选择接受或拒绝该收费的服务,如您拒绝该收费的服务的,您将无法使用该服务。如您接受该收费的服务,您应当保证在使用该收费服务时,将按照腾讯相关收费规定支付费用,如拒付或拖欠费用,腾讯有权停止服务,并依法追偿损失及赔偿。 根据市场情况变化,产品开发及运营成本增加等因素,腾讯有权自行调整相关产品及服务的市场价格。如您不接受调整后的价格,您将在已购买产品或服务有效期截止后不能继续使用该产品和服务。
+
+2.5.3 您应该在本服务到期前,提前联系腾讯的指定推广商或腾讯认可的其他方式办理完成续约手续,否则,腾讯有权在您腾讯企点的使用期限到期后,在不通知您的情况下收回、终止本服务以及相应腾讯企点号码的使用权,腾讯收回之后,您不可以再使用本服务,同时,腾讯有权随时清空您因使用本服务产生的全部数据、信息等,包括但不限于群发信息、员工信息、客户或好友信息和聊天记录等。若由此,给您造成任何损失的,您应自行承担全部损失,并无权向腾讯提出任何主张。 回收后,您若还需使用本服务,需重新支付费用,腾讯会重新分配新的腾讯企点号码,您将不能继续使用原有腾讯企点号码和相应数据。
+
+2.5.4 您申请开通本服务时应先向腾讯提交申请企业的经营或运营所必须的相关合法、真实的资质文件等资料供腾讯公司核查申请企业信息的真实性和合法性。(包括但不限于营业执照等基本主体资料、特殊行业经营或运营所必须的特殊行业的相关特殊资质或审批文件等特殊主体资料)。 若相关资料有变更的,您必须及时向腾讯提供最新的相关资料。 如腾讯公司在您开通和使用本产品及服务的过程中发现您不具备相关资质或您提交的资料(包括但不限于主体的身份信息、行业资质、特殊行业经营或运营所必须的特殊行业的相关特殊资质或审批文件等)存在伪造或冒用其它企业的情形,,腾讯公司有权立即终止已开通产品的全部服务并不退还您已经支付的费用。若由此给您造成任何损失的,您应自行承担全部损失,并无权向腾讯提出任何主张。
+
+2.5.5 您同意腾讯公司有权通过第三方合作机构对您提交的审核资料进行核实查证并向您收取相应的审核费用。如您拒绝支付审核费用,您的申请资料将无法获得审核,由此腾讯公司将会拒绝或取消您对本产品及服务的购买需求且腾讯公司不因此而承担任何责任。如您提供的资料因各种原因(包括但不限于资料不全、资料信息显示不全或不能清晰分辨、资质虚假嫌疑、已有付费产品违规历史记录等)不能通过审核,腾讯公司将不会退回相应的审核费用。若由此给您造成任何损失的,您应自行承担全部损失,腾讯不因此而承担任何责任。
+
+2.5.6 您应通过腾讯官方指定的销售渠道购买本产品及相应服务。如您通过非官方渠道购买本产品,您的合法权益可能将无法得到保证,由此可能引起的账号封停、高价购买、信息泄露、无相应售后服务等情况,腾讯将不承担任何责任。
+
+2.5.7 为维护互联网安全、健康及秩序,保护网络用户合法权益,您在使用本产品的部分服务或功能(包括但不限于修改管理员信息、找回密码、企业资料卡信息更新、QQ群发消息、短信群发等)时,需要事先接受腾讯公司对相关资质和内容的审核,在审核通过后才能获得相应的产品服务,对此您理解并同意。
+
+</p>`
 			};
 		},
-		methods:{
-			login(e){
+		computed:{
+			...mapState({
+				readUserAgreement:state=>state.user.readUserAgreement
+			})
+		},
+		onReachBottom() {
+			this.$store.commit('user/readUserAgreement', true);
+		},
+		methods: {
+			login(e) {
+				if(!this.readUserAgreement){
+					uni.showToast({
+						title:'请阅读完用户隐私协议再登录',
+						icon:'none'
+					})
+					return
+				}
 				this.$store.commit("user/showLoginModal", false);
 				// #ifdef MP-TOUTIAO
 				this.getUserInfo(e);
@@ -30,111 +101,126 @@
 				// #endif
 			},
 			getUserInfo(e) {
-			    // #ifdef H5
-			    if (this.$jwx.isWechat()) {
-			        this.$request({
-			            url: this.$api.registered.url,
-			            method: 'get',
-			            data: {
-			                scope: 'snsapi_userinfo',
-			                response_type: 'code',
-			                url: `${window.location.href}`
-			            }
-			        }).then(res => {
-			            if (res.code === 0) {
-			                this.$storage.setStorageSync('_USER_SIGN', true);
-			                window.location.replace(res.data.url);
-			            } else {
-			                uni.navigateTo({
-			                    url: '/pages/registered/sign'
-			                });
-			            }
-			        });
-			    } else {
-			        uni.navigateTo({
-			            url: '/pages/registered/sign'
-			        });
-			    }
-			    // #endif
-			    // #ifdef MP
-			    this.$store.commit('user/showLoginModal', false);
-			    const resolve = this.$user.getUserInfoResolve;
-			    const reject = this.$user.getUserInfoReject;
-			    this.$event.on(this.$const.EVENT_USER_LOGIN, true).then(() => {
-			        this.$jump({
-			            open_type: 'reload'
-			        })
-			    });
-			    // #ifdef MP-WEIXIN
-			    if (e.detail.errMsg !== 'getUserInfo:ok') {
-			        this.$store.commit('user/showLoginModal', true);
-			        return reject(e.detail.errMsg);
-			    } else {
-			        return resolve(e);
-			    }
-			    // #endif
-			
-			    // #ifdef MP-ALIPAY
-			    my.getOpenUserInfo({
-			        success(openUserInfo) {
-			            const response = JSON.parse(openUserInfo.response);
-			            e.detail = {
-			                rawData: JSON.stringify(response.response),
-			                encryptedData: '',
-			                iv: '',
-			                signature: '',
-			            };
-			            return resolve(e);
-			        },
-			        fail(failE) {
-			            console.log('getOpenUserInfo:', failE);
-			        },
-			    });
-			    // #endif
-			
-			    // #ifdef MP-BAIDU
-			    e.detail.rawData = JSON.stringify(e.detail.userInfo);
-			    e.detail.encryptedData = '';
-			    e.detail.iv = '';
-			    e.detail.signature = '';
-			    return resolve(e);
-			    // #endif
-			
-			    // #ifdef MP-TOUTIAO
-			    uni.login({
-			        success() {
-			            uni.getUserInfo({
-			                success(result) {
-			                    e.detail = {
-			                        rawData: result.rawData,
-			                        encryptedData: '',
-			                        iv: '',
-			                        signature: '',
-			                    };
-			                    return resolve(e);
-			                },
-			                fail(e) {
-			                    console.log('getUserInfo fail:', e);
-			                },
-			            });
-			        },
-			        fail(e) {
-			            console.log('login fail:', e);
-			        },
-			    });
-			    // #endif
-			    // #endif
+				// #ifdef H5
+				if (this.$jwx.isWechat()) {
+					this.$request({
+						url: this.$api.registered.url,
+						method: 'get',
+						data: {
+							scope: 'snsapi_userinfo',
+							response_type: 'code',
+							url: `${window.location.href}`
+						}
+					}).then(res => {
+						if (res.code === 0) {
+							this.$storage.setStorageSync('_USER_SIGN', true);
+							window.location.replace(res.data.url);
+						} else {
+							uni.navigateTo({
+								url: '/pages/registered/sign'
+							});
+						}
+					});
+				} else {
+					uni.navigateTo({
+						url: '/pages/registered/sign'
+					});
+				}
+			 // #endif
+				// #ifdef MP
+				this.$store.commit('user/showLoginModal', false);
+				const resolve = this.$user.getUserInfoResolve;
+				const reject = this.$user.getUserInfoReject;
+				this.$event.on(this.$const.EVENT_USER_LOGIN, true).then(() => {
+					this.$jump({
+						open_type: 'reload'
+					})
+				});
+				// #ifdef MP-WEIXIN
+				if (e.detail.errMsg !== 'getUserInfo:ok') {
+					this.$store.commit('user/showLoginModal', true);
+					return reject(e.detail.errMsg);
+				} else {
+					return resolve(e);
+				}
+				// #endif
+
+				// #ifdef MP-ALIPAY
+				my.getOpenUserInfo({
+					success(openUserInfo) {
+			 		const response = JSON.parse(openUserInfo.response);
+						e.detail = {
+							rawData: JSON.stringify(response.response),
+							encryptedData: '',
+							iv: '',
+							signature: '',
+						};
+						return resolve(e);
+					},
+					fail(failE) {
+						console.log('getOpenUserInfo:', failE);
+					},
+				});
+				// #endif
+
+				// #ifdef MP-BAIDU
+				e.detail.rawData = JSON.stringify(e.detail.userInfo);
+				e.detail.encryptedData = '';
+				e.detail.iv = '';
+				e.detail.signature = '';
+				return resolve(e);
+				// #endif
+
+				// #ifdef MP-TOUTIAO
+				uni.login({
+					success() {
+						uni.getUserInfo({
+							success(result) {
+								e.detail = {
+									rawData: result.rawData,
+									encryptedData: '',
+									iv: '',
+									signature: '',
+								};
+								return resolve(e);
+							},
+							fail(e) {
+								console.log('getUserInfo fail:', e);
+							},
+						});
+					},
+					fail(e) {
+						console.log('login fail:', e);
+					},
+				});
+				// #endif
+				// #endif
 			},
 		}
 	}
 </script>
 
 <style lang="scss" scoped>
-	.login-btn{
+	.login-btn-box {
+		position: fixed;
+		bottom: 0rpx;
+		left: 50%;
+		transform: translateX(-50%);
+
+		width: 100%;
+		height: auto;
+		padding: 10rpx 0;
+		background-color: #fff;
+	}
+
+	.login-btn {
+		margin: 0 auto;
+
 		width: 678rpx;
 		height: 82rpx;
-		background: #EA554D;
-		border-radius: 41rpx;
+		background: #A18253;
+
+		border-radius: 2rpx;
 		margin: 20rpx auto;
 		text-align: center;
 		font-size: 30rpx;

BIN=BIN
src/static/image/index/auth-default.png


BIN=BIN
src/static/image/index/wxlogin.png


+ 6 - 0
src/store/modules/user.js

xqd xqd
@@ -22,6 +22,8 @@ const state = {
 
 	isEnterSales: false, //是否进入销售端
 	isOrderBehalfBustomers: false, //是否代客下单
+	
+	readUserAgreement:uni.getStorageSync('_READUSERAGREEMENT')?uni.getStorageSync('_READUSERAGREEMENT'):false,
 };
 
 const getters = {
@@ -110,6 +112,10 @@ const mutations = {
 	},
 	selectedProperties(state, data) {
 		state.selectedProperties = data
+	},
+	readUserAgreement(state, data) {
+		state.readUserAgreement = data
+		uni.setStorageSync('_READUSERAGREEMENT',data)
 	}
 };