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

wordpress提示没有天津seo培训

wordpress提示没有,天津seo培训,鸡西网站制作公司地址,免备案香港空间这是Popup组件基于微博小程序&#xff0c;需要改变标签&#xff0c;以及一写方法 支持四个方向抽屉&#xff0c;以及中间弹出功能 // 用法 <template><wbx-view style"height: 100vh;"><!-- 对话框组件 --><wbx-view><wbx-text click&quo…

这是Popup组件基于微博小程序,需要改变标签,以及一写方法

支持四个方向抽屉,以及中间弹出功能

// 用法
<template><wbx-view style="height: 100vh;"><!-- 对话框组件 --><wbx-view><wbx-text @click="openpup()">打开</wbx-text></wbx-view><WBXpopupref="popupRef"positionType="center"popupWidth="300px"popupHeight="400px"><template slot="popupContent"><wbx-view ref="drawer" style="padding: 16px;box-sizing: border-box; display: flex;flex-direction:column;justify-items: center;align-items: center;"><wbx-text style="font-size: 18px;height:26px;line-height: 26px;font-weight: 500;color:#000">我们仍在生成您的AI新身份</wbx-text><wbx-view@click="guan()"style="width: 70px; height: 70px; border: 2px solid #000"></wbx-view></wbx-view></template></WBXpopup></wbx-view>
</template><script>
/*** @type WBXAppOption*/
import WBXpopup from "../../commpents/wbx-popup/index.vue"
const pageOptions = {data() {return {};},methods: {openpup() {this.$refs.popupRef.openFn();},guan() {this.$refs.popupRef.closeFn();},},components: {WBXpopup,//弹出框},wbox: {onLoad() { },onShow() {// 页面显示/切入前台时触发},onHide() {// 页面隐藏时触发},onUnload() {// 页面退出时触发},},mounted() { },
};
export default pageOptions;
</script><style></style>
  //封装的组件
<template><wbx-view><wbx-viewv-if="showPopup"@click="closeFn()"style="background-color: rgba(0, 0, 0, 0.5);position: fixed;width: 100vw;height: 100vh;top: 0px;left: 0;display: flex;flex-direction: row;justify-content: center;align-items: center;transition: all 0.5s ease;z-index: 1;"><wbx-view :style="{width:popupWidth,height:popupHeight}" style=" transition: all 0.5s ease;z-index: 2; background-color: #fff;" v-if="positionType=='center'" ><slot name="popupContent"></slot></wbx-view><wbx-view :style="drawerStyle" v-else><slot name="popupContent"></slot></wbx-view></wbx-view></wbx-view>
</template><script>
/*openFn() 打开对话框closeFn() 关闭对话框positionType  从那边出来,抽屉的方向  left right bottom top center popupWidth: 对话框的宽popupHeight: 对话框的高
*/
export default {data() {return {showPopup: false,isOpen: false,};},props: {positionType: {type: String,default: "right",},popupWidth: {type: String,default: "300px",},popupHeight: {type: String,default: "300px",},},computed: {drawerStyle() {const style = {transition: "all 0.5s",zIndex: 2,backgroundColor: "#fff",position: "fixed",};if (this.positionType === "left" || this.positionType === "right") {style.width = this.popupWidth;style.height = "100vh";style[this.positionType] = this.isOpen ? "0px" : `-${this.popupWidth}`;} else  {style.width = "100vw";style.height = this.popupHeight;style[this.positionType] = this.isOpen ? "0" : `-${this.popupHeight}`;} return style;},},methods: {openFn() {this.showPopup = true;this.$nextTick(() => {setTimeout(() => {this.isOpen = true;}, 50);});},closeFn() {this.isOpen = false;setTimeout(() => {this.showPopup = false;}, 500);},},
};
</script>
<style></style>
http://www.tj-hxxt.cn/news/91946.html

相关文章:

  • 做招聘网站怎么赚钱国内十大软件培训机构
  • 做企业品牌网站的公司网站优化及推广方案
  • 做网站宽度和长度布局乔拓云建站平台
  • wordpress文章站上海营销seo
  • 武汉企业做网站百度ocpc如何优化
  • 自己建网站做那个模块好天天seo百度点击器
  • 查找公司信息的网站百度登陆
  • 网络舆情平台aso优化方法
  • 临沂学做网站如何快速推广一个新产品
  • 域名服务器ip查询网站数据分析软件
  • 网站建设进展情况汇报武汉seo关键词排名
  • 创鑫云网络seo建设招商
  • 陕西网站建设价位多少企业seo推广的绝密诀窍曝光
  • 找人做网站域名怎么过户seo工具包
  • 淘宝客做自己网站手游推广代理平台有哪些
  • 网站开发语言占有率百度网址是什么
  • 做网站怎么学怎么去营销自己的产品
  • 电子元器件网站建设百度推广业务员电话
  • 网站app用什么语言开发seo常用方法
  • 即墨网站建设淄博网站营销与推广
  • 国内排名靠前的5家b2b电子商务网站网络营销制度课完整版
  • 手机网站建设比较好的公司官网整站优化
  • 美橙建站五站合一软件百度账号注册中心
  • 辅助色网站网络营销与策划实践报告
  • 建设银行网站怎么设置转账额度产品宣传推广方式有哪些
  • 网站制作模版在线排名优化工具
  • 优质做网站哪些网站可以免费推广
  • 沈阳网站开发招聘360免费建站官网
  • 宁波做网站建设免费的网站平台
  • java做网站开发成本高厦门百度关键词优化