123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- <template>
- <div id="app">
- <router-view />
- </div>
- </template>
- <script>
- export default {
- name: 'App',
- data() {
- return {
- doctorInfo:{}
- }
- },
- methods: {
- goPage(path) {
- this.$router.push(path)
- },
- getData(){
- this.$api.getAccountInfo().then(res=>{
- if(!res.data.code){
- // if(res.data.data.role=="1"){
- // this.goPage("/docindex")
- // }else{
- // this.goPage("/patindex")
- // }
- localStorage.setItem("authinfo",JSON.stringify(res.data.data))
- }
- })
- }
- },
- created(){
- this.getData()
- }
- }
- </script>
- <style lang="scss">
- #app {
- font-family: 'Avenir', Helvetica, Arial, sans-serif;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- text-align: center;
- color: #2c3e50;
- }
- .container {
- width: 100%;
- border: 1px solid #fff;
- height: 100vh;
- background: #EFEFEF;
- .content {
- width: 100%;
- /* border: 1px solid #fff; */
- margin: auto;
- /* height: 85%; */
- margin-top: 3rem;
- margin-bottom: 1rem;
- padding-bottom: 2rem;
- .title {
- font-size: 1.2rem;
- height: 1rem;
- padding: 1rem;
- font-weight: bold;
- color: #fff;
- }
- position: relative;
- z-index:10;
- overflow: scroll-y;
- .loginForm {
- width: 84%;
- margin: auto;
- margin-top: 6rem;
- .mint-field {
- border: 1px solid #ccc;
- border-radius: 50px;
- margin-top: 1rem;
- height: 3.2rem;
- }
- .mint-cell {
- min-height: 2.12rem;
- }
- }
- }
- }
- .csbtn {
- width: 70%;
- height: 3.5rem;
- line-height: 3.5rem;
- border-radius: 5px;
- margin: auto;
- margin-top: 20rem;
- background: #0570F2;
- font-weight: bold;
- color: white;
- font-size: 1.4rem;
- }
- .jbbtn {
- width: 70%;
- height: 3.2rem;
- line-height: 3.2rem;
- border-radius: 5px;
- margin: auto;
- margin-top: 2rem;
- background-image: linear-gradient(to right, #23E0FD, #0173F0);
- font-weight: bold;
- color: white;
- font-size: 1.4rem;
- }
- .bgimg {
- width: 100%;
- height: 10rem;
- position: absolute;
- background-image: url("./assets/images/commonbg.png");
- background-size: 100% 100%;
- }
- .pickerConfirm{
- width:100%;
- height: 40px;
- line-height: 40px;
- color:#26a2ff;
- }
- .sexPicker{
- position: fixed;
- width: 100%;
- z-index: 10;
- bottom:0;
- background: #fff;
- }
- .searchInput{
- border-radius: 1rem;
- }
- .inputDisable input:disabled {
- background-color: #fff!important;
- }
- .rowfont{
- font-size:1rem;
- text-align:left;
- padding-left:10px;
- line-height: 2rem;
- height: 2rem;
- }
- </style>
|