This commit is contained in:
2025-03-17 10:54:00 +08:00
parent f8a31e6067
commit 1439143624
3 changed files with 186 additions and 154 deletions

View File

@@ -8,7 +8,7 @@
<view class="header_box"></view> <view class="header_box"></view>
<view class="appJump"> <view class="appJump">
<view <!-- <view
class="everhealth item flexbox" class="everhealth item flexbox"
@click="appjumpfun('everhealth')" @click="appjumpfun('everhealth')"
v-if="$platform != 'ios'" v-if="$platform != 'ios'"
@@ -22,15 +22,8 @@
<view class="text"> <view class="text">
<text>一路健康</text> <text>一路健康</text>
</view> </view>
</view> </view> -->
<view class="zmzm item flexbox" @click="appjumpfun('nuttyreading')">
<view class="img">
<image src="@/static/icon/home_icon_3.png" mode="widthFix"></image>
</view>
<view class="text">
<text>疯子读书</text>
</view>
</view>
<view class="zmzm item flexbox" @click="appjumpfun('medicine')"> <view class="zmzm item flexbox" @click="appjumpfun('medicine')">
<view class="img"> <view class="img">
<image src="@/static/icon/wmysicon.png" mode="widthFix"></image> <image src="@/static/icon/wmysicon.png" mode="widthFix"></image>
@@ -39,6 +32,23 @@
<text>吴门医述</text> <text>吴门医述</text>
</view> </view>
</view> </view>
<view class="zmzm item flexbox" @click="appjumpfun('soul')">
<view class="img">
<image src="@/static/icon/xinlingicon.png" mode="widthFix"></image>
</view>
<view class="text">
<text>心灵空间</text>
</view>
</view>
<view class="zmzm item flexbox" @click="appjumpfun('nuttyreading')">
<view class="img">
<image src="@/static/icon/home_icon_3.png" mode="widthFix"></image>
</view>
<view class="text">
<text>疯子读书</text>
</view>
</view>
</view> </view>
<view class="main_content_box"> <view class="main_content_box">
<view class="curriculum_box"> <view class="curriculum_box">
@@ -100,7 +110,7 @@
</view> </view>
</view> </view>
<view class="flash_sale_box" > <view class="flash_sale_box">
<view class="flash_sale_top"> <view class="flash_sale_top">
<image <image
class="miaoShaIcon" class="miaoShaIcon"
@@ -120,81 +130,108 @@
></image> ></image>
</view> </view>
<view class="flash_sale_content" style="margin-top: 40rpx;height: auto !important;"> <view
class="flash_sale_content"
style="margin-top: 40rpx; height: auto !important"
>
<scroll-view scroll-x="true" class="scroll-X" style=""> <scroll-view scroll-x="true" class="scroll-X" style="">
<view <view
class="scroll-view-item flash_sale_content_item" class="scroll-view-item flash_sale_content_item"
@click="goGoodsDetail(v)" @click="goGoodsDetail(v)"
style="position: relative;" style="position: relative"
v-for="(v, i) in seckillLst" v-for="(v, i) in seckillLst"
> <view v-if="v.isVipPrice==1&&v.vipPrice!=0&&v.vipPrice!=null" >
style="z-index: 10;position: absolute;top: 10rpx;left: 10px;text-align: center;font-size: 22rpx;background-color: #f94f04;color: #fff;font-weight: bold;border-radius:4px;width: 120rpx; padding:4rpx;box-sizing: border-box;"> <view
VIP优惠</view> v-if="
v.isVipPrice == 1 && v.vipPrice != 0 && v.vipPrice != null
"
style="
z-index: 10;
position: absolute;
top: 10rpx;
left: 10px;
text-align: center;
font-size: 22rpx;
background-color: #f94f04;
color: #fff;
font-weight: bold;
border-radius: 4px;
width: 120rpx;
padding: 4rpx;
box-sizing: border-box;
"
>
VIP优惠</view
>
<image class="book_image" :src="v.productImages" mode="aspectFit"> <image class="book_image" :src="v.productImages" mode="aspectFit">
</image> </image>
<view class="book_name" style="padding-bottom: 20rpx;font-weight: 500;font-size: 28rpx;">{{ <view
v.productName class="book_name"
}}</view> style="
<view> padding-bottom: 20rpx;
<!-- v-if=" font-weight: 500;
font-size: 28rpx;
"
>{{ v.productName }}</view
>
<view>
<!-- v-if="
item.isVipPrice == 1 && item.isVipPrice == 1 &&
item.vipPrice != 0 && item.vipPrice != 0 &&
item.vipPrice != null item.vipPrice != null
" --> " -->
<text
class="price"
v-if="
v.isVipPrice == 1 && v.vipPrice != 0 && v.vipPrice != null
"
>
<text <text
class="price" style="color: #e97512; font-size: 28rpx; font-weight: bold"
v-if=" >¥{{ v.vipPrice }}</text
v.isVipPrice == 1 && >
v.vipPrice != 0 &&
v.vipPrice != null <text
style="
color: #8a8a8a;
font-size: 22rpx;
margin-left: 4px;
font-weight: bold;
text-decoration: line-through;
" "
>
<text
style="color: #e97512; font-size: 28rpx; font-weight: bold"
>¥{{ v.vipPrice }}</text
>
<text
style="
color: #8a8a8a;
font-size: 22rpx;
margin-left: 4px;
font-weight: bold;
text-decoration: line-through;
"
>¥{{ Number(v.price) }}</text
>
</text>
<text
v-else-if="v.activityPrice && v.activityPrice > 0"
class="price"
>
<text
style="color: #e97512; font-size: 28rpx; font-weight: bold"
>¥{{ v.activityPrice }}</text
>
<text
style="
color: #8a8a8a;
font-size: 22rpx;
margin-left: 4px;
font-weight: bold;
text-decoration: line-through;
"
>¥{{ Number(v.price) }}</text
>
</text>
<text v-else class="price" style="color: #e97512; font-size: 28rpx; font-weight: bold"
>¥{{ Number(v.price) }}</text >¥{{ Number(v.price) }}</text
> >
<view> </text>
</view> <text
v-else-if="v.activityPrice && v.activityPrice > 0"
class="price"
>
<text
style="color: #e97512; font-size: 28rpx; font-weight: bold"
>¥{{ v.activityPrice }}</text
>
</view> <text
style="
color: #8a8a8a;
font-size: 22rpx;
margin-left: 4px;
font-weight: bold;
text-decoration: line-through;
"
>¥{{ Number(v.price) }}</text
>
</text>
<text
v-else
class="price"
style="color: #e97512; font-size: 28rpx; font-weight: bold"
>¥{{ Number(v.price) }}</text
>
<view> </view>
</view>
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
@@ -398,7 +435,7 @@ export default {
}, },
function (e) { function (e) {
console.log("Open system default browser failed: " + e.message); console.log("Open system default browser failed: " + e.message);
}, }
); );
} else if (plus.os.name == "iOS") { } else if (plus.os.name == "iOS") {
// plus.runtime.launchApplication( // plus.runtime.launchApplication(
@@ -563,11 +600,16 @@ export default {
schemes = "nuttyreading"; schemes = "nuttyreading";
appId = "6446239659"; appId = "6446239659";
} }
if (name == "everhealth") { if (name == "soul") {
bagName = "cn.com.everhealth"; bagName = "com.nuttyreading.soul";
schemes = "everhealth"; schemes = "soulspace";
appId = "1073393620"; appId = "6743377830";
} }
// if (name == "everhealth") {
// bagName = "cn.com.everhealth";
// schemes = "everhealth";
// appId = "1073393620";
// }
if (name == "medicine") { if (name == "medicine") {
bagName = "com.cn.medicine"; bagName = "com.cn.medicine";
schemes = "medicine"; schemes = "medicine";
@@ -602,7 +644,7 @@ export default {
//这链接会判断你手机是ios还是AndroidAndroid进入应用宝下载app //这链接会判断你手机是ios还是AndroidAndroid进入应用宝下载app
//跟下面的是一个链接 //跟下面的是一个链接
console.log(res); console.log(res);
}, }
); );
} }
} else if (plus.os.name == "iOS") { } else if (plus.os.name == "iOS") {
@@ -636,9 +678,9 @@ export default {
"itms-apps://itunes.apple.com/app/" + appId, // 目标 App 的 App Store 下载链接(替换成实际 ID "itms-apps://itunes.apple.com/app/" + appId, // 目标 App 的 App Store 下载链接(替换成实际 ID
function (res) { function (res) {
console.log("跳转 App Store 失败", res); console.log("跳转 App Store 失败", res);
}, }
); );
}, }
); );
} }
}, },

