本文链接:https://blog.csdn.net/weixin_44022446/article/details/86438015 首先配置app.json文件配置相应路径:编译后生成相应文件夹、及文件夹内的4个文件,一个文件夹即一个页面。;所有的js方法都是用bindtap(点击事件)调用的。 ...
分类:
微信 时间:
2020-04-06 13:55:43
阅读次数:
97
js中元素的拖拽效果需要用到的主要的知识点为:事件侦听和鼠标事件。即被拖拽的元素添加事件侦听,侦听的事件主要为mousedown,mousemove和mouseup,一些情况下还需要用到mouseleave。本篇所针对的原理是存在多个相同元素情况下的拖拽。下面结合案例进行分析。1.首先在body中创 ...
分类:
Web程序 时间:
2020-04-06 13:42:26
阅读次数:
84
博主:www 原文地址: https://www.cnblogs.com/wangjian8888/p/6092158.html。 字体属性:(font) 大小 {font-size: x-large;}(特大) xx-small;(极小) 一般中文用不到,只要用数值就可以,单位:PX、PD 样式 ...
分类:
Web程序 时间:
2020-04-04 20:42:12
阅读次数:
92
package com.citic.test; import com.citic.c3p0.*; import java.io.*; import java.net.MalformedURLException; import java.net.URL; import java.sql.SQLExce ...
分类:
编程语言 时间:
2020-04-04 16:16:21
阅读次数:
79
1、上传 学习链接: https://www.cnblogs.com/yoyoketang/p/6445270.html input标签可以借助send_keys()操作来实现文件上传 <<input type="file" name="file" style="position: absolute ...
分类:
Web程序 时间:
2020-04-02 16:04:56
阅读次数:
63
题意:在二叉查找树中查找两个节点之差的最小绝对值 /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x ...
分类:
其他好文 时间:
2020-04-01 00:56:06
阅读次数:
75
Given a singly linked list L with integer keys, you are supposed to remove the nodes with duplicated absolute values of the keys. That is, for each va ...
分类:
其他好文 时间:
2020-04-01 00:34:43
阅读次数:
61
开门见山,第一篇文章我们来说说css里面最常用的position属性 缘由一次笔者面试,被问及了下面的代码,面试官让我画出这5个div的位置,自以为对css胸有成竹的我看到正确答案的那一刻也是吃惊不少,于是回家翻阅文档,想看看relative到底是相对什么定位,absolute到底是怎么绝对定位。 ...
分类:
Web程序 时间:
2020-03-31 12:29:57
阅读次数:
92
题目 Given an array of integers, find out whether there are two distinct indices i and j in the array such that the absolute difference between and is a ...
分类:
其他好文 时间:
2020-03-31 01:13:11
阅读次数:
88