Browse Source

个人物料页面创建

yangc 8 years ago
parent
commit
2e3d429c8b

+ 122 - 0
components/personalMaterial/PersonalMaterial.vue

@@ -0,0 +1,122 @@
+<template>
+  <div class="personal-material">
+    <a href="">&lt;返回上一层</a>
+    <div class="personal-material-header">
+      <p><i class="fa fa-exclamation-circle"></i>抱歉,您的账户未绑定企业,暂无卖家权限!</p>
+      <a href="">查看申请记录</a>
+    </div>
+    <div class="personal-material-content">
+      <div class="is-open-store">
+        <p><img src="/images/material/arrow-right-blue.png" alt="">所属企业已开店</p>
+        <div>
+          <p>绑定企业</p>
+          <div>企业全称:<input type="text" class="form-control" placeholder="请输入企业全称"><span>检测</span></div>
+        </div>
+      </div>
+      <div class="not-open-store">
+
+      </div>
+    </div>
+  </div>
+</template>
+<style lang="scss" scoped>
+  .personal-material {
+    width: 1190px;
+    margin: 0 auto;
+    p {
+      margin: 0;
+    }
+    a {
+      color: #5078cb;
+    }
+    > a {
+      line-height: 71px;
+      position: relative;
+      right: 105px;
+    }
+    .personal-material-header {
+      height: 111px;
+      line-height: 111px;
+      border: 1px solid #ebeaea;
+      position: relative;
+      margin-bottom: 19px;
+      p {
+        color: #5078cb;
+        font-size: 22px;
+        text-align: center;
+        i {
+          margin-right: 20px;
+        }
+      }
+      a {
+        position: absolute;
+        right: 11px;
+        bottom: 14px;
+        display: inline-block;
+        line-height: normal;
+      }
+    }
+    .personal-material-content {
+      height: 593px;
+      border: 1px solid #ebeaea;
+      margin-bottom: 147px;
+      padding: 0 95px;
+      > div {
+        padding: 0 50px;
+        > p {
+          height: 81px;
+          line-height: 81px;
+          font-size: 16px;
+          font-weight: bold;
+          img {
+            margin-right: 4px;
+          }
+        }
+      }
+      .is-open-store {
+        > div {
+          width: 902px;
+          height: 140px;
+          border: 1px solid #5078cb;
+          border-radius: 3px;
+          p {
+            font-weight: bold;
+            font-size: 18px;
+            margin: 26px 0;
+            text-align: center;
+          }
+          div {
+            text-align: center;
+            input {
+              width: 290px;
+              display: inline-block;
+              height: 30px;
+              border: {
+                top-left-radius: 3px;
+                bottom-left-radius: 3px;
+                top-right-radius: 0;
+                bottom-right-radius: 0;
+              }
+              border-top-left-radius: 3px;
+              border-bottom-left-radius: 3px;
+              border: 1px solid #cdcdcd;
+            }
+            span {
+              display: inline-block;
+              width: 87px;
+              height: 30px;
+              line-height: 30px;
+              text-align: center;
+              color: #fff;
+              background: #5078cb;
+              margin-left: -1px;
+              border-top-right-radius: 3px;
+              border-bottom-right-radius: 3px;
+              vertical-align: middle;
+            }
+          }
+        }
+      }
+    }
+  }
+</style>

+ 3 - 0
components/personalMaterial/index.js

@@ -0,0 +1,3 @@
+import PersonalMaterial from './PersonalMaterial.vue'
+
+export { PersonalMaterial }

+ 13 - 0
pages/personalMaterial/index.vue

@@ -0,0 +1,13 @@
+<template>
+  <div>
+    <personal-material></personal-material>
+  </div>
+</template>
+<script>
+  import {PersonalMaterial} from '~components/PersonalMaterial'
+  export default {
+    components: {
+      PersonalMaterial
+    }
+  }
+</script>

BIN
static/images/material/arrow-right-blue.png


BIN
static/images/material/arrow-right-yellow.png


BIN
static/images/material/car.png


BIN
static/images/material/house.png