开始做充值和发票
This commit is contained in:
24
components/topbar/index.js
Normal file
24
components/topbar/index.js
Normal file
@@ -0,0 +1,24 @@
|
||||
// components/topbar/index.js
|
||||
Component({
|
||||
|
||||
/**
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的方法列表
|
||||
*/
|
||||
methods: {
|
||||
|
||||
}
|
||||
})
|
6
components/topbar/index.json
Normal file
6
components/topbar/index.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"van-image": "@vant/weapp/image/index"
|
||||
}
|
||||
}
|
5
components/topbar/index.wxml
Normal file
5
components/topbar/index.wxml
Normal file
@@ -0,0 +1,5 @@
|
||||
<!--components/topbar/index.wxml-->
|
||||
<view class="wrapper">
|
||||
<van-image width="100rpx" height="100rpx" src="/assets/images/logo-l.png" />
|
||||
<view class="content"> 华昌宝能用电管理服务 </view>
|
||||
</view>
|
12
components/topbar/index.wxss
Normal file
12
components/topbar/index.wxss
Normal file
@@ -0,0 +1,12 @@
|
||||
/* components/topbar/index.wxss */
|
||||
|
||||
.wrapper {
|
||||
padding: 12rpx 32rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.content {
|
||||
margin-left: 50rpx;
|
||||
}
|
||||
|
Reference in New Issue
Block a user