Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 89b388821f |
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
@@ -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
@@ -2,11 +2,13 @@ import Vue from "vue";
|
|||||||
import App from "./App.vue";
|
import App from "./App.vue";
|
||||||
import "bootstrap/dist/css/bootstrap.css";
|
import "bootstrap/dist/css/bootstrap.css";
|
||||||
|
|
||||||
Vue.config.productionTip = false;
|
|
||||||
|
|
||||||
import VueRouter from "vue-router";
|
import VueRouter from "vue-router";
|
||||||
import { routes } from "./routes";
|
import { routes } from "./routes";
|
||||||
|
|
||||||
|
Vue.config.productionTip = false
|
||||||
|
|
||||||
|
|
||||||
Vue.use(VueRouter);
|
Vue.use(VueRouter);
|
||||||
const router = new VueRouter({
|
const router = new VueRouter({
|
||||||
routes
|
routes
|
||||||
|
|||||||
+7
-4
@@ -1,6 +1,9 @@
|
|||||||
import Form from "./components/home.vue";
|
import home from "./view/home.vue";
|
||||||
import Login from "./components/login.vue";
|
import login from "./view/login.vue";
|
||||||
|
import libroDescripcion from "./view/libroDescripcion.vue";
|
||||||
|
|
||||||
export const routes = [
|
export const routes = [
|
||||||
{ path: "/", component: Form, name: "form" },
|
{ path: "/", component: home, name: "form" },
|
||||||
{ path: "/panelAdmin", component: Login, name: "Login" }
|
{ path: "/panelAdmin", component: login, name: "Login" },
|
||||||
|
{ path: "/desc", component: libroDescripcion, name: "LibroDesc" }
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -2,15 +2,14 @@
|
|||||||
<div>
|
<div>
|
||||||
<Header />
|
<Header />
|
||||||
<Nav />
|
<Nav />
|
||||||
<router-view></router-view>
|
|
||||||
<Footer />
|
<Footer />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Header from "./../esteticas/header.vue";
|
import Header from "./../components/header.vue";
|
||||||
import Nav from "./../esteticas/navPrincipal.vue";
|
import Nav from "./../components/navPrincipal.vue";
|
||||||
import Footer from "./../esteticas/footer.vue";
|
import Footer from "./../components/footer.vue";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "App",
|
name: "App",
|
||||||
@@ -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>
|
||||||
Reference in New Issue
Block a user