Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

白杨 / shrae-app

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • shrae-app
  • src
  • js
  • index.js
  • 白杨's avatar
    网点界面 · 71fbd94b
    白杨 committed Mar 09, 2018
    71fbd94b
index.js 367 Bytes
BlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
var index = {
    init: function () {
        $('#btn_test').click(function () {
            index.mainReturn();
        });
    },
    mainReturn: function () {
        var txt = $('#txt_phone').val();
        if( txt != ""){
            localStorage.setItem('phone',txt);
            //跳转主界面
            window.location.href="main.html";
        }
    }
}