|
|
@@ -0,0 +1,133 @@
|
|
|
+<template>
|
|
|
+ <view style="padding: 20rpx;">
|
|
|
+ <view v-for="(item, index) in list1" style="padding-bottom: 20rpx;">
|
|
|
+ <view class="item">
|
|
|
+ <view style="display: flex;justify-content: space-between;align-items: center;height: 60rpx;" @click="openPopup(index)">
|
|
|
+ <view style="color: #333333;font-size: 30rpx;font-weight: bold;display: flex;align-items: center;">
|
|
|
+ <image :src="index==0?img1:img2" style="width: 40rpx;height: 40rpx;margin-right: 10rpx;"></image>系统通知
|
|
|
+ </view>
|
|
|
+ <view style="color: #999999;font-size: 24rpx;">2021/10/26 10:30:26</view>
|
|
|
+ </view>
|
|
|
+ <u-line color="#D6D6DB" />
|
|
|
+ <view style="display: flex;justify-content: space-between;padding: 25rpx;color: #666666;">
|
|
|
+ 这是一个通知标题这是一个通知标题这是一个通知
|
|
|
+ 标题过长换行
|
|
|
+ </view>
|
|
|
+ <u-line color="#D6D6DB" />
|
|
|
+ <view style="display: flex;justify-content: space-between;align-items: center;height: 50rpx;margin-top: 10rpx;padding: 0 25rpx;" >
|
|
|
+ <view class="color: #333333;font-size: 28rpx;">查看详情</view>
|
|
|
+ <view><u-icon name="arrow-right" color="#999999" size="28"></u-icon></view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+
|
|
|
+import { mapGetters } from 'vuex';
|
|
|
+export default {
|
|
|
+ components: {
|
|
|
+
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ list: [
|
|
|
+ {
|
|
|
+ name: '待支付'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '已支付'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '已取消'
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ list1:[1,2,3,4,5,6,7],
|
|
|
+ current: 0,
|
|
|
+ img1:'/static/icon/msg_icon1.png',
|
|
|
+ img2:'/static/icon/msg_icon2.png'
|
|
|
+ };
|
|
|
+ },
|
|
|
+ onPullDownRefresh(){
|
|
|
+ },
|
|
|
+ onLoad(option) {
|
|
|
+
|
|
|
+ },
|
|
|
+ onShow() {
|
|
|
+ /* if(this.current === 2 && this.$method.isLogin()){
|
|
|
+ this.$refs.refMy.init();
|
|
|
+ } */
|
|
|
+ },
|
|
|
+ onShareAppMessage(res) {
|
|
|
+ var self = this;
|
|
|
+ return {
|
|
|
+ title: '中正',
|
|
|
+ path: `/pages/index/index?inviteCode=` + userInfo == null ? '' : userInfo.userAccount
|
|
|
+ };
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ change(index){
|
|
|
+ this.current = index;
|
|
|
+ }
|
|
|
+ },
|
|
|
+ onReachBottom() {},
|
|
|
+ computed: { ...mapGetters(['userInfo']) }
|
|
|
+};
|
|
|
+</script>
|
|
|
+<style >
|
|
|
+ page {
|
|
|
+ background: #EAEEF1;
|
|
|
+ }
|
|
|
+</style>
|
|
|
+<style scoped>
|
|
|
+ .btn2{
|
|
|
+ width: 144rpx;
|
|
|
+ height: 48rpx;
|
|
|
+ background: #FFFFFF;
|
|
|
+ border: 2rpx solid #007AFF;
|
|
|
+ border-radius: 16rpx;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 48rpx;
|
|
|
+ color: #007AFF;
|
|
|
+ margin: 0 8rpx;
|
|
|
+ }
|
|
|
+ .btn1{
|
|
|
+ width: 144rpx;
|
|
|
+ height: 48rpx;
|
|
|
+ background: #FFFFFF;
|
|
|
+ border: 2rpx solid #999999;
|
|
|
+ border-radius: 16rpx;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 48rpx;
|
|
|
+ color: #999999;
|
|
|
+ margin: 0 8rpx;
|
|
|
+ }
|
|
|
+.item{
|
|
|
+ width: 100%;
|
|
|
+ background: #FFFFFF;
|
|
|
+ border-radius: 16rpx;
|
|
|
+ padding: 15rpx;
|
|
|
+ }
|
|
|
+ .priceTag{
|
|
|
+ font-size: 30rpx;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #FF2D55;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row-reverse;
|
|
|
+ }
|
|
|
+
|
|
|
+ .bottomBox{
|
|
|
+ position: fixed;
|
|
|
+ bottom: 0;
|
|
|
+ width: 100%;
|
|
|
+ left: 0;
|
|
|
+ height:98rpx ;
|
|
|
+ background-color: #FFFFFF;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ padding: 0 30rpx;
|
|
|
+ }
|
|
|
+</style>
|