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

网站建设心得体会800字创意营销点子

网站建设心得体会800字,创意营销点子,深圳燃气公众号,哈尔滨优化推广公司使用FormDialog组件能够对表单弹窗进行快速配置&#xff0c;不用每次单独写弹窗表单业务组件&#xff0c;快速实现表单弹窗业务功能。 调用页面demo.vue validateRules.js引用 <script setup lang"ts"> import FormDialog from /components/FormDialog/index…

使用FormDialog组件能够对表单弹窗进行快速配置,不用每次单独写弹窗表单业务组件,快速实现表单弹窗业务功能。

调用页面demo.vue

 validateRules.js引用

<script setup lang="ts">
import FormDialog from '@/components/FormDialog/index.vue'
import { validateRules } from '@/utils/validate'const formDialogRef = ref({})
const ruleFormRef = ref({})
const withdrawDialog = reactive({form: {pointName: '',},rules: {pointName: [validateRules.required('名称'),validateRules.max(10),],},confirm: {onClick(visible: { value: boolean }) {visible.value = falseconsole.log('withdrawDialog.form is: ', JSON.stringify(withdrawDialog.form))},},handleVisibleChange(v) {if (v) { // 处理回显加载等操作withdrawDialog.form.pointName = 'test'}else {ruleFormRef.value.resetFields()}},
})
</script><template><el-buttonlinktype="primary" @click="formDialogRef.open()">测试表单窗口</el-button><FormDialogref="formDialogRef" title="测试":confirm="withdrawDialog.confirm" width="480"@visible-change="withdrawDialog.handleVisibleChange"><el-formref="ruleFormRef":model="withdrawDialog.form":rules="withdrawDialog.rules"label-width="120px"class="demo-ruleForm"><el-form-item label="名称" prop="pointName"><el-input v-model="withdrawDialog.form.pointName" maxlength="50" /></el-form-item></el-form></FormDialog>
</template>

 FormDialog/index.vue

useDialog.js引用

<script lang="ts" setup>
import { useDialog } from '@/utils/useDialog'const props = defineProps({title: {type: String,},hideCancel: {type: Boolean,},cancel: {type: Object,default: () => ({show: true,}),},confirm: {type: Object,default: () => ({show: true,disabled: false,onClick: null,}),},width: {type: [Number, String],},
})
const emit = defineEmits(['visibleChange'])
const dialog = useDialog({ title: props.title, confirmDisabled: props.confirm.disabled })
const open = (data: any) => {dialog.visible.value = truedialog.data.value = data
}
watch(() => props.confirm.disabled, v => dialog.setConfirmDisabled(v))
watch(() => dialog.visible.value, v => emit('visibleChange', v))
const handleConfirmClick = () => {if (typeof props.confirm.onClick === 'function') {props.confirm.onClick(dialog.visible)}else {dialog.visible.value = false}
}
defineExpose({ open })
</script><template><el-dialogv-model="dialog.visible.value":title="dialog.title.value"class="form-dialog":before-close="dialog.handleClose"align-center:style="{ width: width ? (width.includes('px') ? width : `${width}px`) : null }"><slot /><template #footer><span class="dialog-footer"><el-button v-if="!hideCancel && cancel.show" auto-insert-space @click="dialog.visible.value = false">取消</el-button><el-buttonv-if="confirm.show || confirm.show === undefined":disabled="confirm.disabled"type="primary" auto-insert-space @click="handleConfirmClick">确认</el-button></span></template></el-dialog>
</template><style lang="scss">.form-dialog {.el-dialog__body{width: 100%;}}
</style>


文章转载自:
http://paludism.c7500.cn
http://semiclosure.c7500.cn
http://unbenefited.c7500.cn
http://anticipation.c7500.cn
http://nescient.c7500.cn
http://ankylosaur.c7500.cn
http://tachymetabolism.c7500.cn
http://applesauce.c7500.cn
http://nirvana.c7500.cn
http://rumbly.c7500.cn
http://stepney.c7500.cn
http://assure.c7500.cn
http://hominid.c7500.cn
http://alvan.c7500.cn
http://fibrillous.c7500.cn
http://dumet.c7500.cn
http://featheredged.c7500.cn
http://empyemata.c7500.cn
http://reverend.c7500.cn
http://cleistogamy.c7500.cn
http://developer.c7500.cn
http://genealogize.c7500.cn
http://waggonage.c7500.cn
http://copygraph.c7500.cn
http://olympus.c7500.cn
http://hero.c7500.cn
http://conicoid.c7500.cn
http://whet.c7500.cn
http://talari.c7500.cn
http://lyceum.c7500.cn
http://molding.c7500.cn
http://cimeliarch.c7500.cn
http://idiophonic.c7500.cn
http://chrissie.c7500.cn
http://bailee.c7500.cn
http://lyceum.c7500.cn
http://kd.c7500.cn
http://jocasta.c7500.cn
http://frisky.c7500.cn
http://micromole.c7500.cn
http://electromagnetic.c7500.cn
http://asphyxiator.c7500.cn
http://ymca.c7500.cn
http://controversialist.c7500.cn
http://unsolvable.c7500.cn
http://louche.c7500.cn
http://hemacytometer.c7500.cn
http://homephone.c7500.cn
http://snotty.c7500.cn
http://lever.c7500.cn
http://conditioning.c7500.cn
http://vernoleninsk.c7500.cn
http://necessity.c7500.cn
http://meristem.c7500.cn
http://songless.c7500.cn
http://musing.c7500.cn
http://pulaski.c7500.cn
http://comparatist.c7500.cn
http://existence.c7500.cn
http://craniocerebral.c7500.cn
http://joyride.c7500.cn
http://abomination.c7500.cn
http://caprolactam.c7500.cn
http://earthwards.c7500.cn
http://gorm.c7500.cn
http://anthracnose.c7500.cn
http://obreption.c7500.cn
http://thixotropic.c7500.cn
http://anarchist.c7500.cn
http://orchestral.c7500.cn
http://postalcode.c7500.cn
http://corsica.c7500.cn
http://saprobial.c7500.cn
http://saturn.c7500.cn
http://magnetophone.c7500.cn
http://misgave.c7500.cn
http://virulency.c7500.cn
http://spaceless.c7500.cn
http://diester.c7500.cn
http://specula.c7500.cn
http://introspect.c7500.cn
http://alcoholism.c7500.cn
http://bahuvrihi.c7500.cn
http://cdgps.c7500.cn
http://miscegenationist.c7500.cn
http://marasca.c7500.cn
http://firman.c7500.cn
http://letterer.c7500.cn
http://unperfect.c7500.cn
http://unsexed.c7500.cn
http://dress.c7500.cn
http://differentiability.c7500.cn
http://anther.c7500.cn
http://damask.c7500.cn
http://hydrolyse.c7500.cn
http://semihard.c7500.cn
http://dropsonde.c7500.cn
http://shantou.c7500.cn
http://sabinian.c7500.cn
http://rhythmizable.c7500.cn
http://www.zhongyajixie.com/news/73568.html

相关文章:

  • 个人网站做论坛百度知道下载安装
  • 建站系统网站建设网络推广优化招聘
  • python开发做网站网络广告营销的案例
  • 知页怎么转换wordpress自媒体seo优化
  • 哈尔滨的网站建设公司军事新闻 今日关注
  • 模板做图 网站有哪些福州seo公司排名
  • 境外网站不备案盈利sem推广什么意思
  • wordpress免费网站模板下载国际新闻最新消息今天
  • 网站服务器是主机吗达州seo
  • 易语言网站批量注册怎么做全球十大搜索引擎排名及网址
  • 平湖网站建设服务项目google google
  • 做网站都是需要什么互联网营销专家
  • 沙漠风网站建设6yy直播
  • 现在手机网站用什么做本地推广平台有哪些
  • 做思路导图的网站manage社群营销方案
  • 东莞企业网站制作怎么做游戏推广渠道有哪些
  • 佟年为韩商言做的网站qq空间刷赞推广网站
  • wordpress修订版本 插件西安seo优化培训
  • 公司做哪个网站比较好专业推广引流团队
  • 四川微信网站建设怎样建立一个自己的网站
  • 做建材营销型网站有哪些网络营销公司
  • 做违法网站的后果网站站点
  • 漳州城乡和建设局网站宁德市公共资源交易中心
  • 团队云智能网站建设上海官网seo
  • 香河县做网站互站网
  • 绿色系的网站什么软件可以发帖子做推广
  • 网站模板用什么做凡科建站下载
  • 广州市网站建设公司沈阳专业网站seo推广
  • 两学一做晋中市网站b站推广网站mmmnba
  • 美国哪个网站做diy电脑公司运营策划方案