瀏覽代碼

爱数播放

y595705120 2 年之前
父節點
當前提交
89139e28bc
共有 2 個文件被更改,包括 7 次插入11 次删除
  1. 1 1
      src/containers/center/home/index.vue
  2. 6 10
      src/containers/login/components/isLogin.vue

+ 1 - 1
src/containers/center/home/index.vue

@@ -6,7 +6,7 @@
           <p class="fl">最近学习课程</p>
         </div>
         <div class="clear mt20">
-          <div class="m-history-course fl" v-for="item in list"
+          <div class="m-history-course fl" v-for="item in list" @click="gotoPlay(item.courseId)"
             :key="item.courseId" style="width:300px; margin-left:8px;cursor:pointer">
             <div class="history-course-bd" style="width:260px">
               <p class="tit ng-binding">

+ 6 - 10
src/containers/login/components/isLogin.vue

@@ -1,17 +1,17 @@
 <template>
   <div class="course-my" style="background-color: white;">
       <div class="tc">
-        <img v-if="user.headImg" :src="user.headImg" style="margin: 10px auto;width: 160px; border-radius: 20%;" >
+        <img v-if="user.headImg" :src="user.headImg" style="margin: 10px auto;width: 160px; border-radius: 10%;" >
         </img>
-        <img  v-else-if="user.gender=='男'" style="margin: 10px auto;width: 160px; border-radius: 20%;"
+        <img  v-else-if="user.gender=='男'" style="margin: 10px auto;width: 160px; border-radius: 10%;"
           src="../../../assets/images/user-man.jpg">
          </img>
-        <img v-else style="margin: 10px auto;width: 160px; border-radius: 20%;"
+        <img v-else style="margin: 10px auto;width: 160px; border-radius: 10%;"
           src="../../../assets/images/user-man.jpg" >
         </img>
       </div>
       <div class="mt10 tc">
-        <div class="pt20 fs18">
+        <div class="pt20 fs18" style="color: #000000;">
           当前用户
           <span :title="user.nickname" style="display:inline" >
             {{user.nickname}}
@@ -20,10 +20,6 @@
     </div>
 
     <el-row class="login-entry" style="width: 100%;">
-
-      <el-col :span="24">
-
-      </el-col>
       <!-- <el-col :span="12" class="p10">
         <button class="btn-b-b fs15" @click="gotoPage('/center/home')">个人中心</button>
       </el-col>
@@ -49,10 +45,10 @@
       </el-col> -->
 
       <el-col :span="12" class="p10">
-        <button class="btn-b-b b" @click="gotoPage('/center/home')">个人中心</button>
+        <el-button type="primary" @click="gotoPage('/center/home')">个人中心</el-button>
       </el-col>
       <el-col :span="12" class="p10">
-        <button class="btn-b-b b" @click="logout()">退出登录</button>
+        <el-button type="primary" @click="logout()">退出登录</el-button>
       </el-col>
      </el-row>