Commit 76149df3 by 高淑倩

add: pointList_status组件

parent 4e464028
// component/statusPoint/statusPoint.js
const wxService = require('../../utils/wxService')
Component({
/**
* 组件的属性列表
*/
properties: {
img: {
type: String,
value: '',
},
imgHeight: {
type: Number,
value: 320
}
},
attached() { },
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})
{
"component": true,
"usingComponents": {
}
}
\ No newline at end of file
<!--component/statusPoint/statusPoint.wxml-->
<view class="status" style="height: {{imgHeight}}rpx">
<image class='status-tips' src='/assets/imgs/point/status.png' mode="widthFix"/>
<!--<image wx:if="{{item}}" class='status-img' src='{{}}' mode="widthFix"/>-->
</view>
/* component/statusPoint/statusPoint.wxss */
@import './../../base/base.wxss';
.status {
height: 320rpx;
border-radius: 7rpx;
background-color: rgba(216, 216, 216, 1);
}
.status-tips {
width: 143rpx;
height: 58rpx;
padding-top: 12px;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment