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

摄影师做展示的网站外贸平台有哪些能直接联系老板的

摄影师做展示的网站,外贸平台有哪些能直接联系老板的,中文wordpress网站模板下载,国内知名企业网站设计 我准备用 .NET Maui 实现一个非常有意思的 前往太空 的程序。第一步#xff0c;需要图片素材#xff0c;我使用了 Aan Ragil 的一组非常棒的 Dribbble 素材图片。当然#xff0c;你也可以在最下面的链接进行下载。实现 这个应用程序的完整源代码可以在 G…   设计  我准备用 .NET Maui 实现一个非常有意思的 前往太空 的程序。第一步需要图片素材我使用了 Aan Ragil 的一组非常棒的 Dribbble 素材图片。当然你也可以在最下面的链接进行下载。  实现  这个应用程序的完整源代码可以在 Github 上访问并下载。我们总共需要做三个页面。  初始化项目  我创建了一个空的 .NET Maui 程序。然后我禁用了每个页面上的导航栏然后设置了背景颜色主要是修改了 App.xaml 文件。!-- Content Page Style -- Style TargetTypeContentPage ApplyToDerivedTypesTrueSetter PropertyNavigationPage.HasNavigationBar ValueFalse /Setter PropertyBackgroundColor Value{StaticResource PageBackgroundColor} /Setter PropertyPadding Value0/ /Style!-- Navigation Page -- Style TargetTypeNavigationPage ApplyToDerivedTypesTrueSetter PropertyBackgroundColor Value{StaticResource PageBackgroundColor} / /Style对于安卓设备 使用 Android LifeCycle 事件让状态栏变为半透明。builder.UseMauiAppApp().ConfigureFonts(fonts {fonts.AddFont(Montserrat-Medium.ttf, RegularFont);fonts.AddFont(Montserrat-SemiBold.ttf, MediumFont);fonts.AddFont(Montserrat-Bold.ttf, BoldFont);}).ConfigureLifecycleEvents(events { #if ANDROIDevents.AddAndroid(android  android.OnCreate((activity, bundle)  MakeStatusBarTranslucent(activity)));static void MakeStatusBarTranslucent(Android.App.Activity activity){activity.Window.SetFlags(Android.Views.WindowManagerFlags.LayoutNoLimits, Android.Views.WindowManagerFlags.LayoutNoLimits);activity.Window.ClearFlags(Android.Views.WindowManagerFlags.TranslucentStatus);activity.Window.SetStatusBarColor(Android.Graphics.Color.Transparent);} #endif});为了让视图覆盖底部每个页面使用了 IgnoreSafeArea 属性。ContentPage Grid IgnoreSafeArea{OnPlatform AndroidFalse, iOSTrue} /Grid  /ContentPage为了简单起见我没有使用 MVVM 模式而是普通的 Maui UI 结构。创建了一个 **Planet **类来保存有关行星的信息并创建了一个 PlanetService 服务。初始页接下来是初始页面我把它分成了两部分。上部分由每个行星的单独图像组成的。我使用了 HorizontalOptions、VerticalOptions、TranslationX、TranslationY、WidthRequest 和 HeightRequest 控制每个图像的位置和大小。Image Sourceearth.png VerticalOptionsStart HorizontalOptions Center TranslationX-48 TranslationY148 WidthRequest96 HeightRequest96/下部分我没有使用 Frame 控件而是使用了更轻量的 Border 控件。Border Padding24,32 BackgroundColor{StaticResource FrameBackgroundColor} Stroke{StaticResource BorderColor} HorizontalOptionsFill VerticalOptionsEnd Margin20 Border.StrokeShapeRoundRectangle CornerRadius24/ /Border.StrokeShapeVerticalStackLayoutSpacing16LabelHorizontalOptionsCenterHorizontalTextAlignmentCenterStyle{StaticResource IntroPageHeaderStyle}TextHello!/LabelHorizontalOptionsCenterHorizontalTextAlignmentCenterLineBreakModeWordWrapStyle{StaticResource IntroPageTextStyle}TextWant to know and explain all things about the planets in the Milky Way galaxy?/ButtonStyle{StaticResource ButtonStyle}TextExplore NowHorizontalOptionsCenterMargin0,12,0,6ClickedExploreNow_Clicked//VerticalStackLayout/Border看一下第一个页面的效果。看起来还不错吧我们还可以设置淡入的效果加一些动画。protected override async void OnAppearing(){base.OnAppearing();if (this.AnimationIsRunning(TransitionAnimation))return;var parentAnimation  new Animation();//Planets AnimationparentAnimation.Add(0, 0.2, new Animation(v  imgMercury.Opacity  v, 0, 1, Easing.CubicIn));parentAnimation.Add(0.1, 0.3, new Animation(v  imgVenus.Opacity  v, 0, 1, Easing.CubicIn));parentAnimation.Add(0.2, 0.4, new Animation(v  imgEarth.Opacity  v, 0, 1, Easing.CubicIn));parentAnimation.Add(0.3, 0.5, new Animation(v  imgMars.Opacity  v, 0, 1, Easing.CubicIn));parentAnimation.Add(0.4, 0.6, new Animation(v  imgJupiter.Opacity  v, 0, 1, Easing.CubicIn));parentAnimation.Add(0.5, 0.7, new Animation(v  imgSaturn.Opacity  v, 0, 1, Easing.CubicIn));parentAnimation.Add(0.6, 0.8, new Animation(v  imgNeptune.Opacity  v, 0, 1, Easing.CubicIn));parentAnimation.Add(0.7, 0.9, new Animation(v  imgUranus.Opacity  v, 0, 1, Easing.CubicIn));//Intro Box AnimationparentAnimation.Add(0.7, 1, new Animation(v  frmIntro.Opacity  v, 0, 1, Easing.CubicIn));//Commit the animationparentAnimation.Commit(this, TransitionAnimation, 16, 3000, null, null);}差不多完成了我们看一下在手机上最后的效果非常酷你可以在下面的地址找到它的源代码和素材信息。https://github.com/naweed/MauiPlanetshttps://dribbble.com/shots/15592060-Planet-Mobile-AppEND
http://www.zqtcl.cn/news/74831/

