This commit is contained in:
2025-03-12 11:39:31 +08:00
parent b8a44a2716
commit 55954a4a9b
125 changed files with 30973 additions and 30045 deletions

View File

@@ -1,13 +1,14 @@
<template><page-meta
:page-font-size="$baseFontSize() + 'px'"
:root-font-size="$baseFontSize() + 'px'"
></page-meta>
<template>
<page-meta
:page-font-size="$baseFontSize() + 'px'"
:root-font-size="$baseFontSize() + 'px'"
></page-meta>
<view class="commonPageBox" style="">
<public-module></public-module>
<view class="header_box">
<view class="header_bg" :style="`margin-top:${statusBarHeight * 2}rpx`">
<text class="PM_font" style="color: #7f2000;">太湖公益</text>
<text class="PM_font" style="color: #7f2000">太湖公益</text>
</view>
</view>
<!-- <view class="header_box">
@@ -63,7 +64,7 @@
<scroll-view
scroll-y="true"
class="scroll-Y"
style="height: 100%;width: 100%;"
style="height: 100%; width: 100%"
@scrolltolower="onReachBottom1"
>
<view
@@ -101,7 +102,7 @@
<view class="flash_sale_box" v-if="currentCate == 1">
<view class="flash_sale_content">
<common-list
style="height: 100%;width: 100%;"
style="height: 100%; width: 100%"
noDataIcon="data"
:isCondition="true"
@lower="onReachBottom2"
@@ -251,7 +252,7 @@ export default {
total: 0, //总条数
};
this.goodsList = [];
await this.getGoodsList();
// await this.getSociologyLabels();
});
@@ -265,7 +266,7 @@ export default {
},
function (e) {
console.log("Open system default browser failed: " + e.message);
}
},
);
} else if (plus.os.name == "iOS") {
plus.runtime.launchApplication(
@@ -274,7 +275,7 @@ export default {
},
function (e) {
console.log("Open system default browser failed: " + e.message);
}
},
);
}
},
@@ -336,7 +337,7 @@ export default {
},
async getGoodsList() {
var that = this;
this.$http
.request({
url: this.urlList.getGoodsList,
@@ -351,9 +352,9 @@ export default {
.then(async (res) => {
console.log(res, "999");
var that = this;
if(this.pagination1.page==1){
this.goodsList = [];
}
if (this.pagination1.page == 1) {
this.goodsList = [];
}
// console.log("result at line 332:", result);
// that.noticeList = res.page ? result : [];
@@ -526,7 +527,6 @@ function calcTimer(timer) {
.header_box {
width: 100%;
height: 260rpx;
display: flex;
justify-content: center;

View File

@@ -1,15 +1,17 @@
<template><page-meta
:page-font-size="$baseFontSize() + 'px'"
:root-font-size="$baseFontSize() + 'px'"
></page-meta>
<template>
<page-meta
:page-font-size="$baseFontSize() + 'px'"
:root-font-size="$baseFontSize() + 'px'"
></page-meta>
<view class="container">
<!-- 公共组件-每个页面必须引入 -->
<public-module></public-module>
<z-nav-bar :title="prescriptDetail.title" bgColor="#3AB3AE" fontColor="#fff"></z-nav-bar>
<view
class="contentBox"
v-if="prescriptDetail.type == 0"
>
<z-nav-bar
:title="prescriptDetail.title"
bgColor="#3AB3AE"
fontColor="#fff"
></z-nav-bar>
<view class="contentBox" v-if="prescriptDetail.type == 0">
<view class="content">
<!-- <uni-section class="mb-10" titleFontSize="18px" title="标题" type="line"> -->
<view class="item title-center">
@@ -92,7 +94,7 @@ export default {
) {
this.prescriptDetail.content = res.result.content.replace(
/<img/g,
'<img style="max-width: 100%;"'
'<img style="max-width: 100%;"',
);
}
// if (this.prescriptDetail.image) {
@@ -177,4 +179,4 @@ export default {
/deep/ .uni-section-header__decoration.line {
background-color: #18bc37;
}
</style>
</style>