Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Esteban Choque
Portal Bolivia Digital
Commits
8c4c113b
Commit
8c4c113b
authored
May 20, 2019
by
Esteban Choque
Browse files
Se cambio el color del logo
parent
9180994c
Changes
6
Hide whitespace changes
Inline
Side-by-side
src/assets/images/agetic-logo-blanco.png
0 → 100644
View file @
8c4c113b
16 KB
src/components/bservicio/BServicio.vue
View file @
8c4c113b
...
...
@@ -2,7 +2,7 @@
<div
class=
"b-servicio"
>
<span
class=
"b-servicio-titulo"
>
<span
class=
"b-services-short"
>
BOLIVIA S.
</span>
<span
class=
"b-services-long"
>
{{
$t
(
'
bServices.title
'
)
}}
</span>
<!--
<span
class=
"b-services-long"
>
{{
$t
(
'
bServices.title
'
)
}}
</span>
-->
<span
class=
"b-service-two-points"
>
:
</span>
<i
class=
"b-icon-arrow-down el-icon-arrow-down"
></i>
</span>
...
...
@@ -71,7 +71,7 @@ export default {
{
label
:
'
whatsapp
'
,
icon
:
'
icon-whatsapp
'
,
url
:
'
https://wa.me/591
67176743
?text=Hola%20Bolivia%20
a%20tu%20servicio
'
,
url
:
'
https://wa.me/591
75235634
?text=Hola%20Bolivia%20
Digital
'
,
active
:
true
},
/*{
...
...
src/components/layout/AppLogo.vue
View file @
8c4c113b
...
...
@@ -8,7 +8,7 @@
alt=
"Bolivia"
>
-->
<img
class=
"app-logo-img"
src=
"~assets/images/agetic-logo.png"
src=
"~assets/images/agetic-logo
-blanco
.png"
alt=
"Bolivia"
>
<div
class=
"app-logo"
>
<div
class=
"app-logo-title"
>
Agetic
</div>
...
...
src/pages/participa/_id_forum/_name_forum/_id_topic/_name_topic/_id_post/_name_post/index.vue
View file @
8c4c113b
...
...
@@ -70,16 +70,24 @@
placeholder="Escribe contenido para la respuesta"
v-model="contenido">
</el-input>
<el-row>
<div
id=
"message"
>
Confirma que eres un humano y no un robot. Por favor resuelve la siguiente operación:
</div>
<p
class=
"question"
>
{{
pregunta
}}
</p>
<el-input
v-model=
"respuesta"
>
</el-input>
<p>
{{
msg
}}
</p>
</el-row>
<el-row
type=
"flex"
class=
"row-bg"
justify=
"center"
>
<el-button
@
click=
"sendReplie"
type=
"info
"
cl
ass=
"btn_nuevo_debate
"
>
Enviar
</el-button>
<el-button
type=
"info"
value=
"Enviar
"
@
cl
ick=
"verificarRespuesta
"
>
Enviar
</el-button>
</el-row>
</div>
</section>
</
template
>
...
...
@@ -106,14 +114,20 @@ export default {
post_body
:
''
,
post_fecha_publicacion
:
''
,
foro_nombre
:
''
,
categoria_nombre
:
''
categoria_nombre
:
''
,
randomNum1
:
0
,
randomNum2
:
0
,
total
:
0
,
pregunta
:
''
,
respuesta
:
''
,
msg
:
''
};
},
mounted
()
{
this
.
$store
.
commit
(
'
CLOSE_MENU
'
);
this
.
$util
.
setBackgroundImage
();
this
.
getTopic
();
//console.log('url '+this.$foro.url
);
this
.
crearSuma
(
);
},
methods
:
{
getTopic
()
{
...
...
@@ -156,6 +170,34 @@ export default {
this
.
titulo
=
""
;
this
.
contenido
=
""
;
});
},
getRandom
()
{
return
Math
.
ceil
(
Math
.
random
()
*
20
);
},
crearSuma
()
{
this
.
randomNum1
=
this
.
getRandom
(),
this
.
randomNum2
=
this
.
getRandom
();
this
.
total
=
this
.
randomNum1
+
this
.
randomNum2
;
this
.
pregunta
=
this
.
randomNum1
+
'
+
'
+
this
.
randomNum2
+
'
= ?
'
;
this
.
respuesta
=
''
;
},
verificarRespuesta
()
{
if
(
this
.
respuesta
==
this
.
total
)
{
this
.
msg
=
'
Respuesta correcta
'
;
this
.
randomNum1
=
0
;
this
.
randomNum2
=
0
;
this
.
total
=
0
;
this
.
pregunta
=
''
;
this
.
respuesta
=
''
;
this
.
sendReplie
();
this
.
crearSuma
();
}
else
{
this
.
msg
=
'
Respuesta incorrecta, intenta de nuevo por favor
'
;
this
.
crearSuma
();
}
}
}
};
...
...
@@ -220,4 +262,9 @@ export default {
{
font-weight
:
bold
;
}
.question
{
font-size
:
1
.5em
;
padding-top
:
0
.5em
;
}
</
style
>
\ No newline at end of file
src/pages/participa/_id_forum/_name_forum/_id_topic/_name_topic/index.vue
View file @
8c4c113b
...
...
@@ -83,14 +83,22 @@
placeholder="Escribe el contenido para el debate"
v-model="contenido">
</el-input>
<el-row>
<div
id=
"message"
>
Confirma que eres un humano y no un robot. Por favor resuelve la siguiente operación:
</div>
<p
class=
"question"
>
{{
pregunta
}}
</p>
<el-input
v-model=
"respuesta"
>
</el-input>
<p>
{{
msg
}}
</p>
</el-row>
<el-row
type=
"flex"
class=
"row-bg"
justify=
"center"
>
<el-button
@
click=
"sendPublicacion"
type=
"info
"
cl
ass=
"btn_nuevo_debate
"
>
Enviar
</el-button>
<el-button
type=
"info"
value=
"Enviar
"
@
cl
ick=
"verificarRespuesta
"
>
Enviar
</el-button>
</el-row>
</div>
...
...
@@ -116,13 +124,20 @@ export default {
titulo
:
''
,
contenido
:
''
,
page_tit
:
''
,
page_num_posts
:
''
page_num_posts
:
''
,
randomNum1
:
0
,
randomNum2
:
0
,
total
:
0
,
pregunta
:
''
,
respuesta
:
''
,
msg
:
''
};
},
mounted
()
{
this
.
$store
.
commit
(
'
CLOSE_MENU
'
);
this
.
$util
.
setBackgroundImage
();
this
.
pagina
(
1
);
this
.
crearSuma
();
},
methods
:
{
sendPublicacion
()
{
...
...
@@ -233,6 +248,34 @@ export default {
{
console
.
log
(
'
hay algo
'
);
}
},
getRandom
()
{
return
Math
.
ceil
(
Math
.
random
()
*
20
);
},
crearSuma
()
{
this
.
randomNum1
=
this
.
getRandom
(),
this
.
randomNum2
=
this
.
getRandom
();
this
.
total
=
this
.
randomNum1
+
this
.
randomNum2
;
this
.
pregunta
=
this
.
randomNum1
+
'
+
'
+
this
.
randomNum2
+
'
= ?
'
;
this
.
respuesta
=
''
;
},
verificarRespuesta
()
{
if
(
this
.
respuesta
==
this
.
total
)
{
this
.
msg
=
'
Respuesta correcta
'
;
this
.
randomNum1
=
0
;
this
.
randomNum2
=
0
;
this
.
total
=
0
;
this
.
pregunta
=
''
;
this
.
respuesta
=
''
;
this
.
sendPublicacion
();
this
.
crearSuma
();
}
else
{
this
.
msg
=
'
Respuesta incorrecta, intenta de nuevo por favor
'
;
this
.
crearSuma
();
}
}
}
};
...
...
@@ -291,4 +334,9 @@ export default {
{
font-weight
:
bold
;
}
.question
{
font-size
:
1
.5em
;
padding-top
:
0
.5em
;
}
</
style
>
\ No newline at end of file
src/pages/participa/_id_forum/_name_forum/index.vue
View file @
8c4c113b
...
...
@@ -118,6 +118,14 @@
</td>
</tr>
</table>
<el-row>
<div
id=
"message"
>
Confirma que eres un humano y no un robot. Por favor resuelve la siguiente operación:
</div>
<p
class=
"question"
>
{{
pregunta
}}
</p>
<el-input
v-model=
"respuesta"
>
</el-input>
<p>
{{
msg
}}
</p>
</el-row>
<span
slot=
"footer"
class=
"dialog-footer"
>
...
...
@@ -125,7 +133,7 @@
@
click=
"dialogVisible = false"
>
Cancelar
</el-button>
<el-button
type=
"primary"
@
click=
"
sendPublicacion
"
>
Enviar
</el-button>
@
click=
"
verificarRespuesta
"
>
Enviar
</el-button>
</span>
</el-dialog>
...
...
@@ -150,13 +158,20 @@ export default {
correo
:
''
,
titulo
:
''
,
contenido
:
''
,
value
:
''
value
:
''
,
randomNum1
:
0
,
randomNum2
:
0
,
total
:
0
,
pregunta
:
''
,
respuesta
:
''
,
msg
:
''
};
},
mounted
()
{
this
.
$store
.
commit
(
'
CLOSE_MENU
'
);
this
.
$util
.
setBackgroundImage
();
this
.
getTopics
();
this
.
crearSuma
();
},
methods
:
{
mostrarDialog
()
{
...
...
@@ -197,6 +212,34 @@ export default {
this
.
titulo
=
""
;
this
.
contenido
=
""
;
});
},
getRandom
()
{
return
Math
.
ceil
(
Math
.
random
()
*
20
);
},
crearSuma
()
{
this
.
randomNum1
=
this
.
getRandom
(),
this
.
randomNum2
=
this
.
getRandom
();
this
.
total
=
this
.
randomNum1
+
this
.
randomNum2
;
this
.
pregunta
=
this
.
randomNum1
+
'
+
'
+
this
.
randomNum2
+
'
= ?
'
;
this
.
respuesta
=
''
;
},
verificarRespuesta
()
{
if
(
this
.
respuesta
==
this
.
total
)
{
this
.
msg
=
'
Respuesta correcta
'
;
this
.
randomNum1
=
0
;
this
.
randomNum2
=
0
;
this
.
total
=
0
;
this
.
pregunta
=
''
;
this
.
respuesta
=
''
;
this
.
sendPublicacion
();
this
.
crearSuma
();
}
else
{
this
.
msg
=
'
Respuesta incorrecta, intenta de nuevo por favor
'
;
this
.
crearSuma
();
}
}
}
};
...
...
@@ -274,4 +317,8 @@ export default {
border-top
:
10px
solid
#012d59
;
border-right
:
10px
solid
transparent
;
}
.question
{
font-size
:
1
.5em
;
}
</
style
>
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment