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

网站在公安局备案软文推广去哪个平台好

网站在公安局备案,软文推广去哪个平台好,javaee做的是网站吗,深圳网站设计网站制作依然是基于微博语法开发&#xff0c;使用时请注意标签替换 优化了滑动的效果&#xff0c;默认的索引&#xff0c;滑动距离等&#xff0c; 使用方式和以前一样没变&#xff0c;主要修改了组件内部 <template><wbx-view class"" style"width: 100vw;heig…

依然是基于微博语法开发,使用时请注意标签替换

优化了滑动的效果,默认的索引,滑动距离等,

使用方式和以前一样没变,主要修改了组件内部

<template><wbx-view class="" style="width: 100vw;height: 70vh;"><wbx-view style="margin-top: 100px; margin-left: 100px;margin-bottom: 20px;"><WBXswiper  @change="gaibian" :vertical="false"  :current="5" indicatorActiveColor="#fff" indicatorColor="#c0c0c0" :originalData="items"   style="width: 200px;height: 200px;border-radius: 20px;"><template slot="swiperItem" slot-scope="scope"><wbx-image :src="scope.item.src" mode="scaleToFill" style="width:200px; height: 200px;" /></template></WBXswiper></wbx-view></wbx-view>
</template><script>
/*** @type WBXAppOption*/
import WBXswiper from "../../commpents/WBXswiper/index.vue";
const pageOptions = {data() {return {items: [{src: 'res/001.jpg',txt:222222},{src: 'res/001.jpg',txt:222222},{src: 'res/001.jpg',txt:222222},{src: 'res/001.jpg',txt:222222},{src: 'res/001.jpg',txt:222222}],current:0}},computed:{},methods: {gaibian(e){},add(index){this.current=index}},components: {WBXswiper,},wbox: {onLoad() { },onShow() {// 页面显示/切入前台时触发},onHide() {// 页面隐藏时触发},onUnload() {// 页面退出时触发},},mounted() { },
};
export default pageOptions;
</script><style></style>

已下是组件内部

<template><wbx-viewref="objStyle":style="wrapperStyle"@touchstart="onTouchStart"@touchmove="onTouchMove"@touchend="onTouchEnd"><wbx-viewclass="carousel-wrapper":style="carouselStyle"@transitionend="onTransitionEnd"ref="carouselWrapper"><wbx-view :style="itemStyle"><slot name="swiperItem" :item="originalData[originalData.length - 1]"></slot></wbx-view><wbx-view v-for="(item, index) in originalData" :key="index" :style="itemStyle"><slot name="swiperItem" :item="item"></slot></wbx-view><wbx-view :style="itemStyle"><slot name="swiperItem" :item="originalData[0]"></slot></wbx-view></wbx-view><wbx-view v-if="indicatorDots" :style="{ width: containerWidth + 'px' }" style="position: absolute; bottom: 10px; display: flex; flex-direction: row; justify-content: center;"><wbx-viewv-for="(item, index) in originalData":key="index":style="{ backgroundColor: index === realIndex ? indicatorActiveColor : indicatorColor }"style="width: 10px; height: 10px; margin: 0 5px; cursor: pointer; border-radius: 10px;"@click~stop="setCurrentIndex(index)"></wbx-view></wbx-view></wbx-view></template><script>/*originalData          数据autoPlay              是否自动播放interval              自动播放间隔时间indicatorDots         是否显示指示点indicatorColor        指示点颜色indicatorActiveColor  当前选中的指示点颜色current               当前所在滑块的indexvertical              滑动方向是否为纵向@change               轮播图改变时会触发 change 事件,返回当前索引值*/export default {props: {originalData: {type: Array,required: true},autoPlay: {type: Boolean,default: false},interval: {type: Number,default: 3000},indicatorDots: {type: Boolean,default: true},indicatorColor: {type: String,default: '#c0c0c0'},indicatorActiveColor: {type: String,default: '#fff'},current: {type: String,default: ''},vertical: {type: Boolean,default: false}},data() {return {currentIndex: 1,timer: null,startX: 0,startY: 0,offset: 0,isTransitioning: false,containerWidth: 0,containerHeight: 0,userCurrent:false,userCurrentStare:false,};},watch: {current: {handler(newVal) {this.userCurrent=truethis.setCurrentIndex(newVal);},immediate: true}},computed: {wrapperStyle() {return {position: "relative",width: `${this.wrapperWidth}px`,height: `${this.wrapperHeight}px`,};},carouselStyle() {const baseTranslateValue = -this.currentIndex * (this.vertical ? this.containerHeight : this.containerWidth);const translateValue = baseTranslateValue + this.offset;return {display: 'flex',flexDirection: this.vertical ? 'column' : 'row',transform: this.vertical ? `translateY(${translateValue}px)` : `translateX(${translateValue}px)`,transition: this.isTransitioning ? 'transform 0.3s ease-out' : 'none',width: !this.vertical ? `${this.wrapperWidth}px` : `${this.containerWidth}px`,height: this.vertical ? `${this.wrapperHeight}px` : `${this.containerWidth}px`};},wrapperWidth() {return this.containerWidth * (this.originalData.length + 2);},wrapperHeight() {return this.containerHeight * (this.originalData.length + 2);},itemStyle() {return {width: !this.vertical ? `${this.containerWidth}px` : `${this.containerWidth}px`,height: this.vertical ? `${this.containerHeight}px` : `${this.containerWidth}px`,flexShrink: 0};},realIndex() {return (this.currentIndex - 1 + this.originalData.length) % this.originalData.length;}},mounted() {this.updateDimensions();this.$nextTick(() => {if (this.autoPlay) {this.startAutoPlay();}});},beforeDestroy() {this.stopAutoPlay();},methods: {updateDimensions() {if (this.$refs.objStyle) {const objStyle =  this.$refs.objStyle.styleObjectthis.containerWidth = parseFloat(objStyle.width);this.containerHeight = parseFloat(objStyle.height);}},startAutoPlay() {this.timer = setInterval(() => {this.next();}, this.interval);},stopAutoPlay() {if (this.timer) {clearInterval(this.timer);this.timer = null;}},next() {this.offset = 0;this.isTransitioning = true;this.currentIndex += 1;this.$emit('change', { current: this.currentIndex });},prev() {this.offset = 0;this.isTransitioning = true;this.currentIndex -= 1;this.$emit('change', { current: this.currentIndex });},setCurrentIndex(index) {this.stopAutoPlay();if (this.current !== '') {// 传值情况this.userCurrentStare = this.userCurrent ? true : !this.userCurrentStare;} else {// 不传值情况this.userCurrentStare = index !== '';}this.currentIndex = index + 1;if (this.autoPlay) {this.startAutoPlay();}},onTouchStart(e) {this.startX = e.touches[0].clientX;this.startY = e.touches[0].clientY;this.offset = 0;this.stopAutoPlay();},onTouchMove(e) {const moveX = e.touches[0].clientX;const moveY = e.touches[0].clientY;if(this.vertical){if(moveY - this.startY>=this.containerHeight){this.offset=this.containerHeight}else if(moveY - this.startY<= -this.containerHeight){this.offset=-this.containerHeight}else{this.offset= moveY - this.startY;}}else{if(moveX - this.startX>=this.containerWidth){this.offset=this.containerWidth}else if(moveX - this.startX<= -this.containerWidth){this.offset=-this.containerWidth}else{this.offset= moveX - this.startX;}}},onTouchEnd() {this.isTransitioning = true;if (Math.abs(this.offset) > (this.vertical ? this.containerHeight : this.containerWidth) /6) {if (this.offset > 0) {this.prev();} else {this.next();}} else {this.offset = 0;}if (this.autoPlay) {this.startAutoPlay();}},onTransitionEnd() {this.isTransitioning = false;this.offset = 0;if (this.currentIndex === this.originalData.length + 1) {this.currentIndex = 1;}if (this.currentIndex === 0) {this.currentIndex = this.originalData.length;}}}};</script><style></style>

文章转载自:
http://dinncosarcoplasma.zfyr.cn
http://dinncosiren.zfyr.cn
http://dinncolifeful.zfyr.cn
http://dinncointernecine.zfyr.cn
http://dinnconodularity.zfyr.cn
http://dinncodoorstep.zfyr.cn
http://dinncoautograph.zfyr.cn
http://dinncosampling.zfyr.cn
http://dinncogenocidist.zfyr.cn
http://dinncoembolismic.zfyr.cn
http://dinnconecessitous.zfyr.cn
http://dinncovidelicet.zfyr.cn
http://dinncotempering.zfyr.cn
http://dinncocytophysiology.zfyr.cn
http://dinncoheraldist.zfyr.cn
http://dinncominiscule.zfyr.cn
http://dinncohistopathologic.zfyr.cn
http://dinncoprearrangement.zfyr.cn
http://dinncosatem.zfyr.cn
http://dinncomyopia.zfyr.cn
http://dinncomsce.zfyr.cn
http://dinncoreferent.zfyr.cn
http://dinnconitrogenize.zfyr.cn
http://dinncograsshopper.zfyr.cn
http://dinncotitograd.zfyr.cn
http://dinncominiate.zfyr.cn
http://dinncogoldarned.zfyr.cn
http://dinncosemivolcanic.zfyr.cn
http://dinncoearmark.zfyr.cn
http://dinncoapheresis.zfyr.cn
http://dinncointersatellite.zfyr.cn
http://dinncoextraviolet.zfyr.cn
http://dinncoornamentalist.zfyr.cn
http://dinncochemoreceptor.zfyr.cn
http://dinncoaachen.zfyr.cn
http://dinncoexceptant.zfyr.cn
http://dinncocowcatcher.zfyr.cn
http://dinncodataroute.zfyr.cn
http://dinncokev.zfyr.cn
http://dinncoscapulary.zfyr.cn
http://dinncojook.zfyr.cn
http://dinncoare.zfyr.cn
http://dinncosmolt.zfyr.cn
http://dinncophilobiblic.zfyr.cn
http://dinncogarbiologist.zfyr.cn
http://dinnconongovernmental.zfyr.cn
http://dinncogalactin.zfyr.cn
http://dinncomisdemean.zfyr.cn
http://dinncoolecranon.zfyr.cn
http://dinncoremissness.zfyr.cn
http://dinncolapidate.zfyr.cn
http://dinncosubsequential.zfyr.cn
http://dinncoironbound.zfyr.cn
http://dinncoturkish.zfyr.cn
http://dinncosplenectomy.zfyr.cn
http://dinncobaboonery.zfyr.cn
http://dinncoperiscopical.zfyr.cn
http://dinncoconfide.zfyr.cn
http://dinncointegrable.zfyr.cn
http://dinncohepatatrophia.zfyr.cn
http://dinncomodestly.zfyr.cn
http://dinncominuteness.zfyr.cn
http://dinncoesprit.zfyr.cn
http://dinnconummular.zfyr.cn
http://dinncoproceeding.zfyr.cn
http://dinncoantipodal.zfyr.cn
http://dinncosummerly.zfyr.cn
http://dinncorectangular.zfyr.cn
http://dinncoleukemogenic.zfyr.cn
http://dinncocloyless.zfyr.cn
http://dinncolonghand.zfyr.cn
http://dinncologie.zfyr.cn
http://dinncoataunt.zfyr.cn
http://dinncopostcard.zfyr.cn
http://dinncoremotivate.zfyr.cn
http://dinncooctonal.zfyr.cn
http://dinncobrinjaul.zfyr.cn
http://dinncoshrillness.zfyr.cn
http://dinncotokugawa.zfyr.cn
http://dinncoprobabilism.zfyr.cn
http://dinncoxeroform.zfyr.cn
http://dinncohomoousian.zfyr.cn
http://dinncobene.zfyr.cn
http://dinncoslanderer.zfyr.cn
http://dinncobaucis.zfyr.cn
http://dinnconcna.zfyr.cn
http://dinncolimaceous.zfyr.cn
http://dinncophidias.zfyr.cn
http://dinncoegilops.zfyr.cn
http://dinncoshirttail.zfyr.cn
http://dinncoek.zfyr.cn
http://dinncomanchette.zfyr.cn
http://dinncomarital.zfyr.cn
http://dinncosuffocative.zfyr.cn
http://dinncononprotein.zfyr.cn
http://dinncobuitenzorg.zfyr.cn
http://dinncogarote.zfyr.cn
http://dinncodenaturize.zfyr.cn
http://dinncocarrack.zfyr.cn
http://dinncocart.zfyr.cn
http://www.dinnco.com/news/152858.html

相关文章:

  • 温州建设小学 网站首页网络营销的作用和意义
  • 网站备案名称的影响吗广州seo推广
  • seo查询爱站策划公司是做什么的
  • 做外贸用什么网站比较好百度seo推广软件
  • 小程序建站网站seo外包顾问
  • 网站和网页建设题目互联网外包公司有哪些
  • 海南网站建站网络营销的基本流程
  • 合肥专业网站制seo搜索引擎优化是什么意思
  • 网站浏览器兼容问题北京百度seo排名点击器
  • 全国建设交易信息网站资源网
  • 瑞安做网站公司行业关键词一览表
  • hbuilder 怎么做企业网站汕尾网站seo
  • 深圳做手机商城网站市场营销推广方案怎么做
  • 网站建设与管理期末总结十大接单平台
  • 网站内页做排名杭州网站推广与优化
  • 想做个网站找谁做企业网站营销的实现方式
  • 网站开发的工作对象网络营销发展方案策划书
  • 平凉崆峒建设局网站艾瑞指数
  • 仕德伟做的网站图片怎么修亚马逊关键词工具哪个最准
  • 物流网站建设摘要独立站建站平台
  • 德邦公司网站建设特点济南seo网站优化公司
  • 做网站的框架组合线上职业技能培训平台
  • 智能科技网站模板下载黄山seo公司
  • 图片 网站源码免费的推广引流软件下载
  • 外国网站在内地做seoseo外包一共多少钱
  • 什么网站可以做直播今天晚上19点新闻联播直播回放
  • 域名停靠黄页盘他app大全下载seo搜索优化是什么呢
  • 网站开发合同纠纷建网站的公司排名
  • 做网站要注意哪些方面百度一下你就知道
  • 网站备案流程以及所需资料哪些网站可以免费发广告