• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

Yancy00

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

2024年5月1日

表单-确认重置按钮,普通按钮

摘要: 表单的确认按钮,和重置按钮: <form> <!-- 提交按钮,可以用button,也可以用input类型submit --> <!-- <button>确认</button> --> <input type="submit"> <input type="submit" value="批准"> <! 阅读全文

posted @ 2024-05-01 07:31 Yancy00 阅读(71) 评论(0) 推荐(0)

表单-隐藏域

摘要: <form action="#"> <!-- 隐藏域: 用户不可见的一个输入区域,提交表单时携带一些额外的附加验证数据 --> <input type="hidden" name="tag" value="123"><br> 姓名:<input type="text" value="hello" m 阅读全文

posted @ 2024-05-01 07:15 Yancy00 阅读(17) 评论(0) 推荐(0)

表单-向指定网页发送搜索请求

摘要: 向百度发起一个搜索的请求并获得请求结果: <!-- 表单是网页中的一个交互区域,用于收集数据 --> <!-- action 把表单交给哪个网页去搜索 --> <form action="https://www.baidu.com/s"> <input type="text" name="wd"> 阅读全文

posted @ 2024-05-01 06:35 Yancy00 阅读(20) 评论(0) 推荐(0)

表格-合并表格边框

摘要: table{ text-align: center; border-collapse: collapse; /*合并相邻边框 */ } 阅读全文

posted @ 2024-05-01 05:31 Yancy00 阅读(19) 评论(0) 推荐(0)

2023年10月14日

css-图片和文字小模块

摘要: <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文

posted @ 2023-10-14 16:58 Yancy00 阅读(19) 评论(0) 推荐(0)

2023年10月9日

uniCloud-用schema创建数据库表并插入记录

摘要: 在当前项目的uniCloud-database目录上右键 "新建DB Schema" 填上要新建的表名字 table1.schema.json 在properties字段里 _id字段后面再追加字段 table1.schema.json // 文档教程: https://uniapp.dcloud. 阅读全文

posted @ 2023-10-09 19:42 Yancy00 阅读(270) 评论(0) 推荐(0)

uniCloud-用db schema在客户端访问数据库

摘要: 先下载所有db schema 在前端代码中直接访问数据库表拿数据 index.vue <template> <view class="content"> <view v-for="item in dataList" :key="item._id"> {{item.name}} {{item.gend 阅读全文

posted @ 2023-10-09 19:04 Yancy00 阅读(73) 评论(0) 推荐(0)

uniCloud-云对象基本用法

摘要: 在项目的uniCloud cloudfunctions文件夹上右键,新建云函数/云对象 单选框选择"云对象", 命名,创建 云对象代码 const db = uniCloud.database() module.exports = { _before: function() {}, // 定义云对象 阅读全文

posted @ 2023-10-09 16:33 Yancy00 阅读(224) 评论(0) 推荐(0)

2023年10月4日

flex-basis主轴基准线

摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style> html, body { margin: 0; padding: 0; } .outer { width: calc(100vw - 200px) 阅读全文

posted @ 2023-10-04 14:29 Yancy00 阅读(18) 评论(0) 推荐(0)

2023年10月1日

css-移动端居中一行均分排列

摘要: <template> <view class="test2"> <view class="upload-group"> <view v-if="imagesUrl" class="box img" v-for="(item,idx) in imagesUrl"> <view class="box-c 阅读全文

posted @ 2023-10-01 08:59 Yancy00 阅读(30) 评论(0) 推荐(0)

下一页
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3