Vue初级项目 -- 静态录单系统

本文介绍了一个使用Vue实现的初级录单系统,主要包括添加订单和删除订单的功能。作者强调通过实践来巩固Vue的学习,提供了源代码供读者复制粘贴以查看效果。
摘要由CSDN通过智能技术生成

录单系统

如下效果图  主要功能:添加订单,删除订单 ,分页主要是由后台分页再传数据过来所以也就没写了

 

刚刚学的VUE,不上手写点东西的话,那怎么能记得牢固呢

源代码

复制粘贴即可看到效果

<!DOCTYPE html>
<html>
<head>
    <title>
        录单系统
    </title>
	<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">  
</head>
<style>
    #header{
        margin:0 auto;
        width: 1200px;
        height:50px;
        background-color: #333;
        color:#fff;
        font-size: 20px;
        line-height: 50px;
        text-indent:50px;
    }
    .clearfix{
        content:"";
        display: block;
        clear: both;
    }
    #content{
        margin:0 auto;
        width: 1200px;
        border: 1px solid #ccc;
    }
</style>
<body>
<div id="app">
    <div style="background-color: #333">
        <div id="header">
            {
  { title }} 
        </div>
    </div>
    <div id="content">
        <div style="margin:20px 20px 0;" class="clearfix">
            <div style="float: left;">
                <div class="btn btn-success" style="display: inline-block;vertical-align: middle;" @click="or">添加订单</div>
            </div>
            <div style="float: right;">
                <div class="form-inline" role="form" style="display: inline-block;vertical-align: middle;">
  
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值