
BootStrap 5 Alpha \u53d1\u5e03\uff0c \u524d\u7aef\u7684\u5c0f\u670b\u53cb\u4eec\u4e86\u89e3\u4e00\u4e0b
\n
https://blog.getbootstrap.com/2020/06/16/bootstrap-5-alpha/
\n\n\u6700\u5927\u7684\u597d\u6d88\u606f\u662f\u5df2\u7ecf\u79fb\u9664\u4e86 jQuery \uff01
\n" }, { "author": { "url": "member/Tlin", "name": "Tlin", "avatar": "https://cdn.v2ex.com/avatar/a877/9d5c/327887_large.png?m=1551093247" }, "url": "t/651728", "title": "vue-cli3+bootstrap-vue \u901a\u8fc7 v-for \u5faa\u73af\u7ed1\u5b9a src \u52a0\u8f7d\u672c\u5730\u7684\u56fe\u7247\u5931\u8d25", "id": "t/651728", "date_published": "2020-03-10T23:27:23+00:00", "content_html": "\u6211\u53c2\u7167\u4e86\u5b98\u7f51\u7684\u914d\u7f6e\u5199\u6cd5\uff0c\u4e0b\u9762\u662f\u6211\u60f3\u95ee\u7684\u3002
\n<div v-for=\"item in data\" :key=\"item.id\">\n <b-img-lazy width=\"30\" height=\"30\" alt=\"ico\" :src=\"item.logo\"></b-img-lazy>\n</div>\n\n\u672c\u5730\u56fe\u7247\uff1asrc/assets/img/logo.png\n\u672c\u5730\u7f16\u5199\u7684\u6570\u636e\uff1a
\ndata : [{\n \"id\": \"001\",\n \"title\": \"person\",\n \"logo\":\"assets/img/logo.png\"\n}]\n\n\u5982\u679c\u6309\u4ee5\u4e0a\u5faa\u73af\u7ed1\u5b9a\u672c\u5730\u7684\u56fe\u7247\u5c31\u4f1a\u663e\u793a\u5931\u8d25\uff0c\u5982\u679c\u56fe\u7247\u4e3a\u7f51\u7edc\u5730\u5740\u5c31\u4f1a\u6210\u529f\uff0c\u5982\uff1a\n\"logo\":\"https://picsum.photos/600/400/?image=94\"\n\u6211\u5f00\u59cb\u4ee5\u4e3a\u662f\u6211\u672c\u5730\u6570\u636e\u7684\u5730\u5740\u5199\u9519\u4e86\uff0c\u4f46\u65e0\u8bba\u6211\u600e\u4e48\u6539\u8fd8\u662f\u6ca1\u6709\u663e\u793a\u51fa\u6765\u3002\n\u96be\u9053\u4e0d\u80fd\u5faa\u73af\u7ed1\u5b9a src \u5417\uff1f\u6211\u770b\u7ed9\u7684\u793a\u4f8b\u662f\u7ed1\u5b9a\u7f51\u7edc\u4e0a\u7684\u5730\u5740\uff1a
<b-img-lazy v-bind=\"mainProps\" :src=\"getImageUrl(80)\" alt=\"Image 1\"></b-img-lazy>\ngetImageUrl(imageId) {\n const { width, height } = this.mainProps\n return `https://picsum.photos/${width}/${height}/?image=${imageId}`\n}\n\n\u6211\u4e5f\u4f7f\u7528\u8fc7\u8fd9\u79cd\u5199\u6cd5\u6765\u7ed1\u5b9a\u672c\u5730\u7684\u6570\u636e\uff0c\u4f46\u4ecd\u65e7\u4e0d\u884c\u3002\n\u76ee\u524d\u5728\u5728\u56fd\u5185\u7684\u7f51\u4e0a\u5f88\u96be\u627e\u5230 bootstrap-vue \u7684\u76f8\u5173\u95ee\u9898\u89e3\u51b3\u65b9\u6848\uff0c\u4e0d\u77e5\u6709\u8001\u54e5\u9047\u5230\u8fc7\u6ca1\uff0c\u771f\u662f\u5934\u5927\uff01\n\u6211\u4e5f\u5728 bootstrap-vue \u7684 github \u4e0a\u63d0\u4e86\u5c31\u6211\u7528\u4e2d\u6587\u63d0\u7684\u90a3\u4e2a\u2026\u2026\u2026\u2026
\n" }, { "author": { "url": "member/Tidusy", "name": "Tidusy", "avatar": "https://cdn.v2ex.com/gravatar/4b9a68aba32ee1ccf2b63ae519b2a252?s=73&d=retro" }, "url": "t/620144", "title": "\u8bf7\u6559\u4e0b WebStorm \u91cc\u6ca1\u6709 BootstrapVue \u6807\u7b7e\u7684\u4ee3\u7801\u63d0\u793a\u7684\u95ee\u9898", "id": "t/620144", "date_published": "2019-11-16T03:53:01+00:00", "content_html": "\u5c31\u662f\u6bd4\u5982<b-navbar-brand>\u8fd9\u4e9b\u6807\u7b7e\u6ca1\u6709\u4ee3\u7801\u63d0\u793a\uff0c\u4f46\u662f\u5b9e\u9645\u4e0a\u9879\u76ee\u89e3\u6790\u662f\u6ca1\u95ee\u9898\u7684\uff0c\u6548\u679c\u4e5f\u6b63\u5e38\uff0c\u5c31\u662f\u5728 webstorm \u91cc\u6ca1\u6709\u63d0\u793a\uff0c\u611f\u89c9\u975e\u5e38\u9ebb\u70e6\u3002\u8bf7\u95ee\u4e0b\u8be5\u5982\u4f55\u89e3\u51b3\u5462\n\u521a\u63a5\u89e6\u524d\u7aef\u7684\u5c0f\u767d\uff0c\u5b9e\u5728\u662f\u641c\u4e0d\u5230\u76f8\u5173\u7684\u5185\u5bb9\uff0c\u8c22\u8c22\u5927\u5bb6</b-navbar-brand>
\n" }, { "author": { "url": "member/mart1nN", "name": "mart1nN", "avatar": "https://cdn.v2ex.com/avatar/b60e/b51d/383029_large.png?m=1549985957" }, "url": "t/612528", "title": "\u8bf7\u6559\u4e00\u4e0b bootstrapTable \u548c pageHelper \u5b9e\u73b0\u670d\u52a1\u7aef\u5206\u9875", "id": "t/612528", "date_published": "2019-10-24T06:09:29+00:00", "content_html": "\u6570\u636e\u524d\u53f0\u80fd\u67e5\u5230\uff0c\u8868\u683c\u80fd\u663e\u793a\uff0c\u4f46\u662f\u8868\u683c\u5de6\u4e0b\u65b9\u6570\u636e\u603b\u91cf\u663e\u793a undefined\uff0c\u53f3\u4e0b\u89d2\u65e0\u5206\u9875\u680f\uff0c\u5c31\u662f\u6ca1\u6709\u201c\u4e0b\u4e00\u9875\uff0c\u4e0a\u4e00\u9875\u201d\u8fd9\u4e9b\uff0c\u63a7\u5236\u53f0\u4e2d total \u603b\u6570\u6ca1\u95ee\u9898\uff0c\u5f80\u524d\u53f0\u4f20\u4e86\uff0c\u5e76\u4e14 onLoadSuccess \u4e8b\u4ef6\u4e2d\u80fd\u6253\u5370\u51fa\u6765 totalRows \uff08\u770b\u4e86 bootstraptable \u5b98\u7f51\u7684\u5c5e\u6027\u8bf4\u660e\uff0c\u597d\u50cf\u8fd9\u4e2a\u662f\u663e\u793a\u6570\u636e\u603b\u91cf\u7684\uff0c\u6211\u540e\u53f0\u4f20\u4e0a\u6765\u7684\u53d8\u91cf\u53eb total\uff0c\u5b83\u5e94\u8be5\u81ea\u52a8\u8d4b\u503c\u4e86\uff09
\n$(\"#table2\").bootstrapTable({\n method: 'POST',\n contentType : \"application/x-www-form-urlencoded\",\n // dataType: 'json',\n url: \"\",\n cache: false,\n load: false,\n toolbar : \"#toolbar\",\n toolbarAlign: 'right',\n clickToSelect: true,\n sidePagination: \"server\",\n pagination: true,\n totalRows: 6,\n pageNumber: 1,\n pageSize: 2,\n pageList: [1, 3],\n smartDisplay: false,\n onlyInfoPagination: false,\n columns: getColumns(),\n onLoadSuccess: function (jsonData) {\n $(\"#table2\").bootstrapTable('load', jsonData.list);\n },\n onLoadError: function () {\n bootbox.alert(\"\u52a0\u8f7d\u5931\u8d25\");\n },\n queryParams: function () {\n var params = {\n limit: this.limit,\n offset: this.offset,\n pageNumber: this.pageNumber,\n pageSize: this.pageSize\n };\n return $.extend(params, queryParamsF());\n }\n });\n\n\n\u524d\u7aef\u63a5\u6536\u5230\u7684\u6570\u636e
\nendRow: 2\nhasNextPage: true\nhasPreviousPage: false\nisFirstPage: true\nisLastPage: false\nlist: [{id: 1, bookName: \"\u957f\u5b89 1\", author: \"\u6797\u5fb7\u970d\u5c14\u59c6\", price: 99.9, state: \"\u53ef\u501f\", sid: 2,\u2026},\u2026]\n 0: {id: 1, bookName: \"\u957f\u5b89 1\", author: \"\u6797\u5fb7\u970d\u5c14\u59c6\", price: 99.9, state: \"\u53ef\u501f\", sid: 2,\u2026}\n 1: {id: 2, bookName: \"Java \u865a\u62df\u673a\u89c4\u8303\", author: \"\u6797\u5fb7\u970d\u5c14\u59c6\", price: 99.9, state: \"\u4e0d\u53ef\u63a5\", sid: 2,\u2026}\nnavigateFirstPage: 1\nnavigateLastPage: 3\nnavigatePages: 8\nnavigatepageNums: [1, 2, 3]\n 0: 1\n 1: 2\n 2: 3\nnextPage: 2\npageNum: 1\npageSize: 2\npages: 3\nprePage: 0\nsize: 2\nstartRow: 1\ntotal: 6\n\n" }, { "author": { "url": "member/niknik", "name": "niknik", "avatar": "https://cdn.v2ex.com/avatar/228a/970c/370208_large.png?m=1550740962" }, "url": "t/599939", "title": "\u60f3\u95ee\u4e00\u4e0b bootstrap \u5b98\u7f51\uff0c bootstrap-vue \u662f\u4f60\u4eec\u5b98\u65b9\u51fa\u7684\u5417\uff1f\u6709 bug \u554a", "id": "t/599939", "date_published": "2019-09-11T03:12:00+00:00", "content_html": "https://bootstrap-vue.js.org/docs/components\n\u8fd9\u4e9b\u7ec4\u4ef6\u600e\u4e48\u602a\u602a\u7684\uff0ctable \u7684\u81ea\u5b9a\u4e49\u90fd\u7528\u4e0d\u4e86
\n" }, { "author": { "url": "member/piaochen0", "name": "piaochen0", "avatar": "https://cdn.v2ex.com/gravatar/312ea072d72f1c8624ced1fb1768aa8c?s=73&d=retro" }, "url": "t/588561", "title": "datetimepicker \u548c bootstrap \u5e03\u5c40\u51b2\u7a81\uff1f", "id": "t/588561", "date_published": "2019-08-02T08:10:58+00:00", "content_html": "\u4f7f\u7528 daterangepicker \u6765\u9009\u53d6\u65e5\u671f\uff0c\u4e0d\u8fc7\u52a0\u8f7d\u9875\u9762\u540e\uff0c\u603b\u662f\u4f1a\u663e\u793a Canel \u548c Apply \u6309\u94ae\u3002\u4f1a\u628a\u4e0b\u4e00\u884c\u7684\u5185\u5bb9\u4e5f\u6321\u4f4f\u3002\u70b9\u51fb\u4e00\u4e0b\u63a7\u4ef6\uff0c\u968f\u4fbf\u9009\u4e00\u4e2a\u65e5\u671f\uff0c\u786e\u5b9a\u540e\uff0c\u5c31\u4f1a\u6d88\u5931\u3002
\n
HTML:
\njs:\n$('#test').daterangepicker({
\nstartDate: moment()
\n});
\u6211\u5c1d\u8bd5\u4e86\u4e0b\uff0c\u611f\u89c9\u8ddf bootstrap \u7684\u5e03\u5c40\u6709\u5173\u7cfb\uff0c\u5728\u666e\u901a div \u5e03\u5c40\u7684\u60c5\u51b5\u4e0b\uff0c\u4e0d\u4f1a\u51fa\u73b0\uff0c\u663e\u793a\u6b63\u5e38\u3002\u5f88\u8ff7\u3002\n\u6709\u4ec0\u4e48\u529e\u6cd5\u80fd\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff1f
\n" }, { "author": { "url": "member/wisetc", "name": "wisetc", "avatar": "https://cdn.v2ex.com/avatar/f5d7/5ddb/200271_large.png?m=1742021979" }, "url": "t/585296", "title": "\u5b9e\u73b0\u7684\u4eba\u662f\u8fd9\u4e48\u60e8\u7684\u5417", "id": "t/585296", "date_published": "2019-07-23T02:00:10+00:00", "content_html": "\u5b9e\u73b0\u68a6\u60f3\u7684\u4e0d\u5e94\u8be5\u662f\u795e\u9f99\u5417\uff1f
\n\u53ef\u662f\u73b0\u5b9e\u4e2d\uff0c\u5404\u65b9\u90fd\u4f1a\u7ed9\u4f60\u63d0\u5404\u79cd\u8981\u6c42\uff0c\u628a\u4f60\u641e\u5f97\u7cbe\u75b2\u529b\u5c3d\u3002\u6d4b\u8bd5\u63d0\u9700\u6c42\uff0c\u540e\u7aef\u7ed9 bug \u63a5\u53e3\uff0cUI \u4e34\u573a\u53d1\u6325\uff0c\u73b0\u573a\u7ed9\u4f60\u627e\u9ebb\u70e6\uff0c\u8981\u8d44\u6e90\u603b\u662f\u4e0d\u6ee1\u8db3\uff0c\u8d23\u6743\u5229\u603b\u4e0d\u5bf9\u7b49\u3002\u603b\u662f\u51fa\u95ee\u9898\u7684\u664b\u5347\uff0c\u628a\u4e8b\u60c5\u505a\u597d\u7684\u6c89\u9ed8\u3002
\n" }, { "author": { "url": "member/lcw0310", "name": "lcw0310", "avatar": "https://cdn.v2ex.com/gravatar/d6c96ede23c50a8f090a9ad7bbe2c511?s=73&d=retro" }, "url": "t/585210", "title": "\u7b80\u7ea6\u7684\u535a\u5ba2\u6a21\u677f", "id": "t/585210", "date_published": "2019-07-22T13:18:02+00:00", "content_html": "\u5927\u5bb6\u6709\u6ca1\u6709\u4ec0\u4e48\u7b80\u7ea6\u7684\u535a\u5ba2\u6a21\u677f\u63a8\u8350\u4e0b\uff0c\u6700\u597d\u662f\u54cd\u5e94\u5f0f\u7684
\n" }, { "author": { "url": "member/imningfeng", "name": "imningfeng", "avatar": "https://cdn.v2ex.com/avatar/3268/f307/112508_large.png?m=1557622130" }, "url": "t/555743", "date_modified": "2019-04-16T08:40:24+00:00", "content_html": "\u4fee\u6539\u4e86\u6309\u94ae\u7684\u4f2a\u7c7b\uff0c\u4f46\u662f\u8fd8\u662f\u51fa\u73b0\u4e86\u84dd\u8272\u80cc\u666f\u3002
\n\u8c37\u6b4c\u53ea\u627e\u5230\u4e86\u4e00\u4e2a\u7c7b\u4f3c\u95ee\u9898\uff0c\u4f46\u662f\u6309\u90a3\u4e2a\u56de\u7b54\u7684\u4fee\u6539\u8fd8\u662f\u4f1a\u51fa\u73b0\u84dd\u8272\u80cc\u666f\u3002\nhttps://segmentfault.com/q/1010000004184231
\n\u65e0\u5948\u672c\u4eba\u6280\u672f\u592a\u83dc\uff0c\u88ab\u8fd9\u4e2a\u95ee\u9898\u56f0\u6270\u597d\u51e0\u5929\u4e86\u3002\n
\n\u5c31\u662f\u56fe\u4e0a\u90a3\u4e2a\u53d1\u8d77\u7684\u6309\u94ae\uff0c\u6c42\u5927\u4f6c\u5e2e\u5e2e\u5f1f\u5f1f\uff01
www.dalaowo.com\n\u8d26\u53f7 test\n\u5bc6\u7801 123456
\n", "date_published": "2019-04-16T08:35:52+00:00", "title": "Bootstrap \u6309\u94ae\u6309\u4e0b\u53bb\u7684\u989c\u8272\u600e\u4e48\u4fee\u6539\uff1f", "id": "t/555743" }, { "author": { "url": "member/qiuai", "name": "qiuai", "avatar": "https://cdn.v2ex.com/avatar/3b74/5f04/14555_large.png?m=1756796273" }, "url": "t/520591", "date_modified": "2018-12-24T11:14:25+00:00", "content_html": "Bootstrap 4 \u7b80\u4f53\u4e2d\u6587\u6587\u6863 http://bs4.vx.link
\n", "date_published": "2018-12-24T11:04:45+00:00", "title": "Bootstrap 4 \u7b80\u4f53\u4e2d\u6587\u6587\u6863", "id": "t/520591" }, { "author": { "url": "member/BROWNURSIDAE", "name": "BROWNURSIDAE", "avatar": "https://cdn.v2ex.com/avatar/f463/e17f/138366_large.png?m=1473673708" }, "url": "t/234427", "title": "\u65b0\u4eba\u521a\u63a5\u89e6 bootstrap\uff0c\u60f3\u95ee\u4e00\u4e0b DropDown \u7684\u95ee\u9898", "id": "t/234427", "date_published": "2015-11-07T09:10:02+00:00", "content_html": "\u5982\u9898\uff0c\u5927\u4e00 CS \u72d7\u521a\u5b66 ASP.NET \uff0c\u521a\u521a\u5728 vs \u4e0a\u88c5\u4e86 bootstrap3 \uff0c\u7136\u540e\u95ee\u4e00\u4e2a\u611a\u8822\u7684\u95ee\u9898 Dropdown \u600e\u4e48\u56de\u53bb\u9009\u4e2d\u7684\u503c\u5416\uff1f\u548c\u4e66\u4e0a\u7684 DropDownList \u5dee\u8ddd\u597d\u5927\uff0c\u5b8c\u5168\u65e0\u6cd5\u5165\u624b\uff0c\u662f\u5728 Javascript \u91cc\u9762\u7684\u5417\uff0c\u6c42\u6b63\u786e\u59ff\u52bf" }, { "author": { "url": "member/binarymann", "name": "binarymann", "avatar": "https://cdn.v2ex.com/avatar/0048/81eb/12223_large.png?m=1425720587" }, "url": "t/128702", "title": "Bootstrap Visual Editor", "id": "t/128702", "date_published": "2014-08-19T03:51:14+00:00", "content_html": "\u60f3\u8bf7\u6559\u4e0b\u5404\u4f4d\u6709\u63a8\u8350\u7684\u5417\uff1f\u6211\u627e\u5230\u4e24\u4e2a\u4e0d\u9519Bootstrap \u5b9e\u7528\u624b\u518c
\n\n\u6700\u8fd1\u9ad8\u9891\u4f7f\u7528 Bootstrap, \u6574\u7406\u51fa\u4e00\u4e2a\u4fbf\u4e8e\u4f7f\u7528\u7684\u5c0f\u518c\u5b50, \u7b80\u6d01\u660e\u4e86, \u6bd4\u8d77\u6bcf\u6b21\u67e5\u5b98\u65b9\u6587\u6863\u8981\u5feb\u591a\u4e86, \u5e0c\u671b\u5927\u5bb6\u4e5f\u89c9\u5f97\u6709\u7528.
\n\n