...
the framework of react-based ant design mobile does not write Chinese text directly in the code, so where is the Chinese text written and how should it be used? ask for advice, one for beginners ...
<!DOCTYPE html> <html lang="zh-cmn-Hans"> <head> <meta charset="UTF-8" > <title>< title> <meta name="viewport" content="width=device-width, initial-scale=1 user-scalabl...
when converting fonts (using iconmoon), the following error is found, and some svg cannot be displayed after conversion I wonder if there is something wrong with the svg designed for me. < polyline> < g> < g> < g&g...
100% height is required in the middle, but I don t know how to implement ...
figure 1 shows the effect of modifying the scroll bar style code in figure 2 , but you can see that there is still a color area on the left that is the default width of the scroll bar excuse me, how to cancel this part ...
how to upload a preview of a single image in react. For mobile, ant design is used. mobile framework is just a novice, can give a specific code ...
I m studying how to use vue in native app. I m going to read the weex document with weex for a while, but I still can t read it. Let s ask the masters how to add the dependency of weex to native app. Will you give me some advice from the gods who kn...
some special fonts are relatively large. I checked that a plugin called tarantula is very useful, but how do I use it in the vue project? after all, in the end, there is nothing in the html file from build, and it is useless to use font-spider. What shou...
import React, {Component} from react ; import {Menu, Dropdown, Icon} from antd ; const handleClick = () => { console.log(this); }; const menu = ( <Menu onClick={handleClick} onSelect={({item, key, selectedKeys}) => { con...
first of all, in my understanding of the 1px frame, the reason for this problem is that in some high-definition screens, one css pixel corresponds to multiple physical pixels, which makes it look thicker when the frame is set to 1px. For example, for tw...
$.ajax({ type: POST , dataType: "json", url:"url", data:adata, success:function(data){ console.log(data); var arr=[]; for(var i in data){ arr.push(data[i]) } var ...
https: fonts.google.com spec.:400,500,500i,700 https: fonts.google.com specimen Ubuntu?selection.family=Ubuntu:400,500,500i,700 I choose Ubuntu and then I check regular 400 and I introduce it to the web site and write it like this . font-family: ...
I currently use transform s translate to pan the picture and use scale to zoom the picture. then want to implement the function that the center point of zooming depends on the mouse position, but find that if you have already zoomed, modifying the tran...
this calculated height determines the content-area (content area) of the HTML element, and I ll talk about content-area later. You can think of content-area as the area where background acts . for inline elements, padding and border increase the bac...
Why ReactDOM.render () cannot render after the page jumps, and it has no effect Page code after jump import React,{Component}from react ; import ReactDOM from react-dom ; import { Flex, WhiteSpace,Button } from antd-mobile ; import U98 ...
use the clear attribute on a block-level element so that the left or right or both sides of the block-level element are not adjacent to the floating element; CSS1 and 2 implement the function by increasing the margin-top, while CSS2.1 adds a clear area ...
Please explain in detail if you have the picture, ...
the current list style is as follows: :overflow: hidden; although the effect of overflow has been made, the icon on the left has disappeared. I would like to ask you how to solve it. It can achieve the effect of displaying ellipsis, and the icon i...
it works to add @ touchmove.prevent time to the mask layer when I write the pop-up box inside the mask layer at first, but the mask layer sets transparency, which causes the pop-up box to have transparency as well. Then changed the following writing, do...
as shown in the picture, the Chinese part cannot be displayed, and a lot of mistakes have been reported. part of the code: var _this = this; mapboxgl.accessToken = config.map_token; const map = new mapboxgl.Map({ container: _this.$r...
want to embed a plug-in in modal, but you need to get the dom node tag. How to get the ref and ReactDOM.findDOMNode methods have been tried, and the result is null parent component: < AddUserWin ref= "AddUserWin " visible= {state.visible} title= {s...
desired effect: for example: click on the man, pop up to expand the men s navigation bar on the right, and how to modify jquery to achieve this function this is the html section <header class="headroom"> <a id="cd-logo...
Project.updateOne(r, { $pull: { thunder2: { files: { _id: "5ab362d446f15936bcea7dd3" } } } }, function(err, data) { if (err) { res.send("") } else { ...
Why not restart the code in the modification method in tomcat? Those who add delete methods need to restart ....