浏览代码

Merge branch 'master' of http://47.92.161.104:10080/zkx/jp-xqjy

zxz 3 年之前
父节点
当前提交
c746973ac8
共有 7 个文件被更改,包括 476 次插入41 次删除
  1. 2 0
      .gitignore
  2. 156 32
      assets/font/iconfont.css
  3. 0 1
      package.json
  4. 115 7
      pages/login/index.vue
  5. 202 0
      static/css/iconfont.css
  6. 0 0
      static/img/loginBg.png
  7. 1 1
      uni.scss

+ 2 - 0
.gitignore

@@ -0,0 +1,2 @@
+node_modules
+yarn.lock

+ 156 - 32
assets/font/iconfont.css

@@ -1,6 +1,8 @@
 @font-face {
-	font-family: "custom-icon";
-	src:url('//at.alicdn.com/t/font_3140991_jqlw2xxtdk.woff2?t=1642217797275') format('woff2');
+  font-family: "custom-icon"; /* Project id 3313719 */
+  src: url('//at.alicdn.com/t/font_3313719_gx8aelqfff.woff2?t=1649493232326') format('woff2'),
+       url('//at.alicdn.com/t/font_3313719_gx8aelqfff.woff?t=1649493232326') format('woff'),
+       url('//at.alicdn.com/t/font_3313719_gx8aelqfff.ttf?t=1649493232326') format('truetype');
 }
 
 .custom-icon {
@@ -10,69 +12,191 @@
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
 }
-.custom-icon-xiayiye:before {
-  content: "\e77c";
-}
-.custom-icon-jiagebaohu:before {
-  content: "\e603";
-}
 
