-
How to ensure the unity of login session in js project
We are Mini Program s project. To get the code logged in by Wechat, request the backend api to get the sessionkey. But if it is a concurrent request, if it happens to expire at this time, and several requests go to get the sessionkey at the same time, t...
-
Add a space to the mobile phone number input box
Mobile phone number input box, set to 6005 1078 to automatically add spaces question: [when you need to modify the number (6005), the cursor will jump to the end of the number immediately after deleting the number] demand: [after deleting the number, ...
-
Why does the child element absolute cause positioning changes when the parent element is relative?
I set the parent element to relative and the child element position to absolute positioning, but why does the font position change relative to the background when I zoom in and out? In the screenshot below, you can see the zoom in and out of the page, a...
-
Why do I add height, to other parts to make the overflow:auto of adjacent parts work?
at first I didn t write the CSS and HTML of the main area the following code is the sidebar CSS, page effect as shown in figure 2
main
...
-
Ionic3 error 'ion-header' is not a known element:
using ionic, I want to write a tab switch, which can be regarded as secondary navigation. I got a component and wrote < ion-header > .
< ion-navbar >
<button ion-button icon-only menuToggle>
<ion-icon name="menu">< ion-icon...
-
Mobile browsers can't get to the top height.
The responsive layout used in finds out how to get the height at the top of the browser by using the following methods on the mobile browser. Can t you use these in mobile browsers? my Orbon mobile browser document.body.scrollTop document.body.clientH...
-
How to accurately identify user equipment information on the browser side
has encountered a need to strictly distinguish the device information of users who visit the website (such as operating system, browser, etc.). Because there are some browsers that can disguise userAgent, I am afraid we cannot use userAgent to distinguis...
-
Html5's audio time update event ontimeupdate how to update more smoothly
I want to make a music playback progress bar according to the music playback time, but ontimeupdate will get one card each time it updates the time. How can it increase the time smoothly? The following is an example from the rookie tutorial. The value o...
-
Can the page listen for browser shutdown events?
after trying onbeforeunload, I don t seem to be able to do it. Is there anything I can do about it? ...
-
Why is the lable tag not associated with this checkbox?
...
-
What processes and tools do senior front-end engineers have when developing traditional pages?
there is usually a fixed process when developing a SPA like Vue, such as scaffolding to generate npm dependencies, then install dependencies, personalize Webpack configuration, jslint configuration, and then start writing components and so on.
what ar...
-
Xiaobai doesn't know much about the introduction of picture src. Ask for guidance.
...
-
Why is it that opening a web page in the Baidu browser of a mobile phone will be forced to add the style of style= "display:none! important"?
Don t talk nonsense, look at the picture
find a solution.
...
-
How to use mpvue-simple?
recently, the company is going to write WeChat Mini Programs, which is all written in the grammar of the original sound Mini Program. I recently heard that mpvue, is very popular, and decided to learn. I can want to write the original WeChat Mini Program...
-
What custom form plug-ins have you used? Like a lightning strike net?
what custom form plug-ins have you used? Like a lightning strike net? ...
-
Vue points to change in HTML this
because there is a loop, this.ip becomes undefined,. How to change the this to
...
-
The problem of setting the minimum width of div with min-width
set the minimum width of the div with min-width to center the div, but always inherit the width of the parent element, so that the content is always displayed on the left. How can you not inherit the width of the parent element ...
-
An error was reported when the project was published to the server: the view "Index" or its master view was not found, or there was no location where the view engine supported search. Searched the following locations
{ "type ": 3, "errorcode ": 0, "message ": "View Index " or its master view not found, or there is no location where the view engine supports search. Search the following locations: rn~ Areas SystemManage Views SystemHome Index.aspx rn~ Areas Syste...
-
Click on the dynamic loading component within a page of vue?
There are multiple CheckBox, on the page. Select one to load a component and uncheck to delete a component. ?
Select one to load one video, uncheck and delete one, and select a maximum of 9. The data given by the background CheckBox is uncertain. It ...
-
Vue refers to quill rich text, which is normal locally and does not display after packaging.
I npm installed quill rich text, local operation, display and function are normal. After packaging, after the dist is sent to the test server, the rich text will not be displayed, and the click will report an error. I don t know what the reason is.
...