|
|
|
@ -1,6 +1,6 @@
|
|
|
|
import Taro from "@tarojs/taro";
|
|
|
|
import Taro from "@tarojs/taro";
|
|
|
|
import dayjs from "dayjs";
|
|
|
|
import dayjs from "dayjs";
|
|
|
|
import { Component, PropsWithChildren, useEffect, useState } from "react";
|
|
|
|
import { Component } from "react";
|
|
|
|
import {
|
|
|
|
import {
|
|
|
|
Block,
|
|
|
|
Block,
|
|
|
|
View,
|
|
|
|
View,
|
|
|
|
@ -105,13 +105,13 @@ class IntegralList extends Component<any, any> {
|
|
|
|
appId: otherSetting.skipAppid,
|
|
|
|
appId: otherSetting.skipAppid,
|
|
|
|
path: otherSetting.skipPath,
|
|
|
|
path: otherSetting.skipPath,
|
|
|
|
envVersion: otherSetting.envVersion,
|
|
|
|
envVersion: otherSetting.envVersion,
|
|
|
|
success(res) {
|
|
|
|
success() {
|
|
|
|
// 打开成功
|
|
|
|
// 打开成功
|
|
|
|
// Taro.reLaunch({
|
|
|
|
// Taro.reLaunch({
|
|
|
|
// url: "/pages/index/index",
|
|
|
|
// url: "/pages/index/index",
|
|
|
|
// });
|
|
|
|
// });
|
|
|
|
},
|
|
|
|
},
|
|
|
|
fail(res) {
|
|
|
|
fail() {
|
|
|
|
// Taro.reLaunch({
|
|
|
|
// Taro.reLaunch({
|
|
|
|
// url: "/pages/index/index",
|
|
|
|
// url: "/pages/index/index",
|
|
|
|
// });
|
|
|
|
// });
|
|
|
|
@ -311,7 +311,7 @@ class IntegralList extends Component<any, any> {
|
|
|
|
console.log("滚动到底部事件");
|
|
|
|
console.log("滚动到底部事件");
|
|
|
|
// this.props.Lower()
|
|
|
|
// this.props.Lower()
|
|
|
|
};
|
|
|
|
};
|
|
|
|
touchEnd = (e) => {
|
|
|
|
touchEnd = () => {
|
|
|
|
if (this.state.dargState === 1) {
|
|
|
|
if (this.state.dargState === 1) {
|
|
|
|
this.down();
|
|
|
|
this.down();
|
|
|
|
} else if (this.state.dargState === -1) {
|
|
|
|
} else if (this.state.dargState === -1) {
|
|
|
|
@ -344,7 +344,7 @@ class IntegralList extends Component<any, any> {
|
|
|
|
textAlgin="center"
|
|
|
|
textAlgin="center"
|
|
|
|
close={this.integralPopupClose}
|
|
|
|
close={this.integralPopupClose}
|
|
|
|
confirm={this.integralPopupClose}
|
|
|
|
confirm={this.integralPopupClose}
|
|
|
|
></PopupAlert>
|
|
|
|
/>
|
|
|
|
<PopupAlert
|
|
|
|
<PopupAlert
|
|
|
|
myClassName="officialAccount"
|
|
|
|
myClassName="officialAccount"
|
|
|
|
isLarge={true}
|
|
|
|
isLarge={true}
|
|
|
|
@ -363,7 +363,7 @@ class IntegralList extends Component<any, any> {
|
|
|
|
showMenuByLongpress={true} // 长按识别二维码
|
|
|
|
showMenuByLongpress={true} // 长按识别二维码
|
|
|
|
src={require("../../img/qrcode-test.jpg")}
|
|
|
|
src={require("../../img/qrcode-test.jpg")}
|
|
|
|
mode="aspectFit"
|
|
|
|
mode="aspectFit"
|
|
|
|
></Image>
|
|
|
|
/>
|
|
|
|
<View style={{ marginTop: "20rpx" }}>
|
|
|
|
<View style={{ marginTop: "20rpx" }}>
|
|
|
|
长按图片关注公众号,可以接收积分过期提醒
|
|
|
|
长按图片关注公众号,可以接收积分过期提醒
|
|
|
|
</View>
|
|
|
|
</View>
|
|
|
|
@ -376,9 +376,9 @@ class IntegralList extends Component<any, any> {
|
|
|
|
textAlgin="center"
|
|
|
|
textAlgin="center"
|
|
|
|
close={this.officialPopupClose}
|
|
|
|
close={this.officialPopupClose}
|
|
|
|
confirm={this.officialPopupConfirm}
|
|
|
|
confirm={this.officialPopupConfirm}
|
|
|
|
></PopupAlert>
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
<Navbar titleSlot="我的积分" isBack={true}></Navbar>
|
|
|
|
<Navbar titleSlot="我的积分" isBack={true}/>
|
|
|
|
|
|
|
|
|
|
|
|
<View style="background: #f3f3f3;padding: 33rpx 30rpx 31rpx 30rpx;">
|
|
|
|
<View style="background: #f3f3f3;padding: 33rpx 30rpx 31rpx 30rpx;">
|
|
|
|
<View className="integral_box1">
|
|
|
|
<View className="integral_box1">
|
|
|
|
@ -405,7 +405,7 @@ class IntegralList extends Component<any, any> {
|
|
|
|
className="point_bg"
|
|
|
|
className="point_bg"
|
|
|
|
src={require("../../img/user/point-bg.png")}
|
|
|
|
src={require("../../img/user/point-bg.png")}
|
|
|
|
mode="aspectFill"
|
|
|
|
mode="aspectFill"
|
|
|
|
></Image>
|
|
|
|
/>
|
|
|
|
</View>
|
|
|
|
</View>
|
|
|
|
</View>
|
|
|
|
</View>
|
|
|
|
|
|
|
|
|
|
|
|
@ -455,7 +455,7 @@ class IntegralList extends Component<any, any> {
|
|
|
|
className="nodata_img"
|
|
|
|
className="nodata_img"
|
|
|
|
src={require("../../img/user/points.png")}
|
|
|
|
src={require("../../img/user/points.png")}
|
|
|
|
mode="aspectFill"
|
|
|
|
mode="aspectFill"
|
|
|
|
></Image>
|
|
|
|
/>
|
|
|
|
<View className="nodata_text">暂无积分记录</View>
|
|
|
|
<View className="nodata_text">暂无积分记录</View>
|
|
|
|
</View>
|
|
|
|
</View>
|
|
|
|
)}
|
|
|
|
)}
|
|
|
|
|