-.custom-icon-iconfontscan:before {
+.custom-icon-heart-2-fill:before {
   content: "\e600";
 }
 
-.custom-icon-31wode:before {
+.custom-icon-home-3-fill:before {
   content: "\e601";
 }
 
-.custom-icon-weixinzhifu:before {
-  content: "\e62a";
+.custom-icon-information-line:before {
+  content: "\e602";
+}
+
+.custom-icon-heart-2-line:before {
+  content: "\e603";
 }
 
-.custom-icon-kefu:before {
+.custom-icon-information-fill:before {
   content: "\e604";
 }
 
-.custom-icon-dian:before {
-  content: "\e64d";
+.custom-icon-map-pin-2-fill:before {
+  content: "\e605";
 }
 
-.custom-icon-tikuan:before {
+.custom-icon-filter-2-fill:before {
   content: "\e606";
 }
 
-.custom-icon-bofangjilu:before {
-  content: "\e8ad";
+.custom-icon-newspaper-line:before {
+  content: "\e607";
 }
 
-.custom-icon-shuaxin:before {
-  content: "\e8b9";
+.custom-icon-profile-fill:before {
+  content: "\e608";
 }
 
-.custom-icon-tuichu:before {
-  content: "\e60d";
+.custom-icon-folder-user-fill:before {
+  content: "\e609";
 }
 
-.custom-icon-dizhi:before {
-  content: "\e67e";
+.custom-icon-keyboard-box-line:before {
+  content: "\e60a";
 }
 
-.custom-icon-chongdianzhuang:before {
-  content: "\e653";
+.custom-icon-shield-user-fill:before {
+  content: "\e60b";
 }
 
-.custom-icon-qichexiangguan-chongdianzhan:before {
-  content: "\e637";
+.custom-icon-lock-password-fill:before {
+  content: "\e60c";
 }
 
-.custom-icon-shoujichongdian:before {
+.custom-icon-send-plane-fill:before {
+  content: "\e60d";
+}
+
+.custom-icon-newspaper-fill:before {
   content: "\e60e";
 }
 
-.custom-icon-juli:before {
-  content: "\e607";
+.custom-icon-home-3-line:before {
+  content: "\e60f";
+}
+
+.custom-icon-men-line:before {
+  content: "\e610";
+}
+
+.custom-icon-spam-3-fill:before {
+  content: "\e611";
+}
+
+.custom-icon-notification-3-fill:before {
+  content: "\e612";
 }
 
-.custom-icon-motuoche-diandongche:before {
+.custom-icon-user-2-fill:before {
+  content: "\e613";
+}
+
+.custom-icon-thumb-up-fill:before {
+  content: "\e614";
+}
+
+.custom-icon-search-line:before {
+  content: "\e615";
+}
+
+.custom-icon-refresh-line:before {
+  content: "\e616";
+}
+
+.custom-icon-user-5-line:before {
   content: "\e617";
 }
+
+.custom-icon-women-line:before {
+  content: "\e618";
+}
+
+.custom-icon-thumb-up-line:before {
+  content: "\e619";
+}
+
+.custom-icon-align-top:before {
+  content: "\e61a";
+}
+
+.custom-icon-zoom-out-line:before {
+  content: "\e61b";
+}
+
+.custom-icon-zoom-in-line:before {
+  content: "\e61c";
+}
+
+.custom-icon-account-box-line:before {
+  content: "\e61d";
+}
+
+.custom-icon-arrow-drop-down-fill:before {
+  content: "\e61e";
+}
+
+.custom-icon-smartphone-fill:before {
+  content: "\e61f";
+}
+
+.custom-icon-arrow-left-s-line:before {
+  content: "\e620";
+}
+
+.custom-icon-arrow-down-s-line:before {
+  content: "\e621";
+}
+
+.custom-icon-building-fill:before {
+  content: "\e622";
+}
+
+.custom-icon-user-5-fill:before {
+  content: "\e623";
+}
+
+.custom-icon-camera-fill:before {
+  content: "\e624";
+}
+
+.custom-icon-cellphone-fill:before {
+  content: "\e625";
+}
+
+.custom-icon-check-line:before {
+  content: "\e626";
+}
+
+.custom-icon-chat-heart-line:before {
+  content: "\e627";
+}
+
+.custom-icon-close-fill:before {
+  content: "\e628";
+}
+
+.custom-icon-customer-service-fill:before {
+  content: "\e629";
+}
+
+.custom-icon-eye-line:before {
+  content: "\e62a";
+}
+
+.custom-icon-edit-2-line:before {
+  content: "\e62b";
+}
+
+.custom-icon-file-list-3-line:before {
+  content: "\e62c";
+}
+
+.custom-icon-emotion-line:before {
+  content: "\e62d";
+}
+
+.custom-icon-message-3-fill:before {
+  content: "\e62e";
+}

+ 0 - 1
package.json

@@ -10,7 +10,6 @@
   "uni-crazy-router": "0.0.31",
   "uni-simple-router": "^2.0.1",
   "uview-ui": "^2.0.30",
-   
   "vue-cli": "^2.9.6",
   "vue-cropper": "^0.5.6",
   "vuex": "^3.6.2",

+ 115 - 7
pages/login/index.vue

@@ -1,20 +1,59 @@
 <template>
 	<view>
-		<view class="userHead">
-			
+		<view class="jpLogin">
+			<view class="jpLogin-title">
+				<h2>会员登录</h2>
+				<p>欢迎来到荆州工会鹊桥</p>
+			</view>
+			<view class="jpLogin-main">
+				<u-form :model="form" ref="uForm">
+					<view class="jpLogin-input">
+						<u-icon custom-prefix="custom-icon" name="profile-fill" class="jpLogin-icon"></u-icon>
+						<u-form-item><u-input v-model="form.name" /></u-form-item>
+					</view>
+					<view class="jpLogin-input">
+						<u-icon custom-prefix="custom-icon" name="cellphone-fill" class="jpLogin-icon"></u-icon>
+						<u-form-item><u-input v-model="form.name" /></u-form-item>
+					</view>
+					<view class="jpLogin-input">
+						<u-icon custom-prefix="custom-icon" name="lock-password-fill" class="jpLogin-icon"></u-icon>
+						<u-form-item><u-input v-model="form.name" /></u-form-item>
+					</view>
+				</u-form>
+				<view class="jpLogin-link">
+					<view class="jpLogin-link-l">
+						<p>没有账号,</p>
+						<span>去注册</span>
+					</view>
+					<span>获取验证码</span>
+				</view>
+			</view>
+			<view style="margin-top: 60px;">
+				<u-button type="error" shape="circle">登录</u-button>
+			</view>
+			<view class="jpLogin-radio">
+				<u-radio-group v-model="value">
+					<u-radio activeColor="#ff5e5e"><view class="u-flex"><p>已阅读并同意</p><span>《会员服务协议》</span></view></u-radio>
+				</u-radio-group>
+			</view>
 		</view>
- 	</view>
+	</view>
 </template>
 
 <script>
 	export default {
 		data() {
 			return {
-
+				form: {
+					name: '',
+				},
+				value:'0',
+				customStyle:{
+					color: 'red'
+				}
 			}
-
 			methods: {
-				
+
 			}
 
 		}
@@ -22,5 +61,74 @@
 </script>
 
 <style lang="scss" scoped>
+	.jpLogin {
+		background: url(/static/img/loginBg.png) top center no-repeat;
+		background-size: 100%;
+		height: 100vh;
+		padding: 50px;
+	}
+
+	.jpLogin-title {
+		h2 {
+			font-size: 24px;
+			font-weight: normal;
+		}
+
+		p {
+			color: #777;
+			font-size: 14px;
+			margin-top: 3px;
+		}
+	}
+
+	.jpLogin-main {
+		margin-top: 40px;
+	}
+
+	.jpLogin-input {
+		height: 48px;
+		background-color: #fff;
+		border: 1px solid #EEDCDC;
+		border-radius: 50px;
+		display: flex;
+		width: 100%;
+		padding: 0 20px;
+		margin-bottom: 20px;
+		.jpLogin-icon{
+			font-size: 20px;
+			color:#FFC1C1;
+			margin-right: 10px;
+		}
+	}
+
+	.jpLogin-link {
+		display: flex;
+		justify-content: space-between;
+		align-items: center;
+		font-size: 14px;
+
+		.jpLogin-link-l {
+			display: flex;
+			align-items: center;
+
+			p {
+				color: #4f4646;
+			}
+		}
 
-</style>
+		span {
+			color: #1677FF;
+		}
+	}
+	.jpLogin-radio{
+		margin-top: 16px;
+		text-align: center;
+		p{
+			font-size: 14px;
+		}
+		span{
+			color:#ff5e5e;
+			font-size: 14px;
+		}
+	}
+</style>

+ 202 - 0
static/css/iconfont.css

@@ -0,0 +1,202 @@
+@font-face {
+  font-family: "custom-icon"; /* Project id 3313719 */
+  src: url('//at.alicdn.com/t/font_3313719_gx8aelqfff.woff2?t=1649493232326') format('woff2'),
+       url('//at.alicdn.com/t/font_3313719_gx8aelqfff.woff?t=1649493232326') format('woff'),
+       url('//at.alicdn.com/t/font_3313719_gx8aelqfff.ttf?t=1649493232326') format('truetype');
+}
+
+.custom-icon {
+  font-family: "custom-icon" !important;
+  font-size: 16px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+.custom-icon-heart-2-fill:before {
+  content: "\e600";
+}
+
+.custom-icon-home-3-fill:before {
+  content: "\e601";
+}
+
+.custom-icon-information-line:before {
+  content: "\e602";
+}
+
+.custom-icon-heart-2-line:before {
+  content: "\e603";
+}
+
+.custom-icon-information-fill:before {
+  content: "\e604";
+}
+
+.custom-icon-map-pin-2-fill:before {
+  content: "\e605";
+}
+
+.custom-icon-filter-2-fill:before {
+  content: "\e606";
+}
+
+.custom-icon-newspaper-line:before {
+  content: "\e607";
+}
+
+.custom-icon-profile-fill:before {
+  content: "\e608";
+}
+
+.custom-icon-folder-user-fill:before {
+  content: "\e609";
+}
+
+.custom-icon-keyboard-box-line:before {
+  content: "\e60a";
+}
+
+.custom-icon-shield-user-fill:before {
+  content: "\e60b";
+}
+
+.custom-icon-lock-password-fill:before {
+  content: "\e60c";
+}
+
+.custom-icon-send-plane-fill:before {
+  content: "\e60d";
+}
+
+.custom-icon-newspaper-fill:before {
+  content: "\e60e";
+}
+
+.custom-icon-home-3-line:before {
+  content: "\e60f";
+}
+
+.custom-icon-men-line:before {
+  content: "\e610";
+}
+
+.custom-icon-spam-3-fill:before {
+  content: "\e611";
+}
+
+.custom-icon-notification-3-fill:before {
+  content: "\e612";
+}
+
+.custom-icon-user-2-fill:before {
+  content: "\e613";
+}
+
+.custom-icon-thumb-up-fill:before {
+  content: "\e614";
+}
+
+.custom-icon-search-line:before {
+  content: "\e615";
+}
+
+.custom-icon-refresh-line:before {
+  content: "\e616";
+}
+
+.custom-icon-user-5-line:before {
+  content: "\e617";
+}
+
+.custom-icon-women-line:before {
+  content: "\e618";
+}
+
+.custom-icon-thumb-up-line:before {
+  content: "\e619";
+}
+
+.custom-icon-align-top:before {
+  content: "\e61a";
+}
+
+.custom-icon-zoom-out-line:before {
+  content: "\e61b";
+}
+
+.custom-icon-zoom-in-line:before {
+  content: "\e61c";
+}
+
+.custom-icon-account-box-line:before {
+  content: "\e61d";
+}
+
+.custom-icon-arrow-drop-down-fill:before {
+  content: "\e61e";
+}
+
+.custom-icon-smartphone-fill:before {
+  content: "\e61f";
+}
+
+.custom-icon-arrow-left-s-line:before {
+  content: "\e620";
+}
+
+.custom-icon-arrow-down-s-line:before {
+  content: "\e621";
+}
+
+.custom-icon-building-fill:before {
+  content: "\e622";
+}
+
+.custom-icon-user-5-fill:before {
+  content: "\e623";
+}
+
+.custom-icon-camera-fill:before {
+  content: "\e624";
+}
+
+.custom-icon-cellphone-fill:before {
+  content: "\e625";
+}
+
+.custom-icon-check-line:before {
+  content: "\e626";
+}
+
+.custom-icon-chat-heart-line:before {
+  content: "\e627";
+}
+
+.custom-icon-close-fill:before {
+  content: "\e628";
+}
+
+.custom-icon-customer-service-fill:before {
+  content: "\e629";
+}
+
+.custom-icon-eye-line:before {
+  content: "\e62a";
+}
+
+.custom-icon-edit-2-line:before {
+  content: "\e62b";
+}
+
+.custom-icon-file-list-3-line:before {
+  content: "\e62c";
+}
+
+.custom-icon-emotion-line:before {
+  content: "\e62d";
+}
+
+.custom-icon-message-3-fill:before {
+  content: "\e62e";
+}

+ 0 - 0
static/img/iPhone 13 mini - 1.png → static/img/loginBg.png


+ 1 - 1
uni.scss

@@ -19,7 +19,7 @@
 $uni-color-primary: #007aff;
 $uni-color-success: #4cd964;
 $uni-color-warning: #f0ad4e;
-$uni-color-error: #dd524d;
+$uni-color-error: #ff5e5e;
 
 /* 文字基本颜色 */
 $uni-text-color:#333;//基本色