1 Commits

Author SHA1 Message Date
danielGe 89b388821f imagenes falta 2020-08-06 03:42:12 -05:00
11 changed files with 102 additions and 9 deletions
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

+62
View File
@@ -0,0 +1,62 @@
<template>
<div class="container">
<div class="row ">
<div class="col-md-6 col-sm-12 py-5">
<img
v-bind:src="rutaIm"
class="libro"
/>
</div>
<div class="col-md-6 col-sm-12 py-5 titulo">
<b >Titulo:</b><p>{{titulo}}</p>
<b >Autor: </b><p>{{autor}}</p>
<b >Paginas: </b><p>{{paginas}}</p>
<b >ISBN: </b><p>{{isbn}}</p>
<b >Año de Impresión: </b><p>{{edicion}}</p>
<b >Precio: </b><p>{{precio}}</p>
<b >Versión:</b>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
titulo: "Competitive programing",
autor: "HALIM",
paginas: "300",
isbn: "POSF-12-43",
edicion: "Primera edicion",
precio: "$3232.00",
rutaIm: `./${__dirname}src/assets/as.jpg`
}
}
};
</script>
<style scoped>
.titulo{
font-size: 1.3rem;
text-align: left;
color: balck;
}
.libro {
width: 360px;
height: 480px;
margin-right: auto;
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.57);
}
@media (max-width: 450px) {
.libro {
width: 270px;
height: 380px;
margin-right: auto;
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.57);
}
}
</style>
+3 -1
View File
@@ -2,11 +2,13 @@ import Vue from "vue";
import App from "./App.vue";
import "bootstrap/dist/css/bootstrap.css";
Vue.config.productionTip = false;
import VueRouter from "vue-router";
import { routes } from "./routes";
Vue.config.productionTip = false
Vue.use(VueRouter);
const router = new VueRouter({
routes
+7 -4
View File
@@ -1,6 +1,9 @@
import Form from "./components/home.vue";
import Login from "./components/login.vue";
import home from "./view/home.vue";
import login from "./view/login.vue";
import libroDescripcion from "./view/libroDescripcion.vue";
export const routes = [
{ path: "/", component: Form, name: "form" },
{ path: "/panelAdmin", component: Login, name: "Login" }
{ path: "/", component: home, name: "form" },
{ path: "/panelAdmin", component: login, name: "Login" },
{ path: "/desc", component: libroDescripcion, name: "LibroDesc" }
];
@@ -2,15 +2,14 @@
<div>
<Header />
<Nav />
<router-view></router-view>
<Footer />
</div>
</template>
<script>
import Header from "./../esteticas/header.vue";
import Nav from "./../esteticas/navPrincipal.vue";
import Footer from "./../esteticas/footer.vue";
import Header from "./../components/header.vue";
import Nav from "./../components/navPrincipal.vue";
import Footer from "./../components/footer.vue";
export default {
name: "App",
+27
View File
@@ -0,0 +1,27 @@
<template>
<div>
<Header />
<Nav />
<p>descripcion</p>
<Descrip />
<Footer />
</div>
</template>
<script>
import Header from "./../components/header.vue";
import Nav from "./../components/navPrincipal.vue";
import Descrip from "./../components/descripcion.vue";
import Footer from "./../components/footer.vue";
export default {
name: "App",
components: {
Header,
Nav,
Descrip,
Footer
}
};
</script>