HUGO +++ Hugo为其模板引擎使用了出色的Go html / template库。它是一种非常轻量级的引擎,提供了非常少量的逻辑。根据我们的经验,创建一个好的静态网站只是适当的逻辑量。如果您使用了来自不同语言或框架的其他模板系统,则会在Go模板中发现很多相似之处。 本文档是使用Go模板的简要 ...
分类:
其他好文 时间:
2021-01-08 10:50:46
阅读次数:
0
前端thymeleaf下拉框select、input框中的date类型js回显问题 1. thymeleaf下的select回显 <select id="genderSelect" name="sizeSelect" class="selectpicker" title="请选择" data-dro ...
分类:
Web程序 时间:
2021-01-07 12:37:23
阅读次数:
0
1、导入依赖 <dependency> <groupId>org.thymeleaf</groupId> <artifactId>thymeleaf-spring5</artifactId> </dependency> <dependency> <groupId>org.thymeleaf.extr ...
分类:
编程语言 时间:
2021-01-07 12:34:57
阅读次数:
0
<!-- 父组件 --> <template> <view> <syncA :title.sync="title"></syncA> </view> </template> <script> export default { data() { return { title:"hello vue.js ...
分类:
其他好文 时间:
2021-01-07 11:53:43
阅读次数:
0
Vue 中mixins,extends,class简单使用 demo: index.vue, feiMixins,feiExtends,feiClass 四个文件 index.vue <template> <div id="index"> <div>{{foo}}</div> <div>{{bar} ...
分类:
其他好文 时间:
2021-01-06 12:37:37
阅读次数:
0
main.js 全局引入轮播图的js 和 css文件 <template> <div> <h1>轮播图案例</h1> <div class="swiper-container"> <div class="swiper-wrapper"> <div class="swiper-slide" v-for ...
分类:
其他好文 时间:
2021-01-06 12:17:44
阅读次数:
0
一、 前端(<a th:href="@{'/record_details/'+${record.id}}" target="_blank"></a>: <a th:href="@{'/record_details/'+${record.id}}" target="_blank"> <i><img t ...
分类:
编程语言 时间:
2021-01-04 10:36:42
阅读次数:
0
问题 在用vue开发时碰到父组件传值子组件时不能触发子组件的props里对应的值的default值。 父组件代码: <template> <div> <TabOrderClaim :compData="companyInfo" ></TabOrderClaim> </div> </template> ...
分类:
其他好文 时间:
2021-01-04 10:30:32
阅读次数:
0
1 登录注册前端页面 1.1 Login.vue <template><div class="login"> <div class="box"> <i class="el-icon-close" @click="close_login"></i> <div class="content"> <div ...
分类:
移动开发 时间:
2021-01-02 11:31:20
阅读次数:
0
<body> <div id="app"> <!-- 2.监听子组件发射的事件 然后再父组件处理事件 --> <cpn @itemclick="cpnClick"></cpn> </div> <template id="cpn"> <div> <button v-for="item in categ ...
分类:
其他好文 时间:
2021-01-02 11:26:02
阅读次数:
0