Commit 9441124e by 肖康

Merge branch 'master' of http://git.ichunt.net/xiaokang/H5_2.0

parents e6f67aee 9559018e
...@@ -6,6 +6,41 @@ ...@@ -6,6 +6,41 @@
"description": "", "description": "",
"glyphs": [ "glyphs": [
{ {
"icon_id": "35570633",
"name": "矩形备份 14 (4)",
"font_class": "a-juxingbeifen144",
"unicode": "e793",
"unicode_decimal": 59283
},
{
"icon_id": "35570634",
"name": "矩形备份 14 (2)",
"font_class": "a-juxingbeifen142",
"unicode": "e794",
"unicode_decimal": 59284
},
{
"icon_id": "35570635",
"name": "矩形备份 14 (3)",
"font_class": "a-juxingbeifen143",
"unicode": "e795",
"unicode_decimal": 59285
},
{
"icon_id": "35570636",
"name": "矩形 (3)",
"font_class": "a-juxing3",
"unicode": "e796",
"unicode_decimal": 59286
},
{
"icon_id": "35570637",
"name": "矩形",
"font_class": "juxing1",
"unicode": "e797",
"unicode_decimal": 59287
},
{
"icon_id": "35559856", "icon_id": "35559856",
"name": "矩形", "name": "矩形",
"font_class": "juxing", "font_class": "juxing",
......
...@@ -94,6 +94,7 @@ ...@@ -94,6 +94,7 @@
&.pwd { &.pwd {
padding-right: 24rpx; padding-right: 24rpx;
.uni-input { .uni-input {
width: 80%;
text-indent: 23rpx; text-indent: 23rpx;
font-size: 26rpx; font-size: 26rpx;
} }
...@@ -121,6 +122,26 @@ ...@@ -121,6 +122,26 @@
font-size: 28rpx; font-size: 28rpx;
color: #ffffff; color: #ffffff;
} }
.success {
.p1 {
width: 356rpx;
height: 356rpx;
margin-bottom: 32rpx;
}
.success-t1 {
font-size: 38rpx;
color: #292b33;
margin-bottom: 100rpx;
}
.success-btn {
width: 344rpx;
height: 68rpx;
background: #1969f9;
border-radius: 10rpx;
font-size: 28rpx;
color: #ffffff;
}
}
} }
.mb24 { .mb24 {
......
...@@ -97,6 +97,16 @@ ...@@ -97,6 +97,16 @@
color: #979797; color: #979797;
} }
} }
&.verification-code {
padding: 0 24rpx;
.uni-input {
font-size: 26rpx;
}
.pic {
width: 160rpx;
height: 62rpx;
}
}
} }
.btn { .btn {
height: 88rpx; height: 88rpx;
......
{ {
"name" : "H5_2.0", "name": "H5_2.0",
"appid" : "", "appid": "__UNI__7228DC6",
"description" : "", "description": "",
"versionName" : "1.0.0", "versionName": "1.0.0",
"versionCode" : "100", "versionCode": "100",
"transformPx" : false, "transformPx": false,
"h5" : { "h5": {
"devServer" : { "devServer": {
"port" : 8080, "port": 8080,
"disableHostCheck" : true, "disableHostCheck": true,
"proxy" : { "proxy": {
"/apis" : { "/apis": {
"target" : "http://api.liexin.com", "target": "http://api.liexin.com",
"changeOrigin" : true, "changeOrigin": true,
"secure" : true, "secure": true,
"pathRewrite": {"^/apis": ""} "pathRewrite": {
"^/apis": ""
}
}, },
"/v3": {
"/v3" : { "target": "http://www.liexin.com",
"target" : "http://www.liexin.com", "changeOrigin": true,
"changeOrigin" : true, "secure": true,
"secure" : true, "pathRewrite": {
"pathRewrite": {"^/v3": "/v3/"} "^/v3": "/v3/"
}
} }
} }
}, },
"optimization" : { "optimization": {
"treeShaking" : { "treeShaking": {
"enable" : false "enable": false
} }
} }
}, },
"app-plus": {
"app-plus" : { "usingComponents": true,
"usingComponents" : true, "nvueStyleCompiler": "uni-app",
"nvueStyleCompiler" : "uni-app", "compilerVersion": 3,
"compilerVersion" : 3, "splashscreen": {
"splashscreen" : { "alwaysShowBeforeRender": true,
"alwaysShowBeforeRender" : true, "waiting": true,
"waiting" : true, "autoclose": true,
"autoclose" : true, "delay": 0
"delay" : 0
}, },
/* 模块配置 */ /* 模块配置 */
"modules" : {}, "modules": {},
/* 应用发布信息 */ /* 应用发布信息 */
"distribute" : { "distribute": {
/* android打包配置 */ /* android打包配置 */
"android" : { "android": {
"permissions" : [ "permissions": [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>", "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>", "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>", "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
...@@ -68,32 +69,30 @@ ...@@ -68,32 +69,30 @@
] ]
}, },
/* ios打包配置 */ /* ios打包配置 */
"ios" : {}, "ios": {},
/* SDK配置 */ /* SDK配置 */
"sdkConfigs" : {} "sdkConfigs": {}
} }
}, },
"quickapp": {},
"quickapp" : {}, "mp-weixin": {
"appid": "",
"mp-weixin" : { "setting": {
"appid" : "", "urlCheck": false
"setting" : {
"urlCheck" : false
}, },
"usingComponents" : true "usingComponents": true
}, },
"mp-alipay" : { "mp-alipay": {
"usingComponents" : true "usingComponents": true
}, },
"mp-baidu" : { "mp-baidu": {
"usingComponents" : true "usingComponents": true
}, },
"mp-toutiao" : { "mp-toutiao": {
"usingComponents" : true "usingComponents": true
}, },
"uniStatistics" : { "uniStatistics": {
"enable" : false "enable": false
}, },
"vueVersion" : "2" "vueVersion": "2"
} }
\ No newline at end of file
...@@ -40,6 +40,12 @@ ...@@ -40,6 +40,12 @@
"style": { "style": {
"navigationBarTitleText": "协议" "navigationBarTitleText": "协议"
} }
},
{
"path": "pages/mine/user",
"style": {
"navigationBarTitleText": "会员中心"
}
} }
], ],
"globalStyle": { "globalStyle": {
......
...@@ -6,19 +6,12 @@ ...@@ -6,19 +6,12 @@
<text class="tt">猎芯网移动端目前仅支持手机号找回方式,如果您要通过邮箱账号找回密码,请使用电脑打开猎芯网www.ichunt.com</text> <text class="tt">猎芯网移动端目前仅支持手机号找回方式,如果您要通过邮箱账号找回密码,请使用电脑打开猎芯网www.ichunt.com</text>
</view> </view>
<view class="step row verCenter"> <view class="step row verCenter">
<view class="box column verCenter curr"> <view class="box column verCenter" :class="{ curr: index == curr }" v-for="(item, index) in textArr" :key="index">
<text class="line"></text> <text class="line"></text>
<text class="tt">身份验证</text> <text class="tt">{{ item }}</text>
</view>
<view class="box column verCenter">
<text class="line"></text>
<text class="tt">重置密码</text>
</view>
<view class="box column verCenter">
<text class="line"></text>
<text class="tt">完成</text>
</view> </view>
</view> </view>
<template v-if="curr == 0">
<view class="input-box mobile row verCenter" style="margin-bottom: 24rpx;"> <view class="input-box mobile row verCenter" style="margin-bottom: 24rpx;">
<view class="picker-box"> <view class="picker-box">
<picker @change="bindPickerChange" :value="index" :range="array"> <picker @change="bindPickerChange" :value="index" :range="array">
...@@ -38,7 +31,22 @@ ...@@ -38,7 +31,22 @@
<input type="number" placeholder="请输入短信验证码" placeholder-style="color:#919399;" class="uni-input" /> <input type="number" placeholder="请输入短信验证码" placeholder-style="color:#919399;" class="uni-input" />
<text class="code">获取验证码</text> <text class="code">获取验证码</text>
</view> </view>
<view class="btn row rowCenter verCenter" @click="submit()">提交</view> <view class="btn row rowCenter verCenter" @click="submit(1)">提交</view>
</template>
<template v-else-if="curr == 1">
<view class="input-box pwd row bothSide verCenter" style="margin-bottom: 40px;">
<input type="number" placeholder="请输入6-20位数字、字母或符号组合密码" placeholder-style="color:#919399;" class="uni-input" />
<text class="iconfont icon-a-juxingbeifen14"></text>
</view>
<view class="btn row rowCenter verCenter" @click="submit(2)">提交</view>
</template>
<template v-else-if="curr == 2">
<view class="success column rowCenter verCenter">
<image src="../../static/success.png" class="p1"></image>
<text class="success-t1">密码重置成功</text>
<view class="success-btn row rowCenter verCenter">去登录</view>
</view>
</template>
</view> </view>
</template> </template>
...@@ -51,11 +59,17 @@ export default { ...@@ -51,11 +59,17 @@ export default {
data() { data() {
return { return {
index: 0, index: 0,
array: ['0086', '00886', '00853', '00852'] array: ['0086', '00886', '00853', '00852'],
textArr: ['身份验证', '重置密码', '完成'],
curr: 0
}; };
}, },
onLoad() {}, onLoad() {},
methods: {} methods: {
submit(type) {
this.curr = type;
}
}
}; };
</script> </script>
......
...@@ -52,6 +52,10 @@ ...@@ -52,6 +52,10 @@
<input type="number" placeholder="请输入手机号码/邮箱" placeholder-style="color:#919399;" class="uni-input" /> <input type="number" placeholder="请输入手机号码/邮箱" placeholder-style="color:#919399;" class="uni-input" />
<text class="code" @click="login_type = true">国际手机</text> <text class="code" @click="login_type = true">国际手机</text>
</view> </view>
<view class="input-box verification-code row bothSide verCenter" style="margin-bottom: 24rpx;">
<input type="text" placeholder="请输入图中字符,不区分大小写" placeholder-style="color:#919399;" class="uni-input" />
<image src="https://www.ichunt.com/v3/public/verify" class="pic"></image>
</view>
</template> </template>
<view class="input-box pwd row bothSide verCenter mb40"> <view class="input-box pwd row bothSide verCenter mb40">
<input type="number" placeholder="请输入密码" placeholder-style="color:#919399;" class="uni-input" /> <input type="number" placeholder="请输入密码" placeholder-style="color:#919399;" class="uni-input" />
......
...@@ -60,6 +60,13 @@ const router = new Router({ ...@@ -60,6 +60,13 @@ const router = new Router({
meta: { meta: {
title: '协议' title: '协议'
} }
},
{
path: '/pages/mine/user',
aliasPath: '/user',
meta: {
title: '会员中心'
}
} }
] ]
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment