upload image and verification summary of form form in elementUI

The user-defined verification method, because my project is, according to the situation, you can choose whether there is a graph, so I define a variable hasFmt,When it is false, it will ask to upload. Use this verification method, which is declared in rules var valiIcon = (rule, value, callback) => { // Image verification if (!this.ha ...

Posted on Fri, 06 Dec 2019 06:36:14 -0800 by Rhysickle

The way of learning of Vue Part 10: the realization of simple calculator

The first nine chapters explain some basic knowledge of vue, that is to say: apply what we have learned. Today we will use the first nine chapters to simulate and realize the simple function of calculator. The value of the project is not high, and it is purely to deepen our grasp of what we have learned. Pre school preparation: You need to mast ...

Posted on Fri, 06 Dec 2019 06:24:23 -0800 by selenin

JavaScript learning notes DOM

Chapter 5 Web page interaction - Document object model 1 briefly introduce DOM, which is a tool to interact html with javascript. [note when using innerHTML: the content in html is loaded according to the order of HTML itself. Therefore, js corresponding code should be placed after HTML] Question: * when document.getelementby id does not exist, ...

Posted on Fri, 06 Dec 2019 06:11:15 -0800 by littlejones

The core processing logic of zTree

zTree is a plug-in with a front-end tree structure. It's easy to use. Let's focus on the core code of the plug-in. First, zTree needs the following data structure: let areaData = [ { "id": "1", "pId": "0", "name": " Henan Province", "sort": "0" }, { "id": "2", "pId": "1", ...

Posted on Fri, 06 Dec 2019 03:36:40 -0800 by Divided

ionic confirmation prompt operation box

1 //Confirmation box 2 .factory('ActionSheet', function ($ionicActionSheet, TipsPort, Service,Loading) { 3 var ActionSheet = function (urlAction, tipsTitle, params, status, successTips, failTips, successBack, errorBack) { 4 return $ionicActionSheet.show({ 5 buttons: [ 6 {text: '<b>Determine</b>'} ...

Posted on Fri, 06 Dec 2019 03:10:54 -0800 by karenruth

Responsive data of vue source code analysis series

Summary When using vue, data, computed and watch are some commonly used concepts. How do they implement them? Let's start with a small demo to analyze its process. Demo demo snippet html code <!DOCTYPE html> <html> <head> <title>demo</title> <script src="../../dist/vue.js"></script> </hea ...

Posted on Thu, 05 Dec 2019 23:08:53 -0800 by atoboldon

Using jQuery to dynamically set the selection of radio box

I. Effect to be achieved This is implemented using jQuery. The effect to be achieved is as follows: when the pull-down bar changes, the value selected in the radio box changes accordingly. <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>Dynamic setting radio box selection</title ...

Posted on Thu, 05 Dec 2019 20:49:51 -0800 by Gillesie

External jump APP

demand Advertisement promotion, Huawei micro service; jump to our app specific interface through external web page or card. If the app has been opened, there is no skip download interface for the app. APP configuration <activity android:name=".LauncherActivity" android:launchMode="singleTask" androi ...

Posted on Thu, 05 Dec 2019 19:39:17 -0800 by techjosh

javascript ID number verification

Due to the needs of the project, the code needs to verify the identity card, groping for learning, and writing a verification function, directly on the code: Provincial address: North China: Beijing 11, Tianjin 12, Hebei 13, Shanxi 14, Inner Mongolia 15 Northeast: Liaoning 21, Jilin 22, Heilongjiang 23 East China: Shanghai 31, Jiangsu 32, Zhe ...

Posted on Thu, 05 Dec 2019 17:30:09 -0800 by ToonMariner

php disable function settings and view methods

This article mainly introduces the php disable function settings and viewing methods, and analyzes the php disable function methods and the relevant implementation skills of using php probes to view the disable function information by combining with the example form. You can refer to the following for your friends The example of this article de ...

Posted on Thu, 05 Dec 2019 15:31:58 -0800 by Izzy1979