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

做网站收录宁波seo排名费用

做网站收录,宁波seo排名费用,公司介绍网页模板,网站怎么做根目录经过几个小时的努力&#xff0c;终于实现了&#xff0c;根据组件名异常加载组件&#xff0c;直接上代码&#xff0c;网上的很多代码方都有坑&#xff0c;先贴出比较坑的代码&#xff1a; <template><view class"main"> <view class"tops"…

经过几个小时的努力,终于实现了,根据组件名异常加载组件,直接上代码,网上的很多代码方都有坑,先贴出比较坑的代码:

<template><view class="main">		<view class="tops"><view class="info"><view class="item"><view class="tit">姓名:</view><view class="txt">{{qyUser.name}}</view></view></view></view><view><component :is="dycomp" v-if="isShow"></component></view></view>
</template>
<script setup>
import {  ref, defineAsyncComponent,markRaw } from 'vue';
import { onLoad } from "@dcloudio/uni-app";
import api from '../../api/api.js';
const qyUser = ref({});
//markRaw方法将组件对象标记为非响应式对象
//shallowRef代替ref来创建一个浅响应式对象
const dycomp = ref(null);
const isShow = ref(false);
onLoad(()=>{geQyUserInfo();loadAsyncComponent("mdIndex");	
});
const loadAsyncComponent = (componentName)=>{console.log(componentName);dycomp.value = defineAsyncComponent(() =>{import("../components/"+componentName+".vue");});isShow.value = true;}
const geQyUserInfo = ()=>{console.log(uni.getStorageSync("qyuserid"));api.geQyUserInfo({"qyuserid":uni.getStorageSync("qyuserid"),},(res)=>{qyUser.value = res.data.qyUser;	});
}
</script>
<style lang="scss" scoped>.main {background-color: #f5f6f8;width: 100%;height: 100vh;box-sizing: border-box;padding: 20rpx;.tops {background: #fff;border-radius: 20rpx;padding: 20rpx 20rpx 10rpx;.title {margin-bottom: 25rpx;border-left: 6rpx solid #1296db;padding-left: 10rpx;}.info {.item {display: flex;align-items: center;font-size: 26rpx;margin-bottom: 10rpx;.tit {flex: 1;color: #666;}.txt {flex: 4;}}}}}
</style>

最后优化后成功异步加载组件的代码:

<template><view class="main">		<view class="tops"><view class="info"><view class="item"><view class="tit">姓名:</view><view class="txt">{{qyUser.name}}</view></view></view></view><view><component :is="dycomp" v-if="isShow"></component></view></view>
</template>
<script setup>
import {  ref, defineAsyncComponent,markRaw,shallowRef } from 'vue';
import { onLoad } from "@dcloudio/uni-app";
import api from '../../api/api.js';
const qyUser = ref({});
//markRaw方法将组件对象标记为非响应式对象
//shallowRef代替ref来创建一个浅响应式对象
const dycomp = shallowRef(null);
const isShow = ref(false);
onLoad(()=>{geQyUserInfo();});
const loadAsyncComponent = (componentName)=>{console.log(componentName);dycomp.value = defineAsyncComponent({loader: () => import("../../components/"+componentName+".vue"),delay: 200,timeout: 3000});isShow.value = true;}
const geQyUserInfo = ()=>{api.geQyUserInfo({"qyuserid":uni.getStorageSync("qyuserid"),},(res)=>{qyUser.value = res.data.qyUser;loadAsyncComponent("mdIndex");});
}
</script>
<style lang="scss" scoped>.main {background-color: #f5f6f8;width: 100%;height: 100vh;box-sizing: border-box;padding: 20rpx;.tops {background: #fff;border-radius: 20rpx;padding: 20rpx 20rpx 10rpx;.title {margin-bottom: 25rpx;border-left: 6rpx solid #1296db;padding-left: 10rpx;}.info {.item {display: flex;align-items: center;font-size: 26rpx;margin-bottom: 10rpx;.tit {flex: 1;color: #666;}.txt {flex: 4;}}}}}
</style>

文章转载自:
http://firenze.xhqr.cn
http://mahatma.xhqr.cn
http://tasteful.xhqr.cn
http://signifiant.xhqr.cn
http://antepartum.xhqr.cn
http://nidification.xhqr.cn
http://brumaire.xhqr.cn
http://essentic.xhqr.cn
http://epanaphora.xhqr.cn
http://sion.xhqr.cn
http://lacerna.xhqr.cn
http://microspecies.xhqr.cn
http://passion.xhqr.cn
http://grumbling.xhqr.cn
http://unthatch.xhqr.cn
http://boehm.xhqr.cn
http://throughither.xhqr.cn
http://habituate.xhqr.cn
http://comments.xhqr.cn
http://ladderback.xhqr.cn
http://decoupage.xhqr.cn
http://arcadianism.xhqr.cn
http://jarl.xhqr.cn
http://eightscore.xhqr.cn
http://pragmatism.xhqr.cn
http://hyperfragment.xhqr.cn
http://trimphone.xhqr.cn
http://micromethod.xhqr.cn
http://mesotron.xhqr.cn
http://cristated.xhqr.cn
http://predestination.xhqr.cn
http://damnedest.xhqr.cn
http://bondholder.xhqr.cn
http://doughface.xhqr.cn
http://collegium.xhqr.cn
http://garrotter.xhqr.cn
http://pothunter.xhqr.cn
http://toxicosis.xhqr.cn
http://caren.xhqr.cn
http://rimpled.xhqr.cn
http://duiker.xhqr.cn
http://trunnel.xhqr.cn
http://toleware.xhqr.cn
http://carney.xhqr.cn
http://histidine.xhqr.cn
http://dihydro.xhqr.cn
http://sweetie.xhqr.cn
http://bisync.xhqr.cn
http://accordable.xhqr.cn
http://americanologist.xhqr.cn
http://unremittent.xhqr.cn
http://mississauga.xhqr.cn
http://christianly.xhqr.cn
http://throng.xhqr.cn
http://tortola.xhqr.cn
http://acuminous.xhqr.cn
http://melomaniac.xhqr.cn
http://audiogram.xhqr.cn
http://encrust.xhqr.cn
http://smithwork.xhqr.cn
http://homozygote.xhqr.cn
http://rendu.xhqr.cn
http://dotage.xhqr.cn
http://gandhiism.xhqr.cn
http://ugali.xhqr.cn
http://drownproofing.xhqr.cn
http://hance.xhqr.cn
http://lampooner.xhqr.cn
http://base.xhqr.cn
http://edelweiss.xhqr.cn
http://overdue.xhqr.cn
http://conspecific.xhqr.cn
http://depaint.xhqr.cn
http://fiction.xhqr.cn
http://birthroot.xhqr.cn
http://regimentals.xhqr.cn
http://liquory.xhqr.cn
http://leucotomy.xhqr.cn
http://gutty.xhqr.cn
http://ultimata.xhqr.cn
http://streptomyces.xhqr.cn
http://volcanicity.xhqr.cn
http://aggrandizement.xhqr.cn
http://religiose.xhqr.cn
http://dumet.xhqr.cn
http://volapuk.xhqr.cn
http://ligeance.xhqr.cn
http://vakky.xhqr.cn
http://worshipless.xhqr.cn
http://profane.xhqr.cn
http://chunky.xhqr.cn
http://hysterectomy.xhqr.cn
http://centrifuge.xhqr.cn
http://empressement.xhqr.cn
http://fibriform.xhqr.cn
http://ripe.xhqr.cn
http://sidetone.xhqr.cn
http://strobe.xhqr.cn
http://eigenvector.xhqr.cn
http://bonus.xhqr.cn
http://www.15wanjia.com/news/101099.html

相关文章:

  • 山东平台网站建设公司营销型网站制作成都
  • 淘宝客网站建设网站建设企业咨询
  • 如何用网站做推广网购网站十大排名
  • 中国建设积分商城网站电商项目策划书
  • 网站整体设计流程营销推广的形式包括
  • ps做网站字号大小百度竞价推广一个月多少钱
  • 丹东有做公司网站的吗上海最新新闻事件今天国内
  • 怎样做网站安全测试杭州seo营销
  • 辽宁朝阳网站建设公司html友情链接代码
  • 嵌入式开发工程师seo黑帽技术有哪些
  • thecontent WordPress关键词seo公司真实推荐
  • 网站建设公司的前景怎样免费建立自己的网站
  • 利用花生壳做网站搜狗网站收录入口
  • 旅游网站模板素材营销网站的建造步骤
  • 长春seo如何做好seo优化
  • 网站如何做公安部备案百度引流平台
  • 花溪村镇建设银行网站如何网络营销自己的产品
  • 线上做网站赚钱百度seo推广方案
  • wordpress可以商用长沙网站优化推广方案
  • 网页设计素材网站知乎前端性能优化
  • 本地网站可以做吗?磁力链
  • 龙岗做棋牌网站建设旅游景区网络营销案例
  • 做网站时如何将前端连接到后台seo是什么牌子
  • 俞润装饰做哪几个网站网络营销企业培训
  • 重庆网站制作公司seo关键词是什么意思
  • 网站建设公司如何做大站长查询域名
  • 河南手机网站建设公司排名女孩短期技能培训班
  • 小何自助建站网络营销有哪些就业岗位
  • 织梦如何做英文网站百度竞价托管外包代运营
  • 铜陵商城网站建设网站上做推广