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

下载的网站模板怎么用外贸营销员

下载的网站模板怎么用,外贸营销员,分销商城网站开发,免费手机网站1. 自动生成骨架屏代码 在微信开发者工具中#xff0c;预览界面点击生成骨架屏 确定后#xff0c;会自动打开骨架屏代码文件 pages\index\index.skeleton.wxml 2. 将骨架屏代码转换为vue文件 在项目中新建文件 src\pages\index\components\skeleton.vue 将pages\index\index… 1. 自动生成骨架屏代码 在微信开发者工具中预览界面点击生成骨架屏 确定后会自动打开骨架屏代码文件 pages\index\index.skeleton.wxml 2. 将骨架屏代码转换为vue文件 在项目中新建文件 src\pages\index\components\skeleton.vue 将pages\index\index.skeleton.wxml中的代码复制到 skeleton.vue 中 删除所有的注释和无接口访问的部分如顶部的导航栏如下图所示通过 is 属性可以轻松辨别出各个组件对应的骨架屏代码。 scroll-view 标签也删除只留接口更新内容的静态骨架屏代码在skeleton.vue的 template 标签外新建 style 标签将微信开发者工具生成的骨架屏相关的css代码 pages\index\index.skeleton.wxss中复制到项目文件 skeleton.vue的 style 标签中删除所有的注释 最终范例代码如下 src\pages\index\components\skeleton.vue template nameskeletonview iscomponents/SUI_Swiperview classcarousel Swiper--carouselswiper interval3000 circulartrue current0 autoplayfalseswiper-itemstyleposition: absolute;width: 100%;height: 100%;transform: translate(0%, 0px) translateZ(0px);navigator classnavigator Swiper--navigator hover-classnone open-typenavigateimage classimage Swiper--image sk-image modeaspectFill/image/navigator/swiper-item/swiperview classindicator Swiper--indicatortext classdot Swiper--dot active Swiper--active/texttext classdot Swiper--dot/texttext classdot Swiper--dot/texttext classdot Swiper--dot/texttext classdot Swiper--dot/text/view/view/viewview ispages/index/components/CategoryPanelview classcategory CategoryPanel--categorynavigator classcategory-item CategoryPanel--category-item hover-classnoneimage classicon CategoryPanel--icon sk-image/imagetext classtext CategoryPanel--text sk-transparent sk-text-14-2857-543 sk-text居家/text/navigatornavigator classcategory-item CategoryPanel--category-item hover-classnoneimage classicon CategoryPanel--icon sk-image/imagetext classtext CategoryPanel--text sk-transparent sk-text-14-2857-231 sk-text锦鲤/text/navigatornavigator classcategory-item CategoryPanel--category-item hover-classnoneimage classicon CategoryPanel--icon sk-image/imagetext classtext CategoryPanel--text sk-transparent sk-text-14-2857-820 sk-text服饰/text/navigatornavigator classcategory-item CategoryPanel--category-item hover-classnoneimage classicon CategoryPanel--icon sk-image/imagetext classtext CategoryPanel--text sk-transparent sk-text-14-2857-396 sk-text母婴/text/navigatornavigator classcategory-item CategoryPanel--category-item hover-classnoneimage classicon CategoryPanel--icon sk-image/imagetext classtext CategoryPanel--text sk-transparent sk-text-14-2857-960 sk-text个护/text/navigatornavigator classcategory-item CategoryPanel--category-item hover-classnoneimage classicon CategoryPanel--icon sk-image/imagetext classtext CategoryPanel--text sk-transparent sk-text-14-2857-548 sk-text严选/text/navigatornavigator classcategory-item CategoryPanel--category-item hover-classnoneimage classicon CategoryPanel--icon sk-image/imagetext classtext CategoryPanel--text sk-transparent sk-text-14-2857-816 sk-text数码/text/navigatornavigator classcategory-item CategoryPanel--category-item hover-classnoneimage classicon CategoryPanel--icon sk-image/imagetext classtext CategoryPanel--text sk-transparent sk-text-14-2857-7 sk-text运动/text/navigatornavigator classcategory-item CategoryPanel--category-item hover-classnoneimage classicon CategoryPanel--icon sk-image/imagetext classtext CategoryPanel--text sk-transparent sk-text-14-2857-68 sk-text杂项/text/navigatornavigator classcategory-item CategoryPanel--category-item hover-classnoneimage classicon CategoryPanel--icon sk-image/imagetext classtext CategoryPanel--text sk-transparent sk-text-14-2857-539 sk-text品牌/text/navigator/view/viewview iscomponents/SUI_Guess classrview classcaption Guess--captiontextclasstext Guess--text sk-transparent sk-text-0-0000-556 sk-text sk-pseudo sk-pseudo-circle猜你喜欢/text/viewview classguess Guess--guessnavigator classguess-item Guess--guess-itemimage classimage Guess--image sk-image modeaspectFill/imageview classname Guess--name sk-transparent sk-text-14-2857-479 sk-text极光限定 珠光蓝珐琅锅/view/navigatornavigator classguess-item Guess--guess-itemimage classimage Guess--image sk-image modeaspectFill/imageview classname Guess--name sk-transparent sk-text-14-2857-647 sk-text法式清新长袖格纹连衣裙/衬衫110-160cm/view/navigator/view/view /templatestyle .sk-transparent {color: transparent !important; } .sk-text-14-2857-484 {background-image: linear-gradient(transparent 14.2857%,#eeeeee 0%,#eeeeee 85.7143%,transparent 0%) !important;background-size: 100% 43.1159rpx;position: relative !important; } .sk-text {background-origin: content-box !important;background-clip: content-box !important;background-color: transparent !important;color: transparent !important;background-repeat: repeat-y !important; } .sk-text-3-3333-275 {background-image: linear-gradient(transparent 3.3333%,#eeeeee 0%,#eeeeee 96.6667%,transparent 0%) !important;background-size: 100% 27.1739rpx;position: relative !important; } .sk-text-14-2857-543 {background-image: linear-gradient(transparent 14.2857%,#eeeeee 0%,#eeeeee 85.7143%,transparent 0%) !important;background-size: 100% 35.5072rpx;position: relative !important; } .sk-text-14-2857-231 {background-image: linear-gradient(transparent 14.2857%,#eeeeee 0%,#eeeeee 85.7143%,transparent 0%) !important;background-size: 100% 35.5072rpx;position: relative !important; } .sk-text-14-2857-820 {background-image: linear-gradient(transparent 14.2857%,#eeeeee 0%,#eeeeee 85.7143%,transparent 0%) !important;background-size: 100% 35.5072rpx;position: relative !important; } .sk-text-14-2857-396 {background-image: linear-gradient(transparent 14.2857%,#eeeeee 0%,#eeeeee 85.7143%,transparent 0%) !important;background-size: 100% 35.5072rpx;position: relative !important; } .sk-text-14-2857-960 {background-image: linear-gradient(transparent 14.2857%,#eeeeee 0%,#eeeeee 85.7143%,transparent 0%) !important;background-size: 100% 35.5072rpx;position: relative !important; } .sk-text-14-2857-548 {background-image: linear-gradient(transparent 14.2857%,#eeeeee 0%,#eeeeee 85.7143%,transparent 0%) !important;background-size: 100% 35.5072rpx;position: relative !important; } .sk-text-14-2857-816 {background-image: linear-gradient(transparent 14.2857%,#eeeeee 0%,#eeeeee 85.7143%,transparent 0%) !important;background-size: 100% 35.5072rpx;position: relative !important; } .sk-text-14-2857-7 {background-image: linear-gradient(transparent 14.2857%,#eeeeee 0%,#eeeeee 85.7143%,transparent 0%) !important;background-size: 100% 35.5072rpx;position: relative !important; } .sk-text-14-2857-68 {background-image: linear-gradient(transparent 14.2857%,#eeeeee 0%,#eeeeee 85.7143%,transparent 0%) !important;background-size: 100% 35.5072rpx;position: relative !important; } .sk-text-14-2857-539 {background-image: linear-gradient(transparent 14.2857%,#eeeeee 0%,#eeeeee 85.7143%,transparent 0%) !important;background-size: 100% 35.5072rpx;position: relative !important; } .sk-text-0-0000-556 {background-image: linear-gradient(transparent 0%,#eeeeee 0%,#eeeeee 100%,transparent 0%) !important;background-size: 100% 30.7971rpx;position: relative !important; } .sk-text-14-2857-479 {background-image: linear-gradient(transparent 14.2857%,#eeeeee 0%,#eeeeee 85.7143%,transparent 0%) !important;background-size: 100% 35.5072rpx;position: relative !important; } .sk-text-14-2857-647 {background-image: linear-gradient(transparent 14.2857%,#eeeeee 0%,#eeeeee 85.7143%,transparent 0%) !important;background-size: 100% 35.5072rpx;position: relative !important; } .sk-image {background: #efefef !important; } .sk-pseudo::before, .sk-pseudo::after {background: #efefef !important;background-image: none !important;color: transparent !important;border-color: transparent !important; } .sk-pseudo-rect::before, .sk-pseudo-rect::after {border-radius: 0 !important; } .sk-pseudo-circle::before, .sk-pseudo-circle::after {border-radius: 50% !important; } .sk-container {position: absolute;left: 0;top: 0;width: 100%;height: 100%;overflow: hidden;background-color: transparent; } /style3. 导入并使用骨架屏vue文件 src\pages\index\index.vue import Skeleton from ./components/skeleton.vue// 默认显示骨架屏 const loading ref(true) onLoad(async () {// 加载数据--所有接口同时开始刷新直到耗时最长的接口返回数据await Promise.all([getSwiperInfo(), getCategoryInfo()])// 加载数据成功后隐藏骨架屏显示数据loading.value false })
http://www.zqtcl.cn/news/112457/

