Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eduline
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
eduline
Commits
566847a0
Commit
566847a0
authored
May 13, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T
parent
a5884f0c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
160 additions
and
7 deletions
+160
-7
addons/theme/stv1/_static_w3g/css/common.css
+18
-0
apps/basic/Tpl/default/Passport/login_w3g.html
+0
-0
apps/basic/Tpl/default/Passport/reg_w3g.html
+137
-1
apps/classroom/Tpl/default/Index/theme_x7_w3g.html
+5
-2
apps/home/Tpl/default/User/index_w3g.html
+0
-4
No files found.
addons/theme/stv1/_static_w3g/css/common.css
View file @
566847a0
...
...
@@ -129,6 +129,11 @@ div::-webkit-scrollbar {
font-weight
:
600
;
}
.text_26_600
{
font-size
:
1.625rem
;
font-weight
:
600
;
}
.divider
{
height
:
0.0625rem
;
background
:
#E6E6E6
;
...
...
@@ -460,4 +465,16 @@ div::-webkit-scrollbar {
.center_bottom_cell_text
{
margin-left
:
0.5rem
;
}
/* 登录 */
.login_title
{
margin-top
:
0.625rem
;
margin-left
:
2.1875rem
;
margin-bottom
:
1.5625rem
;
}
.login_input_frame
{
}
\ No newline at end of file
apps/basic/Tpl/default/Passport/login_w3g.html
View file @
566847a0
This diff is collapsed.
Click to expand it.
apps/basic/Tpl/default/Passport/reg_w3g.html
View file @
566847a0
...
...
@@ -100,7 +100,23 @@
</div>
</if>
</div>
<!-- <div id="app">
<div class="layout_v" style="margin-top: 0.625rem;">
<van-field v-model="phone" label="手机号" type="number" placeholder="请输入手机号"></van-field>
<van-field v-model="code" label="验证码" type="digit" maxlength="6" placeholder="请输入验证码">
<template #button>
<div @click="onSendCode" class="layout_center" :class="valid ? 'button_green' : 'button_disable'">
<span class="self_center">{{codeText}}</span>
</div>
</template>
</van-field>
<van-field v-model="password" label="密码" type="password" maxlength="16" placeholder="请输入8~16位密码"></van-field>
<div :class="isOk ? 'confirm_button' : 'confirm_button_disable'" style="margin-top: 6.625rem;">
<span>注册并登录</span>
</div>
</div>
</div> -->
<script>
$
(
function
(){
...
...
@@ -364,4 +380,124 @@ function phoneNext(){
}
});
}
// let CLICK_PHONE="{:U('basic/Passport/clickPhone')}";
// let GET_PHONEVERIFY="{:U('basic/Passport/getVerify')}";
// String.prototype.isMobile = function() {
// return (/^1[3|4|5|6|7|8|9]\d{9}$/.test(this));
// }
// String.prototype.isCode = function() {
// return this.length == 4 || this.length == 6
// }
// String.prototype.isPwd = function() {
// return this.length >= 6 && this.length
<=
16
// }
// new Vue({
// el: '#app',
// data: function() {
// return {
// counting: false,
// count: 60,
// phone: "",
// code: "",
// password: ""
// }
// },
// computed: {
// valid: function() {
// return !this.counting
// },
// codeText: function() {
// return this.counting ? (this.count + 's') : '发验证码'
// },
// isOk: function() {
// return this.phone.isMobile() && this.code.isCode() && this.password.isPwd()
// }
// },
// methods: {
// onConfirm: function() {
// let user = this.phone//获取用户邮箱地址
// let verify = this.code//获取验证码
// let uname = "用户" + parseInt(Math.random() * 1000)//获取用户昵称
// let password = this.password//获取密码
// let mhm_id = ''//机构
// let invite_code = ''//邀请码
// $.ajax({
// async:false,
// type: "POST",
// url:REG_ADDRESS,
// data:"phone="+user+"&uname="+uname+"&password="+password+"&type=2&verify="+verify+"&mhm_id="+mhm_id+"&invite_code="+invite_code,
// dataType:"json",
// success:function(data){
// if( data.status == '0'){
// ui.error(data.info)
// return
// }else{
// ui.success("注册成功")
// location = data.data
// }
// }
// })
// },
// onSendCode: function() {
// this.checkPhone(this.readyToSend)
// },
// readyToSend: function() {
// let that = this
// if(!this.counting) {
// let phone = that.phone
// $.ajax({
// type: "POST",
// url:GET_PHONEVERIFY,
// data:"phone="+phone,
// dataType:"json",
// success:function(data){
// if(data.status=='0'){
// ui.error(data.info)
// return
// }else{
// that.counting = true
// that.onTick()
// return
// }
// }
// })
// }
// },
// checkPhone: function(call) {
// let phone = this.phone
// //验证此手机是否已被注册
// $.ajax({
// type: "POST",
// url:CLICK_PHONE,
// data:"phone="+phone,
// dataType:"text",
// success:function(data){
// if(data==0){
// ui.error('此手机已被注册,请更换');
// return;
// }else{
// call && call()
// }
// }
// });
// },
// onTick: function() {
// if(this.count > 0) {
// this.count -= 1
// setTimeout(this.onTick, 1000)
// } else {
// this.count = 60
// this.counting = false
// }
// }
// }
// })
</script>
apps/classroom/Tpl/default/Index/theme_x7_w3g.html
View file @
566847a0
...
...
@@ -114,13 +114,16 @@
<van-tabbar-item>
<span
class=
"text_10_400"
>
会员中心
</span>
<template
#
icon=
"props"
>
<if
condition=
"$_SESSION['mid']"
>
<a
href=
"{:U('basic/Passport/login')}"
>
<img
:src=
"props.active ? '__THEME__/img/huiyuan.png' : '__THEME__/img/huiyuan_s.png'"
/>
</a>
<!-- <if condition="$_SESSION['mid']">
<a href="{:U('home/User/index')}">
<else/>
<a href="{:U('basic/Passport/login')}">
</if>
<img :src="props.active ? '__THEME__/img/huiyuan.png' : '__THEME__/img/huiyuan_s.png'" />
</a>
</a>
-->
</template>
</van-tabbar-item>
</van-tabbar>
...
...
apps/home/Tpl/default/User/index_w3g.html
View file @
566847a0
<include
file=
"__THEME__/public_header_w3g"
/>
<!-- <link href="__APP__/css/index_3g.css" rel="stylesheet" type="text/css">
<style>
.myIndexBanner .min-myIndexBanner .myIndex-top .myIndexInfo i.autograph{position: absolute; top: 0;left: 0;height: 100%;width: 20px;background-image:url(__APP__/icon/autograph.png);background-size: 0 100%;background-size: 10px;background-position: center;}
</style> -->
<body>
<div
id=
"app"
>
<div
class=
"layout_v tab_container center_top"
style=
"background: url('__THEME__/img/bg@3x.png') no-repeat;"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment