feat: 首次提交

This commit is contained in:
peerless_hero
2023-08-17 21:28:49 +08:00
parent 36f80fb971
commit ec1e5e16cd
571 changed files with 95322 additions and 0 deletions

View File

@ -0,0 +1,47 @@
<!--本文件由FirstUI授权予新疆天衡创新研究院有限公司手机号 186 140 7 2 54 9身份证尾号5A07X5专用请尊重知识产权勿私下传播违者追究法律责任-->
<template>
<view class="fui-wrap">
<view class="fui-page__hd">
<view class="fui-page__title fui-align__center" @tap="vip">Circle <image
src="/static/images/index/light/icon_member_3x.png"></image>
</view>
<view class="fui-page__desc">Circle 圆形进度条用于展现某个任务的当前进度</view>
</view>
<view class="fui-page__bd fui-page__spacing">
<view class="fui-section__title">基础使用</view>
<fui-circle :percent="80"></fui-circle>
<view class="fui-section__title">调整样式/起始弧度/渐变</view>
<!-- 快手小程序暂不支持渐变 -->
<!--注意头条小程序不支持颜色值简写 #EEEEEE 不可写成 #eee-->
<fui-circle :percent="75" color="#FFB703" background="#EEEEEE" foreground="#FFB703" gradient="#FAE845"
:sAngle="-0.5" :width="200" :strokeWidth="6" :size="16"></fui-circle>
<view class="fui-section__title">调整百分比</view>
<fui-circle :percent="percent"></fui-circle>
<view class="fui-btn__box">
<fui-button type="gray" btn-size="medium" text="percent" bold :margin="['24rpx']"
@click="percentChange"></fui-button>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
percent: 0
}
},
methods: {
vip() {
this.fui.href("/pages/my/qa/qa?index=2&title=VIP专属内容")
},
percentChange() {
let percent = this.percent + 25
this.percent = percent > 100 ? 25 : percent
}
}
}
</script>
<style></style>