最近vue挺火,最近也不是特别忙,就学习了下。 vue和angular非常像都是MVVM。道理都是想通的,就是语法的差异 我觉得vue和angular区别: 1.vue更轻,更便捷,适用于移动开发 2.vue更简单。。 angular和vue指令的差别大致就是 ng-xxx和v-xxx。 vue是用
原创 2017-05-25 14:21:00
202阅读
一、简单音乐播放器 二、轮播图
vue
原创 2021-07-14 11:01:40
149阅读
views.pyfrom django.shortcuts import render,render_to_response from django.http import HttpResponse import os # Create your views here. def&nbsp
原创 2015-01-16 13:22:23
771阅读
1,使用until语句打印*代码是:运行结果是:2,使用until语句打印国际象棋棋盘代码如下:运行结果是:
原创 2016-08-21 19:26:32
421阅读
最近写的jquery;练习程序,有兴趣的同学可以学习下: wowoxixi 多选框应用 足球 篮球 排球 网球 游泳 象棋 全选/全不选 保存 段落1 段落2 段落3 运行效果:
转载 2013-09-15 18:42:00
137阅读
2评论
[code="java"]public void test(){ Configuration cfg = new Configuration();
原创 2011-07-07 17:00:29
271阅读
[code="java"]//构造方法 public Example(String aname,double ascore){=
原创 2023-04-24 07:44:58
113阅读
switch例子#include <iostream>using namespace std;int main() { int n = 'c'; switch(n++) { default : cout<<"error"<<endl; break; case 'a': case 'A':
原创 2022-08-23 19:58:01
184阅读
HTML基础例子 1、标题、内容 <html> <head>   <title>这是标题</title> </head> <body>   这是内容 </body>     </html>
原创 2010-05-09 09:10:18
821阅读
反射的应用
原创 2010-08-05 20:08:42
536阅读
用vbs隐藏运行指定的批处理 Set objShell = CreateObject("Wscript.Shell")   objShell.Run("%comspec% /k format /q i:\"), 0, TRUE  自动写
原创 2010-10-31 10:23:38
710阅读
 name =raw_input('what is your name?') if name.endswith('gumby'):   print 'hello,mr,gumby' else: print 'hello,stranger'
转载 精选 2012-12-12 17:55:32
391阅读
 设置界面的checkBox的勾选监听。设置广播发送的过滤条件。(有什么要传过去的也一起传过去)  新闻界面 记得在onCreatView中记得initBroadcastListener() ,不然就没有注册广播接受者了。
原创 2015-08-05 22:26:02
625阅读
要求:当前若不存在result目录,则创建此目录。当前如果存在SoCWatchOutput.csv,则把它移动到result目录下接上,传递参数kpi_name,#!/bin/sh#Used to save CSV file#write it by baozhen:2015.12.9kpi_name=$1      # $1是紧接着脚本执行后的参数  myP
原创 2015-12-09 16:52:31
452阅读
1. 新闻代码:<!DOCTYPE html ><html lang="en"><head> <meta charset="UTF
原创 2023-02-07 05:20:08
62阅读
 num=input('enter a number') if num>0:    print 'the number is positive'   elif num<0:    print 'the number is negative'   else:    print 'the
转载 精选 2012-12-12 17:58:01
400阅读
bp6am,bp6ampassshow.php<?php //由try.html跳转的 if(isset($_POST['user'])){ //查询是否选中了某个checkbox if(array_key_exists('table1',$_POST)) $table1 = $_POST['table1']; else $table1 
原创 2014-11-09 14:50:35
781阅读
1.ruby定义函数与执行函数案例def fact(n) if n == 0 1 else n * fact(n-1) end endprint fact(4)结果: 242.一个例子words = ['a','b','c'] secret = words[rand(3)] print "guess?\n" while guess = STDIN.gets guess.chop! if guess==secret print "You win!\n" break else print "Sorr
原创 2021-08-05 16:10:42
150阅读
import ( "bytes" "encoding/binary" "encoding/gob" "fmt" ) func str_to_byte(src string) []byte { //strSlice := []string{src} buffer := &bytes.Buffer{}
转载 2018-05-28 18:36:00
73阅读
2评论
[code="java"]=
原创 2023-04-24 07:43:51
66阅读
  • 1
  • 2
  • 3
  • 4
  • 5