Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
mallapp
Commits
56c5a29f
Commit
56c5a29f
authored
Oct 12, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
d5e7c1fe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1488 additions
and
1779 deletions
+1488
-1779
index.vue
pages/index/index.vue
+1488
-1779
No files found.
pages/index/index.vue
View file @
56c5a29f
<
template
>
<
template
>
<view>
<view>
<view
v-if=
"showStart == true"
style=
"width: 100vw; height: 100vh"
>
<view
v-if=
"showStart == true"
style=
"width: 100vw; height: 100vh"
>
<image
<image
:src=
"startData.PicUrl"
mode=
"aspectFit"
style=
"width: 100%; height: 100%; position: relative"
>
:src=
"startData.PicUrl"
<view
class=
"Startbtn"
:style=
"
{ top: pagePaddingBottom }" @click="startb">
mode=
"aspectFit"
style=
"width: 100%; height: 100%; position: relative"
>
<view
class=
"Startbtn"
:style=
"
{ top: pagePaddingBottom }"
@click="startb"
>
跳过
跳过
</view>
</view>
</image>
</image>
</view>
</view>
<view
<view
v-if=
"myPageData.home_pages"
v-show=
"showStart == false"
:style=
"[myPageData.home_pages.navs[active].templateBg]"
>
v-if=
"myPageData.home_pages"
<view
class=
"content"
:style=
"
{
v-show=
"showStart == false"
:style=
"[myPageData.home_pages.navs[active].templateBg]"
>
<view
class=
"content"
:style=
"
{
'padding-bottom': showtabs == true ? boxpaddingbottom + 'px' : 0,
'padding-bottom': showtabs == true ? boxpaddingbottom + 'px' : 0,
paddingTop: pagePaddingBottom,
paddingTop: pagePaddingBottom,
}"
}">
>
<view
class=
"index-title"
:class=
"
{ MainTopLeft: pageTitleStr.length > 10 }" :style="[
<view
class=
"index-title"
:class=
"
{ MainTopLeft: pageTitleStr.length > 10 }"
:style="[
myPageData.home_pages.navs[active].templateBg,
myPageData.home_pages.navs[active].templateBg,
titleStyle,
titleStyle,
{
{
...
@@ -38,8 +20,7 @@
...
@@ -38,8 +20,7 @@
? myPageData.home_pages.navs[active].templateBg.titleColor
? myPageData.home_pages.navs[active].templateBg.titleColor
: '',
: '',
},
},
]"
]">
>
<text
v-if=
"isNavPosition == 0"
>
{{
pageTitleStr
}}
</text>
<text
v-if=
"isNavPosition == 0"
>
{{
pageTitleStr
}}
</text>
<view
v-if=
"isNavPosition == 1"
style=
"width: 78%"
>
<view
v-if=
"isNavPosition == 1"
style=
"width: 78%"
>
<search
:style-str=
"searchData"
></search>
<search
:style-str=
"searchData"
></search>
...
@@ -48,182 +29,64 @@
...
@@ -48,182 +29,64 @@
<u-icon
name=
"arrow-left"
size=
"44"
></u-icon>
<u-icon
name=
"arrow-left"
size=
"44"
></u-icon>
</view>
</view>
</view>
</view>
<!--
<view
@
click=
'yj'
style=
"width: 200px;height: 50px;"
>
活动
</view>
-->
<u-tabs
v-if=
"myPageData.home_pages && myPageData.home_pages.navs.length > 1"
name=
"name"
:list=
"myPageData.home_pages.navs"
<u-tabs
:is-scroll=
"true"
:active-color=
"mainColor"
:current=
"active"
:bar-width=
"80"
:font-size=
"32"
:bold=
"false"
v-if=
"myPageData.home_pages && myPageData.home_pages.navs.length > 1"
@
change=
"changeHandler"
></u-tabs>
name=
"name"
:list=
"myPageData.home_pages.navs"
:is-scroll=
"true"
:active-color=
"mainColor"
:current=
"active"
:bar-width=
"80"
:font-size=
"32"
:bold=
"false"
@
change=
"changeHandler"
></u-tabs>
<template
v-for=
"(item, i) in myPageData.home_pages.navs"
>
<template
v-for=
"(item, i) in myPageData.home_pages.navs"
>
<view
:key=
"i"
v-if=
"active == i"
>
<view
:key=
"i"
v-if=
"active == i"
>
<template
v-for=
"(d, di) in item.template.data"
>
<template
v-for=
"(d, di) in item.template.data"
>
<search
<search
v-if=
"d.id == 'search' && isNavPosition == 0"
:style-str=
"d.data"
:key=
"di"
></search>
v-if=
"d.id == 'search' && isNavPosition == 0"
<swiper
v-if=
"d.id == 'banner'"
:swipers=
"d.data"
:key=
"di"
></swiper>
:style-str=
"d.data"
:key=
"di"
></search>
<swiper
v-if=
"d.id == 'banner'"
:swipers=
"d.data"
:key=
"di"
></swiper>
<empty
v-if=
"d.id == 'empty'"
:block=
"d.data"
:key=
"di"
></empty>
<empty
v-if=
"d.id == 'empty'"
:block=
"d.data"
:key=
"di"
></empty>
<rubik
v-if=
"d.id == 'rubik'"
:ad=
"d.data"
:key=
"di"
></rubik>
<rubik
v-if=
"d.id == 'rubik'"
:ad=
"d.data"
:key=
"di"
></rubik>
<goods
v-if=
"d.id == 'goods'"
:goods=
"d.data"
:key=
"di"
></goods>
<goods
v-if=
"d.id == 'goods'"
:goods=
"d.data"
:key=
"di"
></goods>
<notice
<notice
v-if=
"d.id == 'notice'"
:notice=
"d.data"
:key=
"di"
></notice>
v-if=
"d.id == 'notice'"
:notice=
"d.data"
:key=
"di"
></notice>
<gridnav
v-if=
"d.id == 'nav'"
:navs=
"d.data"
:key=
"di"
></gridnav>
<gridnav
v-if=
"d.id == 'nav'"
:navs=
"d.data"
:key=
"di"
></gridnav>
<pagetitle
<pagetitle
v-if=
"d.id == 'link'"
:ts=
"d.data"
:key=
"di"
></pagetitle>
v-if=
"d.id == 'link'"
<videopage
v-if=
"d.id == 'video'"
:video=
"d.data"
:key=
"di"
></videopage>
:ts=
"d.data"
<copyright
v-if=
"d.id == 'copyright'"
:cop=
"d.data"
:key=
"di"
></copyright>
:key=
"di"
<checkin
v-if=
"d.id == 'check-in'"
:check=
"d.data"
:key=
"di"
></checkin>
></pagetitle>
<userbox
v-if=
"d.id == 'user-info'"
:ts=
"d.data"
:key=
"di"
></userbox>
<videopage
v-if=
"d.id == 'video'"
:video=
"d.data"
:key=
"di"
></videopage>
<copyright
v-if=
"d.id == 'copyright'"
:cop=
"d.data"
:key=
"di"
></copyright>
<checkin
v-if=
"d.id == 'check-in'"
:check=
"d.data"
:key=
"di"
></checkin>
<userbox
v-if=
"d.id == 'user-info'"
:ts=
"d.data"
:key=
"di"
></userbox>
<view
v-if=
"d.id == 'image-text'"
class=
"imageText"
:key=
"di"
>
<view
v-if=
"d.id == 'image-text'"
class=
"imageText"
:key=
"di"
>
<view
v-html=
"d.data.content"
></view>
<view
v-html=
"d.data.content"
></view>
</view>
</view>
<userorder
<userorder
v-if=
"d.id == 'user-order'"
:uo=
"d.data"
:key=
"di"
></userorder>
v-if=
"d.id == 'user-order'"
:uo=
"d.data"
:key=
"di"
></userorder>
<mapi
v-if=
"d.id == 'map'"
:mapi=
"d.data"
:key=
"di"
></mapi>
<mapi
v-if=
"d.id == 'map'"
:mapi=
"d.data"
:key=
"di"
></mapi>
<checkform
<checkform
v-if=
"d.id == 'form'"
:forms=
"d.data"
:key=
"di"
></checkform>
v-if=
"d.id == 'form'"
<addialog
v-if=
"d.id == 'modal' && d.data.opened"
:ads=
"d.data"
:key=
"di"
></addialog>
:forms=
"d.data"
<quicknav
v-if=
"d.id == 'quick-nav' && d.data.navSwitch == 1"
:navs=
"d.data"
:key=
"di"
></quicknav>
:key=
"di"
<pingtuan
v-if=
"d.id == 'pintuan'"
:goods=
"d.data"
:key=
"di"
></pingtuan>
></checkform>
<shopinfo
v-if=
"d.id == 'shop-info'"
:ad=
"d.data"
:key=
"di"
ref=
"son"
></shopinfo>
<addialog
<guide
v-if=
"d.id == 'drive-guide'"
:info=
"d.data"
ref=
"city"
></guide>
v-if=
"d.id == 'modal' && d.data.opened"
:ads=
"d.data"
:key=
"di"
></addialog>
<quicknav
v-if=
"d.id == 'quick-nav' && d.data.navSwitch == 1"
:navs=
"d.data"
:key=
"di"
></quicknav>
<pingtuan
v-if=
"d.id == 'pintuan'"
:goods=
"d.data"
:key=
"di"
></pingtuan>
<shopinfo
v-if=
"d.id == 'shop-info'"
:ad=
"d.data"
:key=
"di"
ref=
"son"
></shopinfo>
<guide
v-if=
"d.id == 'drive-guide'"
:info=
"d.data"
ref=
"city"
></guide>
<!-- 网课列表 -->
<!-- 网课列表 -->
<rgoods
v-if=
"d.id == 'educationCustom'"
:goods=
"d.data"
></rgoods>
<rgoods
v-if=
"d.id == 'educationCustom'"
:goods=
"d.data"
></rgoods>
<!-- 资讯 -->
<!-- 资讯 -->
<argoods
<argoods
v-if=
"d.id == 'educationArticle'"
:goods=
"d.data"
></argoods>
v-if=
"d.id == 'educationArticle'"
:goods=
"d.data"
></argoods>
<!-- 最近学习组件 -->
<!-- 最近学习组件 -->
<rstudy
<rstudy
v-if=
"d.id == 'education'"
:goods=
"d.data"
ref=
"study"
></rstudy>
v-if=
"d.id == 'education'"
<store
v-if=
"d.id == 'reservestore'"
:goods=
"d.data"
:storeinfo=
"storeInfo"
></store>
:goods=
"d.data"
ref=
"study"
></rstudy>
<store
v-if=
"d.id == 'reservestore'"
:goods=
"d.data"
:storeinfo=
"storeInfo"
></store>
<!-- 线下服务商品 -->
<!-- 线下服务商品 -->
<sindex
<sindex
v-if=
"d.id == 'storeGoods'"
:goods=
"d.data"
:key=
"di"
></sindex>
v-if=
"d.id == 'storeGoods'"
:goods=
"d.data"
:key=
"di"
></sindex>
<!-- 老师列表 -->
<!-- 老师列表 -->
<educationteacher
<educationteacher
v-if=
"d.id == 'educationteacher'"
:goods=
"d.data"
:key=
"di"
></educationteacher>
v-if=
"d.id == 'educationteacher'"
:goods=
"d.data"
:key=
"di"
></educationteacher>
<!--导航栏-->
<!--导航栏-->
<navpage
<navpage
v-if=
"d.id == 'nav-page'"
:navs=
"d.data"
:key=
"di"
></navpage>
v-if=
"d.id == 'nav-page'"
:navs=
"d.data"
:key=
"di"
></navpage>
<!-- 相亲的人物模板 -->
<!-- 相亲的人物模板 -->
<matchmaking
<matchmaking
v-if=
"d.id == 'miaiuser'"
:navs=
"d.data"
:key=
"di"
></matchmaking>
v-if=
"d.id == 'miaiuser'"
:navs=
"d.data"
:key=
"di"
></matchmaking>
<!-- 相亲活动 -->
<!-- 相亲活动 -->
<miaiactivitytype
<miaiactivitytype
v-if=
"d.id == 'miaiactivitytype'"
:goods=
"d.data"
></miaiactivitytype>
v-if=
"d.id == 'miaiactivitytype'"
:goods=
"d.data"
></miaiactivitytype>
<!-- 相亲活动自定义 -->
<!-- 相亲活动自定义 -->
<miaiactivityCustom
<miaiactivityCustom
v-if=
"d.id == 'miaiactivityCustom'"
:goods=
"d.data"
></miaiactivityCustom>
v-if=
"d.id == 'miaiactivityCustom'"
:goods=
"d.data"
></miaiactivityCustom>
<!-- 瀑布流组件 -->
<!-- 瀑布流组件 -->
<Pubu
<Pubu
v-if=
"d.id == 'blindDatePPPlus'"
:dataObj=
"d.data"
@
refresh=
"refreshPage"
></Pubu>
v-if=
"d.id == 'blindDatePPPlus'"
:dataObj=
"d.data"
@
refresh=
"refreshPage"
></Pubu>
<!-- 首店活动插件 -->
<!-- 首店活动插件 -->
<tradeActivity
<tradeActivity
v-if=
"d.id == 'tradeActivity'"
:dataObj=
"d.data"
:pagePaddingBottom=
"pagePaddingBottom"
@
refresh=
"refreshPage"
v-if=
"d.id == 'tradeActivity'"
ref=
"tradeActive"
></tradeActivity>
:dataObj=
"d.data"
:pagePaddingBottom=
"pagePaddingBottom"
@
refresh=
"refreshPage"
ref=
"tradeActive"
></tradeActivity>
</
template
>
</
template
>
</view>
</view>
</template>
</template>
<view
class=
"contract_nav"
v-if=
"GetMiniAppId().MallBaseId==5"
>
<view
class=
"contract_nav"
v-if=
"GetMiniAppId().MallBaseId==5"
>
<button
<button
class=
"Ma_nav-item"
show-message-card=
"true"
:send-message-path=
"currentParent"
open-type=
"contact"
>
class=
"Ma_nav-item"
show-message-card=
"true"
:send-message-path=
"currentParent"
open-type=
"contact"
>
<img
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1644833656000_313.png"
/>
<img
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1644833656000_313.png"
/>
</button>
</button>
</view>
</view>
...
@@ -231,9 +94,7 @@
...
@@ -231,9 +94,7 @@
<tabbar></tabbar>
<tabbar></tabbar>
</view>
</view>
<view
<view
class=
"tips_t"
v-if=
"
class=
"tips_t"
v-if=
"
add_show == 1 &&
add_show == 1 &&
JSON.stringify(setting) != '{}' &&
JSON.stringify(setting) != '{}' &&
setting.add_app_text != null
setting.add_app_text != null
...
@@ -242,78 +103,60 @@
...
@@ -242,78 +103,60 @@
'border-radius': setting.add_app_bg_radius + 'rpx',
'border-radius': setting.add_app_bg_radius + 'rpx',
opacity: setting.add_app_bg_transparency / 100,
opacity: setting.add_app_bg_transparency / 100,
top: pagePaddingBottom,
top: pagePaddingBottom,
}"
}"
>
>
<u-icon
name=
"cross"
color=
"#fff"
@
click=
"close"
></u-icon>
<u-icon
name=
"cross"
color=
"#fff"
@
click=
"close"
></u-icon>
<view
<view
style=
"width: 1px; height: 20px; margin: 0 10px; background: #fff"
></view>
style=
"width: 1px; height: 20px; margin: 0 10px; background: #fff"
></view>
<Text
style=
"color: #fff"
>
{{ setting.add_app_text }}
</Text>
<Text
style=
"color: #fff"
>
{{ setting.add_app_text }}
</Text>
<view
class=
"triangle-up"
:style=
"{ top: pagePaddingBottom }"
></view>
<view
class=
"triangle-up"
:style=
"{ top: pagePaddingBottom }"
></view>
</view>
</view>
<coupon
<coupon
v-if=
"showCoupons"
:coupon-message=
"couponMessage"
:cform=
"ComeFrom"
@
goLook=
"goLook"
@
closeBtn=
"closeBtn"
></coupon>
v-if=
"showCoupons"
<auth
v-if=
"showAuth"
@
changeuserinfo=
"reloadUserinfo"
@
gbAuth=
"gbAuth"
></auth>
:coupon-message=
"couponMessage"
:cform=
"ComeFrom"
@
goLook=
"goLook"
@
closeBtn=
"closeBtn"
></coupon>
<auth
v-if=
"showAuth"
@
changeuserinfo=
"reloadUserinfo"
@
gbAuth=
"gbAuth"
></auth>
<official-account></official-account>
<official-account></official-account>
<orderPopup
<orderPopup
v-if=
"showorder"
:orderPopupdata=
"orderPopupdata"
@
gosalesvolume=
"gosalesvolume"
@
closeBtn=
"closeBtn_order"
></orderPopup>
v-if=
"showorder"
:orderPopupdata=
"orderPopupdata"
@
gosalesvolume=
"gosalesvolume"
@
closeBtn=
"closeBtn_order"
></orderPopup>
</view>
</view>
</view>
</view>
</view>
</view>
</template>
</template>
<
script
>
<
script
>
import
tabbar
from
"@/components/tabbar/index"
;
import
tabbar
from
"@/components/tabbar/index"
;
import
search
from
"@/components/search/index"
;
import
search
from
"@/components/search/index"
;
import
swiper
from
"@/components/swiper/index"
;
import
swiper
from
"@/components/swiper/index"
;
import
empty
from
"@/components/empty/index"
;
import
empty
from
"@/components/empty/index"
;
import
rubik
from
"@/components/rubik/index"
;
import
rubik
from
"@/components/rubik/index"
;
import
goods
from
"@/components/goods/index"
;
import
goods
from
"@/components/goods/index"
;
import
notice
from
"@/components/notice/index"
;
import
notice
from
"@/components/notice/index"
;
import
gridnav
from
"@/components/gridnav/index"
;
import
gridnav
from
"@/components/gridnav/index"
;
import
pagetitle
from
"@/components/pagetitle/index"
;
import
pagetitle
from
"@/components/pagetitle/index"
;
import
videopage
from
"@/components/videopage/index"
;
import
videopage
from
"@/components/videopage/index"
;
import
copyright
from
"@/components/copyright/index"
;
import
copyright
from
"@/components/copyright/index"
;
import
checkin
from
"@/components/checkin/index"
;
import
checkin
from
"@/components/checkin/index"
;
import
userbox
from
"@/components/userbox/index"
;
import
userbox
from
"@/components/userbox/index"
;
import
userorder
from
"@/components/userorder/index"
;
import
userorder
from
"@/components/userorder/index"
;
import
mapi
from
"@/components/mapi/index"
;
import
mapi
from
"@/components/mapi/index"
;
import
checkform
from
"@/components/checkform/index"
;
import
checkform
from
"@/components/checkform/index"
;
import
addialog
from
"@/components/addialog/index"
;
import
addialog
from
"@/components/addialog/index"
;
import
quicknav
from
"@/components/quicknav/index"
;
import
quicknav
from
"@/components/quicknav/index"
;
import
coupon
from
"@/components/coupons/coupons"
;
import
coupon
from
"@/components/coupons/coupons"
;
import
pingtuan
from
"@/components/pingtuan/index"
;
import
pingtuan
from
"@/components/pingtuan/index"
;
import
shopinfo
from
"@/components/shopinfo/shopinfo"
;
import
shopinfo
from
"@/components/shopinfo/shopinfo"
;
import
auth
from
"@/components/auth/index.vue"
;
import
auth
from
"@/components/auth/index.vue"
;
import
guide
from
"@/components/guidecar/index.vue"
;
import
guide
from
"@/components/guidecar/index.vue"
;
import
rstudy
from
"@/components/study/Rstudy.vue"
;
import
rstudy
from
"@/components/study/Rstudy.vue"
;
import
rgoods
from
"@/components/study/index.vue"
;
import
rgoods
from
"@/components/study/index.vue"
;
import
argoods
from
"@/components/studyArticle/index.vue"
;
import
argoods
from
"@/components/studyArticle/index.vue"
;
import
store
from
"@/components/store/store.vue"
;
import
store
from
"@/components/store/store.vue"
;
import
sindex
from
"@/components/store/index.vue"
;
import
sindex
from
"@/components/store/index.vue"
;
import
educationteacher
from
"@/components/educationteacher/index"
;
import
educationteacher
from
"@/components/educationteacher/index"
;
import
navpage
from
"@/components/navpage/index"
;
import
navpage
from
"@/components/navpage/index"
;
import
matchmaking
from
"@/components/matchmaking/index"
;
import
matchmaking
from
"@/components/matchmaking/index"
;
import
miaiactivitytype
from
"@/components/miaiactivitytype/index"
;
import
miaiactivitytype
from
"@/components/miaiactivitytype/index"
;
import
miaiactivityCustom
from
"@/components/miaiactivityCustom/index"
;
import
miaiactivityCustom
from
"@/components/miaiactivityCustom/index"
;
import
orderPopup
from
"@/components/coupons/orderPopup.vue"
;
//离线订单弹窗
import
orderPopup
from
"@/components/coupons/orderPopup.vue"
;
//离线订单弹窗
import
Pubu
from
"@/components/pubu/index.vue"
;
//瀑布流
import
Pubu
from
"@/components/pubu/index.vue"
;
//瀑布流
import
tradeActivity
from
"@/components/tradeActivity/index.vue"
;
//首店活动插件
import
tradeActivity
from
"@/components/tradeActivity/index.vue"
;
//首店活动插件
const
innerAudioContext
=
uni
.
createInnerAudioContext
();
const
innerAudioContext
=
uni
.
createInnerAudioContext
();
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
title
:
"Hello"
,
title
:
"Hello"
,
...
@@ -355,7 +198,7 @@ export default {
...
@@ -355,7 +198,7 @@ export default {
AppletID
:
0
,
//判断小程序的id,相亲:11
AppletID
:
0
,
//判断小程序的id,相亲:11
page_idt
:
0
,
//首页组件分享参数
page_idt
:
0
,
//首页组件分享参数
boxpaddingbottom
:
0
,
//底部的高度
boxpaddingbottom
:
0
,
//底部的高度
currentParent
:
''
currentParent
:
''
};
};
},
},
components
:
{
components
:
{
...
@@ -398,7 +241,6 @@ export default {
...
@@ -398,7 +241,6 @@ export default {
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
let
that
=
this
;
let
that
=
this
;
// that.yj()
uni
.
getSystemInfo
({
uni
.
getSystemInfo
({
success
(
res
)
{
success
(
res
)
{
that
.
titleStyle
=
{
that
.
titleStyle
=
{
...
@@ -444,7 +286,6 @@ export default {
...
@@ -444,7 +286,6 @@ export default {
}
}
if
(
options
&&
options
.
custom_params
)
{
if
(
options
&&
options
.
custom_params
)
{
let
custom_params
=
JSON
.
parse
(
decodeURIComponent
(
options
.
custom_params
));
let
custom_params
=
JSON
.
parse
(
decodeURIComponent
(
options
.
custom_params
));
console
.
log
(
custom_params
);
if
(
custom_params
.
user_id
)
{
if
(
custom_params
.
user_id
)
{
uni
.
setStorageSync
(
"pid"
,
{
uni
.
setStorageSync
(
"pid"
,
{
pid
:
custom_params
.
user_id
,
pid
:
custom_params
.
user_id
,
...
@@ -518,12 +359,12 @@ export default {
...
@@ -518,12 +359,12 @@ export default {
this
.
JumpType
=
options
.
JumpType
;
this
.
JumpType
=
options
.
JumpType
;
if
(
options
.
JumpType
==
3
)
{
if
(
options
.
JumpType
==
3
)
{
this
.
guidecar
.
GoodsId
=
options
.
GoodsId
;
this
.
guidecar
.
GoodsId
=
options
.
GoodsId
;
this
.
guidecar
.
address
=
options
.
address
this
.
guidecar
.
address
=
options
.
address
?
?
JSON
.
parse
(
decodeURIComponent
(
options
.
address
))
JSON
.
parse
(
decodeURIComponent
(
options
.
address
))
:
:
""
;
""
;
this
.
guidecar
.
Pickcar
=
options
.
Pickcar
this
.
guidecar
.
Pickcar
=
options
.
Pickcar
?
?
JSON
.
parse
(
decodeURIComponent
(
options
.
Pickcar
))
JSON
.
parse
(
decodeURIComponent
(
options
.
Pickcar
))
:
:
""
;
""
;
this
.
guidecar
.
StartTime
=
options
.
StartTime
?
options
.
StartTime
:
""
;
this
.
guidecar
.
StartTime
=
options
.
StartTime
?
options
.
StartTime
:
""
;
this
.
guidecar
.
EndTime
=
options
.
EndTime
?
options
.
EndTime
:
""
;
this
.
guidecar
.
EndTime
=
options
.
EndTime
?
options
.
EndTime
:
""
;
}
}
...
@@ -533,16 +374,15 @@ export default {
...
@@ -533,16 +374,15 @@ export default {
}
}
if
(
options
&&
options
.
J
)
{
if
(
options
&&
options
.
J
)
{
//司导分享的的特殊处理
//司导分享的的特殊处理
this
.
JumpType
=
options
.
J
;
this
.
JumpType
=
options
.
J
;
if
(
options
.
J
==
3
)
{
if
(
options
.
J
==
3
)
{
this
.
guidecar
.
GoodsId
=
options
.
i
;
this
.
guidecar
.
GoodsId
=
options
.
i
;
this
.
guidecar
.
address
=
options
.
address
this
.
guidecar
.
address
=
options
.
address
?
?
JSON
.
parse
(
decodeURIComponent
(
options
.
address
))
JSON
.
parse
(
decodeURIComponent
(
options
.
address
))
:
:
""
;
""
;
this
.
guidecar
.
Pickcar
=
options
.
P
this
.
guidecar
.
Pickcar
=
options
.
P
?
?
JSON
.
parse
(
decodeURIComponent
(
options
.
P
))
JSON
.
parse
(
decodeURIComponent
(
options
.
P
))
:
:
""
;
""
;
this
.
guidecar
.
StartTime
=
options
.
S
?
options
.
S
:
""
;
this
.
guidecar
.
StartTime
=
options
.
S
?
options
.
S
:
""
;
this
.
guidecar
.
EndTime
=
options
.
E
?
options
.
E
:
""
;
this
.
guidecar
.
EndTime
=
options
.
E
?
options
.
E
:
""
;
}
}
...
@@ -582,59 +422,25 @@ export default {
...
@@ -582,59 +422,25 @@ export default {
that
.
sharejump
();
//4-9新加
that
.
sharejump
();
//4-9新加
this
.
handleChengShuang
();
this
.
handleChengShuang
();
}
}
//4-11这里暂时不能使用
// wx.getUserInfo({//4-9修改 不使用getUserInfo 会造成获取回来的微信默认名称和头像
// success: function(res) {//4-9之后的好像这里不能静默登录了需要弹出登录
// console.log(res,'getUserInfo')
// if (uni.getStorageSync("mall_UserInfo")) {
// let uid = uni.getStorageSync("mall_UserInfo").UserId;
// let msg = {
// Id: uid,
// AliasName: res.userInfo.nickName,
// Photo: res.userInfo.avatarUrl,
// };
// that.updateuserinfo(msg);
// that.getPageType()
// // 如果登录的情况下直接跳转商品详情或者直播列表
// // that.sharejump();
// //如果登录状态 并且是uni.getStorageSync("CounponPassword")
// if(uni.getStorageSync("CounponPassword")){
// that.getunilogin(res)
// }
// } else {
// that.getunilogin(res)
// }
// },
// fail: function(e) {
// uni.showToast({
// title: "微信登录授权失败",
// icon: "none"
// });
// },
// });
// #endif
// #endif
let
set
=
uni
.
getStorageSync
(
"basedata"
)
let
set
=
uni
.
getStorageSync
(
"basedata"
)
?
?
uni
.
getStorageSync
(
"basedata"
).
mall
.
setting
uni
.
getStorageSync
(
"basedata"
).
mall
.
setting
:
{};
:
{};
if
(
!
uni
.
getStorageSync
(
"add_top_app"
))
{
if
(
!
uni
.
getStorageSync
(
"add_top_app"
))
{
uni
.
setStorageSync
(
"add_top_app"
,
{
uni
.
setStorageSync
(
"add_top_app"
,
{
add_top_app_show
:
1
,
add_top_app_show
:
1
,
});
});
}
}
this
.
add_show
=
uni
.
getStorageSync
(
"add_top_app"
)
this
.
add_show
=
uni
.
getStorageSync
(
"add_top_app"
)
?
?
uni
.
getStorageSync
(
"add_top_app"
).
add_top_app_show
uni
.
getStorageSync
(
"add_top_app"
).
add_top_app_show
:
:
1
;
1
;
this
.
setting
=
set
;
this
.
setting
=
set
;
this
.
isShowBack
();
this
.
isShowBack
();
// this.init();
let
now
=
new
Date
();
let
now
=
new
Date
();
let
nowtime
=
let
nowtime
=
now
.
getFullYear
()
+
"-"
+
(
now
.
getMonth
()
+
1
)
+
"-"
+
now
.
getDate
();
now
.
getFullYear
()
+
"-"
+
(
now
.
getMonth
()
+
1
)
+
"-"
+
now
.
getDate
();
// this.getIsOpenReserve();//4-11注释
if
(
!
uni
.
getStorageSync
(
"Startup_page"
))
{
if
(
!
uni
.
getStorageSync
(
"Startup_page"
))
{
//获取启动页信息1、没有记录日期
//获取启动页信息1、没有记录日期
this
.
getstartModel
(
nowtime
);
this
.
getstartModel
(
nowtime
);
...
@@ -655,7 +461,7 @@ export default {
...
@@ -655,7 +461,7 @@ export default {
created
()
{
created
()
{
let
pages
=
getCurrentPages
();
//获取加载的页面
let
pages
=
getCurrentPages
();
//获取加载的页面
let
currentPage
=
pages
[
pages
.
length
-
1
];
//获取当前页面的对象
let
currentPage
=
pages
[
pages
.
length
-
1
];
//获取当前页面的对象
this
.
currentParent
=
currentPage
.
route
;
//当前页面url
this
.
currentParent
=
currentPage
.
route
;
//当前页面url
},
},
// #ifdef MP-WEIXIN
// #ifdef MP-WEIXIN
onShareTimeline
()
{
onShareTimeline
()
{
...
@@ -663,30 +469,30 @@ export default {
...
@@ -663,30 +469,30 @@ export default {
// console.log("分享调用");
// console.log("分享调用");
this
.
getReceive
();
this
.
getReceive
();
},
2500
);
},
2500
);
let
uid
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
let
uid
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserId
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserId
:
:
0
;
0
;
if
(
uid
==
0
)
{
if
(
uid
==
0
)
{
uid
=
uni
.
getStorageSync
(
"pid"
)
?
uni
.
getStorageSync
(
"pid"
).
pid
:
0
;
uid
=
uni
.
getStorageSync
(
"pid"
)
?
uni
.
getStorageSync
(
"pid"
).
pid
:
0
;
}
}
let
SmallShopId
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
let
SmallShopId
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
SmallShopId
uni
.
getStorageSync
(
"mall_UserInfo"
).
SmallShopId
:
:
0
;
0
;
if
(
SmallShopId
==
0
)
{
if
(
SmallShopId
==
0
)
{
//如果微店id为0 去找所属微店id
//如果微店id为0 去找所属微店id
SmallShopId
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
SmallShopId
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserSmallShopId
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserSmallShopId
:
:
0
;
0
;
}
}
let
title
=
this
.
setting
.
share_title
let
title
=
this
.
setting
.
share_title
?
?
this
.
setting
.
share_title
this
.
setting
.
share_title
:
:
uni
.
getStorageSync
(
"basedata"
).
mall
.
name
;
uni
.
getStorageSync
(
"basedata"
).
mall
.
name
;
if
(
SmallShopId
!=
0
)
{
if
(
SmallShopId
!=
0
)
{
title
=
this
.
shopData
.
Name
;
title
=
this
.
shopData
.
Name
;
}
}
let
Up
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
let
Up
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserPageType
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserPageType
:
:
0
;
0
;
let
path
;
let
path
;
if
(
this
.
pageId
>
0
)
{
if
(
this
.
pageId
>
0
)
{
//首页子组件的分享
//首页子组件的分享
...
@@ -704,44 +510,42 @@ export default {
...
@@ -704,44 +510,42 @@ export default {
//首页分享
//首页分享
path
=
"user_id="
+
uid
+
"&SmallShopId="
+
SmallShopId
+
"&Up="
+
Up
;
path
=
"user_id="
+
uid
+
"&SmallShopId="
+
SmallShopId
+
"&Up="
+
Up
;
}
}
console
.
log
(
path
);
return
{
return
{
title
:
title
,
title
:
title
,
query
:
path
,
query
:
path
,
imageUrl
:
""
,
imageUrl
:
""
,
};
};
},
},
onShareAppMessage
(
res
)
{
onShareAppMessage
(
res
)
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
// console.log("分享调用");
// console.log("分享调用");
this
.
getReceive
();
this
.
getReceive
();
},
2500
);
},
2500
);
let
uid
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
let
uid
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserId
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserId
:
:
0
;
0
;
if
(
uid
==
0
)
{
if
(
uid
==
0
)
{
uid
=
uni
.
getStorageSync
(
"pid"
)
?
uni
.
getStorageSync
(
"pid"
).
pid
:
0
;
uid
=
uni
.
getStorageSync
(
"pid"
)
?
uni
.
getStorageSync
(
"pid"
).
pid
:
0
;
}
}
let
SmallShopId
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
let
SmallShopId
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
SmallShopId
uni
.
getStorageSync
(
"mall_UserInfo"
).
SmallShopId
:
:
0
;
0
;
if
(
SmallShopId
==
0
)
{
if
(
SmallShopId
==
0
)
{
//如果微店id为0 去找所属微店id
//如果微店id为0 去找所属微店id
SmallShopId
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
SmallShopId
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserSmallShopId
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserSmallShopId
:
:
0
;
0
;
}
}
let
title
=
this
.
setting
.
share_title
let
title
=
this
.
setting
.
share_title
?
?
this
.
setting
.
share_title
this
.
setting
.
share_title
:
:
uni
.
getStorageSync
(
"basedata"
).
mall
.
name
;
uni
.
getStorageSync
(
"basedata"
).
mall
.
name
;
if
(
SmallShopId
!=
0
)
{
if
(
SmallShopId
!=
0
)
{
title
=
this
.
shopData
.
Name
;
title
=
this
.
shopData
.
Name
;
}
}
let
Up
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
let
Up
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserPageType
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserPageType
:
:
0
;
0
;
let
path
;
let
path
;
if
(
this
.
pageId
>
0
)
{
if
(
this
.
pageId
>
0
)
{
//首页子组件的分享
//首页子组件的分享
...
@@ -782,10 +586,8 @@ export default {
...
@@ -782,10 +586,8 @@ export default {
if
(
Object
.
keys
(
this
.
$refs
).
length
>
0
&&
this
.
$refs
.
tradeActive
)
{
if
(
Object
.
keys
(
this
.
$refs
).
length
>
0
&&
this
.
$refs
.
tradeActive
)
{
//判断
//判断
this
.
$refs
.
tradeActive
[
0
].
getShow
();
//调取最近学习组件的方法
this
.
$refs
.
tradeActive
[
0
].
getShow
();
//调取最近学习组件的方法
console
.
log
(
this
.
$refs
.
tradeActive
[
0
]);
}
}
},
},
methods
:
{
methods
:
{
getunilogin
(
res
)
{
getunilogin
(
res
)
{
let
that
=
this
;
let
that
=
this
;
...
@@ -817,8 +619,7 @@ export default {
...
@@ -817,8 +619,7 @@ export default {
},
},
//获取IsOpenReserve
//获取IsOpenReserve
getIsOpenReserve
()
{
getIsOpenReserve
()
{
this
.
request2
(
this
.
request2
({
{
url
:
"/api/Mall/GetAppConfig"
,
url
:
"/api/Mall/GetAppConfig"
,
data
:
{},
data
:
{},
},
},
...
@@ -846,13 +647,14 @@ export default {
...
@@ -846,13 +647,14 @@ export default {
return
iDays
;
return
iDays
;
},
},
getstartModel
(
time
)
{
getstartModel
(
time
)
{
this
.
request2
(
this
.
request2
({
{
url
:
"/api/AppletSchool/GetEducationStartUpModel"
,
url
:
"/api/AppletSchool/GetEducationStartUpModel"
,
data
:
{},
data
:
{},
},
},
(
res
)
=>
{
(
res
)
=>
{
uni
.
setStorageSync
(
"Startup_page"
,
{
time
:
time
});
//方便在分类判断
uni
.
setStorageSync
(
"Startup_page"
,
{
time
:
time
});
//方便在分类判断
if
(
res
.
resultCode
==
1
)
{
if
(
res
.
resultCode
==
1
)
{
if
(
res
.
data
.
IsShow
==
1
)
{
if
(
res
.
data
.
IsShow
==
1
)
{
this
.
showStart
=
true
;
this
.
showStart
=
true
;
...
@@ -867,8 +669,7 @@ export default {
...
@@ -867,8 +669,7 @@ export default {
}
}
},
res
.
data
.
Seconds
*
1000
);
},
res
.
data
.
Seconds
*
1000
);
}
}
}
else
{
}
else
{}
}
}
}
);
);
},
},
...
@@ -881,7 +682,6 @@ export default {
...
@@ -881,7 +682,6 @@ export default {
}
}
},
},
getphonenumber
(
e
)
{
getphonenumber
(
e
)
{
console
.
log
(
e
);
uni
.
checkSession
({
uni
.
checkSession
({
//检查登录状态是否过期
//检查登录状态是否过期
success
:
(
x
)
=>
{
success
:
(
x
)
=>
{
...
@@ -900,8 +700,7 @@ export default {
...
@@ -900,8 +700,7 @@ export default {
getCode
(
obj
)
{
getCode
(
obj
)
{
var
that
=
this
;
var
that
=
this
;
//这里请求接口
//这里请求接口
that
.
request2
(
that
.
request2
({
{
url
:
"/api/mall/GetWeChatOpenId"
,
url
:
"/api/mall/GetWeChatOpenId"
,
data
:
{
data
:
{
Code
:
obj
.
code
,
Code
:
obj
.
code
,
...
@@ -919,23 +718,22 @@ export default {
...
@@ -919,23 +718,22 @@ export default {
var
that
=
this
;
var
that
=
this
;
let
pid
=
uni
.
getStorageSync
(
"pid"
)
?
uni
.
getStorageSync
(
"pid"
).
pid
:
0
;
let
pid
=
uni
.
getStorageSync
(
"pid"
)
?
uni
.
getStorageSync
(
"pid"
).
pid
:
0
;
let
Up
=
uni
.
getStorageSync
(
"Up"
)
?
uni
.
getStorageSync
(
"Up"
).
Up
:
0
;
let
Up
=
uni
.
getStorageSync
(
"Up"
)
?
uni
.
getStorageSync
(
"Up"
).
Up
:
0
;
let
SmallShopId
=
uni
.
getStorageSync
(
"SmallShopId"
)
let
SmallShopId
=
uni
.
getStorageSync
(
"SmallShopId"
)
?
?
uni
.
getStorageSync
(
"SmallShopId"
).
SmallShopId
uni
.
getStorageSync
(
"SmallShopId"
).
SmallShopId
:
:
0
;
0
;
let
CounponPassword
=
uni
.
getStorageSync
(
"CounponPassword"
)
let
CounponPassword
=
uni
.
getStorageSync
(
"CounponPassword"
)
?
?
uni
.
getStorageSync
(
"CounponPassword"
).
CounponPassword
uni
.
getStorageSync
(
"CounponPassword"
).
CounponPassword
:
:
0
;
0
;
let
KeyWord
=
uni
.
getStorageSync
(
"KeyWord"
)
let
KeyWord
=
uni
.
getStorageSync
(
"KeyWord"
)
?
?
uni
.
getStorageSync
(
"KeyWord"
).
KeyWord
uni
.
getStorageSync
(
"KeyWord"
).
KeyWord
:
:
""
;
""
;
let
EduSchoolId
=
uni
.
getStorageSync
(
"EduSchoolId"
)
let
EduSchoolId
=
uni
.
getStorageSync
(
"EduSchoolId"
)
?
?
uni
.
getStorageSync
(
"EduSchoolId"
).
EduSchoolId
uni
.
getStorageSync
(
"EduSchoolId"
).
EduSchoolId
:
:
0
;
0
;
let
EduId
=
uni
.
getStorageSync
(
"jxhData"
)
let
EduId
=
uni
.
getStorageSync
(
"jxhData"
)
?
?
uni
.
getStorageSync
(
"jxhData"
).
Id
uni
.
getStorageSync
(
"jxhData"
).
Id
:
:
0
;
0
;
that
.
request2
(
that
.
request2
({
{
url
:
"/api/AppletLogin/Login"
,
url
:
"/api/AppletLogin/Login"
,
data
:
{
data
:
{
Source
:
1
,
Source
:
1
,
...
@@ -949,7 +747,7 @@ export default {
...
@@ -949,7 +747,7 @@ export default {
CounponPassword
:
CounponPassword
,
CounponPassword
:
CounponPassword
,
KeyWord
:
KeyWord
,
KeyWord
:
KeyWord
,
EduSchoolId
:
EduSchoolId
,
EduSchoolId
:
EduSchoolId
,
EduId
:
EduId
,
EduId
:
EduId
,
},
},
},
},
(
res
)
=>
{
(
res
)
=>
{
...
@@ -988,9 +786,9 @@ export default {
...
@@ -988,9 +786,9 @@ export default {
getorderPupop
()
{
getorderPupop
()
{
let
now
=
new
Date
();
let
now
=
new
Date
();
let
Month
=
let
Month
=
now
.
getMonth
()
+
1
<
10
now
.
getMonth
()
+
1
<
10
?
?
"0"
+
(
now
.
getMonth
()
+
1
)
"0"
+
(
now
.
getMonth
()
+
1
)
:
:
now
.
getMonth
()
+
1
;
now
.
getMonth
()
+
1
;
let
day
=
now
.
getDate
()
<
10
?
"0"
+
now
.
getDate
()
:
now
.
getDate
();
let
day
=
now
.
getDate
()
<
10
?
"0"
+
now
.
getDate
()
:
now
.
getDate
();
let
nowtime
=
let
nowtime
=
now
.
getFullYear
()
+
now
.
getFullYear
()
+
...
@@ -1010,11 +808,12 @@ export default {
...
@@ -1010,11 +808,12 @@ export default {
this
.
getUserOffline
(
nowtime
,
oldtime
);
this
.
getUserOffline
(
nowtime
,
oldtime
);
}
}
}
}
uni
.
setStorageSync
(
"order_old_time"
,
{
time
:
nowtime
});
//吧当前时间存起来
uni
.
setStorageSync
(
"order_old_time"
,
{
time
:
nowtime
});
//吧当前时间存起来
},
},
getUserOffline
(
now
,
old
)
{
getUserOffline
(
now
,
old
)
{
this
.
request2
(
this
.
request2
({
{
url
:
"/api/AppletUser/GetUserOfflineEarningsInfo"
,
url
:
"/api/AppletUser/GetUserOfflineEarningsInfo"
,
data
:
{
data
:
{
StartTime
:
old
,
StartTime
:
old
,
...
@@ -1037,9 +836,9 @@ export default {
...
@@ -1037,9 +836,9 @@ export default {
gosalesvolume
()
{
gosalesvolume
()
{
this
.
showorder
=
false
;
this
.
showorder
=
false
;
setTimeout
(()
=>
{
setTimeout
(()
=>
{
let
UserId
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
let
UserId
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserId
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserId
:
:
0
;
0
;
uni
.
navigateTo
({
uni
.
navigateTo
({
// url: "/pages/share/salesvolume?UserId="+UserId,
// url: "/pages/share/salesvolume?UserId="+UserId,
url
:
"/pages/share-order/share-order"
,
url
:
"/pages/share-order/share-order"
,
...
@@ -1087,8 +886,7 @@ export default {
...
@@ -1087,8 +886,7 @@ export default {
}
else
if
(
that
.
JumpType
==
8
)
{
}
else
if
(
that
.
JumpType
==
8
)
{
//服务人员详情
//服务人员详情
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
url
:
"/pages/reserve/designerDetail?ID="
+
"/pages/reserve/designerDetail?ID="
+
that
.
GoodsId
+
that
.
GoodsId
+
"&storeId="
+
"&storeId="
+
that
.
fxstoreId
,
that
.
fxstoreId
,
...
@@ -1096,7 +894,9 @@ export default {
...
@@ -1096,7 +894,9 @@ export default {
}
else
if
(
that
.
JumpType
==
9
)
{
}
else
if
(
that
.
JumpType
==
9
)
{
//线下服务商品
//线下服务商品
try
{
try
{
uni
.
setStorageSync
(
"storeId"
,
{
storeId
:
that
.
fxstoreId
});
uni
.
setStorageSync
(
"storeId"
,
{
storeId
:
that
.
fxstoreId
});
}
catch
(
e
)
{
}
catch
(
e
)
{
console
.
log
(
e
);
console
.
log
(
e
);
}
}
...
@@ -1116,8 +916,7 @@ export default {
...
@@ -1116,8 +916,7 @@ export default {
}
else
if
(
that
.
JumpType
==
12
)
{
}
else
if
(
that
.
JumpType
==
12
)
{
//储值卡的领取
//储值卡的领取
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
url
:
"/pages/coupon/cards/cardsreceive?Id="
+
"/pages/coupon/cards/cardsreceive?Id="
+
that
.
GoodsId
+
that
.
GoodsId
+
"&cardsmoney="
+
"&cardsmoney="
+
this
.
cardsmoney
,
this
.
cardsmoney
,
...
@@ -1129,7 +928,9 @@ export default {
...
@@ -1129,7 +928,9 @@ export default {
});
});
}
else
if
(
that
.
JumpType
==
14
)
{
}
else
if
(
that
.
JumpType
==
14
)
{
//用户资料填写
//用户资料填写
uni
.
navigateTo
({
url
:
"/pages/blindDate/editData"
});
uni
.
navigateTo
({
url
:
"/pages/blindDate/editData"
});
}
else
if
(
that
.
JumpType
==
15
)
{
}
else
if
(
that
.
JumpType
==
15
)
{
//品牌详情
//品牌详情
uni
.
navigateTo
({
uni
.
navigateTo
({
...
@@ -1138,8 +939,7 @@ export default {
...
@@ -1138,8 +939,7 @@ export default {
}
else
if
(
that
.
JumpType
==
16
)
{
}
else
if
(
that
.
JumpType
==
16
)
{
//载体详情
//载体详情
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
url
:
"/pages/kotra/carrier/detail?id="
+
"/pages/kotra/carrier/detail?id="
+
that
.
GoodsId
+
that
.
GoodsId
+
"&type="
+
"&type="
+
that
.
carrierType
,
that
.
carrierType
,
...
@@ -1162,15 +962,13 @@ export default {
...
@@ -1162,15 +962,13 @@ export default {
}
else
if
(
that
.
JumpType
==
20
)
{
}
else
if
(
that
.
JumpType
==
20
)
{
//甲鹤的收据详情
//甲鹤的收据详情
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
url
:
"/pages/school/personal/receiptDetails?FinanceId="
+
that
.
GoodsId
,
"/pages/school/personal/receiptDetails?FinanceId="
+
that
.
GoodsId
,
});
});
}
}
},
500
);
},
500
);
},
},
updateuserinfo
(
msg
)
{
updateuserinfo
(
msg
)
{
this
.
request2
(
this
.
request2
({
{
url
:
"/api/MemberUser/SetMemberPhoto"
,
url
:
"/api/MemberUser/SetMemberPhoto"
,
data
:
msg
,
data
:
msg
,
},
},
...
@@ -1209,8 +1007,7 @@ export default {
...
@@ -1209,8 +1007,7 @@ export default {
},
},
getjump
(
scene
)
{
getjump
(
scene
)
{
let
a
=
"YZnsGuRojCKBkb1siP3VwkhkPFvh-D"
;
//测试数据
let
a
=
"YZnsGuRojCKBkb1siP3VwkhkPFvh-D"
;
//测试数据
this
.
request
(
this
.
request
({
{
url
:
""
,
url
:
""
,
data
:
{
data
:
{
r
:
"api/default/qr-code-parameter"
,
r
:
"api/default/qr-code-parameter"
,
...
@@ -1218,7 +1015,6 @@ export default {
...
@@ -1218,7 +1015,6 @@ export default {
},
},
},
},
(
res
)
=>
{
(
res
)
=>
{
console
.
log
(
res
.
data
.
detail
.
path
);
uni
.
setStorageSync
(
"pid"
,
{
uni
.
setStorageSync
(
"pid"
,
{
pid
:
res
.
data
.
detail
.
user_id
?
res
.
data
.
detail
.
user_id
:
0
,
pid
:
res
.
data
.
detail
.
user_id
?
res
.
data
.
detail
.
user_id
:
0
,
});
//存储上级的id
});
//存储上级的id
...
@@ -1236,9 +1032,9 @@ export default {
...
@@ -1236,9 +1032,9 @@ export default {
return
n
.
substr
(
1
);
return
n
.
substr
(
1
);
},
},
init
()
{
init
()
{
let
mall_IsOpenSchool
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
let
mall_IsOpenSchool
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
IsOpenSchool
uni
.
getStorageSync
(
"mall_UserInfo"
).
IsOpenSchool
:
:
0
;
0
;
let
open_school
=
0
;
let
open_school
=
0
;
if
(
this
.
IsOpenSchool
==
1
&&
mall_IsOpenSchool
==
1
)
{
if
(
this
.
IsOpenSchool
==
1
&&
mall_IsOpenSchool
==
1
)
{
...
@@ -1248,11 +1044,10 @@ export default {
...
@@ -1248,11 +1044,10 @@ export default {
open_school
=
0
;
open_school
=
0
;
}
}
let
storeId
=
let
storeId
=
uni
.
getStorageSync
(
"storeId"
)
&&
uni
.
getStorageSync
(
"storeId"
).
storeId
uni
.
getStorageSync
(
"storeId"
)
&&
uni
.
getStorageSync
(
"storeId"
).
storeId
?
?
uni
.
getStorageSync
(
"storeId"
).
storeId
uni
.
getStorageSync
(
"storeId"
).
storeId
:
:
0
;
0
;
this
.
request2
(
this
.
request2
({
{
url
:
"/api/Mall/GetHome"
,
url
:
"/api/Mall/GetHome"
,
data
:
{
data
:
{
page_id
:
this
.
pageId
,
page_id
:
this
.
pageId
,
...
@@ -1295,8 +1090,7 @@ export default {
...
@@ -1295,8 +1090,7 @@ export default {
}
else
if
(
x
.
id
==
"miaiuser"
)
{
}
else
if
(
x
.
id
==
"miaiuser"
)
{
//4-29新加 相亲模式随机的时候调用接口
//4-29新加 相亲模式随机的时候调用接口
if
(
x
.
data
.
addUserType
==
4
)
{
if
(
x
.
data
.
addUserType
==
4
)
{
this
.
request2
(
this
.
request2
({
{
url
:
"/api/AppletMiai/GetDailyRandomList"
,
url
:
"/api/AppletMiai/GetDailyRandomList"
,
data
:
{
data
:
{
pageIndex
:
1
,
pageIndex
:
1
,
...
@@ -1331,17 +1125,9 @@ export default {
...
@@ -1331,17 +1125,9 @@ export default {
this
.
pageTitleStr
=
res
.
data
.
home_pages
.
navs
[
0
].
name
;
this
.
pageTitleStr
=
res
.
data
.
home_pages
.
navs
[
0
].
name
;
}
}
}
}
// uni.setNavigationBarColor({
// //字体颜色
// frontColor: res.data.navbar.top_text_color,
// //背景颜色
// backgroundColor: res.data.navbar.top_background_color,
// });
this
.
titleStyle
.
color
=
res
.
data
.
navbar
.
top_text_color
;
this
.
titleStyle
.
color
=
res
.
data
.
navbar
.
top_text_color
;
this
.
titleStyle
.
backgroundColor
=
this
.
titleStyle
.
backgroundColor
=
res
.
data
.
navbar
.
top_background_color
;
res
.
data
.
navbar
.
top_background_color
;
this
.
isShowBack
();
this
.
isShowBack
();
}
}
this
.
formatBg
();
this
.
formatBg
();
...
@@ -1359,30 +1145,28 @@ export default {
...
@@ -1359,30 +1145,28 @@ export default {
},
},
//测试进阶后台方法
//测试进阶后台方法
testJJSWApi
()
testJJSWApi
()
{
{
var
that
=
this
;
var
that
=
this
;
var
testCmd
=
""
;
var
testCmd
=
""
;
var
postMsg
=
{
var
postMsg
=
{};
};
//获取就读学校 开始
//获取就读学校 开始
testCmd
=
"/api/WeChatPublic/GetStuSchoolClass"
;
testCmd
=
"/api/WeChatPublic/GetStuSchoolClass"
;
postMsg
=
{
postMsg
=
{
Type
:
1
Type
:
1
};
};
//获取就读学校 结束
//获取就读学校 结束
//获取年级 开始
//获取年级 开始
testCmd
=
"/api/WeChatPublic/GetStuSchoolClass"
;
testCmd
=
"/api/WeChatPublic/GetStuSchoolClass"
;
postMsg
=
{
postMsg
=
{
Type
:
2
Type
:
2
};
};
//获取年级 结束
//获取年级 结束
//获取校区 开始
//获取校区 开始
testCmd
=
"/api/WeChatPublic/GetSchoolList"
testCmd
=
"/api/WeChatPublic/GetSchoolList"
postMsg
=
{}
postMsg
=
{}
//获取校区 结束
//获取校区 结束
//学生注册
//学生注册
...
@@ -1403,47 +1187,46 @@ export default {
...
@@ -1403,47 +1187,46 @@ export default {
//学生注册结束
//学生注册结束
//获取校区 开始
//获取校区 开始
testCmd
=
"/api/WeChatPublic/GetStuList"
testCmd
=
"/api/WeChatPublic/GetStuList"
postMsg
=
{
postMsg
=
{
UnionId
:
"oV5Rm1J_MpkEVvE0VPEicwCDG1Zo"
UnionId
:
"oV5Rm1J_MpkEVvE0VPEicwCDG1Zo"
}
}
//获取校区 结束
//获取校区 结束
//这里请求接口
//这里请求接口
that
.
requestJJSWAdmin
(
testCmd
,
postMsg
,
that
.
requestJJSWAdmin
(
testCmd
,
postMsg
,
(
res
)
=>
{
(
res
)
=>
{
console
.
log
(
"testJJSWApi"
,
res
)
console
.
log
(
"testJJSWApi"
,
res
)
});
});
},
},
getstore
()
{
getstore
()
{
let
that
=
this
;
let
that
=
this
;
uni
.
getLocation
({
uni
.
getLocation
({
type
:
"wgs84"
,
type
:
"wgs84"
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
let
position
=
res
.
latitude
+
","
+
res
.
longitude
;
let
position
=
res
.
latitude
+
","
+
res
.
longitude
;
uni
.
setStorageSync
(
"position"
,
{
uni
.
setStorageSync
(
"position"
,
{
position
:
position
,
position
:
position
,
});
});
that
.
getCurrentStore
();
that
.
getCurrentStore
();
},
},
fail
:
function
(
err
)
{
fail
:
function
(
err
)
{
that
.
getCurrentStore
();
that
.
getCurrentStore
();
},
},
});
});
},
},
getCurrentStore
()
{
getCurrentStore
()
{
let
storeId
=
let
storeId
=
uni
.
getStorageSync
(
"storeId"
)
&&
uni
.
getStorageSync
(
"storeId"
).
storeId
uni
.
getStorageSync
(
"storeId"
)
&&
uni
.
getStorageSync
(
"storeId"
).
storeId
?
?
uni
.
getStorageSync
(
"storeId"
).
storeId
uni
.
getStorageSync
(
"storeId"
).
storeId
:
:
0
;
0
;
let
position
=
let
position
=
uni
.
getStorageSync
(
"position"
)
&&
uni
.
getStorageSync
(
"position"
)
&&
uni
.
getStorageSync
(
"position"
).
position
uni
.
getStorageSync
(
"position"
).
position
?
?
uni
.
getStorageSync
(
"position"
).
position
uni
.
getStorageSync
(
"position"
).
position
:
:
""
;
""
;
this
.
request2
(
this
.
request2
({
{
url
:
"/api/AppletStores/GetCurrentStore"
,
url
:
"/api/AppletStores/GetCurrentStore"
,
data
:
{
data
:
{
storeId
:
storeId
,
storeId
:
storeId
,
...
@@ -1466,16 +1249,15 @@ export default {
...
@@ -1466,16 +1249,15 @@ export default {
);
);
},
},
getSmallShopById
()
{
getSmallShopById
()
{
let
Id
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
let
Id
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
SmallShopId
uni
.
getStorageSync
(
"mall_UserInfo"
).
SmallShopId
:
:
0
;
0
;
if
(
Id
==
0
)
{
if
(
Id
==
0
)
{
Id
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
Id
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserSmallShopId
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserSmallShopId
:
:
0
;
0
;
}
}
this
.
request2
(
this
.
request2
({
{
url
:
"/api/AppletUser/GetSmallShopById"
,
url
:
"/api/AppletUser/GetSmallShopById"
,
data
:
{
data
:
{
Id
:
Id
,
Id
:
Id
,
...
@@ -1510,10 +1292,11 @@ export default {
...
@@ -1510,10 +1292,11 @@ export default {
y
.
templateBg
.
backgroundColor
=
x
.
data
.
backgroundColor
;
y
.
templateBg
.
backgroundColor
=
x
.
data
.
backgroundColor
;
y
.
templateBg
.
backgroundImage
=
`url('
${
x
.
data
.
backgroundPicUrl
}
')`
;
y
.
templateBg
.
backgroundImage
=
`url('
${
x
.
data
.
backgroundPicUrl
}
')`
;
y
.
templateBg
.
backgroundPosition
=
x
.
data
.
positionText
;
y
.
templateBg
.
backgroundPosition
=
x
.
data
.
positionText
;
y
.
templateBg
.
backgroundRepeat
=
x
.
data
.
repeatText
y
.
templateBg
.
backgroundRepeat
=
x
.
data
.
repeatText
?
?
x
.
data
.
repeatText
x
.
data
.
repeatText
:
:
"no-repeat"
;
"no-repeat"
;
y
.
templateBg
.
backgroundSize
=
`
${
y
.
templateBg
.
backgroundSize
=
`
${
x
.
data
.
backgroundWidth
==
0
x
.
data
.
backgroundWidth
==
0
?
"auto"
?
"auto"
:
x
.
data
.
backgroundWidth
+
"%"
:
x
.
data
.
backgroundWidth
+
"%"
...
@@ -1536,7 +1319,6 @@ export default {
...
@@ -1536,7 +1319,6 @@ export default {
if
(
x
.
data
.
titleColor
)
{
if
(
x
.
data
.
titleColor
)
{
y
.
templateBg
.
titleColor
=
x
.
data
.
titleColor
+
" !important"
;
y
.
templateBg
.
titleColor
=
x
.
data
.
titleColor
+
" !important"
;
}
}
// y.templateBg +="padding-bottom:"+(this.$uiConfig.is_bang ? '88px' : '60px')+";box-sizing: border-box;";
}
}
});
});
if
(
!
y
.
templateBg
)
{
if
(
!
y
.
templateBg
)
{
...
@@ -1545,77 +1327,17 @@ export default {
...
@@ -1545,77 +1327,17 @@ export default {
};
};
}
}
});
});
// this.myPageData.home_pages.navs[0].template.data.push({
// id: "pintuan",
// permission_key: "pintuan",
// data: {
// buttonColor: "#ff4544",
// list: [
// {
// id: 179402,
// name:
// "日本POLA宝丽黑BA限定小礼盒(黑ba水20ml +黑ba乳液15ml +黑ba面霜5g +黑ba唇颊膏2g)",
// picUrl:
// "https://cdnimg.iotweixin.com/uploads/mall1285/20200506/904171cab7db2201f6f35c0ca5bb0a93.png",
// price: "388.00",
// peopleNum: 2,
// pintuanPrice: "348.00",
// },
// {
// id: 178355,
// name:
// "日本珂润(Curel)润浸保湿 滋养乳霜 40g 敏感肌专用 神经酰胺护理 抵抗外部刺激",
// picUrl:
// "https://cdnimg.iotweixin.com/uploads/mall1285/20200503/979653726a7bc1df0e24464f94b404bd.jpg",
// price: "180.00",
// peopleNum: 2,
// pintuanPrice: "180.00",
// },
// {
// id: 178352,
// name: "500g 干羊肚菌 干货 煲汤菌 菌中之王 包邮",
// picUrl:
// "https://cdnimg.iotweixin.com/uploads/mall1285/20200311/358dd9acf5dafd3cab2c05be3354400c.png",
// price: "780.00",
// peopleNum: 3,
// pintuanPrice: "680.00",
// },
// ],
// listStyle: 1,
// textStyle: 1,
// fill: 1,
// goodsCoverProportion: "1-1",
// goodsStyle: 1,
// showGoodsName: true,
// showBuyBtn: true,
// buyBtnStyle: 1,
// buyBtnText: "去拼团",
// showGoodsTag: false,
// customizeGoodsTag: false,
// goodsTagPicUrl: "",
// showImg: false,
// backgroundColor: "#fff",
// backgroundPicUrl: "",
// position: 5,
// mode: 1,
// backgroundHeight: 100,
// backgroundWidth: 100,
// borderBackground: "#ffffff",
// },
// });
},
},
getReceive
()
{
getReceive
()
{
//分享进入调取领券接口
//分享进入调取领券接口
// 1-分享,2-购买并付款
// 1-分享,2-购买并付款
this
.
request2
(
this
.
request2
({
{
url
:
"/api/AppletUser/ShareCoupon"
,
url
:
"/api/AppletUser/ShareCoupon"
,
data
:
{
data
:
{
TriggerType
:
1
,
TriggerType
:
1
,
},
},
},
},
(
res
)
=>
{
(
res
)
=>
{
console
.
log
(
res
,
"res"
);
if
(
res
.
couponResultCode
==
1
)
{
if
(
res
.
couponResultCode
==
1
)
{
this
.
couponMessage
=
res
.
couponMessage
;
this
.
couponMessage
=
res
.
couponMessage
;
this
.
showCoupons
=
true
;
this
.
showCoupons
=
true
;
...
@@ -1635,9 +1357,9 @@ export default {
...
@@ -1635,9 +1357,9 @@ export default {
this
.
$refs
.
son
[
0
].
getSmallShopById
(
2
);
//第一次登陆成功后去调取微店的信息
this
.
$refs
.
son
[
0
].
getSmallShopById
(
2
);
//第一次登陆成功后去调取微店的信息
}
}
this
.
getPageType
();
//获取用户类型(校园)
this
.
getPageType
();
//获取用户类型(校园)
let
IsOpenMiAi
=
uni
.
getStorageSync
(
"basedata"
)
let
IsOpenMiAi
=
uni
.
getStorageSync
(
"basedata"
)
?
?
uni
.
getStorageSync
(
"basedata"
).
mall
.
setting
.
is_show_miai
uni
.
getStorageSync
(
"basedata"
).
mall
.
setting
.
is_show_miai
:
:
0
;
//是否开启相亲模式 5-13新加
0
;
//是否开启相亲模式 5-13新加
if
(
this
.
u
.
IsOpenSchool
==
1
||
IsOpenMiAi
==
1
)
{
if
(
this
.
u
.
IsOpenSchool
==
1
||
IsOpenMiAi
==
1
)
{
this
.
init
();
this
.
init
();
}
}
...
@@ -1645,15 +1367,13 @@ export default {
...
@@ -1645,15 +1367,13 @@ export default {
this
.
sharejump
();
this
.
sharejump
();
},
},
getPageType
()
{
getPageType
()
{
this
.
request2
(
this
.
request2
({
{
url
:
"/api/AppletUser/GetAppletUserPageType"
,
url
:
"/api/AppletUser/GetAppletUserPageType"
,
data
:
{},
data
:
{},
},
},
(
res
)
=>
{
(
res
)
=>
{
let
mall_UserInfo
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
let
mall_UserInfo
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
?
uni
.
getStorageSync
(
"mall_UserInfo"
)
uni
.
getStorageSync
(
"mall_UserInfo"
)
:
{};
:
{};
mall_UserInfo
.
IsOpenSchool
=
res
.
data
.
IsOpenSchool
;
mall_UserInfo
.
IsOpenSchool
=
res
.
data
.
IsOpenSchool
;
mall_UserInfo
.
UserPageType
=
res
.
data
.
UserPageType
;
mall_UserInfo
.
UserPageType
=
res
.
data
.
UserPageType
;
uni
.
setStorageSync
(
"mall_UserInfo"
,
mall_UserInfo
);
uni
.
setStorageSync
(
"mall_UserInfo"
,
mall_UserInfo
);
...
@@ -1671,8 +1391,7 @@ export default {
...
@@ -1671,8 +1391,7 @@ export default {
},
},
goguidecar
()
{
goguidecar
()
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
url
:
"/pages/guidecar/guidecarGoodsdetails?GoodsId="
+
"/pages/guidecar/guidecarGoodsdetails?GoodsId="
+
this
.
guidecar
.
GoodsId
+
this
.
guidecar
.
GoodsId
+
"&address="
+
"&address="
+
this
.
guidecar
.
address
+
this
.
guidecar
.
address
+
...
@@ -1689,18 +1408,22 @@ export default {
...
@@ -1689,18 +1408,22 @@ export default {
this
.
$refs
.
city
[
0
].
getPickcar
(
Name
);
this
.
$refs
.
city
[
0
].
getPickcar
(
Name
);
},
},
refreshPage
()
{
refreshPage
()
{
// this.init();
// this.$forceUpdate();
// console.log("tag", "刷新");
},
},
//橙霜---未认证跳转到引导页
//橙霜---未认证跳转到引导页
handleChengShuang
()
{
handleChengShuang
()
{
let
AppletID
=
this
.
GetMiniAppId
().
TenantId
;
let
AppletID
=
this
.
GetMiniAppId
().
TenantId
;
if
(
AppletID
===
24
)
{
if
(
AppletID
===
24
)
{
let
basedata
=
wx
.
getStorageSync
(
"basedata"
);
let
basedata
=
wx
.
getStorageSync
(
"basedata"
);
let
isAttestation
=
basedata
?.
user_info
?.
isAttestation
??
0
;
let
isAttestation
=
0
;
let
IsOpenGuide
=
wx
.
getStorageSync
(
"basedata"
)?.
mall
?.
setting
?.
IsOpenGuide
??
0
;
if
(
basedata
&&
basedata
.
user_info
&&
basedata
.
user_info
.
isAttestation
)
{
if
(
isAttestation
===
0
&&
IsOpenGuide
===
1
)
{
isAttestation
=
basedata
.
user_info
.
isAttestation
;
}
let
IsOpenGuide
=
0
;
if
(
basedata
&&
basedata
.
mall
&&
basedata
.
mall
.
setting
&&
basedata
.
mall
.
setting
.
IsOpenGuide
)
{
let
IsOpenGuide
=
basedata
.
mall
.
setting
.
IsOpenGuide
;
}
if
(
isAttestation
===
0
&&
IsOpenGuide
===
1
)
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
"/pages/user-center/user-center"
,
url
:
"/pages/user-center/user-center"
,
});
});
...
@@ -1709,27 +1432,23 @@ export default {
...
@@ -1709,27 +1432,23 @@ export default {
},
},
yj
()
{
yj
()
{
uni
.
navigateTo
({
uni
.
navigateTo
({
// url: "/pages/school/personal/receiptDetails?FinanceId=116651",
url
:
"/pages/coffee/index"
,
url
:
"/pages/coffee/index"
,
});
});
},
},
},
},
};
};
</
script
>
</
script
>
<
style
>
<
style
>
.content
{
.content
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
width
:
100%
;
width
:
100%
;
overflow-x
:
hidden
;
overflow-x
:
hidden
;
/* align-items: center;
}
justify-content: center; */
}
.content
.tips_t
{
.content
.tips_t
{
position
:
fixed
;
position
:
fixed
;
right
:
6px
;
right
:
6px
;
height
:
36px
;
height
:
36px
;
background
:
#000000
;
background
:
#000000
;
...
@@ -1740,9 +1459,9 @@ export default {
...
@@ -1740,9 +1459,9 @@ export default {
font-size
:
12px
;
font-size
:
12px
;
margin-top
:
10px
;
margin-top
:
10px
;
z-index
:
9999999
;
z-index
:
9999999
;
}
}
.triangle-up
{
.triangle-up
{
width
:
0
;
width
:
0
;
height
:
0
;
height
:
0
;
border-left
:
10px
solid
transparent
;
border-left
:
10px
solid
transparent
;
...
@@ -1750,9 +1469,9 @@ export default {
...
@@ -1750,9 +1469,9 @@ export default {
border-bottom
:
12px
solid
black
;
border-bottom
:
12px
solid
black
;
position
:
fixed
;
position
:
fixed
;
right
:
65px
;
right
:
65px
;
}
}
.index-title
{
.index-title
{
line-height
:
45px
!important
;
line-height
:
45px
!important
;
font-size
:
16px
;
font-size
:
16px
;
text-align
:
center
;
text-align
:
center
;
...
@@ -1763,14 +1482,15 @@ export default {
...
@@ -1763,14 +1482,15 @@ export default {
color
:
#fff
;
color
:
#fff
;
box-sizing
:
content-box
;
box-sizing
:
content-box
;
z-index
:
5
;
z-index
:
5
;
}
}
.back-arrow
{
.back-arrow
{
position
:
absolute
;
position
:
absolute
;
left
:
5px
;
left
:
5px
;
bottom
:
12.5px
;
bottom
:
12.5px
;
}
}
.Startbtn
{
.Startbtn
{
position
:
absolute
;
position
:
absolute
;
top
:
10px
;
top
:
10px
;
right
:
15px
;
right
:
15px
;
...
@@ -1782,30 +1502,14 @@ export default {
...
@@ -1782,30 +1502,14 @@ export default {
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
color
:
#fff
;
color
:
#fff
;
}
}
.MainTopLeft
{
.MainTopLeft
{
text-align
:
left
!important
;
text-align
:
left
!important
;
padding-left
:
10px
;
padding-left
:
10px
;
}
}
/* .logo {
height: 200rpx;
width: 200rpx;
margin-top: 200rpx;
margin-left: auto;
margin-right: auto;
margin-bottom: 50rpx;
}
.text-area {
display: flex;
justify-content: center;
}
.title {
.contract_nav
{
font-size: 36rpx;
color: #8f8f94;
} */
.contract_nav
{
position
:
fixed
;
position
:
fixed
;
bottom
:
15%
;
bottom
:
15%
;
right
:
10
rpx
;
right
:
10
rpx
;
...
@@ -1814,8 +1518,9 @@ export default {
...
@@ -1814,8 +1518,9 @@ export default {
z-index
:
99999999999
;
z-index
:
99999999999
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
}
}
.Ma_nav-item
{
.Ma_nav-item
{
width
:
80px
;
width
:
80px
;
height
:
80px
;
height
:
80px
;
border-radius
:
50px
;
border-radius
:
50px
;
...
@@ -1824,10 +1529,14 @@ export default {
...
@@ -1824,10 +1529,14 @@ export default {
outline
:
none
;
outline
:
none
;
background
:
transparent
;
background
:
transparent
;
padding
:
0px
;
padding
:
0px
;
}
}
.Ma_nav-item
::after
{
border
:
none
;
}
.contract_nav
.Ma_nav-item
img
{
.Ma_nav-item
::after
{
border
:
none
;
}
.contract_nav
.Ma_nav-item
img
{
width
:
80px
;
width
:
80px
;
height
:
80px
;
height
:
80px
;
}
}
</
style
>
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment