1. <view class="cu-item"></view>
    2. mounted () {
    3. let _that = this
    4. _that.$nextTick(() => {
    5. uni.getSystemInfo({
    6. success: function (res) { // res - 各种参数
    7. let obj = uni.createSelectorQuery().select('.cu-item')
    8. obj.boundingClientRect(function (data) { // data - 各种参数
    9. console.log(data)
    10. }).exec()
    11. }
    12. })
    13. })
    14. },