原创 微信小程序map騰訊地圖功能整理
wxml:<map class="map" longitude='{{longitude}}' latitude='{{latitude}}' scale='{{scale}}' markers='{{markers}}' polylin
原创 echarts.js(餅狀圖和柱狀圖)
剛學的插件,以柱狀圖和餅狀圖爲例:柱狀圖:<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>echarts.js案例</title>//自己
原创 echarts展示(完善補充)
上次的柱狀圖的展示進行完善:<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"> <title>Echarts展示</title><script type="text/ja
原创 css3中的動畫屬性+qrcode插件二維碼生成+css3濾鏡(filter)效果集合
在製作一些特效動畫上會用到一些屬性,今天來總結一下: 一、css3動畫屬性 以@keyframes(規定動畫)爲重點 1)animation-duration:規定動畫完成一個週期所花費的時間(秒、毫秒) 2)animation-timi
原创 微信小程序開發彙總(二)
1、使用showModal()彈框content顯示內容,文字過多,手機預覽狀態下內容顯示不全,暫時沒有查到原因。2、微信小程序 數組中的push與concat的區別:push 遇到數組參數時,把整個數組參數作爲一個元素;而 concat
原创 微信小程序開發問題彙總(一)
1、問題:出現“06 2018 17:37:15 GMT+0800 (中國標準時間) WXSS 文件編譯錯誤原因”解決辦法:在控制檯輸入openVendor() ,清除裏面的wcsc wcsc.exe 然後重啓工具2、重要的 *var
原创 SVG的入門
<!DOCTYPE html><html><body><h1>My first SVG</h1><svg> <!-- 矩形fill:顏色填充stroke-width:邊框寬度stroke:邊框顏色strok
原创 學習編寫爬蟲(二)--------re/os庫
正則表達式----(re庫)下面是Python中正則表達式的一些匹配規則,圖片資料來自CSDN# -*- coding: utf-8 -*-import re#1.match()# 將正則表達式編譯成Pattern對象,注意hello前面
原创 'ascii' codec can't decode byte 0xe4 in position 0: ordinal not in range(128)
用django寫東西,出現的這個錯誤解決辦法:在search.py文件中添加 import sysreload(sys)sys.setdefaultencoding('utf-8')問題就解決了~
原创 學習編寫爬蟲(一)-------urllib庫
urllib庫(常用)學習:一、urllib.urlopen()#爬取百度網頁代碼import urllib2#用rullib2.urlopen()方法打開網址response = urllib2.urlopen("http://www.
原创 Python MySQLdb連接數據庫出錯的解決辦法
使用MySQLdb出錯語句:db = MySQLdb.connect("localhost","root","mysql","test" )報錯:解決方法:將“localhost”改爲“127.0.0.1”連接數據庫完整代碼:#!/usr
原创 angularjs學習
每一個div都是一個運行,需要分開運行,要不然會出現錯誤!<!DOCTYPE html><html><head><meta charset="utf-8"><script src="http://cdn.static.runoob.com
原创 微信小程序標題欄和導航欄的設置
設置標題欄設置導航欄屬性介紹代碼分析:"tabBar": { "color": "#9B9DB1", "selectedColor": "#3cc51f", "borderStyle": "black", "backgroundColor