zhaojs
2023-06-06 26c856a75d442657204bbe8320822a04f5576d0a
no message
已修改3个文件
65 ■■■■ 文件已修改
uniapp/pages/index/officialNotice.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/pages/mine/elm.vue 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/pages/mine/mt.vue 27 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/pages/index/officialNotice.vue
@@ -1,7 +1,7 @@
<template>
    <view class="officialNotice wrapperLayer">
        <titleBar :titleText='"官方通知"' :pageForm='"officialNotice"'></titleBar>
        <view class="pageContent-container colCen">
        <view class="pageContent-container colCen" v-if='noticeList.length>0'>
            <block v-for="(items,index) in noticeList" :key="index">
                <view class="notice-items-container rowSta">
                    <view class="leftsettingbox defIcon">
@@ -26,6 +26,9 @@
            
            <aLoadMore :status="loadstatus" mode="loading3" :showTitle='true' color="#999999" ></aLoadMore>
        </view>
        <view v-else>
            暂无通知
        </view>
    </view>
</template>
uniapp/pages/mine/elm.vue
@@ -1,8 +1,8 @@
<template>
    <view class="elm-wrapper wrapperLayer"
        :style="optionsCurrent==3?'background-color:#1088FE;':'background-color:#62BC00;'">
        :style="optionsCurrent==3?'background-color:#1088FE;':'background-color:#1088FE;'">
        <view class="flexbox borderBox colCen"
            :style="optionsCurrent==3?'background-color:#1088FE;':'background-color:#62BC00;'">
            :style="optionsCurrent==3?'background-color:#1088FE;':'background-color:#1088FE;'">
            <view class="topbarbox"></view>
            <view class="leftimgbox rowCenBet" @tap="back()">
                <view class="shadow rowCenCen" style="background:rgba(0,0,0,0);">
@@ -22,7 +22,7 @@
            <view class="center-container rowCenBet">
                <block v-for="(items,index) in optionsList" :key="index">
                    <view class="items-content rowCenCen"
                        :style="optionsCurrent==items.type?items.type==3?'color:#1088FE;':'color:#62BC00;':''"
                        :style="optionsCurrent==items.type?items.type==3?'color:#1088FE;':'#1088FE;':''"
                        @tap="navTap(items.type,index)">
                        <view>{{items.label}}</view>
                    </view>
@@ -85,16 +85,22 @@
        data() {
            return {
                optionsCurrent: 3,
                activeIndex: 0, // 当前选中的index
                activeIndex: 1, // 当前选中的index
                scrollTop: 0,
                optionsList: [{
                        label: "外卖",
                        type: 3
                optionsList: [
                    {
                        label: "美团",
                        type: 0
                    },
                    {
                        label: "饿了么",
                        type: 3
                    },
                    /* {
                        label: "果蔬",
                        type: 5
                    }
                    } */
                ],
                pageInfo: null,
                wxQrcodeUrl: '',
@@ -132,7 +138,14 @@
                if (this.optionsCurrent != type) {
                    this.optionsCurrent = type
                    this.activeIndex = index
                    if (this.optionsCurrent == 5) {
                    if(this.optionsCurrent == 0)
                    {
                        uni.navigateTo({
                            url:'./mt'
                        })
                        return;
                    }
                    /* else if (this.optionsCurrent == 5) {
                        uni.setNavigationBarColor({
                            frontColor: '#ffffff',
                            backgroundColor: '#62BC00'
@@ -143,7 +156,7 @@
                            backgroundColor: '#1088FE'
                        })
                    }
                    this.IntiData()
                    this.IntiData() */
                }
            },
            jumpMini() {
uniapp/pages/mine/mt.vue
@@ -1,9 +1,9 @@
<template>
    <view class="elm-wrapper wrapperLayer"
        :style="optionsCurrent==2?'background-color:#62BC00;':'background-color:#FFD100;'">
        :style="optionsCurrent==2?'background-color:#FFD100;':'background-color:#FFD100;'">
        <view class="flexbox borderBox colCen"
            :style="optionsCurrent==2?'background-color:#62BC00;':'background-color:#FFD100;'">
            :style="optionsCurrent==2?'background-color:#FFD100;':'background-color:#FFD100;'">
            <view class="topbarbox"></view>
            <view class="leftimgbox rowCenBet" @tap="back()">
                <view class="shadow rowCenCen" style="background:rgba(0,0,0,0);">
@@ -21,14 +21,14 @@
        </view>
        <view class="options-bar-content rowCenCen">
            <!-- <view class="center-container rowCenBet">
             <view class="center-container rowCenBet">
                 <block v-for="(items,index) in optionsList" :key="index">
                    <view class="items-content rowCenCen" @tap="navTap(items.type)" :class="{ 'yellow':items.type == optionsCurrent && [1,3].includes(optionsCurrent), 'green': items.type == optionsCurrent && optionsCurrent ==2 }">
                        <view>{{items.label}}</view>
                    </view>
                </block>
                <div class="items-active" :style="{'transform':'translateX('+(optionsCurrent-1) * 120 +'rpx)'}"></div>
            </view> -->
            </view>
        </view>
        <image class="pageBac" :src="pageBac" mode="aspectFill">
@@ -76,9 +76,13 @@
                optionsCurrent: 1,
                scrollTop: 0,
                optionsList: [{
                        label: "外卖",
                        label: "美团",
                        type: 1
                    }
                    },
                    {
                            label: "饿了么",
                            type: 2
                        }
                /*     ,
                    {
                        label: "商超",
@@ -138,7 +142,14 @@
            navTap(type) {
                if (this.optionsCurrent != type) {
                    this.optionsCurrent = type
                    if (this.optionsCurrent == 2) {
                    if(this.optionsCurrent==2)
                    {//跳转饿了么
                        uni.navigateTo({
                            url:'./elm'
                        })
                        return;
                    }
                    else if (this.optionsCurrent == 2) {
                        uni.setNavigationBarColor({
                            frontColor: '#ffffff',
                            backgroundColor: '#62BC00'
@@ -244,7 +255,7 @@
            margin-top: 168rpx;
            .center-container {
                position: relative;
                width: 360rpx;
                width: 240rpx;
                height: 58rpx;
                background: rgba(254, 254, 254, 0.3);
                border-radius: 29rpx;