摘要:
JS 部分为 Vue3 版本写法 <!--描述--> <div class="brand-info-desc"> <input id="btn-input" class="btn-input" v-model="checkbox" type="checkbox"> <div class="text" 阅读全文
摘要:
<div id="parent"> <br /> <br /> <br /> <br /> <div class="myElement">Hello!</div> </div> #parent { height: 2000px; } .myElement { position: sticky; to 阅读全文
摘要:
项目中使用了目前最新版本的 husky@8.0.1 安装 husky npm i -D husky 执行(需要在npm版本大于 7): npm set-script prepare "husky install" 执行 npm run prepare 测试项目目录下会多一个目录 .husky 执行 阅读全文
摘要:
git reset --soft HEAD^ 阅读全文
摘要:
template: <i18n path="totalBuy" tag="span" :for="item.purchaseMboxAmount"> <span class="item-text">{{ item.purchaseMboxAmount }}</span> </i18n> 翻译: { 阅读全文
摘要:
if ((i & 1) 0)代替if (i % 2 0)来判断 i 是不是偶数。 原理: 按位与操作符(&) 按位与操作符(&)会对参加运算的两个数据按二进制位进行与运算,即两位同时为 1 时,结果才为1,否则结果为0。运算规则如下: 0 & 0 = 0 0 & 1 = 0 1 & 0 = 0 1 阅读全文
摘要:
<h4 class="cont-info-title white ellipsis"> {{ t('myBlindBox.congratulation', 1) }} </h4> <p class="cont-info-content white"> <!--集齐全部盲盒文案--> <templat 阅读全文
摘要:
@at-root [dir='rtl'] & .hide-types-icon { transform: rotateY(180deg); } 阅读全文
摘要:
{ path: '/:pathMatch(.*)', redirect: '/home', }, 阅读全文
摘要:
<div class="box-item-num white"> <span class="num">x <b>12</b></span> </div> &-num { width: 46px; height: 26px; font-size: 12px; position: absolute; l 阅读全文