6c11a383 by 杨炀

no message

1 parent c797d64c
......@@ -26,27 +26,24 @@
}
},
{
"path" : "webView/vipSystem",
"style" :
{
"navigationBarTitleText" : "会员系统",
"enablePullDownRefresh" : false
"path": "pages/index/binding",
"style": {
"navigationBarTitleText": "账号绑定",
"enablePullDownRefresh": false
}
},
{
"path" : "pages/index/binding",
"style" :
{
"navigationBarTitleText" : "账号绑定",
"enablePullDownRefresh" : false
"path": "pages/myCenter/myCenter",
"style": {
"navigationBarTitleText": "我的",
"enablePullDownRefresh": false
}
},
{
"path" : "webView/newList/newList",
"style" :
{
"navigationBarTitleText" : "新闻资讯",
"enablePullDownRefresh" : false
"path": "pages/webView/auth",
"style": {
"navigationBarTitleText": "认证查询",
"enablePullDownRefresh": false
}
}
],
......@@ -56,34 +53,31 @@
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTitleText": "中国跆协"
},
"subPackages": [
{
"subPackages": [{
"root": "training",
"pages":[{
"path" : "trainList",
"style" :
{
"navigationBarTitleText" : "培训列表",
"enablePullDownRefresh" : false
"pages": [{
"path": "trainList",
"style": {
"navigationBarTitleText": "培训列表",
"enablePullDownRefresh": false
}
},
{
"path" : "detailPage",
"style" :
{
"navigationBarTitleText" : "培训详情",
"enablePullDownRefresh" : false
"path": "detailPage",
"style": {
"navigationBarTitleText": "培训详情",
"enablePullDownRefresh": false
}
},
{
"path" : "trainSignUp",
"style" :
{
"navigationBarTitleText" : "培训报名",
"enablePullDownRefresh" : false
"path": "trainSignUp",
"style": {
"navigationBarTitleText": "培训报名",
"enablePullDownRefresh": false
}
}]
},{
}
]
}, {
"root": "match",
"pages": [{
"path": "index",
......@@ -207,57 +201,69 @@
}
}]
},{
}, {
"root": "myCenter",
"pages": [{
"path" : "index",
"style" :
{
"navigationBarTitleText" : "个人中心",
"enablePullDownRefresh" : false
"path": "index",
"style": {
"navigationBarTitleText": "个人中心",
"enablePullDownRefresh": false
}
},
{
"path" : "mytrain/mytrain",
"style" :
{
"navigationBarTitleText" : "我的培训",
"enablePullDownRefresh" : false
"path": "mytrain/mytrain",
"style": {
"navigationBarTitleText": "我的培训",
"enablePullDownRefresh": false
}
},
{
"path" : "mytrain/myBill",
"style" :
{
"navigationBarTitleText" : "培训订单",
"enablePullDownRefresh" : false
"path": "mytrain/myBill",
"style": {
"navigationBarTitleText": "培训订单",
"enablePullDownRefresh": false
}
},
{
"path" : "mytrain/orderDetail",
"style" :
{
"navigationBarTitleText" : "订单详情",
"enablePullDownRefresh" : false
"path": "mytrain/orderDetail",
"style": {
"navigationBarTitleText": "订单详情",
"enablePullDownRefresh": false
}
}]
}
],
]
}, {
"root": "webView",
"pages": [{
"path": "newList/newList",
"style": {
"navigationBarTitleText": "新闻",
"enablePullDownRefresh": false
}
}, {
"path": "vipSystem",
"style": {
"navigationBarTitleText": "会员系统",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}]
}],
"preloadRule": {
"pages/index/index": {
"network": "all",
"packages": ["training","match","myCenter"]
"packages": ["training", "match", "myCenter", "webView"]
}
},
"tabBar": {
"list": [{
"pagePath": "pages/index/index",
"text": "首页"
},{
"pagePath": "webView/auth",
}, {
"pagePath": "pages/webView/auth",
"text": "认证查询"
},{
"pagePath": "myCenter/index",
}, {
"pagePath": "pages/myCenter/myCenter",
"text": "我的"
}]
}
......
......@@ -25,7 +25,7 @@
<view @click="goPath()">
<image />考点查询
</view>
<view @click="goPath()">
<view @click="goPath('/webView/vipSystem')">
<image />会员系统
</view>
<view @click="goPath('/myCenter/index')">
......
This diff could not be displayed because it is too large.
<template>
<view class="box">
<view class="topBg">
<view class="userInfoBox">
<view class="headImg">
<image mode="aspectFill" :src="avatarUrl"></image>
</view>
<view class="nameBox">
{{ user.nickName }}
<view>{{ user.phonenumber }}</view>
</view>
</view>
</view>
<view class="rMainBox">
<uni-list :border="false" class="myList">
<!-- <uni-list-item :border="false" title="个人信息" showArrow :to="`./myInfo`">
<template v-slot:header>
<view class="slot-box">
<image class="slot-image" src="/static/user_icon03.png" mode="widthFix"></image>
</view>
</template>
</uni-list-item>
<uni-list-item :border="false" title="参赛队信息" showArrow :to="`./teamList`">
<template v-slot:header>
<view class="slot-box">
<image class="slot-image" src="/static/user_icon06.png" mode="widthFix"></image>
</view>
</template>
</uni-list-item>
<uni-list-item :border="false" title="会员充值" showArrow :to="`./mycard/renew`">
<template v-slot:header>
<view class="slot-box">
<image class="slot-image" src="/static/user_icon01.png" mode="widthFix"></image>
</view>
</template>
</uni-list-item>
<uni-list-item :border="false" title="场地订单" showArrow :to="`./bills`">
<template v-slot:header>
<view class="slot-box">
<image class="slot-image" src="/static/user_icon02.png" mode="widthFix"></image>
</view>
</template>
</uni-list-item> -->
<uni-list-item :border="false" title="我的培训" showArrow clickable @click="goPath('/myCenter/mytrain/mytrain')">
<template v-slot:header>
<view class="slot-box">
<image class="slot-image" mode="widthFix"></image>
</view>
</template>
</uni-list-item>
<!-- <uni-list-item :border="false" title="我的赛事" showArrow :to="`./match`">
<template v-slot:header>
<view class="slot-box">
<image class="slot-image" src="/static/user_icon04.png" mode="widthFix"></image>
</view>
</template>
</uni-list-item> -->
</uni-list>
</view>
</view>
</template>
<script setup>
import * as my from '@/myCenter/center_api.js';
import * as loginServer from '@/common/login.js';
import { ref } from 'vue';
import { onLoad, onShow } from '@dcloudio/uni-app';
const user = ref({});
const app = getApp();
onShow(() => {
if (app.globalData.isLogin) {
init();
} else {
app.firstLoadCallback = () => {
init();
};
}
});
function init() {
console.log(app.globalData.isLogin)
if(app.globalData.userInfo){
const currUser = app.globalData.userInfo
user.value = currUser;
} else {
loginServer.getInfo().then(res=>{
const currUser = app.globalData.userInfo
user.value = currUser
})
}
}
function goBack() {
uni.navigateBack({});
}
// function goQcode() {
// uni.scanCode({
// onlyFromCamera: true,
// success: function(res) {
// console.log('条码类型:' + res.scanType);
// console.log('条码内容:' + res.result);
// api.scanQrCode(res.result).then(res => {
// uni.showModal({
// title: '提示',
// content: res.msg,
// success: function(res) {
// if (res.confirm) {
// console.log('确定');
// } else if (res.cancel) {
// console.log('取消');
// }
// }
// });
// });
// }
// });
// }
function building() {
uni.showToast({
title: '暂未开放,敬请期待。',
icon: 'none',
duration: 2000
});
}
function goPath(path) {
if(path)
uni.navigateTo({
url: path
});
}
</script>
<style scoped lang="scss">
.box {
width: 100vw;
overflow: hidden;
}
.rMainBox {
box-sizing: border-box;
padding: 20rpx 25rpx 0;
margin: 25rpx;
}
.userInfoBox {
height: 200rpx;
}
.nameBox {
position: absolute;
left: 180rpx;
top: 70rpx;
font-size: 30rpx;
}
.nameBox view {
color: #7b7f83;
font-size: 26rpx;
margin-top: 10rpx;
}
.goback {
position: absolute;
color: #fff;
top: 100rpx;
left: 35rpx;
}
.forAdmin {
padding: 25rpx;
box-sizing: border-box;
}
.topBg {
}
.onlyCardBottom {
position: relative;
width: 660rpx;
margin: auto;
height: 90rpx;
.bbg {
height: 90rpx;
width: 660rpx;
}
.cardBottom {
width: 660rpx;
background: transparent;
height: 90rpx;
text {
font-size: 28rpx;
color: #925921;
}
.renewBtn {
background: #874f02;
color: #fff;
}
}
}
.headImg {
border-radius: 50%;
position: relative;
top: 50rpx;
overflow: hidden;
width: 100rpx;
height: 100rpx;
border: 4px solid #ffffff;
background: #c4f9cb;
left: 40rpx;
button {
display: block;
padding: 0;
}
image {
width: 100rpx;
height: 100rpx;
display: block;
}
}
.slot-image {
width: 50rpx;
position: relative;
top: -8rpx;
height: 50rpx;
margin-right: 30rpx;
}
.myList {
}
.funcBar {
display: flex;
background: #fff;
width: 700rpx;
height: 140rpx;
justify-content: space-around;
}
.funcBar view {
display: flex;
align-items: center;
font-size: 36rpx;
}
.funcBar image {
width: 80rpx;
height: 80rpx;
}
.topbgimg {
width: 100vw;
position: absolute;
z-index: -1;
}
.reportItembox {
overflow: hidden;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.reportItem {
background: #fff;
border-radius: 15rpx;
width: 340rpx;
margin-top: 25rpx;
.t {
border-bottom: 1px solid #e5e5e5;
height: 70rpx;
line-height: 70rpx;
color: #2b3133;
font-size: 30rpx;
padding-left: 36rpx;
}
.rbody {
display: flex;
padding: 36rpx;
box-sizing: border-box;
view {
font-size: 26rpx;
color: #888;
width: 40%;
}
text {
color: #00c176;
font-weight: bold;
font-size: 36rpx;
display: block;
margin-bottom: 20rpx;
}
}
}
.changephonepop {
width: 100%;
}
.changephonepop view {
width: 100%;
margin: 0 0 30rpx;
}
.changephonepop view input {
width: 100%;
background: #f4f4f4;
font-size: 30rpx;
height: 80rpx;
padding: 0 15rpx;
box-sizing: border-box;
line-height: 80rpx;
}
.changephonepop view.ffff {
display: flex;
}
.changephonepop view button {
font-size: 24rpx;
margin-left: 10rpx;
white-space: nowrap;
width: 260rpx;
line-height: 80rpx;
background: linear-gradient(90deg, #00c176, #3ed89b);
color: #fff;
padding: 0;
border: none;
}
</style>
<template>
<web-view src="https://newsystem.taekwondo.org.cn/#/authAccurate">
</web-view>
</template>
<script>
......
......@@ -122,7 +122,7 @@
query.value.flag = current.value;
train.getTrainList(query.value).then(res=>{
list.value = res.rows;
total.value = res.rows;
total.value = res.total;
})
}
......@@ -152,7 +152,8 @@
// 上拉加载
onReachBottom(async () => {
if (list.value.length == total.value) {
console.log(list.value.length,total.value)
if (list.value.length >= total.value) {
status.value = 'noMore';
return false;
} else {
......
......@@ -6,9 +6,9 @@ if (!Math) {
"./pages/index/index.js";
"./pages/index/login.js";
"./pages/index/register.js";
"./webView/vipSystem.js";
"./pages/index/binding.js";
"./webView/newList/newList.js";
"./pages/myCenter/myCenter.js";
"./pages/webView/auth.js";
"./training/trainList.js";
"./training/detailPage.js";
"./training/trainSignUp.js";
......@@ -29,6 +29,8 @@ if (!Math) {
"./myCenter/mytrain/mytrain.js";
"./myCenter/mytrain/myBill.js";
"./myCenter/mytrain/orderDetail.js";
"./webView/newList/newList.js";
"./webView/vipSystem.js";
}
const _sfc_main = {
onLaunch: function(options) {
......
......@@ -3,9 +3,9 @@
"pages/index/index",
"pages/index/login",
"pages/index/register",
"webView/vipSystem",
"pages/index/binding",
"webView/newList/newList"
"pages/myCenter/myCenter",
"pages/webView/auth"
],
"subPackages": [
{
......@@ -42,6 +42,13 @@
"mytrain/myBill",
"mytrain/orderDetail"
]
},
{
"root": "webView",
"pages": [
"newList/newList",
"vipSystem"
]
}
],
"window": {
......@@ -57,11 +64,11 @@
"text": "首页"
},
{
"pagePath": "webView/auth",
"pagePath": "pages/webView/auth",
"text": "认证查询"
},
{
"pagePath": "myCenter/index",
"pagePath": "pages/myCenter/myCenter",
"text": "我的"
}
]
......@@ -72,7 +79,8 @@
"packages": [
"training",
"match",
"myCenter"
"myCenter",
"webView"
]
}
},
......
......@@ -19570,23 +19570,23 @@ const pages = [
}
},
{
path: "webView/vipSystem",
path: "pages/index/binding",
style: {
navigationBarTitleText: "会员系统",
navigationBarTitleText: "账号绑定",
enablePullDownRefresh: false
}
},
{
path: "pages/index/binding",
path: "pages/myCenter/myCenter",
style: {
navigationBarTitleText: "账号绑定",
navigationBarTitleText: "我的",
enablePullDownRefresh: false
}
},
{
path: "webView/newList/newList",
path: "pages/webView/auth",
style: {
navigationBarTitleText: "新闻资讯",
navigationBarTitleText: "认证查询",
enablePullDownRefresh: false
}
}
......@@ -19785,6 +19785,26 @@ const subPackages = [
}
}
]
},
{
root: "webView",
pages: [
{
path: "newList/newList",
style: {
navigationBarTitleText: "新闻",
enablePullDownRefresh: false
}
},
{
path: "vipSystem",
style: {
navigationBarTitleText: "会员系统",
enablePullDownRefresh: false,
navigationStyle: "custom"
}
}
]
}
];
const preloadRule = {
......@@ -19793,7 +19813,8 @@ const preloadRule = {
packages: [
"training",
"match",
"myCenter"
"myCenter",
"webView"
]
}
};
......@@ -19804,11 +19825,11 @@ const tabBar = {
text: "首页"
},
{
pagePath: "webView/auth",
pagePath: "pages/webView/auth",
text: "认证查询"
},
{
pagePath: "myCenter/index",
pagePath: "pages/myCenter/myCenter",
text: "我的"
}
]
......
......@@ -37,7 +37,7 @@ const _sfc_main = {
d: common_vendor.o(($event) => goPath()),
e: common_vendor.o(($event) => goPath()),
f: common_vendor.o(($event) => goPath()),
g: common_vendor.o(($event) => goPath()),
g: common_vendor.o(($event) => goPath("/webView/vipSystem")),
h: common_vendor.o(($event) => goPath("/myCenter/index"))
};
};
......
This diff could not be displayed because it is too large.
"use strict";
const common_vendor = require("../../common/vendor.js");
const common_login = require("../../common/login.js");
require("../../common/request.js");
require("../../config.js");
require("../../common/aes.js");
if (!Array) {
const _easycom_uni_list_item2 = common_vendor.resolveComponent("uni-list-item");
const _easycom_uni_list2 = common_vendor.resolveComponent("uni-list");
(_easycom_uni_list_item2 + _easycom_uni_list2)();
}
const _easycom_uni_list_item = () => "../../uni_modules/uni-list/components/uni-list-item/uni-list-item.js";
const _easycom_uni_list = () => "../../uni_modules/uni-list/components/uni-list/uni-list.js";
if (!Math) {
(_easycom_uni_list_item + _easycom_uni_list)();
}
const _sfc_main = {
__name: "myCenter",
setup(__props) {
const user = common_vendor.ref({});
const app = getApp();
common_vendor.onShow(() => {
if (app.globalData.isLogin) {
init();
} else {
app.firstLoadCallback = () => {
init();
};
}
});
function init() {
console.log(app.globalData.isLogin);
if (app.globalData.userInfo) {
const currUser = app.globalData.userInfo;
user.value = currUser;
} else {
common_login.getInfo().then((res) => {
const currUser = app.globalData.userInfo;
user.value = currUser;
});
}
}
function goPath(path) {
if (path)
common_vendor.index.navigateTo({
url: path
});
}
return (_ctx, _cache) => {
return {
a: _ctx.avatarUrl,
b: common_vendor.t(user.value.nickName),
c: common_vendor.t(user.value.phonenumber),
d: common_vendor.o(($event) => goPath("/myCenter/mytrain/mytrain")),
e: common_vendor.p({
border: false,
title: "我的培训",
showArrow: true,
clickable: true
}),
f: common_vendor.p({
border: false
})
};
};
}
};
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-eea72321"], ["__file", "/Users/yangyang/ztx_wx_minapp/pages/myCenter/myCenter.vue"]]);
wx.createPage(MiniProgramPage);
{
"navigationBarTitleText": "我的",
"enablePullDownRefresh": false,
"usingComponents": {
"uni-list-item": "../../uni_modules/uni-list/components/uni-list-item/uni-list-item",
"uni-list": "../../uni_modules/uni-list/components/uni-list/uni-list"
}
}
\ No newline at end of file
<view class="box data-v-eea72321"><view class="topBg data-v-eea72321"><view class="userInfoBox data-v-eea72321"><view class="headImg data-v-eea72321"><image class="data-v-eea72321" mode="aspectFill" src="{{a}}"></image></view><view class="nameBox data-v-eea72321">{{b}} <view class="data-v-eea72321">{{c}}</view></view></view></view><view class="rMainBox data-v-eea72321"><uni-list wx:if="{{f}}" u-s="{{['d']}}" class="myList data-v-eea72321" u-i="eea72321-0" bind:__l="__l" u-p="{{f}}"><uni-list-item wx:if="{{e}}" class="data-v-eea72321" u-s="{{['header']}}" bindclick="{{d}}" u-i="eea72321-1,eea72321-0" bind:__l="__l" u-p="{{e}}"><view class="slot-box data-v-eea72321" slot="header"><image class="slot-image data-v-eea72321" mode="widthFix"></image></view></uni-list-item></uni-list></view></view>
\ No newline at end of file
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.box.data-v-eea72321 {
width: 100vw;
overflow: hidden;
}
.rMainBox.data-v-eea72321 {
box-sizing: border-box;
padding: 20rpx 25rpx 0;
margin: 25rpx;
}
.userInfoBox.data-v-eea72321 {
height: 200rpx;
}
.nameBox.data-v-eea72321 {
position: absolute;
left: 180rpx;
top: 70rpx;
font-size: 30rpx;
}
.nameBox view.data-v-eea72321 {
color: #7b7f83;
font-size: 26rpx;
margin-top: 10rpx;
}
.goback.data-v-eea72321 {
position: absolute;
color: #fff;
top: 100rpx;
left: 35rpx;
}
.forAdmin.data-v-eea72321 {
padding: 25rpx;
box-sizing: border-box;
}
.onlyCardBottom.data-v-eea72321 {
position: relative;
width: 660rpx;
margin: auto;
height: 90rpx;
}
.onlyCardBottom .bbg.data-v-eea72321 {
height: 90rpx;
width: 660rpx;
}
.onlyCardBottom .cardBottom.data-v-eea72321 {
width: 660rpx;
background: transparent;
height: 90rpx;
}
.onlyCardBottom .cardBottom text.data-v-eea72321 {
font-size: 28rpx;
color: #925921;
}
.onlyCardBottom .cardBottom .renewBtn.data-v-eea72321 {
background: #874f02;
color: #fff;
}
.headImg.data-v-eea72321 {
border-radius: 50%;
position: relative;
top: 50rpx;
overflow: hidden;
width: 100rpx;
height: 100rpx;
border: 4px solid #ffffff;
background: #c4f9cb;
left: 40rpx;
}
.headImg button.data-v-eea72321 {
display: block;
padding: 0;
}
.headImg image.data-v-eea72321 {
width: 100rpx;
height: 100rpx;
display: block;
}
.slot-image.data-v-eea72321 {
width: 50rpx;
position: relative;
top: -8rpx;
height: 50rpx;
margin-right: 30rpx;
}
.funcBar.data-v-eea72321 {
display: flex;
background: #fff;
width: 700rpx;
height: 140rpx;
justify-content: space-around;
}
.funcBar view.data-v-eea72321 {
display: flex;
align-items: center;
font-size: 36rpx;
}
.funcBar image.data-v-eea72321 {
width: 80rpx;
height: 80rpx;
}
.topbgimg.data-v-eea72321 {
width: 100vw;
position: absolute;
z-index: -1;
}
.reportItembox.data-v-eea72321 {
overflow: hidden;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.reportItem.data-v-eea72321 {
background: #fff;
border-radius: 15rpx;
width: 340rpx;
margin-top: 25rpx;
}
.reportItem .t.data-v-eea72321 {
border-bottom: 1px solid #e5e5e5;
height: 70rpx;
line-height: 70rpx;
color: #2b3133;
font-size: 30rpx;
padding-left: 36rpx;
}
.reportItem .rbody.data-v-eea72321 {
display: flex;
padding: 36rpx;
box-sizing: border-box;
}
.reportItem .rbody view.data-v-eea72321 {
font-size: 26rpx;
color: #888;
width: 40%;
}
.reportItem .rbody text.data-v-eea72321 {
color: #00c176;
font-weight: bold;
font-size: 36rpx;
display: block;
margin-bottom: 20rpx;
}
.changephonepop.data-v-eea72321 {
width: 100%;
}
.changephonepop view.data-v-eea72321 {
width: 100%;
margin: 0 0 30rpx;
}
.changephonepop view input.data-v-eea72321 {
width: 100%;
background: #f4f4f4;
font-size: 30rpx;
height: 80rpx;
padding: 0 15rpx;
box-sizing: border-box;
line-height: 80rpx;
}
.changephonepop view.ffff.data-v-eea72321 {
display: flex;
}
.changephonepop view button.data-v-eea72321 {
font-size: 24rpx;
margin-left: 10rpx;
white-space: nowrap;
width: 260rpx;
line-height: 80rpx;
background: linear-gradient(90deg, #00c176, #3ed89b);
color: #fff;
padding: 0;
border: none;
}
\ No newline at end of file
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {};
function _sfc_render(_ctx, _cache) {
return {};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/yangyang/ztx_wx_minapp/pages/webView/auth.vue"]]);
wx.createPage(MiniProgramPage);
{
"navigationBarTitleText": "认证查询",
"enablePullDownRefresh": false,
"usingComponents": {}
}
\ No newline at end of file
<web-view src="https://newsystem.taekwondo.org.cn/#/authAccurate"></web-view>
\ No newline at end of file
{
"appid": "wx5d51e8ed31bbdbb7",
"appid": "wx523ee37fff4fea9d",
"compileType": "miniprogram",
"libVersion": "3.0.0",
"packOptions": {
......
......@@ -81,7 +81,7 @@ const _sfc_main = {
query.value.flag = current.value;
training_train.getTrainList(query.value).then((res) => {
list.value = res.rows;
total.value = res.rows;
total.value = res.total;
});
}
function detail(item) {
......@@ -102,7 +102,8 @@ const _sfc_main = {
common_vendor.wx$1.stopPullDownRefresh();
});
common_vendor.onReachBottom(async () => {
if (list.value.length == total.value) {
console.log(list.value.length, total.value);
if (list.value.length >= total.value) {
status.value = "noMore";
return false;
} else {
......
{
"navigationBarTitleText": "新闻资讯",
"navigationBarTitleText": "新闻",
"enablePullDownRefresh": false,
"usingComponents": {}
}
\ No newline at end of file
......
{
"navigationBarTitleText": "会员系统",
"enablePullDownRefresh": false,
"navigationStyle": "custom",
"usingComponents": {}
}
\ No newline at end of file
......
<view><web-view></web-view></view>
\ No newline at end of file
<view><web-view src="http://192.168.1.194:5173"></web-view></view>
\ No newline at end of file
......
<template>
<view>
<web-view>
<web-view src="http://192.168.1.194:5173">
</web-view>
</view>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!