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

深圳cms建站系统seo建站平台哪家好

深圳cms建站系统,seo建站平台哪家好,上海公司注册地址,网络服务商是啥采用 uniapp 实现的一款步进指示器组件,展示业务步骤进度等内容,对外提供“前进”、“后退”方法,让用户可高度自定义所需交互,适配 web、H5、微信小程序(其他平台小程序未测试过,可自行尝试) 可…

采用 uniapp 实现的一款步进指示器组件,展示业务步骤进度等内容,对外提供“前进”、“后退”方法,让用户可高度自定义所需交互,适配 web、H5、微信小程序(其他平台小程序未测试过,可自行尝试)

可到插件市场下载尝试: https://ext.dcloud.net.cn/plugin?id=22603

  • 使用示例

请添加图片描述

使用示例

分别演示vue2、vue3 setup示例

vue2 写法

<template><view><view class="font-class">示例一:</view><view><view style="background-color: #272822; padding: 10px; margin: 10px; border-radius: 6px; color: #fff;"><wo-step-indicator :default-step="1" :options="steps" ref="stepIndicator1" @change="onChangeStep"></wo-step-indicator></view><view style="padding: 10px 0; margin: 0 10px;"><view v-show="step === 1"><viewstyle="height: 100px; width: 100%; border-radius: 6px; background-color: #299B48; color: #fff; display: flex; justify-content: center; align-items: center;">步骤一</view></view><view v-show="step === 2"><viewstyle="height: 100px; width: 100%; border-radius: 6px; background-color:#FF5739; color: #fff; display: flex; justify-content: center; align-items: center;">步骤二</view></view><view v-show="step === 3"><viewstyle="height: 100px; width: 100%; border-radius: 6px; background-color: #41A5E1; color: #fff; display: flex; justify-content: center; align-items: center;">步骤三</view></view><view v-show="step === 4"><viewstyle="height: 100px; width: 100%; border-radius: 6px; background-color: #272822; color: #fff; display: flex; justify-content: center; align-items: center;">步骤四</view></view></view></view><view class="font-class">示例二:</view><view style="display: flex; gap: 10px;"><view class="step-class" style="margin-right: 0px;"><wo-step-indicator   ref="stepIndicator2" @change="onChangeStep"></wo-step-indicator></view><view style="margin: 10px 10px 10px 0; flex: 1;"><view v-show="step === 1"><viewstyle="height: 200px; width: 100%; border-radius: 6px; background-color: #299B48; color: #fff; display: flex; justify-content: center; align-items: center;">步骤一</view></view><view v-show="step === 2"><viewstyle="height: 200px; width: 100%; border-radius: 6px; background-color:#FF5739; color: #fff; display: flex; justify-content: center; align-items: center;">步骤二</view></view><view v-show="step === 3"><viewstyle="height: 200px; width: 100%; border-radius: 6px; background-color: #41A5E1; color: #fff; display: flex; justify-content: center; align-items: center;">步骤三</view></view><view v-show="step === 4"><viewstyle="height: 200px; width: 100%; border-radius: 6px; background-color: #272822; color: #fff; display: flex; justify-content: center; align-items: center;">步骤四</view></view></view></view><view class="font-class">自定义操作:</view><view style="display: flex; gap: 10px; padding-top: 10px;"><button @click="prevStep" :disabled="step <= 1">上一步</button><button @click="nextStep" :disabled="step >= steps.length">下一步</button><button v-show="step >= steps.length">完成</button></view></view>
</template><script>
export default {data() {return {steps: [{index: '1',name: 'Step 1',},{index: '2',name: 'Step 2',},{index: '3',name: 'Step 3',},{index: '4',name: 'Step 4',},],step: 1,stepIndicator1: null,stepIndicator2: null};},methods: {prevStep() {this.$refs.stepIndicator1.prev();this.$refs.stepIndicator2.prev();},nextStep() {this.$refs.stepIndicator1.next();this.$refs.stepIndicator2.next();},onChangeStep(data) {this.step = data.step;console.log('Current step:', data);}}
};
</script><style>
.font-class {font-size: 12px;padding: 10px 10px 0 10px;
}
.step-class {background-color: #272822;color: #fff;padding: 15px;margin: 10px;border-radius: 6px;
}
</style>

vue3 setup写法

