当前位置: 首页 > news >正文

宁波网站建设服务服务商网站开发制作公司有哪些

宁波网站建设服务服务商,网站开发制作公司有哪些,百度网盘网址是多少,办宽带需要多少钱一月创建项目 通过vue-cli命令行创建项目 Vue3/Vite版要求 node 版本^14.18.0 || 16.0.0 uni-app官网 (dcloud.net.cn) npx degit dcloudio/uni-preset-vue#vite my-vue3-project打开项目 点击顶部菜单栏终端/新建终端 执行安装依赖指令 yarn install 或 npm install 安装vant…创建项目 通过vue-cli命令行创建项目 Vue3/Vite版要求 node 版本^14.18.0 || 16.0.0 uni-app官网 (dcloud.net.cn) npx degit dcloudio/uni-preset-vue#vite my-vue3-project打开项目 点击顶部菜单栏终端/新建终端 执行安装依赖指令 yarn install 或 npm install 安装vant-weapp # 通过 npm 安装 npm i vant/weapp -S --production# 通过 yarn 安装 yarn add vant/weapp --production# 安装 0.x 版本 npm i vant-weapp -S --production引入vant-weapp 在 /src目录下创建 wxcomponents 目录 复制node_modules/vant/weapp/dist文件夹到wxcomponents文件夹 将dist文件夹改名为vant-weapp 通过HBuilder 创建项目 直接通过 git 下载 Vant Weapp 源代码并将 dist 目录拷贝到自己的项目中。 Vant-Weapp: Vant Weapp 是有赞移动端组件库 Vant 的小程序版本两者基于相同的视觉规范提供一致的 API 接口助力开发者快速搭建小程序应用 (gitee.com) git clone https://api.gitee.com/mirrors/Vant-Weapp.git 在 /src目录下创建 wxcomponents 目录 复制Vant-Weapp/dist文件夹到wxcomponents文件夹 将dist文件夹改名为vant-weapp 在App.vue引入vant样式 script export default {onLaunch: function () {console.log(App Launch)},onShow: function () {console.log(App Show)},onHide: function () {console.log(App Hide)}, } /scriptstyle langscss/* 注意要写在第一行同时给style标签加入langscss属性 */import uview-plus/index.scss;import /static/styles/index.scss;import /wxcomponents/vant-weapp/common/index.wxss //引入vant样式 /style 在pages.json引入 局部引入 注意你在单个页面引入了button组件其他的页面没有引入其他页面就使用不了其他页面想要使用就得在单个页面style对象{}中引入) {path: pages/home/index,style: {navigationBarTitleText: 首页,usingComponents: {van-button: /wxcomponents/vant-weapp/button/index}} } 全局引入 globalStyle: {navigationBarTextStyle: black,navigationBarTitleText: uniapp,navigationBarBackgroundColor: #F8F8F8,backgroundColor: #F8F8F8,usingComponents: {van-button: /wxcomponents/vant-weapp/button/index} } 页面使用 templateview classcontent!-- uview-plus V3 --viewviewuview-plus组件/viewu-button typeprimary text确定/u-buttonu-button typeprimary plain text镂空/u-buttonu-button typeprimary plain hairline text细边/u-button/viewview styleheight: 100rpx;display: flex;align-items: center;justify-content: center;--------------------------------------------------------/view!-- Vant Weapp --viewviewVant Weapp组件/viewvan-button block typedefault默认按钮/van-buttonvan-button block typeprimary主要按钮/van-buttonvan-button block typeinfo信息按钮/van-buttonvan-button block typewarning警告按钮/van-buttonvan-button block typedanger危险按钮/van-button/view/view /templatescript setup import { onReady, onShow, onLoad } from dcloudio/uni-app /scriptstyle langscss/style常见的坑 这个时候控制台会报错 注意 把小程序详情本地设置将js编译成es5不然会飘红 重新启动项目即可 最后效果
http://www.dnsts.com.cn/news/230888.html

相关文章:

  • 自己有网站源码就可以建设吗网站建设策划基本流程图
  • 兰州建设厅评职称网站论坛网站建设规划书
  • 最专业企业营销型网站建设学校网站建设注意点
  • fusion做电影网站卡死买衣服app排行榜前十名
  • vi设计整套seo博客写作
  • 怎么创建自己的网站平台appwordpress评论框美化
  • 红色礼品网站模板做网站有哪些好公司
  • 云建站自动建站系统源码云seo
  • 建网站要多长时间福田瑞沃自卸车
  • 一起做陶艺搬上网站电商运营能干一辈子吗
  • 湖南长沙设计公司辽宁seo
  • 网站建设三层架构实训报告有服务器还需要买网站空间吗
  • 熊掌号做网站推广的注意事项wordpress分类排序号
  • 什么网站可以做设计wordpress js版本
  • 圣融网站建设世界工厂网怎么样
  • Seo自己做网站分销网络设计案例
  • 淄博网站的优化如何用word做网站地图
  • 搞笑网站建设目的和意义建筑行业网站模板
  • 在自己的网站上怎么做淘宝客wordpress 排序
  • 丰台网站建设公司电话wordpress gill sans
  • 网站开发用到的框架宁波三优互动网站建设公司怎么样
  • php网站开发零基础教程腾讯网微信公众平台
  • 怎样建设自己的视频网站网站备案流程教程
  • 网站建设的项目总结交友征婚婚恋网站系统php+mysql.rar
  • 网站建设专业性的评估个人网站可以做电商吗
  • 网站服务建设公司免费个人网站建站申请一下
  • 怎么在百度知道做公司网站网站开发与服务器交互
  • 服务器2003系统如何建设网站做网站的科技公司
  • 青岛建设集团招聘信息网站网站 配色方案
  • 怎样上传图片到自己公司网站备案的网站名称写什么