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

做擦边球丝袜网站淘宝客推广平台

做擦边球丝袜网站,淘宝客推广平台,跨境外贸人才网,网站psd 模板今天阐述uniapp开发中给启动图做延迟效果,不然启动图太快了,一闪就过去了; 一:修改配置文件:manifest.json "app-plus" : {"splashscreen" : {"alwaysShowBeforeRender" : false,"…

今天阐述uniapp开发中给启动图做延迟效果,不然启动图太快了,一闪就过去了;

一:修改配置文件:manifest.json

 "app-plus" : {"splashscreen" : {"alwaysShowBeforeRender" : false,"autoclose" : false,"delay" : 3000, // 设置延时时间为3000毫秒"waiting" : true},
}

二:App.vue界面做一下处理

		onLaunch() {setTimeout(() => {plus.navigator.closeSplashscreen();}, 3000);},

三:这个关闭掉
在这里插入图片描述

OK了,这样就好了,运行看看效果,完美!


启动图配置

1.下载官方给的模版,stroybord文件,然后解压!
在这里插入图片描述
2.LaunchScreen文件用Hbulider打开,并且进行适当的修改,具体的可以看里面的说明文件(redme.md)

LaunchScreen如下:

<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM"><device id="retina6_5" orientation="portrait" appearance="light"/><dependencies><deployment identifier="iOS"/><plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22685"/><capability name="Safe area layout guides" minToolsVersion="9.0"/><capability name="System colors in document resources" minToolsVersion="11.0"/><capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/></dependencies><scenes><!--View Controller--><scene sceneID="EHf-IW-A2E"><objects><viewController id="01J-lp-oVM" sceneMemberID="viewController"><view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3"><rect key="frame" x="0.0" y="0.0" width="414" height="896"/><autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/><subviews><imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="dc_launchscreen_pad_background.png" translatesAutoresizingMaskIntoConstraints="NO" id="Oly-Jg-H5o"><rect key="frame" x="0.0" y="0.0" width="1032" height="1376"/><color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/></imageView><imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="dc_launchscreen_landscape_background.png" translatesAutoresizingMaskIntoConstraints="NO" id="jN2-Td-r8h"><rect key="frame" x="0.0" y="0.0" width="812" height="375"/><color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/></imageView><imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="dc_launchscreen_portrait_background.png" translatesAutoresizingMaskIntoConstraints="NO" id="Tt8-jS-2H5"><rect key="frame" x="0.0" y="0.0" width="414" height="896"/><color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/></imageView><label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="hello uniapp" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QBH-Ne-rcx"><rect key="frame" x="168" y="835" width="78.333333333333314" height="17"/><fontDescription key="fontDescription" type="system" pointSize="14"/><color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/><nil key="highlightedColor"/></label></subviews><viewLayoutGuide key="safeArea" id="IW3-oA-Ytg"/><!-- <color key="backgroundColor" red="0.83516160100000003" green="0.88008347600000003" blue="0.88008347600000003" alpha="1" colorSpace="calibratedRGB"/> --><constraints><constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="vp6-uo-KS2" secondAttribute="trailing" id="1Cb-y2-pRQ"/><constraint firstItem="QBH-Ne-rcx" firstAttribute="bottom" secondItem="Ze5-6b-2t3" secondAttribute="bottom" constant="-44" id="5MD-Bb-oGe"/><constraint firstAttribute="trailing" secondItem="jN2-Td-r8h" secondAttribute="trailing" id="Bbg-68-h1T"/><constraint firstItem="Tt8-jS-2H5" firstAttribute="top" secondItem="Ze5-6b-2t3" secondAttribute="top" id="FH7-NM-QY8"/><constraint firstItem="vp6-uo-KS2" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="GM5-vc-qeO"/><constraint firstItem="jN2-Td-r8h" firstAttribute="leading" secondItem="Ze5-6b-2t3" secondAttribute="leading" id="J9z-eJ-GkK"/><constraint firstItem="vp6-uo-KS2" firstAttribute="top" relation="greaterThanOrEqual" secondItem="Ze5-6b-2t3" secondAttribute="top" constant="10" id="M4i-XX-uO2"/><constraint firstItem="jN2-Td-r8h" firstAttribute="top" secondItem="Ze5-6b-2t3" secondAttribute="top" id="QFR-Dp-WZN"/><constraint firstAttribute="trailing" secondItem="Tt8-jS-2H5" secondAttribute="trailing" id="QGW-bk-xBw"/><constraint firstItem="vp6-uo-KS2" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="centerY" id="Qji-wc-LLD"/><constraint firstAttribute="bottom" secondItem="Oly-Jg-H5o" secondAttribute="bottom" id="RrE-yv-HsN"/><constraint firstItem="Oly-Jg-H5o" firstAttribute="top" secondItem="Ze5-6b-2t3" secondAttribute="top" id="VcW-dk-n8h"/><constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="vp6-uo-KS2" secondAttribute="bottom" constant="10" id="dGX-JM-hiU"/><constraint firstItem="Oly-Jg-H5o" firstAttribute="leading" secondItem="Ze5-6b-2t3" secondAttribute="leading" id="fa7-4C-n5e"/><constraint firstItem="Tt8-jS-2H5" firstAttribute="leading" secondItem="Ze5-6b-2t3" secondAttribute="leading" id="fnt-hE-VMi"/><constraint firstAttribute="bottom" secondItem="jN2-Td-r8h" secondAttribute="bottom" id="iIX-Hl-IOF"/><constraint firstAttribute="trailing" secondItem="Oly-Jg-H5o" secondAttribute="trailing" id="mm9-f4-toK"/><constraint firstItem="vp6-uo-KS2" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="Ze5-6b-2t3" secondAttribute="leading" id="oA2-4f-IGA"/><constraint firstItem="QBH-Ne-rcx" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="rO7-2t-bpH"/><constraint firstAttribute="bottom" secondItem="Tt8-jS-2H5" secondAttribute="bottom" id="seh-wj-zPF"/></constraints><variation key="default"><mask key="subviews"><exclude reference="Oly-Jg-H5o"/><exclude reference="jN2-Td-r8h"/><exclude reference="Tt8-jS-2H5"/></mask></variation><variation key="heightClass=compact"><mask key="subviews"><include reference="jN2-Td-r8h"/></mask></variation><variation key="heightClass=regular-widthClass=compact"><mask key="subviews"><include reference="Tt8-jS-2H5"/></mask></variation><variation key="heightClass=regular-widthClass=regular"><mask key="subviews"><include reference="Oly-Jg-H5o"/></mask></variation></view></viewController><placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/></objects><point key="canvasLocation" x="52.173913043478265" y="374.33035714285711"/></scene></scenes><resources><image name="dc_launchscreen_portrait_background.png" width="375" height="812"/><!--     <systemColor name="systemBackgroundColor"><color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/></systemColor> --></resources>
</document>

3.把启动图xxx@2x,xxx@3x直接放到项目下,不要放images文件下:
4.云打包测试,只有打包后才能看到效果;

结束!下期见~

http://www.khdw.cn/news/21459.html

相关文章:

  • 网站开发怎么学习百度云搜索引擎 百度网盘
  • 网页设计 网站郑州seo线上推广技术
  • oss怎么做网站企业宣传方式有哪些
  • alexa全球网站排名分析seo免费培训教程
  • 个人网站取什么域名好聚名网官网登录
  • 个人备案网站会影响吗网站关键字优化价格
  • 重庆做汉堡的餐饮公司网站如何在百度上做推广
  • 平面设计工资怎样超级seo外链工具
  • 做网站页面需要的资料专业代写文案的公司
  • 好用的网站建设成都百度提升优化
  • 阿里巴巴做网站客服微信销售平台
  • 南昌seo网站推广sem竞价培训
  • 做网站服务器租一年多少钱厦门百度seo
  • 流行网站设计谷歌优化培训
  • 网站更改建设方案模板百度网络优化
  • 郑州哪有做网站的老铁外链工具
  • 伊春北京网站建设中国万网域名注册服务内容
  • 湘潭做网站价格找磐石网络一流seo网站建设是什么意思
  • 论文中网站数据如何做脚注郑州seo网站管理
  • 手机可怎么样做网站江门网站定制多少钱
  • 上虞宇普电器网站建设提高百度搜索排名
  • wordpress blockquote武汉好的seo优化网
  • 系部 网站建设方案建站开发
  • 2018做网站开发一个月工资多少seo快排
  • 如何为公司建立网站企业网站如何优化
  • 网站开发任务清单网站制作app
  • 东莞b2b网站开发公司关键词seo深圳
  • 泸州北京网站建设页面优化的方法有哪些
  • 怎么给网站做第三方app网络推广运营优化
  • 专业制作证件网站最新国际军事动态