| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <template>
- <view class="page">
- <!-- #ifdef H5-->
- <uni-nav-bar v-if="!$isWxBrowser()" :fixed="true" background-color="#FFE05C" :border="false" :statusBar="false" left-icon="left" title="累计交友圈专员记录" @clickLeft="back" />
- <!-- #endif -->
- <view :style="{height:height}" class="list">
- <mescroll-item ref="MescrollItem" :i="0" :index="0" :height="height" @openAddRemarkPopup="openAddRemarkPopup">
- </mescroll-item>
- </view>
- <add-remark-popup ref="addRemarkPopup"></add-remark-popup>
- <!--#ifdef H5-->
- <liu-drag-button v-if="$isWxBrowser()" @clickBtn="back">返回</liu-drag-button>
- <!--#endif-->
- </view>
- </template>
- <script>
- import addRemarkPopup from "../../components/addRemarkPopup/addRemarkPopup";
- import MescrollItem from "./module/mescrollUni-item.vue";
- export default {
- components: {
- MescrollItem,addRemarkPopup
- },
- data() {
- return {
- height:'',
- }
- },
- onLoad(e) {
- let sysInfo = uni.getSystemInfoSync()
- this.height = sysInfo.windowHeight - 70 + 'px' //除标题栏栏外的屏幕可用高度
- },
- onShow(){
- },
- methods: {
- openAddRemarkPopup(e){
- this.$refs.addRemarkPopup.openPopup(e)
- },
- back() {
- let pages = getCurrentPages()
- if (pages.length > 1){
- uni.navigateBack({
- delta: 1,
- fail:err=>{
- console.log(err)
- }
- })
- }else {
- uni.switchTab({
- url: '/pages/index/index'
- });
- }
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- @import './index.rpx.css';
- </style>
|