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

@@ -8,16 +8,24 @@
<view v-if="selected == 1">
<view class="header_box"></view>
<view class="main_content_box">
<view class="cate_box" v-if="cateList.length>0">
<view class="cate_item_box" v-for="(v, i) in cateList" @click="handleClickCate(v)">
<view class="cate_item_border">
<image :src="v.icon" mode="aspectFill" style="width: 49rpx; height: 49rpx"></image>
</view>
<view class="cate_item_name">{{ v.title }}</view>
</view>
</view>
<view class="cate_box" v-if="cateList.length > 0">
<view
class="cate_item_box"
v-for="(v, i) in cateList"
@click="handleClickCate(v)"
>
<view class="cate_item_border">
<image
:src="v.icon"
mode="aspectFill"
style="width: 49rpx; height: 49rpx"
></image>
</view>
<view class="cate_item_name">{{ v.title }}</view>
</view>
</view>
<view class="flash_sale_box notice_box">
<view class="flash_sale_top">
<image
@@ -43,7 +51,7 @@
</view> -->
</view>
</view>
<view class="flash_sale_box">
<view class="flash_sale_top">
<image
@@ -52,7 +60,9 @@
mode="aspectFill"
style="width: 36rpx; height: 44rpx"
></image>
<text class="miaoShaTitle" @click="goVideo" style="width: auto;">秒杀</text>
<text class="miaoShaTitle" @click="goVideo" style="width: auto"
>秒杀</text
>
<view class="miaoShaContent">
<!-- {{ miaoShaContent }} -->
</view>
@@ -85,7 +95,6 @@
</view>
</view>
<!-- <view class="learning_box listening_box bottomBox">
<view class="item_img" @click="handleGoApp">
<image src="@/static/tab/bottom1.png" mode="aspectFill"></image>
@@ -105,10 +114,19 @@
font-size: 28rpx;
"
>
<view class="bg_top">
<u-icon @click="goSetting" class="setIcon" labelColor="#fff" labelPos="bottom" label="设置" name="setting"
:style="`top:${(10 + statusBarHeight) * 2}rpx`" color="#fff" size="28"></u-icon>
</view>
<view class="bg_top">
<u-icon
@click="goSetting"
class="setIcon"
labelColor="#fff"
labelPos="bottom"
label="设置"
name="setting"
:style="`top:${(10 + statusBarHeight) * 2}rpx`"
color="#fff"
size="28"
></u-icon>
</view>
<view style="height: 50rpx"></view>
<view class="per_mes" style="display: flex; align-items: center">
<image src="@/static/icon/fengziIcon.png" class="per_mes_img"></image>
@@ -398,7 +416,7 @@ export default {
},
function (e) {
console.log("Open system default browser failed: " + e.message);
}
},
);
} else if (plus.os.name == "iOS") {
// plus.runtime.launchApplication(
@@ -456,7 +474,7 @@ export default {
isBook: 0, //是否是疯子读书
isMedical: 0, //是否是吴门医述
isSociology: 1, //是否是众妙之门
isPsyche:0,
isPsyche: 0,
};
this.$http
.request({
@@ -639,7 +657,7 @@ export default {
//这链接会判断你手机是ios还是AndroidAndroid进入应用宝下载app
//跟下面的是一个链接
console.log(res);
}
},
);
}
} else if (plus.os.name == "iOS") {
@@ -658,18 +676,19 @@ export default {
//这链接会判断你手机是ios还是Androidios进入应用宝下载app
//跟上面的是一个链接
console.log(res);
}
},
);
}
},
);
// }
}
},goSetting() {
},
goSetting() {
uni.navigateTo({
url: "/pages/mine/set/index",
});
// this.onPageJump("/pages/mine/set/index");
},
url: "/pages/mine/set/index",
});
// this.onPageJump("/pages/mine/set/index");
},
goGoodsDetail(v) {
console.log(v);
uni.navigateTo({
@@ -679,7 +698,6 @@ export default {
},
handleClickCurriculum(v) {
console.log(v);
if (v.url) {
uni.navigateTo({
@@ -691,7 +709,7 @@ export default {
},
handleClickCate(v) {
console.log(v);
uni.navigateTo({
url: `/pages/user/cateList?navTitle=${v.title}&title=${v.title}&id=${v.id}`,
});
@@ -1386,17 +1404,16 @@ function calcTimer(timer) {
// background: #fff;
}
.bg_top {
// background-position: center center;
padding: 0 30rpx;
// background-position: center center;
padding: 0 30rpx;
height: 40rpx;
position: relative;
.setIcon {
position: absolute;
right: 30rpx;
// top: 30rpx;
}
}
height: 40rpx;
position: relative;
.setIcon {
position: absolute;
right: 30rpx;
// top: 30rpx;
}
}
</style>