Commit 202c9ddb by LiuZuwang

yyds

parent fdae3389
...@@ -1697,6 +1697,63 @@ ...@@ -1697,6 +1697,63 @@
"integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==",
"dev": true "dev": true
}, },
"ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"optional": true,
"requires": {
"color-convert": "^2.0.1"
}
},
"chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
"optional": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
},
"color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"optional": true,
"requires": {
"color-name": "~1.1.4"
}
},
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true,
"optional": true
},
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
"optional": true
},
"loader-utils": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz",
"integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==",
"dev": true,
"optional": true,
"requires": {
"big.js": "^5.2.2",
"emojis-list": "^3.0.0",
"json5": "^2.1.2"
}
},
"ssri": { "ssri": {
"version": "8.0.1", "version": "8.0.1",
"resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz",
...@@ -1705,6 +1762,28 @@ ...@@ -1705,6 +1762,28 @@
"requires": { "requires": {
"minipass": "^3.1.1" "minipass": "^3.1.1"
} }
},
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"optional": true,
"requires": {
"has-flag": "^4.0.0"
}
},
"vue-loader-v16": {
"version": "npm:vue-loader@16.4.1",
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.4.1.tgz",
"integrity": "sha512-nL1bDhfMAZgTVmVkOXQaK/WJa9zFDLM9vKHbh5uGv6HeH1TmZrXMWUEVhUrACT38XPhXM4Awtjj25EvhChEgXw==",
"dev": true,
"optional": true,
"requires": {
"chalk": "^4.1.0",
"hash-sum": "^2.0.0",
"loader-utils": "^2.0.0"
}
} }
} }
}, },
...@@ -10338,87 +10417,6 @@ ...@@ -10338,87 +10417,6 @@
} }
} }
}, },
"vue-loader-v16": {
"version": "npm:vue-loader@16.4.1",
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.4.1.tgz",
"integrity": "sha512-nL1bDhfMAZgTVmVkOXQaK/WJa9zFDLM9vKHbh5uGv6HeH1TmZrXMWUEVhUrACT38XPhXM4Awtjj25EvhChEgXw==",
"dev": true,
"optional": true,
"requires": {
"chalk": "^4.1.0",
"hash-sum": "^2.0.0",
"loader-utils": "^2.0.0"
},
"dependencies": {
"ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"optional": true,
"requires": {
"color-convert": "^2.0.1"
}
},
"chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
"optional": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
},
"color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"optional": true,
"requires": {
"color-name": "~1.1.4"
}
},
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true,
"optional": true
},
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
"optional": true
},
"loader-utils": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz",
"integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==",
"dev": true,
"optional": true,
"requires": {
"big.js": "^5.2.2",
"emojis-list": "^3.0.0",
"json5": "^2.1.2"
}
},
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"optional": true,
"requires": {
"has-flag": "^4.0.0"
}
}
}
},
"vue-router": { "vue-router": {
"version": "3.5.2", "version": "3.5.2",
"resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.5.2.tgz", "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.5.2.tgz",
......
<template> <template>
<div> <div>
<router-view> <router-view :key="$route.fullPath">
</router-view> </router-view>
</div> </div>
</template> </template>
......
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
//import axios from './http'; //import axios from './http';
import index from './index'; import index from './index';
import admin from './see';
export default{ export default{
index index,admin
} }
\ No newline at end of file
import axios from './http'
function getallQuestion(){
var url = "question_admin";
return axios.get(url);
}
function addQuestion(aid)
{
var url = "question_admin"+"\\"+aid;
return axios.get(url);
}
function SearchcQuestion(aid,aic){
var url = "catagory"+"/"+aid+`/`+aic;
console.log(url)
return axios.get(url);
//return url;
}
function SearchQuestion(aid,aic,aib)
{
var url ="catagory/"+aid+"\\"+aic+"\\"+aib;
// console.log(url);
return axios.get(url);
}
export default{
getallQuestion,
SearchcQuestion,
SearchQuestion
}
<template>
<div class="form">
<div class="white-block"></div>
<div class="mini-header">登录</div>
<el-tabs v-model="currentView" @tab-click="handleClick" class="el-tabs">
<el-tab-pane label="免密码登录" name="first"></el-tab-pane>
<el-tab-pane label="密码登录" name="second"></el-tab-pane>
</el-tabs>
<div :is="currentView" keep-alive></div>
<el-button @click="login" style="display:block;background-color:#484dc3;color: white;width: 240px;margin-left: 80px;margin-top: 20px">登录</el-button>
<el-button plain @click="register" style="display:block;width: 240px;margin-left: 80px;margin-top: 20px">注册</el-button>
<hr>
<div class="footer">
<p class="title">社交帐号登录</p>
</div>
</div>
</template>
<script>
export default {
name: "Accountlogin",
components: {
first: resolve => {
require(['./login/Password-free-login.vue'], resolve)
},
second: resolve => {
require(['./login/Password-login.vue'], resolve)
}
},
data() {
return {
currentView: 'first',
};
},
methods: {
login () {
this.$router.push('/admin/manage')
},
register() {
this.$router.push('/admin/Register')
}
}
}
</script>
<style scoped>
.footer{
width: 300px;
margin: 10px auto;
display: flex;
justify-content: space-evenly;
}
.title{
color: #666666;
font-size: 12px;
}
hr{
color:#CCCCCC;
border: none;
background-color: #CCCCCC;
width: 300px;
height: 2px;
margin: 0 auto;
margin-top: 20px;
}
.mini-header{
color: #484dc3;
font-size: 25px;
text-align: center;
padding-top:63px;
}
.iconfont-code{
color: #484dc3;
font-size: 100px;
position: absolute;
z-index: 1;
margin-left: 300px;
}
.white-block{
width: 0;
height: 0;
border-bottom: 100px solid white;
border-right: 100px solid transparent;
position: absolute;
z-index: 2;
margin-left: 300px;
}
.form{
margin: 0 auto;
width: 400px;
height: 600px;
background-color: white;
margin-top: 30px;
}
.el-tabs{
width: 280px;
margin: 0 auto;
margin-top: 10px;
}
</style>
\ No newline at end of file
<template>
<div class="form">
<span class="iconfont-code"></span>
<div class="white-block"></div>
<div class="mini-header">注册</div>
<el-form :model="ruleForm" status-icon :rules="rules" ref="ruleForm" class="demo-ruleForm">
<el-form-item class="items">
<el-input placeholder="请输入姓名"></el-input>
</el-form-item>
<el-form-item class="items">
<el-input placeholder="填写常用手机号" v-model="input" class="input-with-select">
<el-select v-model="select" slot="prepend" placeholder="中国大陆" style="width: 114px">
<el-option label="中国大陆" value="1"></el-option>
<el-option label="中国大陆" value="2"></el-option>
<el-option label="中国大陆" value="3"></el-option>
</el-select>
</el-input>
</el-form-item>
<el-form-item prop="pass">
<el-input placeholder="密码(6~16个字符组成,区分大小写)" type="password" v-model="ruleForm.pass" autocomplete="off"></el-input>
</el-form-item>
<el-form-item class="items">
<el-input placeholder="请输入邮箱"></el-input>
</el-form-item>
<el-form-item class="items">
<el-input placeholder="请输入短信验证码">
<el-button type="primary" slot="append" style="background-color: #484dc3;color: white">点击获取</el-button>
</el-input>
</el-form-item>
<el-radio v-model="radio" label="1" style="margin-left: 12px">我已同意《用户使用协议》和《隐私政策》</el-radio>
<el-form-item style="margin-top: 20px">
<el-button @click="submitForm('ruleForm')" style="background-color: #484dc3;color: white;width: 130px;margin-left: 12px">提交</el-button>
<el-button @click="resetForm('ruleForm')" style="width: 130px;margin-left: 26px">重置</el-button>
</el-form-item>
</el-form>
<el-button type="text" style="margin-left: 240px;color: #484dc3;font-size: 12px;" @click="login">已有账号,返回登录</el-button>
</div>
</template>
<script>
export default {
name: "Account-register",
data(){
var validatePass = (rule, value, callback) => {
if (value === '') {
callback(new Error('请输入密码'));
} else {
if (this.ruleForm.checkPass !== '') {
this.$refs.ruleForm.validateField('checkPass');
}
callback();
}
};
return{
input:'',
radio:'',
ruleForm:{
pass:'',
},
rules: {
pass: [
{ validator: validatePass, trigger: 'blur' }
]
}
}
},
methods: {
submitForm(formName) {
this.$refs[formName].validate((valid) => {
if (valid) {
alert('submit!');
} else {
console.log('error submit!!');
return false;
}
});
},
resetForm(formName) {
this.$refs[formName].resetFields();
},
login() {
this.$router.push('/')
},
}
}
</script>
<style scoped>
.mini-header{
color: #484dc3;
font-size: 25px;
text-align: center;
padding-top:63px;
}
.iconfont-code{
color: #484dc3;
font-size: 100px;
position: absolute;
z-index: 1;
margin-left: 300px;
}
.white-block{
width: 0;
height: 0;
border-bottom: 100px solid white;
border-right: 100px solid transparent;
position: absolute;
z-index: 2;
margin-left: 300px;
}
.form{
margin: 5vh auto;
width: 400px;
height: 600px;
background-color: white;
}
.demo-ruleForm{
width: 320px;
margin-top: 50px;
margin-left: 50px;
}
</style>
\ No newline at end of file
<template>
<div>
<div class="Nav">
<div class="nav-container">
<nav class="top-menu">
<div class="yun-logo" @click="home">
<!-- <span class="iconfont-cloud">&#xe693; </span> -->
<h6 class="oneteam">云芯问答库</h6>
</div>
<div class="right">
<div class="login"> <router-link to="/admin" style="color: white;margin-right: 5px">登录 </router-link></div>
<div class="register"><router-link to="/admin/Register" style="color: white"> | 注册</router-link></div>
</div>
</nav>
</div>
</div>
<div class="yun-logo2">
<!-- <span class="iconfont-cloud2">&#xe693; </span> -->
<h6 class="oneteam2">云芯问答库</h6>
</div>
</div>
</template>
<script>
export default {
name: "SubNav1",
methods:{
home(){
this.$router.push('/')
}
}
}
</script>
<style scoped>
.iconfont-cloud{
font-size: 4rem;
transition: all 1s;
}
.iconfont-cloud:hover{
transform-origin: center;
transform:rotate(360deg)
}
.yun-logo{
cursor: pointer;
}
.iconfont-cloud{
font-size:60px;
}
.Nav{
width: 100%;
height: 80px;
background-color: #484dc3;
}
.nav-container{
width: 80%;
margin: 0 auto;
}
.top-menu{
width: 100%;
height: 80px;
display: flex;
align-items: center;
}
.yun-logo{
display: flex;
}
.yun-logo2{
margin-top: 10vh;
display: flex;
justify-content: center;
transition: all 0.5s ;
}
.yun-logo2:hover{
font-size: 45px;
}
.oneteam{
margin-top: 4px;
margin-left: 4px;
align-self: center;
color: white;
font-size: 16px;
}
.oneteam2{
margin-top: 4px;
margin-left: 4px;
align-self: center;
color: #484dc3;
font-size: 30px;
}
.iconfont-cloud2{
font-size: 4rem;
}
.right{
display: flex;
margin-left: 2rem;
color: white;
position: absolute;
right: 10vw;
}
.login{
font-size: 1rem;
}
.register{
font-size: 1rem;
}
</style>
\ No newline at end of file
<template>
<div class="password-free-login">
<el-form class="el-form">
<el-form-item class="el-form-items">
<el-input placeholder="填写常用手机号" v-model="input" class="input-with-select">
<el-select v-model="select" slot="prepend" placeholder="中国大陆" style="width: 116px">
<el-option label="中国大陆" value="1"></el-option>
<el-option label="中国大陆" value="2"></el-option>
<el-option label="中国大陆" value="3"></el-option>
</el-select>
</el-input>
</el-form-item>
<el-form-item class="items">
<el-input placeholder="请输入短信验证码">
<el-button type="primary" slot="append" style="background-color: #484dc3;color: white">点击获取</el-button>
</el-input>
</el-form-item>
</el-form>
<el-button type="text" style="margin-left: 240px;color:#999999;font-size: 12px;">接收语音验证码</el-button>
<el-radio v-model="radio" label="1" style="margin-left: 60px;margin-top:10px;color: #999999;">我已同意《用户使用协议》和《隐私政策》</el-radio>
</div>
</template>
<script>
export default {
name: "Password-free-login",
data(){
return{
radio:''
}
}
}
</script>
<style scoped>
.el-form{
width: 60%;
margin: 0 auto;
margin-top: 20px;
}
</style>
\ No newline at end of file
<template>
<div class="password-login">
<el-form class="el-form">
<el-form-item>
<el-input
v-model="phonenumber"
placeholder="请输入手机号/邮箱">
<i slot="prefix" class="el-icon-user"></i>
</el-input>
</el-form-item>
<el-form-item prop="password">
<el-input
v-model="input"
placeholder="请输入密码"
show-password>
<i slot="prefix" class="el-icon-lock"></i>
</el-input>
</el-form-item>
<router-link to="/Forget" style="margin-left: 180px;color: #484dc3;font-size: 14px">忘记密码</router-link>
<el-radio v-model="radio" label="1" style="margin-left: -16px;margin-top: 20px;color: #999999">我已同意《用户使用协议》和《隐私政策》</el-radio>
</el-form>
</div>
</template>
<script>
export default {
name: "Password-login",
data(){
return{
phonenumber:'',
input:'',
radio:''
}
}
}
</script>
<style scoped>
.el-form{
width: 60%;
margin: 0 auto;
margin-top: 20px;
}
</style>
\ No newline at end of file
...@@ -10,12 +10,12 @@ ...@@ -10,12 +10,12 @@
text-color="#f7f7f7" text-color="#f7f7f7"
active-text-color="#fff"> active-text-color="#fff">
<el-menu-item index="1"><p @click="gogo()">返回首页</p></el-menu-item> <el-menu-item index="1"><p @click="gogo()">返回首页</p></el-menu-item>
<el-menu-item index="2" ><p @click="gogo(2)">财经类</p></el-menu-item> <el-menu-item index="2" ><p @click="gogo(2,16)">财经类</p></el-menu-item>
<el-menu-item index="3" ><p @click="gogo(11)">资格类</p></el-menu-item> <el-menu-item index="3" ><p @click="gogo(11,21)">资格类</p></el-menu-item>
<el-menu-item index="4" ><p @click="gogo(12)">计算机类</p></el-menu-item> <el-menu-item index="4" ><p @click="gogo(12,30)">计算机类</p></el-menu-item>
<el-menu-item index="5" ><p @click="gogo(13)">招录类</p></el-menu-item> <el-menu-item index="5" ><p @click="gogo(13,35)">招录类</p></el-menu-item>
<el-menu-item index="6" ><p @click="gogo(14)">学历类</p></el-menu-item> <el-menu-item index="6" ><p @click="gogo(14,40)">学历类</p></el-menu-item>
<el-menu-item index="7"><p @click="gogo(15)">医学类</p></el-menu-item> <el-menu-item index="7"><p @click="gogo(15,46)">医学类</p></el-menu-item>
<el-menu-item index="9" >其他类</el-menu-item> <el-menu-item index="9" >其他类</el-menu-item>
</el-menu> </el-menu>
...@@ -36,16 +36,14 @@ export default { ...@@ -36,16 +36,14 @@ export default {
// handleSelect(key, keyPath) { // handleSelect(key, keyPath) {
// console.log(key, keyPath); // console.log(key, keyPath);
// } // }
gogo(id){ gogo(id,id2){
// router.go(0) // router.go(0)
if(id==null) if(id==null)
this.$router.push("/"); this.$router.push("/");
else if(id==17)
this.$router.push(`/catagory/${id}/${16}`);
else else
this.$router.push(`/catagory/${id}/${17}`); this.$router.push(`/catagory/${id}/${id2}`);
}
}
}, },
// watch:{ // watch:{
// "$route": "gogo(id)" // "$route": "gogo(id)"
......
...@@ -38,7 +38,23 @@ const routes = [ ...@@ -38,7 +38,23 @@ const routes = [
{ {
path:'/catagory/:aid/:cid/:bid', path:'/catagory/:aid/:cid/:bid',
component:()=>import("../views/details.vue") component:()=>import("../views/details.vue")
} },
//后台
{
path:'/admin/',
component:()=>import("../views/Login1.vue")
},
{
path:'/admin/Register',
component:()=>import("../views/Register.vue")
},
{
path:'/admin/manage',
component:()=>import("../views/manage.vue")
},
] ]
const router = new VueRouter({ const router = new VueRouter({
......
<template>
<div class="Login">
<SubNav1></SubNav1>
<Accountlogin></Accountlogin>
<!-- :rule-form="ruleForm"-->
<!-- :rules="rules"-->
<!-- @submit="submit"-->
<!-- @errHandle="errHandle"-->
</div>
</template>
<script>
import SubNav1 from "../components/SubNav1";
import Accountlogin from "../components/Account-login"
export default {
name: "Login",
props:{
},
// data () {
// return{
// ruleForm:{
// phonenumber:'',
// password:''
// },
// rules:{
// phonenumber:[
// {
// required: true,
// message:'手机号码不能为空',
// trigger:'blur'
// },
// {
// min:11,
// max:11,
// message: '请输入正确的手机号码',
// trigger:'blur'
// }
// ],
// password: [
// {
// required: true,
// message:'密码不能为空',
// trigger:'blur'
// },
// {
// min:6,
// max:15,
// message: '密码在6-15个字符之间',
// trigger:'blur'
// }
// ]
// }
// }
// },
components:{
SubNav1,
Accountlogin
},
methods:{
}
}
</script>
<style scoped>
.Login{
background-color: #F0F0F0;
height: 1080px;
}
</style>
\ No newline at end of file
<template>
<div class="Register">
<SubNav1></SubNav1>
<Accountregister></Accountregister>
</div>
</template>
<script>
import SubNav1 from "../components/SubNav1";
import Accountregister from "../components/Account-register"
export default {
name: "Register",
components:{
SubNav1,
Accountregister
}
}
</script>
<style scoped>
.Register{
background-color: #F0F0F0;
height: 1080px;
}
</style>
\ No newline at end of file
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
</p> </p>
<div class="massage"> <div class="massage">
<p class="include-time">收录于:2021-07-22 17:36</p> <p class="include-time">收录于:2021-07-22 17:36</p>
<p class="chack-ans" @click="goto(item.question_id)">查看答案</p> <p class="chack-ans" @click="goto(item.question_id )">查看答案</p>
<router-link :to="{path:item.question_id}">查看答案</router-link> <router-link :to="{path:item.question_id}">查看答案</router-link>
</div> </div>
......
<template>
<div style="background-color:#f7f7f7">
<div class="admin-title">
<p>云深问答库后台管理系统</p>
</div>
<div class="back">
<backtable></backtable>
</div>
</div>
</template>
<script>
import Backtable from '../components/backtable.vue'
export default {
name:'back',
components: {
Backtable,
}
}
</script>
<style>
.back{
padding: 10px 150px 50px 150px;
/* margin: 220px 0 0 100px; */
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
background-color: #f7f7f7;
}
.admin-title{
width: 600px;
margin: 60px auto;
color:#484dc3;
font-size: 50px;
}
</style>
\ No newline at end of file
...@@ -15,36 +15,7 @@ ...@@ -15,36 +15,7 @@
<div class="liarbry"><h6>位置:{{title1[0].catagory_name}} > {{title2[0].catagory_name}}(1234条)</h6></div> <div class="liarbry"><h6>位置:{{title1[0].catagory_name}} > {{title2[0].catagory_name}}(1234条)</h6></div>
<div class="white"> <div class="white">
<!-- 第一个方框文字 --> <!-- 第一个方框文字 -->
<div class="one">
<h5 class="single">[单选] 按照原始凭证的格式不同,收料单属于( )。</h5>
<div class="answer">
<h4 class="answer-01">收录于:2021-07-2217:36</h4>
<h4 class="answer-02"><a href="">查看答案</a></h4>
</div>
<div class="line"></div>
<!-- <span class="nav-fr"></span> -->
</div>
<div class="one01">
<h5 class="single01">[单选] 某商场采用售价金额核算法对库存商品进行核算。本月月初库存商品进价成本总额40万元,售价总额55万元;本月购进商品进价成本总额50万元,售价总额65万元;本月销售商品售价总额90万元。则期末结存商品的成本为( )万元。</h5>
<div class="answer10">
<h4 class="answer-011">收录于:2021-07-22 17:36</h4>
<h4 class="answer-022"><a href="">查看答案</a></h4>
</div>
<div class="line"></div>
<!-- <span class="nav-fr-1"></span> -->
</div>
<div class="one02">
<h5 class="single010">[单选] 关于明细分类账的登记方法,下列表述错误的是( )。</h5>
<div class="answer100">
<h4 class="answer-0111">收录于:2021-07-22 17:36</h4>
<h4 class="answer-0222"><a href="">查看答案</a></h4>
</div>
<div class="line"></div>
<!-- <span class="nav-fr-2"></span> -->
</div>
<!-- <ul v-for="(item,index1) in frClass" :key="index1"> <!-- <ul v-for="(item,index1) in frClass" :key="index1">
{{item.catagory_name}} {{item.catagory_name}}
<li v-for="(itemson,index2) in item.que_list" :key="index2" @click="seeQuestion(itemson.catagory_id)">{{itemson.catagory_name}}</li> <li v-for="(itemson,index2) in item.que_list" :key="index2" @click="seeQuestion(itemson.catagory_id)">{{itemson.catagory_name}}</li>
...@@ -57,16 +28,15 @@ ...@@ -57,16 +28,15 @@
<div class="one02"> <div class="one02">
<h5 class="single010">[单选] {{item.question_Title}} </h5> <h5 class="single010">[单选] {{item.question_Title}} </h5>
<div class="answer100"> <div class="answer100">
<h4 class="answer-0111">收录于:2021-07-22 17:36</h4> <!-- <h4 class="answer-0111">收录于:2021-07-22 17:36</h4> -->
<h4 class="answer-0222"><a @click="question_Detail(aid,cid,item.question_id)" >查看答案</a></h4> <h4 class="answer-0222"><a @click="question_Detail(aid,cid,item.question_id)" >查看答案</a></h4>
</div> </div>
<div class="line"></div> <div class="line"></div>
<!-- <span class="nav-fr-2"></span> -->
</div> </div>
<!-- -->
<!-- <li><a> 更多</a></li> -->
</ul> </ul>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment