-
How to write the css that appears in the cycle of three styles?
add a style after traversing the array. The style code is as follows. The effect is shown in figure .
.content .box:nth-child(n+1) {
background: linear-gradient(to bottom, -sharp79E2FF, -sharp66A8FF);
}
.content .box:nth-child(n+2) {
background:...
-
Is there a cascading carousel based on vue2.0 mobile terminal, asking for sharing, online, etc., thank you
has anyone ever used or known this kind of cascading carousel for mobile, element-ui is PC for mobile, it will collapse for mobile? do you know, wait for online, etc....
-
The communication between Vue2.0 sibling components (or multilevel components) is better with Vuex or EventBus.
through vuex, it seems that you need to create an extra state variable, and then modify the state through component A, while component B listens for changes in the state, thus realizing the transmission of events. But it feels like the value of this sta...
-
I would like to ask if the transition tag is not used in the vue file, how to use the callback function at the end of the animation?
<template>
<div class="page">
<img src=".. .. .. static pic bg1.png" alt="" :class="bg">
< div>
< template>
<script>
export default {
data() {
...
-
When the router-link route is redirected, the pages of the non-routed parts, that is, the public parts, are also sent messages.
if you can t understand the meaning of the title, then look at the picture .
the top yellow part is the public part in app.vue the red part is vue-router green < router-view > part what I need to implement now is when I click on the red navigat...
-
The front-end implementation of imitating Alipay my application drag-and-drop problem?
can the front end imitate my Alipay app drag-and-drop? Find the solution
long press to move and adjust position.
I use the sortable.js plugin , but I can t drag and drop it on my phone .
var el = document.getElementById( items )
...
-
A story about a play button?
::vue
now I want to add the function is to click the play button to hide, pause to show I have tried to add subtracted classes to it, but it does not work, is there any good way to solve this problem?
...
-
Vue clicks one highlight and clicks multiple highlights
1. There are three modes: single table, split table, and parallel table. You can only choose one table for a single table, and you can choose two for sharing or merging tables.
2. In single-table mode: ;:
-1- template
-2- currentLitableId
3.:
...
-
What is the difference between the width and height of the picture written in width height and css?
I have done a mobile function to simulate scrolling. The scrolling container contains pictures arranged vertically. At the beginning, I wrote the width and height of the pictures in css. Because the simulated scrolling needs to obtain the height of the c...
-
Jq modified li display Hidden error report?
$( - sharpcity ). On ( change ,function () {)
var s=$("-sharpheader_right_imgs_ul>li");
for(var i=0;i<s.length;iPP){
if(s[i].className!= $(this).val()) {
console.log(s[i].className);
s[i].css({...
-
Js implements the progress bar and controls the pause and continuation of the progress bar in real time. The animation needs to be smooth.
is writing a vue audio component. The audio progress bar will be displayed in the style. When playing, the progress bar will scroll forward smoothly. When the user clicks pause, it will pause the progress bar and click the continue progress bar to conti...
-
How to get the largest square area of a picture in vue?
<img class="previewer-demo-img" v-for="(src11,i) of item.images" :src="src11" alt="" :key="i">
because you want to present a picture in the ninth house format of Wechat s moments, but the origi...
-
The mint-ui html5 mobile phone hides beyond the screen and the scroll bar does not appear.
the html5 on the mobile phone is hidden from scrolling when it exceeds the phone screen, but overflow:hidden is not set in the page. The approximate page is as follows: < div class= "filterContent " v show = "baseInfoShow " >
<span class= titl...
-
After the Vue single file component data is changed, the page display does not follow the change.
Code and effect address
brief description of the problem. When you drag the mouse to select a cell, the data of component has changed, but the page display will have to wait until after mouseup, and if the status of k is not displayed on the page, t...
-
Vue blinks when changing styles dynamically
three buttons, set the style and change the button color when you click. When running on the mobile phone, it is found that the button will flash when it is clicked, how to make it not flicker when it is clicked?
...
-
The thought of Wisdom toilet
as shown in the picture, it is to see if the pothole in the bathroom is occupied, can the front end of this picture be realized, and do the gods have any ideas? thank you
...
-
How to limit the scope of introducing css files into vue js module
problem description
how to limit the scope of introducing css files into the vue js module
the environmental background of the problems and what methods you have tried
Project components are generally divided into three files: html template and cs...
-
The style of a vue page applies the scoped attribute, why does it affect the style overrides of third-party components?
problem description
I know that the scoped attribute of style in vue needs to be used carefully again, but only when I m writing components, right? It is to make it easier for others to override the style. Is that right?
I am now using third-party ...
-
After Vue creates a new project, there is always a blank at the top.
Vue-clihello divstyle
html, body { margin-left: 0px; margin-top: 0px; margin-right: 0px;margin-bottom: 0px; }
html,body {
also tried to add no response.
...
-
504 Gateway Time-out
504 Gateway Time-out
nginx
in the vue template, the control child element (the echarts chart component) is equal in size to the parent element (div). In the mounted hook of the parent element, the height and width of the parent element (div) are obtained and passed to the child e...