码迷,mamicode.com
首页 >  
搜索关键字:ansible template    ( 11275个结果
C++ template
1 函数模板 #include <iostream> using namespace std; template <typename T> T square(T a) { return a * a; } int main(void) { cout << square<int>(3) << endl; ...
分类:编程语言   时间:2020-07-17 14:03:22    阅读次数:65
el-table前面加序号
https://i.cnblogs.com/posts?cateId=1048797 <template> <el-table :data="list" class="bg-fff" :row-class-name="rowIndex" > <el-table-column :formatter=" ...
分类:其他好文   时间:2020-07-17 13:36:11    阅读次数:80
读uni-app
1,一套代码,多套公用 2,运行我们想要的类型 npm run dev : (mp-weixin) 3,打包我们想要的类型npm run build : 。。。。 4,template + view 5,引入一个模块 <script> var util = require('../../../com ...
分类:移动开发   时间:2020-07-16 22:01:34    阅读次数:133
element框架的teble表格的数据展示由横向转向竖向
<template> <div class="m50"> <el-table border style="margin-top: 50px;" :data="originData"> <el-table-column label="题型" property="type" align="center" ...
分类:其他好文   时间:2020-07-16 18:22:28    阅读次数:113
采用申明式导航去点击连接到其他组件(采用事件委派方式)
模板template 每个连接路由使用编程式路由,效率还不是很高,因为每个类别都添加了相同的点击事件,多加了很多回调,浪费内存,可采用事件委派,给相同的父元素添加即可 <div class="all-sort-list2" @click="toSearch"> <div v-for="(c1, in ...
分类:其他好文   时间:2020-07-16 11:56:35    阅读次数:70
STL的accumulate用法
std::accumulate 该函数定义于头文件 ,它主要用于累加求和和自定义数据类型的处理。 template< class InputIt, class T > constexpr T accumulate( InputIt first, InputIt last, T init ); tem ...
分类:其他好文   时间:2020-07-16 00:07:47    阅读次数:69
vue学习(六)组件化开发
一、注册组件 1.全局注册 利用Vue.component()方法,先传入一个自定义组件的名字,然后传入这个组件的配置。 然后就可以在Vue实例挂载的DOM元素中使用它。 Vue.component('mycomponent',{ template: `<div>这是一个自定义组件</div>`, ...
分类:其他好文   时间:2020-07-15 23:49:34    阅读次数:66
loj536「LibreOJ Round #6」花札(二分图博弈)
loj536「LibreOJ Round #6」花札(二分图博弈) loj 题解时间 很明显是二分图博弈。 以某个点为起点,先手必胜的充要条件是起点一定在最大匹配中。 判断方法是看起点到该点的边有流量且该点不在起点割集中。 #include<bits/stdc++.h> using namespac ...
分类:其他好文   时间:2020-07-15 23:11:15    阅读次数:70
ajax配合art-template模板引擎的使用
最近才接触js的模板引擎听说相比以前使用的js foreach加载后台返回的json数据简便很多而且效率方面也很不错。今天自己玩了一下 后台使用的是.net mvc,数据库脚本就不提供了,返回的JsonResult,将数据存放在data中,前台通过ajax配合模板引擎进行一个调用然后以表格的形式显示 ...
分类:Web程序   时间:2020-07-15 00:59:51    阅读次数:96
3.4_表单组件_input
img: code: <template> <view> <view> <input class="uni-input" auto-focus placeholder="输入框" placeholder-style="color:red" /> <input class="uni-input" co ...
分类:其他好文   时间:2020-07-14 18:35:56    阅读次数:57
11275条   上一页 1 ... 51 52 53 54 55 ... 1128 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!