const app = getApp();
Component({
/**
* 组件的一些选项
*/
options: {
addGlobalClass: true,
multipleSlots: true
},
/**
* 组件的对外属性
*/
properties: {
bgColor: {
type: String,
default: ''
},
isCustom: {
type: [Boolean, String],
default: false
},
isBack: {
type: [Boolean, String],
default: false
},
bgImage: {
type: String,
default: ''
},
},
/**
* 组件的初始数据
*/
data: {
StatusBar: app.globalData.StatusBar,
CustomBar: app.globalData.CustomBar,
Custom: app.globalData.Custom
},
/**
* 组件的方法列表
*/
methods: {
BackPage() {
wx.navigateBack({
delta: 1
});
},
toHome(){
wx.reLaunch({
url: '/pages/index/index',
})
}
}
})
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
ColorUI_demo20230615.zip (20个子文件)
ColorUI_demo20230615
sitemap.json 191B
.DS_Store 6KB
project.private.config.json 348B
pages
index
index.wxml 147B
index.js 77B
index.json 31B
index.wxss 0B
.eslintrc.js 587B
app.json 225B
project.config.json 1KB
app.js 479B
utils
util.js 460B
app.wxss 238B
colorui
components
cu-custom.json 48B
cu-custom.js 857B
cu-custom.wxml 859B
cu-custom.wxss 39B
main.wxss 63KB
animation.wxss 3KB
icon.wxss 70KB
共 20 条
- 1
资源评论
109905418
- 粉丝: 2427
- 资源: 186
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功