开源 企业版 高校版 私有云 模力方舟 AI 队友
代码拉取完成,页面将自动刷新
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
已有帐号? 立即登录
文件
master
分支 (11)
标签 (9)
master
1.3-stable
1.2-stable
1.1-stable
1.0-stable
0.9-stable
0.7-stable
0.6-stable
0.5-stable
prod
product
v1.3
v1.2
v1.1
v1.0
v0.9
v0.8
0.7
v0.6
v0.5
master
分支 (11)
标签 (9)
master
1.3-stable
1.2-stable
1.1-stable
1.0-stable
0.9-stable
0.7-stable
0.6-stable
0.5-stable
prod
product
v1.3
v1.2
v1.1
v1.0
v0.9
v0.8
0.7
v0.6
v0.5
克隆/下载
克隆/下载
提示
下载代码请复制以下命令到终端执行
为确保你提交的代码身份被 Gitee 正确识别,请执行以下命令完成配置
初次使用 SSH 协议进行代码克隆、推送等操作时,需按下述提示完成 SSH 配置
1 生成 RSA 密钥
2 获取 RSA 公钥内容,并配置到 SSH公钥
在 Gitee 上使用 SVN,请访问 使用指南
使用 HTTPS 协议时,命令行会出现如下账号密码验证步骤。基于安全考虑,Gitee 建议 配置并使用私人令牌 替代登录密码进行克隆、推送等操作
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # 私人令牌
master
分支 (11)
标签 (9)
master
1.3-stable
1.2-stable
1.1-stable
1.0-stable
0.9-stable
0.7-stable
0.6-stable
0.5-stable
prod
product
v1.3
v1.2
v1.1
v1.0
v0.9
v0.8
0.7
v0.6
v0.5
WechatOwnerService
/
components
/
watch-button.vue
WechatOwnerService
/
components
/
watch-button.vue
watch-button.vue 2.83 KB
一键复制 编辑 原始数据 按行查看 历史
java110 提交于 2021年06月06日 23:15 +08:00 . 暂存代码
<template>
<view>
<!-- 按钮 -->
<button :class="['buttonBorder',!_rotate?'dlbutton':'dlbutton_loading']" :style="{'background':bgColor, 'color': fontColor}">
<view :class="_rotate?'rotate_loop':''">
<text v-if="_rotate" class="cuIcon cuIcon-loading1 "></text>
<text v-if="!_rotate">{{ text }}</text>
</view>
</button>
</view>
</template>
<script>
export default{
props:{
text: String, //显示文本
rotate:{
//是否启动加载
type: [Boolean,String],
default: false,
},
bgColor:{
//按钮背景颜色
type: String,
default: "linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.6))",
},
fontColor:{
//按钮字体颜色
type: String,
default: "#FFFFFF",
},
},
computed:{
_rotate() {
//处理值
return String(this.rotate) !== 'false'
},
}
}
</script>
<style>
@import url("../style/iconfont.css");
.dlbutton {
color: #FFFFFF;
font-size: 30upx;
width:601upx;
height:100upx;
background:linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.6));
box-shadow:0upx 0upx 13upx 0upx rgba(164,217,228,0.4);
border-radius:2.5rem;
line-height: 100upx;
text-align: center;
margin-left: auto;
margin-right: auto;
margin-top: 96upx;
}
.dlbutton_loading {
color: #FFFFFF;
font-size: 30upx;
width:100upx;
height:100upx;
background:linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.6));
box-shadow:0upx 0upx 13upx 0upx rgba(164,217,228,0.4);
border-radius:2.5rem;
line-height: 100upx;
text-align: center;
margin-left: auto;
margin-right: auto;
margin-top: 96upx;
}
.buttonBorder{
border: none ;
border-radius: 2.5rem ;
-webkit-box-shadow: 0 0 60upx 0 rgba(0,0,0,.2) ;
box-shadow: 0 0 60upx 0 rgba(0,0,0,.2) ;
-webkit-transition: all 0.4s cubic-bezier(.57,.19,.51,.95);
-moz-transition: all 0.4s cubic-bezier(.57,.19,.51,.95);
-ms-transition: all 0.4s cubic-bezier(.57,.19,.51,.95);
-o-transition: all 0.4s cubic-bezier(.57,.19,.51,.95);
transition: all 0.4s cubic-bezier(.57,.19,.51,.95);
}
/* 旋转动画 */
.rotate_loop{
-webkit-transition-property: -webkit-transform;
-webkit-transition-duration: 1s;
-moz-transition-property: -moz-transform;
-moz-transition-duration: 1s;
-webkit-animation: rotate 1s linear infinite;
-moz-animation: rotate 1s linear infinite;
-o-animation: rotate 1s linear infinite;
animation: rotate 1s linear infinite;
}
@-webkit-keyframes rotate{from{-webkit-transform: rotate(0deg)}
to{-webkit-transform: rotate(360deg)}
}
@-moz-keyframes rotate{from{-moz-transform: rotate(0deg)}
to{-moz-transform: rotate(359deg)}
}
@-o-keyframes rotate{from{-o-transform: rotate(0deg)}
to{-o-transform: rotate(359deg)}
}
@keyframes rotate{from{transform: rotate(0deg)}
to{transform: rotate(359deg)}
}
</style>
Loading...
举报
举报成功
我们将于2个工作日内通过站内信反馈结果给你!
请认真填写举报原因,尽可能描述详细。
请选择举报类型
取消
发送
误判申诉

此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。

如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。

取消
提交

简介

hc智慧家园小程序 是 HC小区开源项目的一个分支项目,主要给业主使用,其中包括缴物业费,缴停车费,投诉建议,家庭成员维护,房屋保修 房屋出租,公告查看,小区圈等功能。为了更好的把环境成功拉起来特创建群:770542020演示环境 https://hc.demo.winqi.cn/
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
编辑仓库简介
简介内容
主页
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
微信
1
https://gitee.com/itcode-itcode/WechatOwnerService.git
git@gitee.com:itcode-itcode/WechatOwnerService.git
itcode-itcode
WechatOwnerService
HC小区业主版
master
点此查找更多帮助

搜索帮助

评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册

AltStyle によって変換されたページ (->オリジナル) /