相关文章:

  • 绿色系的网站网站后台改版面
  • 宿州网站建设推广国外网站怎么做推广
  • 承德网站建设公司推广型网站开发网址
  • 电子商务网站开发案例网站备案需要那些资料
  • 如何兼职做网站电脑系统重装后没有wordpress
  • 湖州网站建设培训云南省植保植检站网址
  • wordpress回收站嘉兴品牌网站建设
  • 站点创建wordpress建企业展示
  • 优秀国外设计网站全国做网站的大公司有哪些
  • 福田的网站建设公司wordpress 4.9 漏洞
  • 自建站多少钱江阴做网站优化
  • 怎么在国外网站开发客户如何做地图的ppt模板下载网站
  • 镇江市建设招标网官方网站网络企业做网站
  • 潍坊网站建设服务跟python做网站用什么框架
  • 高唐网站wordpress上传插件
  • 哈尔滨餐饮加盟网站建设做网站价钱
  • 医程通 网站做的太wordpress计费查询
  • 建设工程质量安全监督站官方网站城市宣传网站建设方案
  • 哪家网络公司做网站家装室内设计培训班哪里
  • 商户网站唯一订单号seo服务 文库
  • 晋江网站设计wordpress上传自己写的网页
  • 大型医院设计网站建设兰州官网seo诊断
  • 企业网站托管哪家好软件后端开发
  • jsp做的网站可以用的公司变更名称和经营范围
  • 怎么做律师事务所的网站南沙网站建设公司哪家好
  • 网站域名注册商标有什么好处仓储管理系统软件排名
  • 单位 内网网站建设文安做网站
  • 网站官网认证加v怎么做兰州网站建设博客
  • 心雨在线高端网站建设创新视频网站如何做盗链
  • 桂林 门户网站福州百度网站排名优化