xuhaolan 3 years ago
parent
commit
dcfb3e5f77

+ 160 - 23
pages/index/index.vue

@@ -2,7 +2,7 @@
 	<view class="container">
 		<view class="searchbackground">
 			<view class="backgroundimg">
-				<image src="../../static/image/background01.png" mode=""></image>
+				<image src="../../static/index/index05.png" mode=""></image>
 			</view>
 		</view>
 		<view class="content flex">
@@ -56,13 +56,52 @@
 				</view>
 
 			</view> -->
+			<view class="title-box">
+				<view class="boxx">
+					<view class="boxx-top">
+						<image src="../../static/index/index06.png" mode=""></image>
+					</view>
+					<view class="boxx-bottom">
+						全部商品
+					</view>
+				</view>
+				<view class="boxx">
+					<view class="boxx-top">
+						<image src="../../static/index/index08.png" mode=""></image>
+					</view>
+					<view class="boxx-bottom">
+						积分商城
+					</view>
+				</view>
+				<view class="boxx">
+					<view class="boxx-top">
+						<image src="../../static/index/index02.png" mode=""></image>
+					</view>
+					<view class="boxx-bottom">
+						公司介绍
+					</view>
+				</view>
+				<view class="boxx">
+					<view class="boxx-top">
+						<image src="../../static/index/index01.png" mode=""></image>
+					</view>
+					<view class="boxx-bottom">
+						邀请有礼
+					</view>
+				</view>
 
+			</view>
 			<view class="customs">
-				<image src="../../static/image/jifen.png" mode=""></image>
+				<image src="../../static/index/index09.png" mode=""></image>
+				<view class="vip">
+					会员专区
+				</view>
 			</view>
 			<view class="jifen-content">
-				<view class="jifen-box" v-for="(item,index) in bastList" :key="index" @click="navTo('/pages/product/product?id=' + item.id)">
+				<view class="jifen-box" v-for="(item,index) in bastList" :key="index"
+					@click="navTo('/pages/product/product?id=' + item.id)">
 					<view class="img">
+						<image class="hlbg" src="../../static/index/index04.png" mode=""></image>
 						<image :src="item.image" mode=""></image>
 					</view>
 					<view class="jifen-list">
@@ -72,8 +111,14 @@
 							</view>
 						</view>
 						<view class="box-price">
+							<view class="huiyuan">
+								会员价
+							</view>
+							<view class="price">
+								¥
+							</view>
 							<view class="price-left">
-								¥{{item.price}}
+								{{(item.price*1).toFixed(0)}}
 							</view>
 							<view class="price-right">
 								¥{{item.ot_price}}
@@ -83,14 +128,16 @@
 				</view>
 			</view>
 		</view>
-	<!-- 	
+		<!-- 	
 		<view class="fiexd">
 			<image src="../../static/image/background03.png" mode=""></image>
 		</view> -->
 	</view>
 </template>
 <script>
-	import { loadIndexs } from '@/api/index.js';
+	import {
+		loadIndexs
+	} from '@/api/index.js';
 	import {
 		mapState
 	} from 'vuex';
@@ -117,15 +164,15 @@
 				}
 			},
 			// 初次加载页面高度时修改页面高度
