Page({ /** *頁面的初始數(shù)據(jù) */ data:{ }, /** *生命周期函數(shù)--監(jiān)聽頁面加載 */ onLoad:function(options){ }, /*...
Page({ /** *頁面的初始數(shù)據(jù) */ data:{ }, /** *生命周期函數(shù)--監(jiān)聽頁面加載 */ onLoad:function(options){ }, /*...
layui.use(['element'],function(){ letelement=parent.layui.element; //獲取父級頁面中是否有相同的lay...
.border-b:after { position: absolute; content: ''; width: 100%; left: 0; bottom: 0...
使用發(fā)現(xiàn) "" == 0 這個判斷是返回的是true "" 和 0 他們的布爾值(boolean)都是false 在==也就是不全等的情況下他們是真 true 嗯咱枉,記住了!3骨住兵拢!
代碼如下 .box{ width:180px; height:440px; padding:16px0; background-color:#2b333b; overflow...
使用彈性盒子布局出一下效果 一個盒子中的小盒子有無數(shù)個,實現(xiàn)并排布局说铃,并且間距要相同 代碼實現(xiàn) 大盒子設(shè)置 .box{ display: flex; flex-wr...
問題访惜,小程序中連續(xù)符號和連續(xù)英文不換行 css解決辦法,設(shè)置一下兩個樣式即可 word-break:keep-all; word-wrap: break-word;
踩坑uni-app開發(fā)小程序input表單金額校驗 使用v-model雙向綁定數(shù)據(jù)腻扇,@input事件綁定校驗函數(shù)债热,并且在校驗金額后設(shè)置時必須使用計時器 testMoney(e...