在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/ HTML問答
司令 回答

似乎很簡單, 可以在 這里體驗, 代碼如下:

HTML:

<input id="input-1" type="checkbox" name="input-1"/>
<label for="input-1">Label</label>

CSS:

input[type=checkbox] {
  position: relative;
  opacity: 0;
  z-index: 2;
  width: 18px;
  height: 18px;
  margin: 0;
  + label {
    position: relative;
    overflow: visible;
    padding-left: 6px;
    &:before, &:after {
      position: absolute;
      z-index: 1;
      top: 50%;
      left: -18px;
      height: 18px;
      width: 18px;
      margin-top: -9px;
      content: "";
      border: 1px solid #000;
      cursor: pointer;
    }
  }
  &:checked + label {
    &:after {
      content: "?";
      line-height: 18px;
      font-size: 16px;
      text-align: center;
    }
  }
}
尐懶貓 回答

哈?樓主解決了嗎?我也遇到這個問題,不知道是不是頁面的高度設(shè)置讓控件定位出問題了?

維她命 回答

表頭分組

給 column 設(shè)置 children,可以渲染出分組表頭。

<template>
    <Table :columns="columns11" :data="data10" border height="500"></Table>
</template>
<script>
    export default {
        data () {
            return {
                columns11: [
                    {
                        title: 'Name',
                        key: 'name',
                        align: 'center',
                        width: 200,
                        fixed: 'left',
                        filters: [
                            {
                                label: 'Joe',
                                value: 1
                            },
                            {
                                label: 'John',
                                value: 2
                            }
                        ],
                        filterMultiple: false,
                        filterMethod (value, row) {
                            if (value === 1) {
                                return row.name === 'Joe';
                            } else if (value === 2) {
                                return row.name === 'John Brown';
                            }
                        }
                    },
                    {
                        title: 'Other',
                        align: 'center',
                        children: [
                            {
                                title: 'Age',
                                key: 'age',
                                align: 'center',
                                width: 200,
                                sortable: true
                            },
                            {
                                title: 'Address',
                                align: 'center',
                                children: [
                                    {
                                        title: 'Street',
                                        key: 'street',
                                        align: 'center',
                                        width: 200
                                    },
                                    {
                                        title: 'Block',
                                        align: 'center',
                                        children: [
                                            {
                                                title: 'Building',
                                                key: 'building',
                                                align: 'center',
                                                width: 200,
                                                sortable: true
                                            },
                                            {
                                                title: 'Door No.',
                                                key: 'door',
                                                align: 'center',
                                                width: 200
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        title: 'Company',
                        align: 'center',
                        children: [
                            {
                                title: 'Company Address',
                                key: 'caddress',
                                align: 'center',
                                width: 200
                            },
                            {
                                title: 'Company Name',
                                key: 'cname',
                                align: 'center',
                                width: 200
                            }
                        ]
                    },
                    {
                        title: 'Gender',
                        key: 'gender',
                        align: 'center',
                        width: 200,
                        fixed: 'right'
                    }
                ],
                data10: []
            }
        },
        mounted () {
            const data = [];
            for (let i = 0; i < 20; i++) {
                data.push({
                    key: i,
                    name: 'John Brown',
                    age: i + 1,
                    street: 'Lake Park',
                    building: 'C',
                    door: 2035,
                    caddress: 'Lake Street 42',
                    cname: 'SoftLake Co',
                    gender: 'M',
                });
            }
            this.data10 = data;
        }
    }
</script>
雨萌萌 回答

沒區(qū)別,第一種方式你也可以加上html-webpack-plugin生成html

維她命 回答

js去構(gòu)造后端需要的數(shù)組,foreach你下拉列表中拿到的[2,3](舉個例子),每次將{appId:foreachItem,direction:1}放到一個數(shù)組變量里,最后將這個數(shù)組傳遞給后端

乖乖噠 回答

data url的格式是:data:[<mediatype>][;base64],<data>,所以存視頻可以這樣:

data:video/mp4;base64,3bvwAA...
data:video/webm;base64,3bvwAA....
...

video/mp4、video/webm這些就是視頻格式的mime。

如果不存data url格式,可以直接把base64編碼后的數(shù)據(jù)(就是上面的data)存起來就可以了。

當(dāng)然,存原始數(shù)據(jù),輸出的時候轉(zhuǎn)base64編碼可能更好。

夕顏 回答

gulp 根據(jù)sass 配置文件 也就是 顏色全局變量, 打包出三套皮膚,線上代碼動態(tài)切換link src

熟稔 回答

除了在webpack配置外還要在tsconfig.json文件里面配置

"compilerOptions": {
    "baseUrl": "./",
    "paths": {
        "@": ["src/components"]
    }
}
巷尾 回答

你這個用是的history模式吧?這個要后端處理下這些路徑

乖乖瀦 回答

watch 這個gametasks數(shù)組,回調(diào)里面又修改它, 這個應(yīng)該會 無限循環(huán),報錯吧

心癌 回答

0.2 - 0.1 == 0.1 0.8 - 0.6 == 0.20000000000000007
js精度肯定有問題 浮點(diǎn)嘛 懂得自然懂

離殤 回答

因為你的valueTreeSelect node中沒有。

  • node中沒有value remove
  • node中加入所的value node.

利用優(yōu)先級進(jìn)行樣式覆蓋,審查元素樣式進(jìn)行更改

.el-button:focus, .el-button:hover {
    color: #606266!important;
    border-color: #dcdfe6!important;
    background-color: #fff!important;
}
笨小蛋 回答

首先 點(diǎn)擊公眾號自定義菜單 直接調(diào)起支付寶app 或是其他任何app 應(yīng)該是不行的,微信開發(fā)者平臺并未提供相應(yīng)功能,至少目前沒有。

你可以配置點(diǎn)擊一個按鈕時 打開一個h5頁面,這個頁面的鏈接是你可控的,因此可以打開一個你的網(wǎng)站的頁面。

在正常的瀏覽器中,前端頁面可以調(diào)用一種被稱為scheme的技術(shù)調(diào)起任意app,一般是 xxx://開頭的一個url跳轉(zhuǎn),xxx是你app定義的namespace,支付寶也不例外。

但是微信目前屏蔽了android端任何scheme調(diào)起,ios端universal link以前可以 現(xiàn)在也被屏蔽了。因此在微信內(nèi)H5也無法直接調(diào)起app。瀏覽器里可以,因此可以出個彈層引導(dǎo)用戶去瀏覽器里打開此頁面,再跳轉(zhuǎn)支付寶。

在微信內(nèi),你唯一能做的是調(diào)起應(yīng)用寶頁面,讓應(yīng)用寶打開app,所以這也是一條路。

更多細(xì)節(jié) 具體在下面留言吧,看你具體想怎么做。

絯孑氣 回答

簡單的解決辦法就是安裝插件:

不想安裝插件就自己寫個函數(shù)接受url傳值或者用戶存儲偏好,然后在setup_theme鉤子的時候調(diào)換主題。

    http://www.sample.com/index.php?theme=classic // 傳值轉(zhuǎn)換主題
    add_action('setup_theme', 'change_theme_func'); 
    
    // 建立你自己的函數(shù)
    function change_theme_func(){
        ...
        add_filter( 'template', 'my_template_filter' ); //替換template鉤子
        add_filter( 'stylesheet', 'my_stylesheet_filter' ); // 替換樣式鉤子
        
   }