相关文章:

  • 国外建站主机帝国手机网站cms系统
  • 响应式网站建设哪家好网站空间支付方式
  • 腾讯广告建站工具贵州企业网站建设价格
  • 最新的网站建设架构wordpress管理员头像
  • 手机网站模版化工网站建设公司
  • 网站建设 会计分录北京网站建设主页
  • 北京市建设监理协会网站网站一般多少钱
  • 做网站零成本网站如何做成app
  • 建小网站多少钱深圳网站备案注销
  • 海淘网站是谁做的为该网站做自适应
  • php网站开发自学如何做x响应式网站
  • 吴忠网站建设公司随州网站建设优化推广渠道
  • dedecms 招聘网站网站建设市场调研报告
  • 建小网站多少钱做会计网站的流程
  • 为一个村做网站优秀文创产品设计案例及分析
  • 山东专业网站建设公司哪家好网站开发的薪资是多少
  • 无极在线网站播放烟台注册公司
  • 网站源文件修改科技网站欣赏
  • 关于h5的网站目录 首页 wordpress
  • 包头网站建设推广手机网站开发介绍
  • 网站推广设计用那种语言做网站比较好
  • 手机品牌网站如何做好网站内更新
  • 订餐网站模板下载毕业设计动漫网页设计
  • 网站阵地建设管理办法移动端网页界面设计
  • 网站和做游戏重庆市建设工程信息网安全监督特种人员
  • 沈阳网站建设活动方案部分网站打不开的原因
  • 网站维护界面设计做的网站一直刷新
  • 国外网站 国内访问速度土木工程毕业设计网站
  • 宿迁网站建设制作中国广告设计网
  • 上门做美容的有什么网站微信网页版本