Ver código fonte

学时证明

y595705120 3 anos atrás
pai
commit
952336e727

+ 0 - 37
index.html

@@ -11,43 +11,6 @@
     <title>三明市建设人才服务中心</title>
   </head>
   <body style="margin:0px;">
-<!--    <div id="img_float" style="z-index: 101; left: 134px; width: 242px; height: 141px; position: absolute; top: 577px; visibility: visible; cursor: pointer;">
-      <div align="right" onclick="document.getElementById('img_float').style.display='none'"
-        style="color:red;font-size:12px;margin-bottom:0px;text-decoration:none;position:relative">[关闭]</div>
-      <div align="center" id="wmdImg">
-        <a href="http://zjj.sm.gov.cn/pc/201808/t20180829_1195705.htm" target="_blank">
-          <img id="wmdImgId1" class="wmdImg" width="242" height="141" src="/static/images/W020180829573455831351.jpg">
-        </a>
-      </div>
-    </div> -->
-<!--    <script>
-      var xPos=0;
-      var yPos=0;
-      var directionX=true;
-      var directionY=true;
-      var step=1;
-      var speed=30;
-      var float=document.getElementById("img_float");
-      function move(){
-        var height=document.documentElement.clientHeight;
-        var width=document.documentElement.clientWidth;
-        var imgHeight=float.offsetHeight;
-        var imgWidth=float.offsetWidth;
-        float.style.left=xPos+document.documentElement.scrollLeft+"px";
-        float.style.top=yPos+document.documentElement.scrollTop+"px";
-        if(directionX){xPos=xPos+step;}else{xPos=xPos-step;}
-        if(xPos<=0){xPos=0;directionX=true;}
-        if(xPos>=width-imgWidth){xPos=width-imgWidth;directionX=false;}
-        if(directionY){yPos=yPos+step;}else{yPos=yPos-step;}
-        if(yPos<=0){yPos=0;directionY=true;}
-        if(yPos>=height-imgHeight){yPos=height-imgHeight;directionY=false;}
-        t=setTimeout(move,speed);
-      }
-      float.οnmοuseοver=function(){clearTimeout(t);}
-      float.οnmοuseοut=function(){t=setTimeout("move()",speed);}
-      window.οnlοad=move();
-    </script>
-    -->
     <div id="app"></div>
     <!-- built files will be auto injected -->
   </body>

+ 6 - 2
src/assets/css/main.css

@@ -203,14 +203,18 @@ input:focus{
 }
 
 .footer {
+  position: relative;
   height: 110px;
-  min-width: 1200px;
-  padding-top:30px;
+  width: 100%;
+  
+  bottom: 0;
+  /* padding-top:30px; */
   position: relative;
   text-align: center;
   background-color: #f5f5f5;
   border-top: 1px solid #e6e6e6;
 }
+
 a, span {
    display: inline-block;
 }

+ 1 - 2
src/containers/center/market/index.vue

@@ -395,9 +395,8 @@
             if (res.code == 200) {
               this.$message.successMsg("申请购买成功", 1);
               this.buyForm.temp.marks = this.buyForm.marks
+              Object.assign( this.buyForm.temp, param);
               this.buyForm.temp.is_pay = 0
-              this.buyForm.temp.courseName = this.buyForm.courseName;
-              this.buyForm.temp.rzCode = this.buyForm.rzCode
               this.buyCourseDialog = false
             }
           });

+ 1 - 0
src/containers/center/sign/index.vue

@@ -136,4 +136,5 @@
 </script>
 
 <style>
+  @import './index.css'
 </style>

+ 6 - 0
src/router/index.js

@@ -31,6 +31,7 @@ import CenterMyNotes from '@/containers/center/myNotes/index'
 import CenterMyOrder from '@/containers/center/myOrder/index'
 import CenterMessage from '@/containers/center/message/index'
 import CenterSign from '@/containers/center/sign/index'
+import PublicSign from '@/containers/sign/index'
 
 import CenterMarket from '@/containers/center/market/index'
 import CenterExam from '@/containers/center/exam/index'
@@ -48,6 +49,11 @@ export default new Router({
       name: 'register',
       component: Register,
     },
+    {
+      path: '/sign',
+      name: 'sign',
+      component: PublicSign,
+    },
     {
       path: '/news',
       name: 'news',