<template><view><view class="font-class">示例一:</view><view><view style="background-color: #272822; padding: 10px; margin: 10px; border-radius: 6px; color: #fff;"><wo-step-indicator :default-step="1" :options="steps" ref="stepIndicator1"@change="onChangeStep"></wo-step-indicator></view><view style="padding: 10px 0; margin: 0 10px;"><view v-show="step === 1"><viewstyle="height: 100px; width: 100%; border-radius: 6px; background-color: #299B48; color: #fff; display: flex; justify-content: center; align-items: center;">步骤一</view></view><view v-show="step === 2"><viewstyle="height: 100px; width: 100%; border-radius: 6px; background-color:#FF5739; color: #fff; display: flex; justify-content: center; align-items: center;">步骤二</view></view><view v-show="step === 3"><viewstyle="height: 100px; width: 100%; border-radius: 6px; background-color: #41A5E1; color: #fff; display: flex; justify-content: center; align-items: center;">步骤三</view></view><view v-show="step === 4"><viewstyle="height: 100px; width: 100%; border-radius: 6px; background-color: #272822; color: #fff; display: flex; justify-content: center; align-items: center;">步骤四</view></view></view></view><view class="font-class">示例二:</view><view style="display: flex; gap: 10px;"><view class="step-class" style="margin-right: 0px;"><wo-step-indicator ref="stepIndicator2" @change="onChangeStep"></wo-step-indicator></view><view style="margin: 10px 10px 10px 0; flex: 1;"><view v-show="step === 1"><viewstyle="height: 200px; width: 100%; border-radius: 6px; background-color: #299B48; color: #fff; display: flex; justify-content: center; align-items: center;">步骤一</view></view><view v-show="step === 2"><viewstyle="height: 200px; width: 100%; border-radius: 6px; background-color:#FF5739; color: #fff; display: flex; justify-content: center; align-items: center;">步骤二</view></view><view v-show="step === 3"><viewstyle="height: 200px; width: 100%; border-radius: 6px; background-color: #41A5E1; color: #fff; display: flex; justify-content: center; align-items: center;">步骤三</view></view><view v-show="step === 4"><viewstyle="height: 200px; width: 100%; border-radius: 6px; background-color: #272822; color: #fff; display: flex; justify-content: center; align-items: center;">步骤四</view></view></view></view><view class="font-class">自定义操作:</view><view style="display: flex; gap: 10px; padding-top: 10px;"><button @click="prevStep" :disabled="step <= 1">上一步</button><button @click="nextStep" :disabled="step >= steps.length">下一步</button><button v-show="step >= steps.length">完成</button></view></view>
</template><script setup>
import { ref } from 'vue';const steps = ref([{ index: '1', name: 'Step 1' },{ index: '2', name: 'Step 2' },{ index: '3', name: 'Step 3' },{ index: '4', name: 'Step 4' },
]);const step = ref(1);
const stepIndicator1 = ref(null);
const stepIndicator2 = ref(null);const prevStep = () => {stepIndicator1.value.prev();stepIndicator2.value.prev();
};const nextStep = () => {stepIndicator1.value.next();stepIndicator2.value.next();
};const onChangeStep = (data) => {step.value = data.step;console.log('Current step:', data);
};
</script><style>
.font-class {font-size: 12px;padding: 10px 10px 0 10px;
}.step-class {background-color: #272822;color: #fff;padding: 15px;margin: 10px;border-radius: 6px;
}
</style>
http://www.dtcms.com/wzjs/176569.html

相关文章:

  • 瑞安市聚齐网络科技有限公司seo免费优化
  • 网站建设咨询电话成品ppt网站国外
  • 网站切片怎么做sem是什么意思
  • wordpress 程序员主题seoul是啥意思
  • 作业代做网站网站推广代理
  • 网站怎么做json数据企业网站推广渠道
  • 咸阳网站建设公司电话佛山做网站的公司哪家好
  • 免费企业网站怎么做北京网络推广公司排行
  • 东营微信开发网站建设产品网络推广怎样做
  • 景宁县建设局网站永久免费的电销外呼系统
  • 用dw做的网站怎么上传天津的网络优化公司排名
  • 网站建设运作流程百度搜索量
  • 网站做流量是怎么回事宣传方式有哪些
  • 濮阳河南网站建设中国关键词网站
  • ubuntu 建网站优化公司哪家好
  • 如何建立公司网站推广seo课程培训入门
  • 做游戏网站用什么软件市场推广外包团队
  • 微网站如何做微信支付宝seo快速排名优化方法
  • 免费博客网站下载关键词推广软件
  • 通过ip直连打开网站要怎么做网站推广的软件
  • 购物网站项目开发爱站网长尾关键词挖掘查询工具
  • 做英文网站内容来源seo站长工具是什么
  • 做的网站怎样百度能搜到google seo怎么做
  • 网站正在建设中......百度2018旧版下载
  • 广东省建设厅网站徐州seo排名收费
  • 网站建设售后支持怎样让自己的网站排名靠前
  • 自己写代码做网站要什么技术营销策划书
  • 小说网站80电子书怎么做百度推广产品
  • 政府网站页面设计标准淘宝站外引流推广方法
  • 数据调查的权威网站游戏优化软件