-			
+
 		},
 		data() {
 			return {
 				carouselList: [], //轮播列表
 				couponArray: '',
-				bastList: [],//精品推荐
-				fugou:'',//复购商品
-				price:'',//复购价格
+				bastList: [], //精品推荐
+				fugou: '', //复购商品
+				price: '', //复购价格
 			}
 		},
 		onLoad() {
@@ -135,8 +182,10 @@
 			// 请求载入数据
 			async loadData() {
 				loadIndexs({})
-					.then(({ data }) => {
-						console.log(data,'dddd')
+					.then(({
+						data
+					}) => {
+						console.log(data, 'dddd')
 						this.fugou = data.register_order;
 						this.price = data.register_price;
 						let goods = data.info;
@@ -148,7 +197,7 @@
 						console.log(this.bastList, 'this.bastList6666666666666666666666');
 						this.bastBanner = data.benefit; //促销单品
 						this.$set(this, 'couponArray', data.couponList); //保存卡包券
-			
+
 						uni.stopPullDownRefresh();
 					})
 					.catch(e => {
@@ -156,7 +205,7 @@
 					});
 			},
 			swiperClick() {
-				
+
 			},
 			// 点击搜索框
 			clickSearch() {
@@ -178,7 +227,40 @@
 <style lang="scss" scoped>
 	page {
 		height: auto;
-		background-color: #D4FDF9;
+		background-color: #FFFFFF;
+		;
+	}
+
+	.title-box {
+		display: flex;
+		width: 100%;
+
+		.boxx {
+			margin: 40rpx 0 80rpx 0;
+			width: 25%;
+			display: flex;
+			flex-direction: column;
+			align-items: center;
+
+			.boxx-top {
+				width: 100rpx;
+				height: 100rpx;
+				border-radius: 50%;
+				overflow: hidden;
+
+				image {
+					width: 100%;
+					height: 100%;
+				}
+			}
+
+			.boxx-bottom {
+				margin-top: 15rpx;
+				font-size: 26rpx;
+				font-weight: 500;
+				color: #333333;
+			}
+		}
 	}
 
 	.container {
@@ -243,6 +325,8 @@
 			height: 370rpx;
 
 			.carousel-item {
+				border-radius: 20rpx;
+
 				image {
 					width: 100%;
 					height: 100%;
@@ -251,13 +335,24 @@
 		}
 
 		.customs {
+			margin-left: 40rpx;
+			width: 100%;
+			display: flex;
 			margin-top: 20rpx;
-			width: 700rpx;
-			height: 180rpx;
+			align-items: center;
+
+
 
 			image {
-				width: 100%;
-				height: 100%;
+				width: 37rpx;
+				height: 37rpx;
+			}
+
+			.vip {
+				margin-left: 10rpx;
+				font-size: 32rpx;
+				font-weight: bold;
+				color: #333333;
 			}
 		}
 
@@ -300,6 +395,7 @@
 					// flex-direction: column;
 					// justify-content: space-around;
 					position: relative;
+
 					.customstext1 {
 						.customstext-title {
 							width: 350rpx;
@@ -307,7 +403,7 @@
 							font-family: PingFang SC;
 							font-weight: bold;
 							color: #3F7C1F;
-							
+
 						}
 
 						.customstext-product {
@@ -329,6 +425,7 @@
 						align-items: center;
 						justify-content: flex-start;
 						width: 100%;
+
 						.customsprice-left {
 							font-size: 28rpx;
 							font-family: PingFang SC;
@@ -346,6 +443,7 @@
 						}
 
 						.customsprice-right {
+							
 							text-align: center;
 							width: 137rpx;
 							height: 52rpx;
@@ -371,7 +469,9 @@
 			display: flex;
 			flex-wrap: wrap;
 			justify-content: space-between;
+
 			.jifen-box {
+				position: relative;
 				margin: 20rpx 0;
 				display: flex;
 				flex-direction: column;
@@ -379,24 +479,38 @@
 				width: 342rpx;
 				height: 512rpx;
 				padding-top: 20rpx;
-				background: #E6FCFA;
-				box-shadow: 0px 7px 10px 1px #8BAFAB;
+				background: #FFFFFF;
+				// box-shadow: 0px 7px 10px 1px #8BAFAB;
+
 				.img {
+					
+					.hlbg{
+						border-radius: 10rpx;
+						z-index: 9;
+						position: absolute;
+						width:335rpx ;
+						height: 335rpx;
+						top: 0;
+						left: 0;
+					}
 					flex-shrink: 0;
 					// margin-top: 20rpx;
 					height: 312rpx;
 					width: 312rpx;
 					background-color: #eee;
+
 					image {
 						height: 100%;
 						width: 100%;
 					}
 				}
+
 				.jifen-list {
 					// margin-left: -80rpx;
 					width: 312rpx;
 					height: 100%;
 					position: relative;
+
 					.box-title {
 						.top {
 							margin: 20rpx 0 10rpx 0;
@@ -407,6 +521,7 @@
 							color: #3F7C1F;
 							line-height: 35rpx;
 						}
+
 						.button {
 							padding-bottom: 20rpx;
 							font-size: 26rpx;
@@ -417,11 +532,13 @@
 							opacity: 0.8;
 						}
 					}
+
 					.box-price {
 						display: flex;
 						align-items: center;
 						position: absolute;
 						bottom: 20rpx;
+							
 						.pricebox {
 							height: 25rpx;
 							width: 25rpx;
@@ -431,6 +548,18 @@
 								width: 100%;
 							}
 						}
+						.huiyuan{
+							width: 70rpx;
+							height: 33rpx;
+							background: linear-gradient(90deg, #C79A4C, #F9DF7F);
+							border-radius: 5rpx;
+							font-size: 19rpx;
+							font-family: Source Han Sans CN;
+							font-weight: 400;
+							color: #FFFFFF;
+							font-weight: 33rpx;
+							text-align: center;
+						}
 						.price-left {
 							font-size: 36rpx;
 							font-family: PingFang SC;
@@ -438,8 +567,16 @@
 							color: #FF0000;
 							line-height: 35rpx;
 						}
+						.price{
+							margin: 0 5rpx;
+							font-size: 19rpx;
+							font-weight: bold;
+							color: #FF4C4C;
+						}
+
 						.price-right {
-							font-size: 26rpx;
+							margin-left: 10rpx;
+							font-size: 21rpx;
 							font-family: PingFang SC;
 							font-weight: 500;
 							text-decoration: line-through;

+ 444 - 352
pages/public/login.vue

@@ -4,35 +4,52 @@
 
 			<image class="banner-img" src="/static/img/login.png" mode="scaleToFill">
 
-			<image class="banner-img" src="/static/img/logo.png" mode="scaleToFill">
+				<image class="banner-img" src="/static/img/logo.png" mode="scaleToFill">
 
-		</image>
+				</image>
 		</view>
 		<view class="loginTitle"><text>登录</text></view>
 		<view class="login_text">
 			<view class="login_input flex">
-				<view class="login_img"><image src="/static/img/login01.png"></image></view>
-				<view class="login_name"><input class="uni-input" v-model="username" focus placeholder="请输入手机号" /></view>
+				<view class="login_img">
+					<image src="/static/img/login01.png"></image>
+				</view>
+				<view class="login_name"><input class="uni-input" v-model="username" focus placeholder="请输入手机号" />
+				</view>
 			</view>
 			<view class="login_input flex">
-				<view class="login_img"><image src="/static/img/public3.png"></image></view>
-				<view class="login_name"><input class="uni-input" type="password" v-model="passward" focus placeholder="请输入密码" /></view>
+				<view class="login_img">
+					<image src="/static/img/public3.png"></image>
+				</view>
+				<view class="login_name"><input class="uni-input" type="password" v-model="passward" focus
+						placeholder="请输入密码" /></view>
 			</view>
 			<view><button type="green" class="uni-button uni-button-green" @click="toLogin">登录</button></view>
 			<!-- <view><button type="green" class="uni-button uni-button-green uni-button-green-plain" plain="true" hover-class="none" @click="register">注册</button></view> -->
 			<view class="bottom">
 				<view class="one">
-					<navigator url="./externalRegistered" style="margin-bottom: 18rpx;"><view class="forget">注册</view></navigator>
-					<navigator url="./forget"><view class="forget">忘记密码</view></navigator>
+					<navigator url="./externalRegistered" style="margin-bottom: 18rpx;">
+						<view class="forget">注册</view>
+					</navigator>
+					<navigator url="./forget">
+						<view class="forget">忘记密码</view>
+					</navigator>
 				</view>
-			
-					<!-- <radio style="transform:scale(0.7)"  color="#6EAB4E" v-mode="istype" />我已阅读并同意<text @click="navTo('/pages/contract/agreement')">《用户协议》</text>&nbsp<text @click="navTo('/pages/contract/privacy')">《隐私政策》</text> -->
-					<label class="two">
-						<checkbox @click="checkboxChange" style="transform:scale(0.7)" color="#6EAB4E" :checked="istype" />我已阅读并同意<text @click="navTo('/pages/contract/agreement')">《用户协议》</text>&nbsp<text @click="navTo('/pages/contract/privacy')">《隐私政策》</text>
+
+				<!-- <radio style="transform:scale(0.7)"  color="#6EAB4E" v-mode="istype" />我已阅读并同意<text @click="navTo('/pages/contract/agreement')">《用户协议》</text>&nbsp<text @click="navTo('/pages/contract/privacy')">《隐私政策》</text> -->
+				<label class="two">
+					<checkbox @click="checkboxChange" style="transform:scale(0.7)" color="#6EAB4E" :checked="istype" />
+					我已阅读并同意<text @click="navTo('/pages/contract/agreement')">《用户协议》</text>&nbsp<text
+						@click="navTo('/pages/contract/privacy')">《隐私政策》</text>
+				</label>
+				<!-- <checkbox-group @change="checkboxChangee">
+					<label>
+						<checkbox :checked="isJizhu" /><text>记住密码</text>
 					</label>
-			
+				</checkbox-group> -->
+
 			</view>
-			
+
 			<!-- <view class="flex other">
 				<view class="fenge"></view>
 				<view class="qita">其他方式登录</view>
@@ -70,387 +87,462 @@
 </template>
 
 <script>
-import { mapMutations } from 'vuex';
-import { login } from '@/api/login.js';
-import { getUserInfo } from '@/api/user.js';
-// #ifdef APP-PLUS
-// applelogin接口需要开发编写,基础项目中可能没有
-import { applelogin } from '@/api/set.js';
-// loginWx接口需要开发编写,基础项目中可能没有
-import { loginWx } from '@/api/login.js';
-// #endif
-// #ifdef H5
-import { loginWinxin } from '@/utils/wxAuthorized';
-// #endif
-export default {
-	data() {
-		return {
-			istype:false,
-	
-			username: '',
-			passward: '',
-			// #ifdef APP-PLUS
-			is_ios: false, //判断是否为ios手机
-			is_apple_login: false //是否有ios授权登录功能
-			// #endif
-		};
-	},
-	onLoad() {
-		let obj = this;
-		// #ifdef APP-PLUS
-		let system = uni.getStorageSync('platform');
-		// 判断是否为ios
-		if (system == 'ios') {
-			obj.is_ios = true;
-		}
-		uni.getSystemInfo({
-			success(e) {
-				if (+e.system.split('.')[0] >= 13) {
-					obj.is_apple_login = true;
-				}
-			}
-		});
-		// #endif
-	},
-	methods: {
-		...mapMutations('user', ['setUserInfo', 'login']),
-		// 微信登录
-		wecahtLogin(type) {
+	import {
+		mapMutations
+	} from 'vuex';
+	import {
+		login
+	} from '@/api/login.js';
+	import {
+		getUserInfo
+	} from '@/api/user.js';
+	// #ifdef APP-PLUS
+	// applelogin接口需要开发编写,基础项目中可能没有
+	import {
+		applelogin
+	} from '@/api/set.js';
+	// loginWx接口需要开发编写,基础项目中可能没有
+	import {
+		loginWx
+	} from '@/api/login.js';
+	// #endif
+	// #ifdef H5
+	import {
+		loginWinxin
+	} from '@/utils/wxAuthorized';
+	// #endif
+	export default {
+		data() {
+			return {
+				istype: false,
+				isJizhu: false,
+				username: '',
+				passward: '',
+				// #ifdef APP-PLUS
+				is_ios: false, //判断是否为ios手机
+				is_apple_login: false //是否有ios授权登录功能
+				// #endif
+			};
+		},
+		onLoad() {
 			let obj = this;
-			// #ifdef H5
-			let weichatBrowser = uni.getStorageSync('weichatBrowser');
-			if (weichatBrowser) {
-				loginWinxin();
-			}
-			// #endif
+			this.username = uni.getStorageSync('user');
+			this.passward = uni.getStorageSync('passward');
 			// #ifdef APP-PLUS
-			uni.login({
-				provider: type,
+			let system = uni.getStorageSync('platform');
+			// 判断是否为ios
+			if (system == 'ios') {
+				obj.is_ios = true;
+			}
+			uni.getSystemInfo({
 				success(e) {
-					uni.getUserInfo({
-						provider: type,
-						success(es) {
-							if (type === 'weixin') {
-								loginWx(es.userInfo)
-									.then(e => {
-										uni.setStorageSync('token', e.data.token);
-										getUserInfo({}).then(e => {
-											obj.login();
-											// 保存返回用户数据
-											obj.setUserInfo(e.data);
-											//成功跳转首页
-											uni.switchTab({
-												url: '/pages/index/index'
+					if (+e.system.split('.')[0] >= 13) {
+						obj.is_apple_login = true;
+					}
+				}
+			});
+			// #endif
+		},
+		methods: {
+			//记住密码
+			checkboxChangee() {
+				this.isJizhu = !this.isJizhu
+				if (this.isJizhu) {
+					console.log('已勾选');
+					
+				} else {
+					uni.removeStorageSync('user')
+					uni.removeStorageSync('password')
+				}
+			},
+
+
+			...mapMutations('user', ['setUserInfo', 'login']),
+			// 微信登录
+			wecahtLogin(type) {
+				let obj = this;
+				// #ifdef H5
+				let weichatBrowser = uni.getStorageSync('weichatBrowser');
+				if (weichatBrowser) {
+					loginWinxin();
+				}
+				// #endif
+				// #ifdef APP-PLUS
+				uni.login({
+					provider: type,
+					success(e) {
+						uni.getUserInfo({
+							provider: type,
+							success(es) {
+								if (type === 'weixin') {
+									loginWx(es.userInfo)
+										.then(e => {
+											uni.setStorageSync('token', e.data.token);
+											getUserInfo({}).then(e => {
+												obj.login();
+												// 保存返回用户数据
+												obj.setUserInfo(e.data);
+												//成功跳转首页
+												uni.switchTab({
+													url: '/pages/index/index'
+												});
+											});
+										})
+										.catch(e => {
+											console.log(e);
+											uni.showModal({
+												content: JSON.stringify(e),
+												success() {},
+												fail() {}
 											});
 										});
-									})
-									.catch(e => {
-										console.log(e);
-										uni.showModal({
-											content: JSON.stringify(e),
-											success() {},
-											fail() {}
+								}
+								if (type === 'apple') {
+									console.log(es.userInfo);
+									applelogin({
+											account: es.userInfo.openId
+										})
+										.then(function(e) {
+											console.log(e, 'token');
+											uni.setStorageSync('token', e.data.token);
+											getUserInfo({}).then(e => {
+												obj.login();
+												// 保存返回用户数据
+												obj.setUserInfo(e.data);
+												//成功跳转首页
+												uni.switchTab({
+													url: '/pages/index/index'
+												});
+											});
+										})
+										.catch(function(e) {
+											console.log(e);
 										});
-									});
+								}
+							},
+							fail(es) {
+								uni.showModal({
+									content: JSON.stringify(es),
+									success() {
+										// obj.login();
+										// // 保存返回用户数据
+										// obj.setUserInfo(e.data);
+										// //成功跳转首页
+										// uni.switchTab({
+										// 	url: '/pages/index/index'
+										// });
+									}
+								});
 							}
-							if (type === 'apple') {
-								console.log(es.userInfo);
-								applelogin({
-									account: es.userInfo.openId
-								})
-									.then(function(e) {
-										console.log(e, 'token');
-										uni.setStorageSync('token', e.data.token);
-										getUserInfo({}).then(e => {
-											obj.login();
-											// 保存返回用户数据
-											obj.setUserInfo(e.data);
-											//成功跳转首页
-											uni.switchTab({
+						});
+					},
+					fail(e) {
+						uni.showModal({
+							title: '提示',
+							content: JSON.stringify(e),
+							showCancel: false
+						});
+					}
+				});
+				// #endif
+			},
+			//登录
+			async toLogin() {
+				let obj = this;
+				obj.logining = true;
+				if (obj.username == '') {
+					obj.$api.msg('请输入手机号');
+					return;
+				}
+				if (obj.passward == '') {
+					obj.$api.msg('请输入密码');
+					return;
+				}
+				if (obj.istype == false) {
+					obj.$api.msg('请先勾选页面下方的《用户协议》《隐私政策》')
+					return;
+				}
+				if(obj.isJizhu) {
+					uni.setStorageSync(
+						'user',
+						obj.username
+					)
+					uni.setStorageSync(
+						'passward',
+						obj.passward
+					)
+					console.log( uni.getStorageSync('passward') ,"mm");
+					console.log( uni.getStorageSync('user') ,"mm");
+				}
+
+				login({
+						account: obj.username,
+						password: obj.passward
+					})
+					.then(function(e) {
+						console.log(e, 'token');
+						uni.setStorageSync('token', e.data.token);
+						// obj.$store.commit('hasLogin', true);
+						obj.login()
+						getUserInfo({}).then(e => {
+							obj.login();
+							// 保存返回用户数据
+
+
+							// uni.getStorage({
+							// 	'user',
+
+							// })
+							// uni.getStorage({
+							// 	'password',
+							// })
+
+							// console.log(uni.getStorage('name', 'password'));
+							obj.setUserInfo(e.data);
+							console.log(e.data, '数据');
+							// uni.getStorageSync('present') || 
+							let ur = '/pages/index/index';
+							//成功跳转首页
+							uni.switchTab({
+								url: ur,
+								fail(e) {
+									uni.navigateTo({
+										url: ur,
+										fail(e) {
+											uni.navigateTo({
 												url: '/pages/index/index'
 											});
-										});
-									})
-									.catch(function(e) {
-										console.log(e);
+										}
 									});
-							}
-						},
-						fail(es) {
-							uni.showModal({
-								content: JSON.stringify(es),
-								success() {
-									// obj.login();
-									// // 保存返回用户数据
-									// obj.setUserInfo(e.data);
-									// //成功跳转首页
-									// uni.switchTab({
-									// 	url: '/pages/index/index'
-									// });
 								}
 							});
-						}
-					});
-				},
-				fail(e) {
-					uni.showModal({
-						title: '提示',
-						content: JSON.stringify(e),
-						showCancel: false
-					});
-				}
-			});
-			// #endif
-		},
-		//登录
-		async toLogin() {
-			let obj = this;
-			obj.logining = true;
-			if (obj.username == '') {
-				obj.$api.msg('请输入手机号');
-				return;
-			}
-			if (obj.passward == '') {
-				obj.$api.msg('请输入密码');
-				return;
-			}
-			if(obj.istype == false){
-				obj.$api.msg('请先勾选页面下方的《用户协议》《隐私政策》')
-				return;
-			}
-			
-			
-			login({
-				account: obj.username,
-				password: obj.passward
-			})
-				.then(function(e) {
-					uni.setStorageSync('token', e.data.token);
-					// obj.$store.commit('hasLogin', true);
-					obj.login()
-					getUserInfo({}).then(e => {
-						obj.login();
-						// 保存返回用户数据
-						obj.setUserInfo(e.data);
-						 // uni.getStorageSync('present') || 
-						let ur ='/pages/index/index';
-						//成功跳转首页
-						uni.switchTab({
-							url: ur,
-							fail(e) {
-								uni.navigateTo({
-									url: ur,
-									fail(e) {
-										uni.navigateTo({
-											url: '/pages/index/index'
-										});
-									}
-								});
-							}
+
 						});
+					})
+					.catch(function(e) {
+						console.log(e);
 					});
-				})
-				.catch(function(e) {
-					console.log(e);
+			},
+			//跳转注册页
+			register() {
+				uni.navigateTo({
+					url: `/pages/public/register`
 				});
-		},
-		//跳转注册页
-		register() {
-			uni.navigateTo({
-				url: `/pages/public/register`
-			});
-		},
-		// 后退
-		navBack() {
-			uni.navigateBack();
-		},
-		navTo(url){
-			uni.navigateTo({
-				url
-			})
-		},
-		checkboxChange(){
-			this.istype = !this.istype
-			console.log(this.istype);
+			},
+			// 后退
+			navBack() {
+				uni.navigateBack();
+			},
+			navTo(url) {
+				uni.navigateTo({
+					url
+				})
+			},
+			checkboxChange() {
+				this.istype = !this.istype
+				console.log(this.istype);
+			}
 		}
-	}
-};
+	};
 </script>
 
 <style lang="scss">
-/* #ifdef APP-PLUS */
-
-.ios_login {
-	width: 260rpx;
-	border-radius: 12rpx;
-	justify-content: center;
-	border: 1px solid #212121;
-	margin: 24rpx auto;
-	padding: 10rpx;
-	background-color: #212121;
-	color: #ffffff;
-	.loginIcon {
-		width: 50rpx;
-		height: 50rpx;
-	}
-	.weixin_text {
-		line-height: 1;
-		margin-left: 20rpx;
-		color: #ffffff !important;
+	/* #ifdef APP-PLUS */
+
+	.ios_login {
+		width: 260rpx;
+		border-radius: 12rpx;
+		justify-content: center;
+		border: 1px solid #212121;
+		margin: 24rpx auto;
+		padding: 10rpx;
+		background-color: #212121;
+		color: #ffffff;
+
+		.loginIcon {
+			width: 50rpx;
+			height: 50rpx;
+		}
+
+		.weixin_text {
+			line-height: 1;
+			margin-left: 20rpx;
+			color: #ffffff !important;
+		}
 	}
-}
-
-/* #endif */
-.ios_login {
-	width: 350rpx;
-	border-radius: 12rpx;
-	justify-content: center;
-	border: 1px solid #212121;
-	margin: 24rpx auto;
-	padding: 15rpx;
-	background-color: #212121;
-	color: #ffffff;
-	font-size: 32rpx;
-	.loginIcon {
-		font-size: 35rpx;
-		width: 35rpx;
-		height: 35rpx;
+
+	/* #endif */
+	.ios_login {
+		width: 350rpx;
+		border-radius: 12rpx;
+		justify-content: center;
+		border: 1px solid #212121;
+		margin: 24rpx auto;
+		padding: 15rpx;
+		background-color: #212121;
+		color: #ffffff;
+		font-size: 32rpx;
+
+		.loginIcon {
+			font-size: 35rpx;
+			width: 35rpx;
+			height: 35rpx;
+		}
+
+		.weixin_text {
+			line-height: 1;
+			margin-left: 20rpx;
+			color: #ffffff !important;
+		}
 	}
-	.weixin_text {
-		line-height: 1;
-		margin-left: 20rpx;
-		color: #ffffff !important;
+
+	page {
+		height: 100%;
 	}
-}
-
-page {
-	height: 100%;
-}
-.container {
-	width: 100%;
-	height: 100%;
-	background-size: 100%;
-}
-.container_text {
-	width: 100%;
-	height: 500rpx;
-	top: 0rpx;
-	.banner-img {
+
+	.container {
 		width: 100%;
 		height: 100%;
+		background-size: 100%;
 	}
-}
-.login_text {
-	height: calc(100% - 500rpx);
-	position: relative;
-	padding: 100rpx 60rpx 0;
-	background-color: #ffffff;
-	
-	
-	.login_input {
-		display: flex;
-		justify-content: center;
-		align-items: center;
-		border-bottom: 1rpx solid #f0f0f0;
-		margin-bottom: 65rpx;
-		.login_img image {
-			height: 40rpx;
-			width: 30rpx;
-			margin-right: 30rpx;
+
+	.container_text {
+		width: 100%;
+		height: 500rpx;
+		top: 0rpx;
+
+		.banner-img {
+			width: 100%;
+			height: 100%;
 		}
-		.uni-input {
-			text-align: left;
-			width: 470rpx;
-			font-size: 28rpx !important;
+	}
+
+	.login_text {
+		height: calc(100% - 500rpx);
+		position: relative;
+		padding: 100rpx 60rpx 0;
+		background-color: #ffffff;
+
+
+		.login_input {
+			display: flex;
+			justify-content: center;
+			align-items: center;
+			border-bottom: 1rpx solid #f0f0f0;
+			margin-bottom: 65rpx;
+
+			.login_img image {
+				height: 40rpx;
+				width: 30rpx;
+				margin-right: 30rpx;
+			}
+
+			.uni-input {
+				text-align: left;
+				width: 470rpx;
+				font-size: 28rpx !important;
+			}
+
+			.login_name {
+				color: #333333;
+			}
 		}
-		.login_name {
-			color: #333333;
+
+		.other {
+			margin-top: 60rpx;
+
+			.fenge {
+				width: 30%;
+				height: 2rpx;
+				background-color: #eeeeee;
+			}
+
+			.qita {
+				font-size: 28rpx;
+				color: #999999;
+			}
 		}
-	}
 
-	.other {
-		margin-top: 60rpx;
-		.fenge {
-			width: 30%;
-			height: 2rpx;
-			background-color: #eeeeee;
+		.weixin {
+			width: 75rpx;
+			height: 75rpx;
+			margin: 25rpx auto;
 		}
-		.qita {
+
+		.weixin image {
+			width: 100%;
+			height: 100%;
+		}
+
+		.weixin_text {
+			text-align: center;
 			font-size: 28rpx;
 			color: #999999;
 		}
-	}
-	.weixin {
-		width: 75rpx;
-		height: 75rpx;
-		margin: 25rpx auto;
-	}
-	.weixin image {
-		width: 100%;
-		height: 100%;
-	}
-	.weixin_text {
-		text-align: center;
-		font-size: 28rpx;
-		color: #999999;
-	}
-	.bottom{
-		
-		display: flex;
-		flex-direction: column;
-		align-items: center;
-		
-		.one{
-			
+
+		.bottom {
+
 			display: flex;
-			justify-content:space-around;
-			.forget {
+			flex-direction: column;
+			align-items: center;
+
+			.one {
+
+				display: flex;
+				justify-content: space-around;
+
+				.forget {
+					font-size: 28rpx;
+					margin: 0 60rpx;
+					text-align: center;
+					font-family: PingFang SC;
+					font-weight: 500;
+					color: #6EAB4E;
+				}
+			}
+
+			.two {
 				font-size: 28rpx;
-				margin: 0 60rpx;
 				text-align: center;
 				font-family: PingFang SC;
 				font-weight: 500;
-				color: #6EAB4E;
+				color: #999999;
+
+				text {
+					color: #6EAB4E;
+				}
 			}
 		}
-		.two{
-			font-size: 28rpx;
-			text-align: center;
-			font-family: PingFang SC;
-			font-weight: 500;
-			color: #999999;
-			text{
-					color: #6EAB4E;	
-			}
+
+
+		.uni-button-green {
+			color: #ffffff;
+			background-color: #6EAB4E;
+			margin: 40rpx 10rpx;
+			border-radius: 10rpx;
 		}
-	}
 
+		.uni-button-green-plain {
+			border: 1px solid #6EAB4E;
+			margin: 40rpx 10rpx;
+			border-radius: 50rpx;
+			color: #6EAB4E;
+			background-color: #ffffff;
+		}
 
-	.uni-button-green {
-		color: #ffffff;
-		background-color: #6EAB4E;
-		margin: 40rpx 10rpx;
-		border-radius: 10rpx;
-	}
-	.uni-button-green-plain {
-		border: 1px solid #6EAB4E;
-		margin: 40rpx 10rpx;
-		border-radius: 50rpx;
-		color: #6EAB4E;
-		background-color: #ffffff;
+		.uni-button {
+			height: 85rpx;
+			line-height: 85rpx;
+		}
 	}
-	.uni-button {
-		height: 85rpx;
-		line-height: 85rpx;
+
+	.loginTitle {
+		position: absolute;
+
+		width: 100%;
+		text-align: center;
+		color: white;
+		font-weight: 400;
+		font-size: 36rpx;
 	}
-}
-.loginTitle {
-	position: absolute;
-	
-	width: 100%;
-	text-align: center;
-	color: white;
-	font-weight: 400;
-	font-size: 36rpx;
-}
 </style>

BIN
static/index/index01.png


BIN
static/index/index02.png


BIN
static/index/index03.png


BIN
static/index/index04.png


BIN
static/index/index05.png


BIN
static/index/index06.png


BIN
static/index/index07.png


BIN
static/index/index08.png


BIN
static/index/index09.png