diff --git a/App.vue b/App.vue
index 59cc84a..23d4274 100644
--- a/App.vue
+++ b/App.vue
@@ -8,7 +8,7 @@
// 优先于show方法
onLaunch: function() {
// 配置全局域名
- uni.setStorageSync('hostapi','https://peili.scdxtc.cn');
+ uni.setStorageSync('hostapi','http://maintain.7and5.cn');
// 设置主色调
uni.setStorageSync('publicColor','#000000');
},
@@ -30,9 +30,13 @@
@import url("./commons/icon-font.css");
/* 阿里巴巴矢量图标库 end */
- /* 项目主体样式 start */
+ /* 项目基础样式 start */
@import url("./commons/base.css");
- /* 项目主体样式 end */
+ /* 项目基础样式 end */
+
+ /* 项目页面样式 start */
+ @import url("./commons/flying-monkey.css");
+ /* 项目页面样式 end */
/* 动画样式 start */
@import url("./commons/animate.min.css");
diff --git a/commons/flying-monkey.css b/commons/flying-monkey.css
new file mode 100644
index 0000000..eb72d0a
--- /dev/null
+++ b/commons/flying-monkey.css
@@ -0,0 +1,58 @@
+/* 注册页面 */
+.register-close {width: 26rpx;height: 25rpx;}
+.register-title {color: #03affb;}
+.register-phone-img{
+ width: 0;
+ height: 0;
+ border-left: 8rpx solid transparent;
+ border-top: 10rpx solid #000;
+ border-right: 8rpx solid transparent;
+ margin: 0 20rpx 0 10rpx;
+}
+.clear-input {
+ width: 100%;
+ border: none;
+ border-bottom: 1rpx solid #d9d9d9;
+ font-weight: 400;
+ font-size: 24rpx;
+ box-sizing: border-box;
+ height: 66rpx;
+ padding-right: 60rpx;
+}
+.obtain-code {
+ flex-shrink: 0;
+ border: 1rpx solid #03affb;
+ color: #03affb;
+ height: 45rpx;
+ line-height: 45rpx;
+ border-radius: 24rpx;
+ padding: 4rpx 20rpx;
+ margin-left: 20rpx;
+}
+.placeholderColor {color: #bfbfbf;}
+.register-radio {transform: scale(0.5);margin-left: -10rpx;margin-right: -10rpx;}
+uni-radio .uni-radio-input {border: 1rpx solid #444444;}
+.register-agree-policy {color: #03affb;}
+.register-btn {width: 422rpx;height: 76rpx;line-height: 76rpx;text-align: center;margin: 0 auto;border-radius: 76rpx;margin-top: 60rpx; background-color: #03affb;color: #FFFFFF;}
+.clear-box {
+ position: absolute;right: 0;
+ top: 50%;
+ transform: translateY(-50%);
+}
+.clear-close {
+ position: relative;
+ display: flex;justify-content: center;align-items: center;
+ width: 40rpx;height: 40rpx;
+ border-radius: 100%;
+ background-color: rgba(0,0,0,.3);
+}
+.clear-close span {
+ position: absolute;
+ width: 0;
+ border: 2rpx solid #FFFFFF;
+ height: 20rpx;
+ border-radius: 2rpx;
+}
+.clear-close span:first-child {transform: rotate(45deg);}
+.clear-close span:last-child {transform: rotate(-45deg);}
+
\ No newline at end of file
diff --git a/components/containers/container-subgroup-two.vue b/components/containers/container-subgroup-two.vue
new file mode 100644
index 0000000..fcc3e1c
--- /dev/null
+++ b/components/containers/container-subgroup-two.vue
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/status-nav.vue b/components/status-nav.vue
index 3a72df5..c79fcd2 100644
--- a/components/status-nav.vue
+++ b/components/status-nav.vue
@@ -10,8 +10,10 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{navBarTitle}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages.json b/pages.json
index 111a279..218c811 100644
--- a/pages.json
+++ b/pages.json
@@ -60,6 +60,20 @@
"navigationBarTitleText": "意见反馈",
"enablePullDownRefresh": false
}
+ }
+ ,{
+ "path" : "pages/register/register",
+ "style" :{
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom",//禁用原生导航栏,微信小程序可用
+ "navigationBarTextStyle":"black",
+ "app-plus": {
+ "titleNView": false ,//禁用原生导航栏,APP和H5可用
+ "bounce":"none",
+ "scrollIndicator":"none"
+ }
+ }
}
],
@@ -69,12 +83,10 @@
"pages": [
{
"path" : "test/test",
- "style" :
- {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false
- }
-
+ "style" : {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false
+ }
}
]
}
diff --git a/pages/guide-page/guide-page.vue b/pages/guide-page/guide-page.vue
index 42b345c..b665b6b 100644
--- a/pages/guide-page/guide-page.vue
+++ b/pages/guide-page/guide-page.vue
@@ -12,16 +12,26 @@
}
},
onLoad() {
+ console.log(16);
this.checkContext();
+ // this.$requst.post('/universal/api.login/register',{
+ // phone:'18888888888',
+ // sms_code:'123456',
+ // password:'123456',
+ // confirm_password:'123456',
+ // affiliation:'中国中铁七局'
+ // }).then(res=>{
+ // console.log(res,25);
+ // })
},
methods: {
// 检测是否是微信端
checkContext(){
- console.log(20);
- // #ifdef APP-PLUS , H5 , APP
+ // #ifdef APP-PLUS
if(uni.getSystemInfoSync().platform != "devtools"){//devtools:开发版 值域为:ios、android、mac(3.1.10+)、windows(3.1.10+)、linux(3.1.10+)
console.log = () =>{}
}
+ console.log(35);
setTimeout(()=>{
uni.reLaunch({
url:'/pages/login/login'
@@ -29,9 +39,10 @@
},3000)
// #endif
// #ifdef H5
- if(uni.getSystemInfoSync().platform != "devtools"){//devtools:开发版 值域为:ios、android、mac(3.1.10+)、windows(3.1.10+)、linux(3.1.10+)
+ if(uni.getSystemInfoSync().platform != "development"){//devtools:开发版 值域为:ios、android、mac(3.1.10+)、windows(3.1.10+)、linux(3.1.10+)
console.log = () =>{}
}
+ console.log(46);
setTimeout(()=>{
uni.reLaunch({
url:'/pages/login/login'
@@ -51,6 +62,7 @@
// 正式版-配置全局域名
// uni.setStorageSync('hostapi','https://hm.hmzfyy.cn/api/');
}
+ console.log(66);
setTimeout(()=>{
uni.reLaunch({
url:'/pages/tabbar/pagehome/pagehome'
diff --git a/pages/login/login.vue b/pages/login/login.vue
index 17110bc..4a1c321 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -15,8 +15,8 @@
},
methods: {
gohome(){
- uni.reLaunch({
- url:'/pages/tabbar/pagehome/pagehome'
+ uni.navigateTo({
+ url:'/pages/register/register'
})
}
}
diff --git a/pages/register/register.vue b/pages/register/register.vue
new file mode 100644
index 0000000..898bf53
--- /dev/null
+++ b/pages/register/register.vue
@@ -0,0 +1,176 @@
+
+
+
+
+ 登录
+
+
+
+
+
+
+
+ 注册
+ 欢迎来到飞猴云服务平台
+
+
+
+
+ +86
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 获取验证码
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 免费注册
+
+
+
+
+
+
+
+
+
diff --git a/static/public/icon-close.png b/static/public/icon-close.png
new file mode 100644
index 0000000..2317355
Binary files /dev/null and b/static/public/icon-close.png differ
diff --git a/static/public/icon-register.png b/static/public/icon-register.png
new file mode 100644
index 0000000..4b6af8f
Binary files /dev/null and b/static/public/icon-register.png differ