File diff suppressed because one or more lines are too long

View File

@@ -9729,47 +9729,45 @@ var render = function () {
"uni-view", "uni-view",
{ staticClass: _vm._$g(5, "sc"), attrs: { _i: 5 } }, { staticClass: _vm._$g(5, "sc"), attrs: { _i: 5 } },
[ [
_vm._$g(6, "i") _c(
? _c( "uni-view",
"uni-view", {
{ staticClass: _vm._$g(6, "sc"),
staticClass: _vm._$g(6, "sc"), attrs: { _i: 6 },
attrs: { _i: 6 }, on: {
on: { click: function ($event) {
click: function ($event) { return _vm.$handleViewEvent($event)
return _vm.$handleViewEvent($event)
},
},
}, },
},
},
[
_c(
"uni-view",
{ staticClass: _vm._$g(7, "sc"), attrs: { _i: 7 } },
[ [
_c( _c("v-uni-image", {
"uni-view", attrs: {
{ staticClass: _vm._$g(7, "sc"), attrs: { _i: 7 } }, src: "/static/icon/wmysicon.png",
[ mode: "widthFix",
_c("v-uni-image", { _i: 8,
attrs: { },
src: "/static/icon/ic_login_health.png", }),
mode: "widthFix",
_i: 8,
},
}),
],
1
),
_c(
"uni-view",
{ staticClass: _vm._$g(9, "sc"), attrs: { _i: 9 } },
[
_c("v-uni-text", { attrs: { _i: 10 } }, [
_vm._v("一路健康"),
]),
],
1
),
], ],
1 1
) ),
: _vm._e(), _c(
"uni-view",
{ staticClass: _vm._$g(9, "sc"), attrs: { _i: 9 } },
[
_c("v-uni-text", { attrs: { _i: 10 } }, [
_vm._v("吴门医述"),
]),
],
1
),
],
1
),
_c( _c(
"uni-view", "uni-view",
{ {
@@ -9788,7 +9786,7 @@ var render = function () {
[ [
_c("v-uni-image", { _c("v-uni-image", {
attrs: { attrs: {
src: "/static/icon/home_icon_3.png", src: "/static/icon/xinlingicon.png",
mode: "widthFix", mode: "widthFix",
_i: 13, _i: 13,
}, },
@@ -9801,7 +9799,7 @@ var render = function () {
{ staticClass: _vm._$g(14, "sc"), attrs: { _i: 14 } }, { staticClass: _vm._$g(14, "sc"), attrs: { _i: 14 } },
[ [
_c("v-uni-text", { attrs: { _i: 15 } }, [ _c("v-uni-text", { attrs: { _i: 15 } }, [
_vm._v("疯子读书"), _vm._v("心灵空间"),
]), ]),
], ],
1 1
@@ -9827,7 +9825,7 @@ var render = function () {
[ [
_c("v-uni-image", { _c("v-uni-image", {
attrs: { attrs: {
src: "/static/icon/wmysicon.png", src: "/static/icon/home_icon_3.png",
mode: "widthFix", mode: "widthFix",
_i: 18, _i: 18,
}, },
@@ -9840,7 +9838,7 @@ var render = function () {
{ staticClass: _vm._$g(19, "sc"), attrs: { _i: 19 } }, { staticClass: _vm._$g(19, "sc"), attrs: { _i: 19 } },
[ [
_c("v-uni-text", { attrs: { _i: 20 } }, [ _c("v-uni-text", { attrs: { _i: 20 } }, [
_vm._v("吴门医述"), _vm._v("疯子读书"),
]), ]),
], ],
1 1