去除状态栏高度缓存,新增状态机状态栏高度设置
parent
70595f6ac3
commit
66ca6b388a
2
App.vue
2
App.vue
|
@ -13,8 +13,6 @@
|
||||||
this.autoUpdate();
|
this.autoUpdate();
|
||||||
// 检测当前运行环境并缓存域名
|
// 检测当前运行环境并缓存域名
|
||||||
toolAll.tools.currentContext();
|
toolAll.tools.currentContext();
|
||||||
// 设置电量栏和导航栏的高度
|
|
||||||
uni.setStorageSync('electric_nav_height',uni.getSystemInfoSync().statusBarHeight + 54);
|
|
||||||
toolAll.tools.isVedio();
|
toolAll.tools.isVedio();
|
||||||
},
|
},
|
||||||
onShow: function() {
|
onShow: function() {
|
||||||
|
|
|
@ -53,7 +53,8 @@
|
||||||
const query = wx.createSelectorQuery().in(this)
|
const query = wx.createSelectorQuery().in(this)
|
||||||
query.select('.statusHNH').boundingClientRect((rect) => {
|
query.select('.statusHNH').boundingClientRect((rect) => {
|
||||||
// console.log('状态栏+标题栏:',rect.height);
|
// console.log('状态栏+标题栏:',rect.height);
|
||||||
uni.setStorageSync('statusHNH',rect.height)
|
uni.setStorageSync('statusHNH',rect.height);
|
||||||
|
this.$store.commit('updateHeightEv',rect.height)
|
||||||
}).exec()
|
}).exec()
|
||||||
|
|
||||||
// 转发进入:获取页面路径
|
// 转发进入:获取页面路径
|
||||||
|
@ -63,7 +64,7 @@
|
||||||
// console.log(currentPage.$page.fullPath,'获取当前页面完整路径带参数');
|
// console.log(currentPage.$page.fullPath,'获取当前页面完整路径带参数');
|
||||||
uni.setStorageSync('url',`/${currentPage.route}`);
|
uni.setStorageSync('url',`/${currentPage.route}`);
|
||||||
uni.setStorageSync('paramsUrl',currentPage.$page.fullPath);
|
uni.setStorageSync('paramsUrl',currentPage.$page.fullPath);
|
||||||
console.log(uni.getStorageSync('paramsUrl'),66);
|
// console.log(uni.getStorageSync('paramsUrl'),66);
|
||||||
// console.log(uni.getStorageSync('url'),64);
|
// console.log(uni.getStorageSync('url'),64);
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -66,8 +66,6 @@
|
||||||
// 检测当前运行环境并缓存域名
|
// 检测当前运行环境并缓存域名
|
||||||
this.$toolAll.tools.currentContext();
|
this.$toolAll.tools.currentContext();
|
||||||
this.setLogo();
|
this.setLogo();
|
||||||
// 设置电量栏和导航栏的高度
|
|
||||||
uni.setStorageSync('electric_nav_height',uni.getSystemInfoSync().statusBarHeight + 54);
|
|
||||||
this.$toolAll.tools.isVedio();
|
this.$toolAll.tools.isVedio();
|
||||||
// let ya = this;
|
// let ya = this;
|
||||||
// // 微信扫码后会自动编码,所以需要解码
|
// // 微信扫码后会自动编码,所以需要解码
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
<status-nav :titleVal="'用户协议及隐私声明'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'用户协议及隐私声明'" :statusTitle="true"></status-nav>
|
||||||
<view :style="{paddingTop: statusHNH+'px'}" class="mar20 line-h50 fon30">
|
<view :style="{paddingTop: statusHeight+'px'}" class="mar20 line-h50 fon30">
|
||||||
<!-- <rich-text :nodes="content"></rich-text> -->
|
<!-- <rich-text :nodes="content"></rich-text> -->
|
||||||
<view class="text2">本协议为您与本小程序管理者之间所订立的契约,具有合同的法律效力,请您仔细阅读。</view>
|
<view class="text2">本协议为您与本小程序管理者之间所订立的契约,具有合同的法律效力,请您仔细阅读。</view>
|
||||||
<view>一、本协议内容、生效、变更。本协议内容包括协议正文及所有本小程序已经发布的或将来可能发布的各类规则。所有规则为本协议不可分割的组成部分,与协议正文具有同等法律效力。如您对协议有任何疑问,应向本小程序咨询。您在同意所有协议条款并完成注册程序,才能成为本站的正式用户,您登录即代表同意“用户服务协议”,本协议即生效,对双方产生约束力。只要您使用本小程序平台服务,则本协议即对您产生约束,届时您不应以未阅读本协议的内容或者未获得本小程序对您问询的解答等理由,主张本协议无效,或要求撤销本协议。您确认:本协议条款是处理双方权利义务的契约,始终有效,法律另有强制性规定或双方另有特别约定的,依其规定。 您承诺接受并遵守本协议的约定。如果您不同意本协议的约定,您应立即停止注册程序或停止使用本小程序平台服务。本小程序有权根据需要不定期地制订、修改本协议及/或各类规则,并在本小程序平台公示,不再另行单独通知用户。变更后的协议和规则一经在网站公布,立即生效。如您不同意相关变更,应当立即停止使用本小程序平台服务。您继续使用本小程序平台服务的,即表明您接受修订后的协议和规则。</view>
|
<view>一、本协议内容、生效、变更。本协议内容包括协议正文及所有本小程序已经发布的或将来可能发布的各类规则。所有规则为本协议不可分割的组成部分,与协议正文具有同等法律效力。如您对协议有任何疑问,应向本小程序咨询。您在同意所有协议条款并完成注册程序,才能成为本站的正式用户,您登录即代表同意“用户服务协议”,本协议即生效,对双方产生约束力。只要您使用本小程序平台服务,则本协议即对您产生约束,届时您不应以未阅读本协议的内容或者未获得本小程序对您问询的解答等理由,主张本协议无效,或要求撤销本协议。您确认:本协议条款是处理双方权利义务的契约,始终有效,法律另有强制性规定或双方另有特别约定的,依其规定。 您承诺接受并遵守本协议的约定。如果您不同意本协议的约定,您应立即停止注册程序或停止使用本小程序平台服务。本小程序有权根据需要不定期地制订、修改本协议及/或各类规则,并在本小程序平台公示,不再另行单独通知用户。变更后的协议和规则一经在网站公布,立即生效。如您不同意相关变更,应当立即停止使用本小程序平台服务。您继续使用本小程序平台服务的,即表明您接受修订后的协议和规则。</view>
|
||||||
|
@ -34,7 +34,12 @@
|
||||||
export default {
|
export default {
|
||||||
data(){
|
data(){
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('statusHNH')
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed:{
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
<view>
|
<view>
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :statusBack="false" :titleVal="'分类'" :statusTitle="true"></status-nav>
|
<status-nav :statusBack="false" :titleVal="'分类'" :statusTitle="true"></status-nav>
|
||||||
<view class="disje mar-zy20" :style="{paddingTop: (statusHNH+10)+'px'}">
|
<view class="disje mar-zy20" :style="{paddingTop: (statusHeight+10)+'px'}">
|
||||||
<template v-if="cateList.length!=0">
|
<template v-if="cateList.length!=0">
|
||||||
<view class="cate-box" :style="{paddingTop:statusHNH+'px'}" style="overflow: hidden;overflow-y: scroll;">
|
<view class="cate-box" :style="{paddingTop:statusHeight+'px'}" style="overflow: hidden;overflow-y: scroll;">
|
||||||
<view class="fon26">
|
<view class="fon26">
|
||||||
<view class="mar-s20 flexs" :style="{color : ccurrent==indexc ? publicColor:''}"
|
<view class="mar-s20 flexs" :style="{color : ccurrent==indexc ? publicColor:''}"
|
||||||
:class="ccurrent==indexc?'bold cateActive':'catemo'"
|
:class="ccurrent==indexc?'bold cateActive':'catemo'"
|
||||||
|
@ -151,7 +151,6 @@
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
ccurrent:0,
|
ccurrent:0,
|
||||||
cateList:[],
|
cateList:[],
|
||||||
cateListTwo:[//二级分类
|
cateListTwo:[//二级分类
|
||||||
|
@ -191,6 +190,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPageScroll(e) {
|
onPageScroll(e) {
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<template v-if="isNet">
|
<template v-if="isNet">
|
||||||
<!-- <status-nav :titleVal="'首页'" :backgroudColor="publicColor" :tabcolor="'#FFFFFF'" :statusBack="false" :statusTitle="true"></status-nav> -->
|
<status-nav :titleVal="'首页'" :backgroudColor="publicColor" :tabcolor="'#FFFFFF'" :statusBack="false" :statusTitle="true" style="opacity: 0;"></status-nav>
|
||||||
<!-- 输入框 -->
|
<!-- 输入框 -->
|
||||||
<view class="input-box posiszy" :style="{top: statusHNH+'px',background:publicColor}" style="height: 60px;display: flex;align-items: center;">
|
<view class="input-box posiszy" :style="{top: statusHeight+'px',background:publicColor}" style="height: 60px;display: flex;align-items: center;">
|
||||||
<view class="disac width100">
|
<view class="disac width100">
|
||||||
<image class="searchImg flexs" src="/static/public/search.png" mode="aspectFill"></image>
|
<image class="searchImg flexs" src="/static/public/search.png" mode="aspectFill"></image>
|
||||||
<!-- 输入框 -->
|
<!-- 输入框 -->
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="pad-x180">
|
<view class="pad-x180">
|
||||||
<!-- 自定义轮播 -->
|
<!-- 自定义轮播 -->
|
||||||
<view :style="{marginTop: (statusHNH+60)+'px'}">
|
<view :style="{marginTop: (statusHeight+60)+'px'}">
|
||||||
<swiper-pu :bannerList="bannerList" :isplay="isAutoPlay"></swiper-pu>
|
<swiper-pu :bannerList="bannerList" :isplay="isAutoPlay"></swiper-pu>
|
||||||
</view>
|
</view>
|
||||||
<!-- 宫格 -->
|
<!-- 宫格 -->
|
||||||
|
@ -95,7 +95,6 @@
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusBarHeight:uni.getSystemInfoSync().statusBarHeight,
|
statusBarHeight:uni.getSystemInfoSync().statusBarHeight,
|
||||||
statusHNH:uni.getStorageSync('statusHNH'),
|
|
||||||
searchVal:'',//输入框的值
|
searchVal:'',//输入框的值
|
||||||
//九宫格列表
|
//九宫格列表
|
||||||
gonggList:[],
|
gonggList:[],
|
||||||
|
@ -142,6 +141,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPageScroll(e) {
|
onPageScroll(e) {
|
||||||
|
@ -225,12 +227,6 @@
|
||||||
} else if(uni.getStorageSync('token')=='' || uni.getStorageSync('phone_active')==0 && uni.getStorageSync('is_active')==0){
|
} else if(uni.getStorageSync('token')=='' || uni.getStorageSync('phone_active')==0 && uni.getStorageSync('is_active')==0){
|
||||||
this.loginEv(options);
|
this.loginEv(options);
|
||||||
}
|
}
|
||||||
const query = wx.createSelectorQuery()
|
|
||||||
query.select('.statusHNH').boundingClientRect((rect) => {
|
|
||||||
// log('状态栏+标题栏:',rect.height);
|
|
||||||
uni.setStorageSync('statusHNH',rect.height)
|
|
||||||
this.statusHNH = rect.height
|
|
||||||
}).exec()
|
|
||||||
this.checkBCate();//查询底部导航
|
this.checkBCate();//查询底部导航
|
||||||
this.checkKey();//查询热门关键词
|
this.checkKey();//查询热门关键词
|
||||||
this.checkSwi();//查询轮播图
|
this.checkSwi();//查询轮播图
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<view>
|
<view>
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :titleVal="'商城'" :statusBack="false" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'商城'" :statusBack="false" :statusTitle="true"></status-nav>
|
||||||
<view class="bacf shop-nav-box" :style="{marginTop:statusHNH+'px'}">
|
<view class="bacf shop-nav-box" :style="{marginTop:statusHeight+'px'}">
|
||||||
<view class="disac pad-zy30 mar-sx20 pad-s20">
|
<view class="disac pad-zy30 mar-sx20 pad-s20">
|
||||||
<!-- 输入框 -->
|
<!-- 输入框 -->
|
||||||
<input class="width100 fon34 radius10" type="text" @confirm="searchEv" v-model="searchVal" placeholder="请输入商品名称"/>
|
<input class="width100 fon34 radius10" type="text" @confirm="searchEv" v-model="searchVal" placeholder="请输入商品名称"/>
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
<swiper-pu :bannerList="bannerList" :isplay="isAutoPlay"></swiper-pu>
|
<swiper-pu :bannerList="bannerList" :isplay="isAutoPlay"></swiper-pu>
|
||||||
</view>
|
</view>
|
||||||
<!-- 搜索输入框 -->
|
<!-- 搜索输入框 -->
|
||||||
<view class="search-input-box bacf shop-nav-box" :style="{top: statusHNH+'px',position:positionMode}" style="padding-top: 10rpx;left: 0;right: 0;z-index: 3;">
|
<view class="search-input-box bacf shop-nav-box" :style="{top: statusHeight+'px',position:positionMode}" style="padding-top: 10rpx;left: 0;right: 0;z-index: 3;">
|
||||||
<!-- 分类标题 -->
|
<!-- 分类标题 -->
|
||||||
<view style="background: #FFFFFF;font-size: 24rpx;" class="disjbac pad-zy20 pad-s20">
|
<view style="background: #FFFFFF;font-size: 24rpx;" class="disjbac pad-zy20 pad-s20">
|
||||||
<view v-for="(item,index) in shopCate" @tap="chooseShopCate(index)" :class="activeIndex==index?'activecate':'shopMo'" :style="{background:activeIndex==index?publicColor:'#F2F2F2'}" :key="index"><span>{{item}}</span></view>
|
<view v-for="(item,index) in shopCate" @tap="chooseShopCate(index)" :class="activeIndex==index?'activecate':'shopMo'" :style="{background:activeIndex==index?publicColor:'#F2F2F2'}" :key="index"><span>{{item}}</span></view>
|
||||||
|
@ -172,7 +172,6 @@
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
activeIndex:'-1',
|
activeIndex:'-1',
|
||||||
shopCate:['全部分类','全部医生','全部活动'],
|
shopCate:['全部分类','全部医生','全部活动'],
|
||||||
cateTitle:'',
|
cateTitle:'',
|
||||||
|
@ -218,6 +217,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onHide() {
|
onHide() {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<view>
|
<view>
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :titleVal="'活动任务'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'活动任务'" :statusTitle="true"></status-nav>
|
||||||
<view :style="{paddingTop: statusHNH+'px'}" class="pad-zy32 pad-x20">
|
<view :style="{paddingTop: statusHeight+'px'}" class="pad-zy32 pad-x20">
|
||||||
<!-- 签到领积分 -->
|
<!-- 签到领积分 -->
|
||||||
<view v-for="(item,index) in activityList" :key="index" class="bacf radius20 pad20 mar-s20">
|
<view v-for="(item,index) in activityList" :key="index" class="bacf radius20 pad20 mar-s20">
|
||||||
<view class="bold col3 disjbac">
|
<view class="bold col3 disjbac">
|
||||||
|
@ -76,7 +76,6 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
isScreenshot:false,
|
isScreenshot:false,
|
||||||
upImg:'',
|
upImg:'',
|
||||||
chooseIndex:0,
|
chooseIndex:0,
|
||||||
|
@ -92,6 +91,11 @@
|
||||||
this.checkList();
|
this.checkList();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed:{
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
|
}
|
||||||
|
},
|
||||||
onLoad() {},
|
onLoad() {},
|
||||||
methods: {
|
methods: {
|
||||||
btnEv(index){
|
btnEv(index){
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
<view>
|
<view>
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :titleVal="'优惠券'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'优惠券'" :statusTitle="true"></status-nav>
|
||||||
<view id="daoh" class="bacf pad-zy40 pad-sx20 isTopf fon28 col3 disjbac" :style="{top:statusHNH+'px'}">
|
<view id="daoh" class="bacf pad-zy40 pad-sx20 isTopf fon28 col3 disjbac" :style="{top:statusHeight+'px'}">
|
||||||
<view @tap="chooseNav(indexn)" :class="isStatus==indexn?'isWen bold':''" class="posir" v-for="(itemn,indexn) in navList" :key="indexn">{{itemn}}</view>
|
<view @tap="chooseNav(indexn)" :class="isStatus==indexn?'isWen bold':''" class="posir" v-for="(itemn,indexn) in navList" :key="indexn">{{itemn}}</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<view :style="{paddingTop: (statusHNH+chuTop+15)+'px'}" class="pad-zy32">
|
<view :style="{paddingTop: (statusHeight+chuTop+15)+'px'}" class="pad-zy32">
|
||||||
<view class="pad-x30">
|
<view class="pad-x30">
|
||||||
<view v-if="dataList.length!=0" class="mar-x20 animated fadeInLeft" v-for="(item,index) in dataList" :key="index">
|
<view v-if="dataList.length!=0" class="mar-x20 animated fadeInLeft" v-for="(item,index) in dataList" :key="index">
|
||||||
<view style="height: 200rpx;" class="disjbac posir">
|
<view style="height: 200rpx;" class="disjbac posir">
|
||||||
|
@ -57,7 +57,6 @@
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
chuTop:'',
|
chuTop:'',
|
||||||
navList:['未使用','已使用','可领取','已过期'],
|
navList:['未使用','已使用','可领取','已过期'],
|
||||||
isStatus:0,
|
isStatus:0,
|
||||||
|
@ -78,6 +77,11 @@
|
||||||
secret:''
|
secret:''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed:{
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
|
}
|
||||||
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
this.$toolAll.tools.isLogin()
|
this.$toolAll.tools.isLogin()
|
||||||
},
|
},
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<view>
|
<view>
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :titleVal="'购物车'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'购物车'" :statusTitle="true"></status-nav>
|
||||||
<view v-if="loading" :style="{paddingTop: statusHNH+'px'}" class="pad-zy30" style="padding-bottom: 150rpx;">
|
<view v-if="loading" :style="{paddingTop: statusHeight+'px'}" class="pad-zy30" style="padding-bottom: 150rpx;">
|
||||||
<view class="bacf radius20 mar-s20 disjbac pad-sx27-zy20">
|
<view class="bacf radius20 mar-s20 disjbac pad-sx27-zy20">
|
||||||
<view class="bold">配送方式</view>
|
<view class="bold">配送方式</view>
|
||||||
<view class="fon26 col3 disac">
|
<view class="fon26 col3 disac">
|
||||||
|
@ -146,7 +146,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 支付成功 -->
|
<!-- 支付成功 -->
|
||||||
<view v-if="isSuccess" class="posAll" :style="{top:statusHNH+'px'}" style="z-index: 3;background-color: #F5F5F5;">
|
<view v-if="isSuccess" class="posAll" :style="{top:statusHeight+'px'}" style="z-index: 3;background-color: #F5F5F5;">
|
||||||
<view class="bacf radius20 mar-s20 mar-zy20 success-box">
|
<view class="bacf radius20 mar-s20 mar-zy20 success-box">
|
||||||
<image src="/static/public/pay-success.png" mode=""></image>
|
<image src="/static/public/pay-success.png" mode=""></image>
|
||||||
<view class="fon28 col3 pad-s20 pad-x40">支付成功</view>
|
<view class="fon28 col3 pad-s20 pad-x40">支付成功</view>
|
||||||
|
@ -178,7 +178,6 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
isExpress:false,
|
isExpress:false,
|
||||||
switchQuan:true,
|
switchQuan:true,
|
||||||
showQuan:false,//是否显示优惠券弹框
|
showQuan:false,//是否显示优惠券弹框
|
||||||
|
@ -230,6 +229,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<view>
|
<view>
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :titleVal="'积分管理'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'积分管理'" :statusTitle="true"></status-nav>
|
||||||
<view :style="{paddingTop: statusHNH+'px'}" class="pad-zy30 fon28 col3">
|
<view :style="{paddingTop: statusHeight+'px'}" class="pad-zy30 fon28 col3">
|
||||||
<view class="mar-s20 bacf pad20 radius20 bold">
|
<view class="mar-s20 bacf pad20 radius20 bold">
|
||||||
<view class="mar-x30">当前积分</view>
|
<view class="mar-x30">当前积分</view>
|
||||||
<view style="font-size: 56rpx;">{{dangScore}}</view>
|
<view style="font-size: 56rpx;">{{dangScore}}</view>
|
||||||
|
@ -56,7 +56,6 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
activeJF:true,
|
activeJF:true,
|
||||||
dataList:[
|
dataList:[
|
||||||
// {title:'签到兑换',time:'2021.09.06 10:30:10',num:'1'},
|
// {title:'签到兑换',time:'2021.09.06 10:30:10',num:'1'},
|
||||||
|
@ -74,6 +73,11 @@
|
||||||
isHave:false,
|
isHave:false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed:{
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
|
}
|
||||||
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
if(this.total!=this.dataList.length){
|
if(this.total!=this.dataList.length){
|
||||||
this.page++
|
this.page++
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<status-nav :titleVal="'自主预约'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'自主预约'" :statusTitle="true"></status-nav>
|
||||||
<!-- 自定义二级分类 -->
|
<!-- 自定义二级分类 -->
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<view v-if="isLoading" :style="{paddingTop: statusHNH+'px'}" class="pad-zy30" style="padding-bottom: 160rpx;">
|
<view v-if="isLoading" :style="{paddingTop: statusHeight+'px'}" class="pad-zy30" style="padding-bottom: 160rpx;">
|
||||||
<view v-if="dataList.length!=0" class="mar-s30 bacf pad20" v-for="(item,index) in dataList" :key="index" style="border-radius: 28rpx;">
|
<view v-if="dataList.length!=0" class="mar-s30 bacf pad20" v-for="(item,index) in dataList" :key="index" style="border-radius: 28rpx;">
|
||||||
<view class="disjbac">
|
<view class="disjbac">
|
||||||
<view class="disac">
|
<view class="disac">
|
||||||
|
@ -46,7 +46,6 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
failColor:'#CCCCCC',//失败背景颜色
|
failColor:'#CCCCCC',//失败背景颜色
|
||||||
ingColor:'#FFBE4D',//审核中背景颜色
|
ingColor:'#FFBE4D',//审核中背景颜色
|
||||||
quColor:'#FF4D4D',//取消预约背景色
|
quColor:'#FF4D4D',//取消预约背景色
|
||||||
|
@ -69,6 +68,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :backgroudColor="publicColor" :tabcolor="publicColor" :statusTitle="true" :backColor="1"></status-nav>
|
<status-nav :backgroudColor="publicColor" :tabcolor="publicColor" :statusTitle="true" :backColor="1"></status-nav>
|
||||||
<image src="/static/public/member-head.png" style="position: absolute;top: 0;left: 0;right: 0;height: 436rpx;width: 100%;"></image>
|
<image src="/static/public/member-head.png" style="position: absolute;top: 0;left: 0;right: 0;height: 436rpx;width: 100%;"></image>
|
||||||
<view class="mar-zy32 posir" :style="{paddingTop:statusHNH+26+'px'}">
|
<view class="mar-zy32 posir" :style="{paddingTop:statusHeight+26+'px'}">
|
||||||
<view class="radius30 posir gao mar-zy40 fon24 pad-x20" style="box-shadow: 0px 16rpx 30rpx rgba(141, 141, 141, 0.26);">
|
<view class="radius30 posir gao mar-zy40 fon24 pad-x20" style="box-shadow: 0px 16rpx 30rpx rgba(141, 141, 141, 0.26);">
|
||||||
<view class="posir pad-zy20" style="z-index: 2;">
|
<view class="posir pad-zy20" style="z-index: 2;">
|
||||||
<view class="disjb">
|
<view class="disjb">
|
||||||
|
@ -56,7 +56,6 @@
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
huiList:[
|
huiList:[
|
||||||
{src:'/static/public/ru-hui50.png',title:'入会权益',ntype:'membership_interests'},
|
{src:'/static/public/ru-hui50.png',title:'入会权益',ntype:'membership_interests'},
|
||||||
{src:'/static/public/birthday50.png',title:'生日礼物',ntype:'birthday'},
|
{src:'/static/public/birthday50.png',title:'生日礼物',ntype:'birthday'},
|
||||||
|
@ -73,6 +72,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<view>
|
<view>
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :titleVal="'写日记'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'写日记'" :statusTitle="true"></status-nav>
|
||||||
<view :style="{paddingTop: statusHNH+'px'}" class="pad-zy20">
|
<view :style="{paddingTop: statusHeight+'px'}" class="pad-zy20">
|
||||||
<view class="mar-s30 bacf pad20" style="border-radius: 20rpx 20rpx 0 0;">
|
<view class="mar-s30 bacf pad20" style="border-radius: 20rpx 20rpx 0 0;">
|
||||||
<!-- 日记标题 -->
|
<!-- 日记标题 -->
|
||||||
<view class="disac mar-s20">
|
<view class="disac mar-s20">
|
||||||
|
@ -88,7 +88,6 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
optionObj:'',
|
optionObj:'',
|
||||||
diary_title:'',//日记标题
|
diary_title:'',//日记标题
|
||||||
diary_content:'',//详细内容
|
diary_content:'',//详细内容
|
||||||
|
@ -111,6 +110,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<view>
|
<view>
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :titleVal="'我的日记'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'我的日记'" :statusTitle="true"></status-nav>
|
||||||
<view :style="{paddingTop: statusHNH+'px'}" class="pad-zy30" style="padding-bottom: 160rpx;">
|
<view :style="{paddingTop: statusHeight+'px'}" class="pad-zy30" style="padding-bottom: 160rpx;">
|
||||||
<view v-if="dataList.length!=0" class="mar-s30 bacf pad20" v-for="(item,index) in dataList" :key="index" style="border-radius: 28rpx;">
|
<view v-if="dataList.length!=0" class="mar-s30 bacf pad20" v-for="(item,index) in dataList" :key="index" style="border-radius: 28rpx;">
|
||||||
<view class="clips1">{{item.title}}</view>
|
<view class="clips1">{{item.title}}</view>
|
||||||
<view class="mar-s20 fon24 col9">{{item.content}}</view>
|
<view class="mar-s20 fon24 col9">{{item.content}}</view>
|
||||||
|
@ -37,7 +37,6 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
optionObj:'',
|
optionObj:'',
|
||||||
dataList:[],
|
dataList:[],
|
||||||
page:1,
|
page:1,
|
||||||
|
@ -50,6 +49,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<view>
|
<view>
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :titleVal="'地址管理'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'地址管理'" :statusTitle="true"></status-nav>
|
||||||
<view :style="{paddingTop:statusHNH+'px'}" class="mar-sx20 pad-zy32" style="padding-bottom: 150rpx;">
|
<view :style="{paddingTop:statusHeight+'px'}" class="mar-sx20 pad-zy32" style="padding-bottom: 150rpx;">
|
||||||
<view v-if="loading">
|
<view v-if="loading">
|
||||||
<view @tap="goBack(index)" v-for="(item,index) in dataList" :key="index" class="bacf radius20 pad20 mar-x20">
|
<view @tap="goBack(index)" v-for="(item,index) in dataList" :key="index" class="bacf radius20 pad20 mar-x20">
|
||||||
<view class="pad-y20 disjbac">
|
<view class="pad-y20 disjbac">
|
||||||
|
@ -94,7 +94,6 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
dataList:[],
|
dataList:[],
|
||||||
idEdit:false,
|
idEdit:false,
|
||||||
userName:'',
|
userName:'',
|
||||||
|
@ -114,6 +113,11 @@
|
||||||
isMo:0
|
isMo:0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
|
}
|
||||||
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
// 禁用小程序分享
|
// 禁用小程序分享
|
||||||
this.$toolAll.tools.disableShareEv();
|
this.$toolAll.tools.disableShareEv();
|
||||||
|
|
|
@ -3,14 +3,14 @@
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :titleVal="'订单管理'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'订单管理'" :statusTitle="true"></status-nav>
|
||||||
<!-- 自定义二级分类 -->
|
<!-- 自定义二级分类 -->
|
||||||
<view class="isTopf bacf pad-zy30" :style="{top:statusHNH+'px'}">
|
<view class="isTopf bacf pad-zy30" :style="{top:statusHeight+'px'}">
|
||||||
<scroll-view scroll-x>
|
<scroll-view scroll-x>
|
||||||
<view id="daoh" class="disjbac pad-s20">
|
<view id="daoh" class="disjbac pad-s20">
|
||||||
<view @tap="chooseNav(indexn)" class="posir pad-s20 pad-zy20 pad-x30 flexs mar-y10" style="text-align: center;" :class="activeIndex==indexn?'activeD':''" :style="{color:activeIndex==indexn?'#3875F6':'#000000'}" v-for="(itemn,indexn) in statusList" :key="indexn">{{itemn}}</view>
|
<view @tap="chooseNav(indexn)" class="posir pad-s20 pad-zy20 pad-x30 flexs mar-y10" style="text-align: center;" :class="activeIndex==indexn?'activeD':''" :style="{color:activeIndex==indexn?'#3875F6':'#000000'}" v-for="(itemn,indexn) in statusList" :key="indexn">{{itemn}}</view>
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
<view :style="{paddingTop:(statusHNH+12+chuTop)+'px'}" class="pad-sx20 pad-zy32 pad-x180">
|
<view :style="{paddingTop:(statusHeight+12+chuTop)+'px'}" class="pad-sx20 pad-zy32 pad-x180">
|
||||||
<view v-if="orderList.length!=0" v-for="(item,index) in orderList" :key="index" class="radius20 bacf pad20 mar-x20 order-item-box">
|
<view v-if="orderList.length!=0" v-for="(item,index) in orderList" :key="index" class="radius20 bacf pad20 mar-x20 order-item-box">
|
||||||
<view @tap="goDetail(item.id)" class="bbot disjbac pad-x20 mar-x20"><view class="fon28 col3 bold">{{item.isShop==0?'商城订单':'积分商城订单'}}</view>
|
<view @tap="goDetail(item.id)" class="bbot disjbac pad-x20 mar-x20"><view class="fon28 col3 bold">{{item.isShop==0?'商城订单':'积分商城订单'}}</view>
|
||||||
<view v-if="item.is_only==0 && item.open_one==1 && item.is_group_make==1 && item.open_one_success==0" class="fon24 col9">{{item.group_make_end_at}}</view>
|
<view v-if="item.is_only==0 && item.open_one==1 && item.is_group_make==1 && item.open_one_success==0" class="fon24 col9">{{item.group_make_end_at}}</view>
|
||||||
|
@ -118,7 +118,6 @@
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
chuTop:'',//导航高度
|
chuTop:'',//导航高度
|
||||||
activeIndex:'',
|
activeIndex:'',
|
||||||
statusList:['全部','待付款','待发货','待核验','待收货','已完成'],
|
statusList:['全部','待付款','待发货','待核验','待收货','已完成'],
|
||||||
|
@ -161,6 +160,9 @@
|
||||||
imgList() {
|
imgList() {
|
||||||
return this.$store.state.imgList
|
return this.$store.state.imgList
|
||||||
},
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
|
}
|
||||||
},
|
},
|
||||||
onShareAppMessage(res) {
|
onShareAppMessage(res) {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<status-nav :titleVal="'修改资料'" :whereCome="whereCome" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'修改资料'" :whereCome="whereCome" :statusTitle="true"></status-nav>
|
||||||
<!-- 自定义二级分类 -->
|
<!-- 自定义二级分类 -->
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<view :style="{paddingTop: statusHNH+'px'}" class="fon28 pad-x20">
|
<view :style="{paddingTop: statusHeight+'px'}" class="fon28 pad-x20">
|
||||||
<view v-for="(itemd,indexd) in dataList" :key="indexd"
|
<view v-for="(itemd,indexd) in dataList" :key="indexd"
|
||||||
class="disjbac borbot mar-zy40" :class="(indexd!=1 && indexd!=5 && indexd!=6) ? 'pad-sx40':''">
|
class="disjbac borbot mar-zy40" :class="(indexd!=1 && indexd!=5 && indexd!=6) ? 'pad-sx40':''">
|
||||||
<!-- 标题 -->
|
<!-- 标题 -->
|
||||||
|
@ -74,7 +74,6 @@
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
moHead:'/static/public/logo.png',
|
moHead:'/static/public/logo.png',
|
||||||
dataList:[
|
dataList:[
|
||||||
{title:'用户头像',content:'',imgSrc:'',fcon:''},
|
{title:'用户头像',content:'',imgSrc:'',fcon:''},
|
||||||
|
@ -115,6 +114,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<view>
|
<view>
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :titleVal="'孔雀币管理'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'孔雀币管理'" :statusTitle="true"></status-nav>
|
||||||
<view :style="{paddingTop: statusHNH+'px'}" class="pad-zy30 fon28 col3 pad-x180">
|
<view :style="{paddingTop: statusHeight+'px'}" class="pad-zy30 fon28 col3 pad-x180">
|
||||||
<view class="mar-s20 bacf pad20 radius20">
|
<view class="mar-s20 bacf pad20 radius20">
|
||||||
<view class="mar-x30">当前孔雀币</view>
|
<view class="mar-x30">当前孔雀币</view>
|
||||||
<view class="disjbac">
|
<view class="disjbac">
|
||||||
|
@ -62,7 +62,6 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
activeJF:true,
|
activeJF:true,
|
||||||
kNum:'',//输入框孔雀币数量
|
kNum:'',//输入框孔雀币数量
|
||||||
dataList:[
|
dataList:[
|
||||||
|
@ -87,6 +86,11 @@
|
||||||
limit_price:0//最低限制金额
|
limit_price:0//最低限制金额
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed:{
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
|
}
|
||||||
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
if(this.total!=this.dataList.length){
|
if(this.total!=this.dataList.length){
|
||||||
this.page++
|
this.page++
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :titleVal="'积分商城'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'积分商城'" :statusTitle="true"></status-nav>
|
||||||
<!-- 搜索输入框 -->
|
<!-- 搜索输入框 -->
|
||||||
<view class="search-input-box bacf poszy jf-input-box" :style="{top: statusHNH+'px'}">
|
<view class="search-input-box bacf poszy jf-input-box" :style="{top: statusHeight+'px'}">
|
||||||
<view class="disac pad-zy30 mar-s20">
|
<view class="disac pad-zy30 mar-s20">
|
||||||
<!-- 输入框 -->
|
<!-- 输入框 -->
|
||||||
<input class="width100 fon34 radius10" @confirm="searchKey" type="text" v-model="searchVal" placeholder="请输入商品名称"/>
|
<input class="width100 fon34 radius10" @confirm="searchKey" type="text" v-model="searchVal" placeholder="请输入商品名称"/>
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 数据列表 -->
|
<!-- 数据列表 -->
|
||||||
<view :style="{marginTop:statusHNH+titleHeight+'px'}">
|
<view :style="{marginTop:statusHeight+titleHeight+'px'}">
|
||||||
<score-list id="myComponent" :dataList="dataList" v-if="dataList.length!=0"></score-list>
|
<score-list id="myComponent" :dataList="dataList" v-if="dataList.length!=0"></score-list>
|
||||||
<nothing-page v-if="dataList.length==0" :content="`暂无更多${searchVal}积分商品`"></nothing-page>
|
<nothing-page v-if="dataList.length==0" :content="`暂无更多${searchVal}积分商品`"></nothing-page>
|
||||||
</view>
|
</view>
|
||||||
|
@ -50,7 +50,6 @@
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
activeIndex:0,
|
activeIndex:0,
|
||||||
shopCate:['综合','最新','兑换量','积分'],
|
shopCate:['综合','最新','兑换量','积分'],
|
||||||
titleHeight:'',//标题高度
|
titleHeight:'',//标题高度
|
||||||
|
@ -75,6 +74,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<status-nav :titleVal="'自主预约'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'自主预约'" :statusTitle="true"></status-nav>
|
||||||
<!-- 自定义二级分类 -->
|
<!-- 自定义二级分类 -->
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<view :style="{paddingTop: statusHNH+'px'}" class="pad-zy20">
|
<view :style="{paddingTop: statusHeight+'px'}" class="pad-zy20">
|
||||||
<view class="bacf mar-s25 pad-zy20 radius20 fon28 col3 pad-x40">
|
<view class="bacf mar-s25 pad-zy20 radius20 fon28 col3 pad-x40">
|
||||||
<view class="disac pad-s32">
|
<view class="disac pad-s32">
|
||||||
<view class="flexs mar-y20">预约类别</view>
|
<view class="flexs mar-y20">预约类别</view>
|
||||||
|
@ -85,7 +85,6 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
timeCurrent:0,
|
timeCurrent:0,
|
||||||
dataList:[],//日期
|
dataList:[],//日期
|
||||||
dataTD:[],//时间段
|
dataTD:[],//时间段
|
||||||
|
@ -114,6 +113,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<view>
|
<view>
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :titleVal="'购物车'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'购物车'" :statusTitle="true"></status-nav>
|
||||||
<view :style="{paddingTop: statusHNH+'px'}" class="pad-zy30 pad-x160">
|
<view :style="{paddingTop: statusHeight+'px'}" class="pad-zy30 pad-x160">
|
||||||
<view class="bacf radius20 mar-s20 pad20" v-if="cartList.length!=0">
|
<view class="bacf radius20 mar-s20 pad20" v-if="cartList.length!=0">
|
||||||
<view class="fon28 col3 disjbac" style="height: 43rpx;">
|
<view class="fon28 col3 disjbac" style="height: 43rpx;">
|
||||||
<view class="bold">订单信息</view>
|
<view class="bold">订单信息</view>
|
||||||
|
@ -64,7 +64,6 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
showDel:false,
|
showDel:false,
|
||||||
startX:'',//开始位置
|
startX:'',//开始位置
|
||||||
endX:'',//结束位置
|
endX:'',//结束位置
|
||||||
|
@ -84,6 +83,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
<view>
|
<view>
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :titleVal="'签到管理'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'签到管理'" :statusTitle="true"></status-nav>
|
||||||
<view v-if="loading" :style="{paddingTop: statusHNH+'px'}" class=" fon28 col3">
|
<view v-if="loading" :style="{paddingTop: statusHeight+'px'}" class=" fon28 col3">
|
||||||
<view style="position: sticky;z-index: 3;background: #FFFFFF;padding-bottom: 20rpx;" :style="{top:statusHNH+'px'}">
|
<view style="position: sticky;z-index: 3;background: #FFFFFF;padding-bottom: 20rpx;" :style="{top:statusHeight+'px'}">
|
||||||
<view class="posir">
|
<view class="posir">
|
||||||
<image lazy-load class="posia width100" src="/static/public/sign-01.png" mode="widthFix"></image>
|
<image lazy-load class="posia width100" src="/static/public/sign-01.png" mode="widthFix"></image>
|
||||||
<view class="posir tc pad-sx20" style="z-index: 5;">
|
<view class="posir tc pad-sx20" style="z-index: 5;">
|
||||||
|
@ -52,7 +52,6 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
timeList:[],
|
timeList:[],
|
||||||
dataList:[
|
dataList:[
|
||||||
// {title:'签到积分',time:'2021.09.06 10:30:10',num:'1'},
|
// {title:'签到积分',time:'2021.09.06 10:30:10',num:'1'},
|
||||||
|
@ -66,6 +65,11 @@
|
||||||
loading:false,
|
loading:false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed:{
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
|
}
|
||||||
|
},
|
||||||
onReachBottom() {//触底事件
|
onReachBottom() {//触底事件
|
||||||
if(this.total!=this.dataList.length){
|
if(this.total!=this.dataList.length){
|
||||||
this.page++
|
this.page++
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<status-nav :titleVal="'投诉与建议'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'投诉与建议'" :statusTitle="true"></status-nav>
|
||||||
<!-- 自定义二级分类 -->
|
<!-- 自定义二级分类 -->
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<view :style="{paddingTop: statusHNH+'px'}" class="pad-zy20">
|
<view :style="{paddingTop: statusHeight+'px'}" class="pad-zy20">
|
||||||
<view class="bacf mar-s25 pad-zy20 radius20 fon28 col3 pad-x40">
|
<view class="bacf mar-s25 pad-zy20 radius20 fon28 col3 pad-x40">
|
||||||
<!-- 问题类型 -->
|
<!-- 问题类型 -->
|
||||||
<view class="disac pad-s32">
|
<view class="disac pad-s32">
|
||||||
|
@ -76,7 +76,6 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
isShowT:false,
|
isShowT:false,
|
||||||
category:'',
|
category:'',
|
||||||
tname:'',//联系人姓名
|
tname:'',//联系人姓名
|
||||||
|
@ -101,6 +100,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<view>
|
<view>
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :titleVal="'关于我们'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'关于我们'" :statusTitle="true"></status-nav>
|
||||||
<view :style="{paddingTop: statusHNH+'px'}" class="pad-zy32 pad-x180">
|
<view :style="{paddingTop: statusHeight+'px'}" class="pad-zy32 pad-x180">
|
||||||
<!-- 自定义轮播 -->
|
<!-- 自定义轮播 -->
|
||||||
<view class="mar-s20">
|
<view class="mar-s20">
|
||||||
<swiper-pu :isplay="isAutoPlay" :bannerList="bannerList" :newHeight="'200'" :newRadius="'10'" :newBottom="'5'"></swiper-pu>
|
<swiper-pu :isplay="isAutoPlay" :bannerList="bannerList" :newHeight="'200'" :newRadius="'10'" :newBottom="'5'"></swiper-pu>
|
||||||
|
@ -50,7 +50,6 @@
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
cateListTwo:[
|
cateListTwo:[
|
||||||
// {title:'热门问题'},
|
// {title:'热门问题'},
|
||||||
// {title:'公司新闻'},
|
// {title:'公司新闻'},
|
||||||
|
@ -81,6 +80,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPageScroll(e) {
|
onPageScroll(e) {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<view>
|
<view>
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :titleVal="'详情'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'详情'" :statusTitle="true"></status-nav>
|
||||||
<view v-if="isLoading" :style="{paddingTop: statusHNH+'px'}" class="pad-zy32 pad-x180">
|
<view v-if="isLoading" :style="{paddingTop: statusHeight+'px'}" class="pad-zy32 pad-x180">
|
||||||
<view class="fon36 col3 bold mar-sx20" style="line-height: 50rpx;">{{detailObj.title}}</view>
|
<view class="fon36 col3 bold mar-sx20" style="line-height: 50rpx;">{{detailObj.title}}</view>
|
||||||
<view class="disac mar-x20">
|
<view class="disac mar-x20">
|
||||||
<image :src="headImg" style="width: 60rpx;height: 60rpx;border-radius: 100%;" mode="widthFix"></image>
|
<image :src="headImg" style="width: 60rpx;height: 60rpx;border-radius: 100%;" mode="widthFix"></image>
|
||||||
|
@ -66,7 +66,6 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
headImg:'/static/public/like.png',
|
headImg:'/static/public/like.png',
|
||||||
name:'恒美植发',
|
name:'恒美植发',
|
||||||
time:'2021-07-14 08:22',
|
time:'2021-07-14 08:22',
|
||||||
|
@ -91,6 +90,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShareAppMessage(res) {
|
onShareAppMessage(res) {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<view>
|
<view>
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :titleVal="'我的二维码'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'我的二维码'" :statusTitle="true"></status-nav>
|
||||||
<view :style="{paddingTop: statusHNH+'px'}" class="pad-zy32">
|
<view :style="{paddingTop: statusHeight+'px'}" class="pad-zy32">
|
||||||
<image :src="imgSrc" class="mar-s32" style="width: 100%;" mode="widthFix"></image>
|
<image :src="imgSrc" class="mar-s32" style="width: 100%;" mode="widthFix"></image>
|
||||||
<view v-if="isBtn" @tap="sendImg" class="fon40 bold colf mar-z10 radius20 tc" style="height: 90rpx;margin: 80rpx;background-color: #38CE51;line-height: 90rpx;">发送二维码</view>
|
<view v-if="isBtn" @tap="sendImg" class="fon40 bold colf mar-z10 radius20 tc" style="height: 90rpx;margin: 80rpx;background-color: #38CE51;line-height: 90rpx;">发送二维码</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -18,11 +18,15 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
imgSrc:'',
|
imgSrc:'',
|
||||||
isBtn:false
|
isBtn:false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed:{
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
|
}
|
||||||
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
this.$toolAll.tools.isLogin()
|
this.$toolAll.tools.isLogin()
|
||||||
},
|
},
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<status-nav :titleVal="'客服查询'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'客服查询'" :statusTitle="true"></status-nav>
|
||||||
<!-- 自定义二级分类 -->
|
<!-- 自定义二级分类 -->
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<view :style="{paddingTop: statusHNH+'px'}" class="pad-zy30">
|
<view :style="{paddingTop: statusHeight+'px'}" class="pad-zy30">
|
||||||
<view class="radius20 fon28 col3 mar-sx20">
|
<view class="radius20 fon28 col3 mar-sx20">
|
||||||
<view class="disac">
|
<view class="disac">
|
||||||
<view class="disjbac width100 radius10 pad-zy20 xialak bacf">
|
<view class="disjbac width100 radius10 pad-zy20 xialak bacf">
|
||||||
|
@ -48,7 +48,6 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
dataList:[],//数据列表
|
dataList:[],//数据列表
|
||||||
showTop:false,//是否显示返回顶部的箭头
|
showTop:false,//是否显示返回顶部的箭头
|
||||||
keyword:'',//关键词
|
keyword:'',//关键词
|
||||||
|
@ -63,6 +62,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPageScroll(e) {
|
onPageScroll(e) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<status-nav :titleVal="'客户列表'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'客户列表'" :statusTitle="true"></status-nav>
|
||||||
<!-- 自定义二级分类 -->
|
<!-- 自定义二级分类 -->
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<view :style="{paddingTop: statusHNH+'px'}" class="pad-zy30 pad-x20">
|
<view :style="{paddingTop: statusHeight+'px'}" class="pad-zy30 pad-x20">
|
||||||
<view class="radius20 fon28 col3 mar-sx20">
|
<view class="radius20 fon28 col3 mar-sx20">
|
||||||
<view class="disac">
|
<view class="disac">
|
||||||
<view @tap="openXial" class="disjbac width100 radius10 pad-zy20 xialak posir">
|
<view @tap="openXial" class="disjbac width100 radius10 pad-zy20 xialak posir">
|
||||||
|
@ -107,7 +107,6 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
category:'',
|
category:'',
|
||||||
dataList:[],
|
dataList:[],
|
||||||
showTop:false,
|
showTop:false,
|
||||||
|
@ -141,6 +140,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPageScroll(e) {
|
onPageScroll(e) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<status-nav :titleVal="'医生'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'医生'" :statusTitle="true"></status-nav>
|
||||||
<!-- 自定义二级分类 -->
|
<!-- 自定义二级分类 -->
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<view :style="{paddingTop: statusHNH+'px'}" class="pad-zy30">
|
<view :style="{paddingTop: statusHeight+'px'}" class="pad-zy30">
|
||||||
<view class="radius20 fon28 col3 mar-s20">
|
<view class="radius20 fon28 col3 mar-s20">
|
||||||
<view class="disac">
|
<view class="disac">
|
||||||
<view class="disjbac width100 radius10 pad-zy20 xialak bacf posir">
|
<view class="disjbac width100 radius10 pad-zy20 xialak bacf posir">
|
||||||
|
@ -53,7 +53,6 @@
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
dataList:[
|
dataList:[
|
||||||
// {imgSrc:'/static/public/doctor.png',name:'廖恒利医生',cyear:'16',bmen:'美容门诊部',zcheng:'主任医师',goodAt:'毛发种植'},
|
// {imgSrc:'/static/public/doctor.png',name:'廖恒利医生',cyear:'16',bmen:'美容门诊部',zcheng:'主任医师',goodAt:'毛发种植'},
|
||||||
// {imgSrc:'/static/public/doctor.png',name:'廖恒利医生',cyear:'16',bmen:'美容门诊部',zcheng:'主任医师',goodAt:'毛发种植'},
|
// {imgSrc:'/static/public/doctor.png',name:'廖恒利医生',cyear:'16',bmen:'美容门诊部',zcheng:'主任医师',goodAt:'毛发种植'},
|
||||||
|
@ -75,6 +74,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPageScroll(e) {
|
onPageScroll(e) {
|
||||||
|
|
|
@ -4,13 +4,13 @@
|
||||||
<status-nav :titleVal="'医生'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'医生'" :statusTitle="true"></status-nav>
|
||||||
<!-- 自定义二级分类 -->
|
<!-- 自定义二级分类 -->
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<view :style="{paddingTop: statusHNH+'px'}" class=" pad-x180">
|
<view :style="{paddingTop: statusHeight+'px'}" class=" pad-x180">
|
||||||
<view v-if="isLoading" class="bacf mar-s20 pad-s20 pad-x40">
|
<view v-if="isLoading" class="bacf mar-s20 pad-s20 pad-x40">
|
||||||
<view class="pad-zy20">
|
<view class="pad-zy20">
|
||||||
<rich-text class="fon26 col3" :nodes="detailInfo"></rich-text>
|
<rich-text class="fon26 col3" :nodes="detailInfo"></rich-text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view id="daoh" :class="isTop?'isTop':''" class="isTops" :style="{top:(statusHNH-10)+'px'}">
|
<view id="daoh" :class="isTop?'isTop':''" class="isTops" :style="{top:(statusHeight-10)+'px'}">
|
||||||
<view class="bacf pad-zy32 mar-s20 pad-sx20">
|
<view class="bacf pad-zy32 mar-s20 pad-sx20">
|
||||||
<cate-pu :isaaaa="1" :newCurrent="newCurrent*1" :activeb="publicColor" @choosecateEv="chooseTwo" :newbmo="'#F2F2F2'" :isCenter="false" :newcateList="cateList"></cate-pu>
|
<cate-pu :isaaaa="1" :newCurrent="newCurrent*1" :activeb="publicColor" @choosecateEv="chooseTwo" :newbmo="'#F2F2F2'" :isCenter="false" :newcateList="cateList"></cate-pu>
|
||||||
</view>
|
</view>
|
||||||
|
@ -38,7 +38,6 @@
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('statusHNH'),
|
|
||||||
cateList:[],
|
cateList:[],
|
||||||
dataList:[],
|
dataList:[],
|
||||||
newCurrent:0,
|
newCurrent:0,
|
||||||
|
@ -61,6 +60,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShareAppMessage() {
|
onShareAppMessage() {
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
<view>
|
<view>
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :titleVal="'消息'" :whereCome="comeNum" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'消息'" :whereCome="comeNum" :statusTitle="true"></status-nav>
|
||||||
<view id="daoh" class="bacf pad-zy30 pad-sx20 isTopf fon28 col3 disja" :style="{top:statusHNH+'px'}">
|
<view id="daoh" class="bacf pad-zy30 pad-sx20 isTopf fon28 col3 disja" :style="{top:statusHeight+'px'}">
|
||||||
<view @tap="switchEv(true)" :class="isWen?'isWen bold':'col9'" class="posir">日程提醒</view>
|
<view @tap="switchEv(true)" :class="isWen?'isWen bold':'col9'" class="posir">日程提醒</view>
|
||||||
<view @tap="switchEv(false)" :class="!isWen?'isWen bold':'col9'" class="posir">消息中心</view>
|
<view @tap="switchEv(false)" :class="!isWen?'isWen bold':'col9'" class="posir">消息中心</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<view :style="{paddingTop: (statusHNH+chuTop+15)+'px'}" class="pad-zy32">
|
<view :style="{paddingTop: (statusHeight+chuTop+15)+'px'}" class="pad-zy32">
|
||||||
<view v-if="dataList.length!=0">
|
<view v-if="dataList.length!=0">
|
||||||
<view v-for="(item,index) in dataList" :key="index">
|
<view v-for="(item,index) in dataList" :key="index">
|
||||||
<view class="fon24 col6 tc mar-sx50">{{item.time}}</view>
|
<view class="fon24 col6 tc mar-sx50">{{item.time}}</view>
|
||||||
|
@ -38,7 +38,6 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('statusHNH'),
|
|
||||||
searchVal:'',//输入框的值
|
searchVal:'',//输入框的值
|
||||||
dataList:[],
|
dataList:[],
|
||||||
showTop:false,//是否显示返回顶部
|
showTop:false,//是否显示返回顶部
|
||||||
|
@ -52,6 +51,11 @@
|
||||||
comeNum:0
|
comeNum:0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed:{
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
|
}
|
||||||
|
},
|
||||||
onPageScroll(e) {
|
onPageScroll(e) {
|
||||||
e.scrollTop > 360 ? this.showTop = true : this.showTop = false
|
e.scrollTop > 360 ? this.showTop = true : this.showTop = false
|
||||||
},
|
},
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
<!-- 自定义二级分类 -->
|
<!-- 自定义二级分类 -->
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<view>
|
<view>
|
||||||
<view id="daoh" class="bacf pad-zy30 pad-sx20 isTopf fon28 col3 disja" :style="{top:statusHNH+'px'}">
|
<view id="daoh" class="bacf pad-zy30 pad-sx20 isTopf fon28 col3 disja" :style="{top:statusHeight+'px'}">
|
||||||
<view @tap="shopCollection(0)" :class="isWen?'isWen':''" class="posir">文章收藏</view>
|
<view @tap="shopCollection(0)" :class="isWen?'isWen':''" class="posir">文章收藏</view>
|
||||||
<view @tap="shopCollection(1)" :class="!isWen?'isWen':''" class="posir">商品收藏</view>
|
<view @tap="shopCollection(1)" :class="!isWen?'isWen':''" class="posir">商品收藏</view>
|
||||||
</view>
|
</view>
|
||||||
<view :style="{paddingTop:(statusHNH+chuTop+15)+'px'}">
|
<view :style="{paddingTop:(statusHeight+chuTop+15)+'px'}">
|
||||||
<view v-if="isWen">
|
<view v-if="isWen">
|
||||||
<view class="pad-zy32 mar-x20">
|
<view class="pad-zy32 mar-x20">
|
||||||
<cate-pu :newCurrent="newCurrent*1" :activeb="publicColor" :isCenter="false" :newbmo="'#F2F2F2'" @choosecateEv="chooseTwo" :newcateList="cateList"></cate-pu>
|
<cate-pu :newCurrent="newCurrent*1" :activeb="publicColor" :isCenter="false" :newbmo="'#F2F2F2'" @choosecateEv="chooseTwo" :newcateList="cateList"></cate-pu>
|
||||||
|
@ -134,7 +134,6 @@
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('statusHNH'),
|
|
||||||
dataList:[],
|
dataList:[],
|
||||||
showTop:false,//是否显示返回顶部
|
showTop:false,//是否显示返回顶部
|
||||||
newCurrent:0,
|
newCurrent:0,
|
||||||
|
@ -160,6 +159,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPageScroll(e) {
|
onPageScroll(e) {
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
<view>
|
<view>
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :titleVal="'我的分享人'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'我的分享人'" :statusTitle="true"></status-nav>
|
||||||
<view class="bacf posiszy navHeight" :style="{paddingTop: statusHNH+'px'}">
|
<view class="bacf posiszy navHeight" :style="{paddingTop: statusHeight+'px'}">
|
||||||
<view class="disja pad-sx30">
|
<view class="disja pad-sx30">
|
||||||
<view @tap="chooseye(indexye)" :style="{color:flag==indexye?publicColor:''}" v-for="(itemye,indexye) in cateList" :key="indexye">{{itemye.title}}({{itemye.num}})</view>
|
<view @tap="chooseye(indexye)" :style="{color:flag==indexye?publicColor:''}" v-for="(itemye,indexye) in cateList" :key="indexye">{{itemye.title}}({{itemye.num}})</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view :style="{paddingTop: navH+'px'}">
|
<view :style="{paddingTop: (statusHeight*1+53)+'px'}">
|
||||||
<view v-if="dataList[flag].length!=0">
|
<view v-if="dataList[flag].length!=0">
|
||||||
<view class="disjbac bbot pad-sx40 mar-zy50" v-for="(iteml,indexl) in dataList[flag]" :key="indexl">
|
<view class="disjbac bbot pad-sx40 mar-zy50" v-for="(iteml,indexl) in dataList[flag]" :key="indexl">
|
||||||
<view class="disac">
|
<view class="disac">
|
||||||
|
@ -44,7 +44,6 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('statusHNH'),
|
|
||||||
flag:0,
|
flag:0,
|
||||||
cateList:[
|
cateList:[
|
||||||
{title:'一级',num:0,grade:'first'},
|
{title:'一级',num:0,grade:'first'},
|
||||||
|
@ -55,7 +54,6 @@
|
||||||
[],
|
[],
|
||||||
[],
|
[],
|
||||||
],
|
],
|
||||||
navH:uni.getStorageSync('electric_nav_height') + 53,
|
|
||||||
page:1,
|
page:1,
|
||||||
size:20,
|
size:20,
|
||||||
total:'',//总数
|
total:'',//总数
|
||||||
|
@ -66,6 +64,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPageScroll(e) {
|
onPageScroll(e) {
|
||||||
|
@ -86,13 +87,6 @@
|
||||||
this.$toolAll.tools.isLogin()
|
this.$toolAll.tools.isLogin()
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
if(uni.getStorageSync('navHeight')==''){
|
|
||||||
const query = wx.createSelectorQuery()
|
|
||||||
query.select('.navHeight').boundingClientRect((rect) => {
|
|
||||||
uni.setStorageSync('navHeight',rect.height)
|
|
||||||
this.navH = rect.height
|
|
||||||
}).exec()
|
|
||||||
}
|
|
||||||
this.checkShare()//查询一二级分享总人数
|
this.checkShare()//查询一二级分享总人数
|
||||||
this.checkPeople()//查询分享一二级列表人数
|
this.checkPeople()//查询分享一二级列表人数
|
||||||
},
|
},
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<view>
|
<view>
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :titleVal="'订单详情'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'订单详情'" :statusTitle="true"></status-nav>
|
||||||
<view :style="{paddingTop: statusHNH+'px'}" class="pad-zy30" style="padding-bottom: 150rpx;">
|
<view :style="{paddingTop: statusHeight+'px'}" class="pad-zy30" style="padding-bottom: 150rpx;">
|
||||||
<!-- 订单类型 -->
|
<!-- 订单类型 -->
|
||||||
<block v-if="loading">
|
<block v-if="loading">
|
||||||
<view class="bacf radius20 mar-s20 fon28" style="padding: 27rpx 20rpx;">
|
<view class="bacf radius20 mar-s20 fon28" style="padding: 27rpx 20rpx;">
|
||||||
|
@ -120,7 +120,6 @@
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
loading:false,
|
loading:false,
|
||||||
isExpress:true,
|
isExpress:true,
|
||||||
switchQuan:true,
|
switchQuan:true,
|
||||||
|
@ -143,6 +142,11 @@
|
||||||
timerDao:null,
|
timerDao:null,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed:{
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
|
}
|
||||||
|
},
|
||||||
onUnload() {
|
onUnload() {
|
||||||
this.closeEv();
|
this.closeEv();
|
||||||
},
|
},
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<status-nav :titleVal="'二维码海报'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'二维码海报'" :statusTitle="true"></status-nav>
|
||||||
<!-- 自定义二级分类 -->
|
<!-- 自定义二级分类 -->
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<view :style="{paddingTop: statusHNH+'px'}" class="pad-zy20 pad-x180">
|
<view :style="{paddingTop: statusHeight+'px'}" class="pad-zy20 pad-x180">
|
||||||
<view class="tc mar-s20 col6 fon28">请选择海报背景后分享</view>
|
<view class="tc mar-s20 col6 fon28">请选择海报背景后分享</view>
|
||||||
<view v-if="imgList.length!=0">
|
<view v-if="imgList.length!=0">
|
||||||
<view class="mar-s20 disjbac fw">
|
<view class="mar-s20 disjbac fw">
|
||||||
|
@ -43,7 +43,6 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
isShowT:true,
|
isShowT:true,
|
||||||
imgList:uni.getStorageSync('imgSrcList'),
|
imgList:uni.getStorageSync('imgSrcList'),
|
||||||
imgSrc:'',
|
imgSrc:'',
|
||||||
|
@ -61,6 +60,9 @@
|
||||||
tabimgList() {
|
tabimgList() {
|
||||||
return this.$store.state.imgList
|
return this.$store.state.imgList
|
||||||
},
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
if(uni.getStorageSync('phone_active')!=0 && uni.getStorageSync('is_active')!=0){
|
if(uni.getStorageSync('phone_active')!=0 && uni.getStorageSync('is_active')!=0){
|
||||||
|
|
|
@ -10,13 +10,13 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<view :style="{top: statusHNH+'px'}" class="posiszy" style="height: 50px;">
|
<view :style="{top: statusHeight+'px'}" class="posiszy" style="height: 50px;">
|
||||||
<view class="bacf pad-zy32 pad-sx20">
|
<view class="bacf pad-zy32 pad-sx20">
|
||||||
<cate-pu @choosecateEv="choosecateEv" :activeb="invite_code!=''?'#3875F6':publicColor"
|
<cate-pu @choosecateEv="choosecateEv" :activeb="invite_code!=''?'#3875F6':publicColor"
|
||||||
:newCurrent="cateCurrent*1" :newbmo="'#F2F2F2'" :isCenter="false" :newcateList="cateList"></cate-pu>
|
:newCurrent="cateCurrent*1" :newbmo="'#F2F2F2'" :isCenter="false" :newcateList="cateList"></cate-pu>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="pad-x180" :style="{paddingTop: (statusHNH+50)+'px'}">
|
<view class="pad-x180" :style="{paddingTop: (statusHeight+50)+'px'}">
|
||||||
<view v-if="isLoading" class="pad-s30">
|
<view v-if="isLoading" class="pad-s30">
|
||||||
<view v-show="cateCurrent==isNum">
|
<view v-show="cateCurrent==isNum">
|
||||||
<view class="pad-zy32">
|
<view class="pad-zy32">
|
||||||
|
@ -122,7 +122,6 @@
|
||||||
return {
|
return {
|
||||||
statusBarHeight: uni.getSystemInfoSync().statusBarHeight,
|
statusBarHeight: uni.getSystemInfoSync().statusBarHeight,
|
||||||
isLoading: false,
|
isLoading: false,
|
||||||
statusHNH: uni.getStorageSync('statusHNH'),
|
|
||||||
cateCurrent: 0,
|
cateCurrent: 0,
|
||||||
cateList: [],
|
cateList: [],
|
||||||
bannerList: [], //轮播
|
bannerList: [], //轮播
|
||||||
|
@ -164,6 +163,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPageScroll(e) {
|
onPageScroll(e) {
|
||||||
|
@ -299,14 +301,6 @@
|
||||||
this.newHeight = '200';
|
this.newHeight = '200';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this.invite_code != '' && this.invite_code != undefined) {
|
|
||||||
const query = wx.createSelectorQuery()
|
|
||||||
query.select('.statusHNH').boundingClientRect((rect) => {
|
|
||||||
// console.log('状态栏+标题栏:',rect);
|
|
||||||
this.statusHNH = rect.height
|
|
||||||
// console.log(this.statusHNH );
|
|
||||||
}).exec()
|
|
||||||
}
|
|
||||||
// 详情
|
// 详情
|
||||||
this.detailObj = res.data.detail;
|
this.detailObj = res.data.detail;
|
||||||
if (this.detailObj.published_headimgurl != '') {
|
if (this.detailObj.published_headimgurl != '') {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :titleVal="titleStr" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="titleStr" :statusTitle="true"></status-nav>
|
||||||
<!-- 输入框 -->
|
<!-- 输入框 -->
|
||||||
<view class="search-input-box bacf" :style="{paddingTop: statusHNH+'px'}">
|
<view class="search-input-box bacf" :style="{paddingTop: statusHeight+'px'}">
|
||||||
<view class="disac pad-zy30 mar-s20">
|
<view class="disac pad-zy30 mar-s20">
|
||||||
<!-- 输入框 -->
|
<!-- 输入框 -->
|
||||||
<input @confirm="searchEv" @input="inputEv" class="width100 fon34 radius10 problem-input" type="text" v-model="searchVal" placeholder="请输入内容..."/>
|
<input @confirm="searchEv" @input="inputEv" class="width100 fon34 radius10 problem-input" type="text" v-model="searchVal" placeholder="请输入内容..."/>
|
||||||
|
@ -42,7 +42,6 @@
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
titleStr:'',//标题
|
titleStr:'',//标题
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
searchVal:'',//输入框的值
|
searchVal:'',//输入框的值
|
||||||
isShowT:false,//是否显示弹框
|
isShowT:false,//是否显示弹框
|
||||||
cateList:[//所以二级分类
|
cateList:[//所以二级分类
|
||||||
|
@ -72,6 +71,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onReachBottom() {//触底事件
|
onReachBottom() {//触底事件
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :titleVal="'搜索'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'搜索'" :statusTitle="true"></status-nav>
|
||||||
<!-- 输入框 -->
|
<!-- 输入框 -->
|
||||||
<view class="search-input-box bacf" :style="{paddingTop: statusHNH+'px'}">
|
<view class="search-input-box bacf" :style="{paddingTop: statusHeight+'px'}">
|
||||||
<view class="disac pad-zy30 mar-s20">
|
<view class="disac pad-zy30 mar-s20">
|
||||||
<!-- 输入框 -->
|
<!-- 输入框 -->
|
||||||
<input @confirm="searchEv" style="border: 2rpx solid #E0E0E0;padding: 0rpx 20rpx;height: 80rpx;line-height: 80rpx;" class="width100 fon34 radius10" type="text" v-model="searchVal" placeholder="请输入问题/病种/医生姓名"/>
|
<input @confirm="searchEv" style="border: 2rpx solid #E0E0E0;padding: 0rpx 20rpx;height: 80rpx;line-height: 80rpx;" class="width100 fon34 radius10" type="text" v-model="searchVal" placeholder="请输入问题/病种/医生姓名"/>
|
||||||
|
@ -47,7 +47,6 @@
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
searchVal:'',//输入框的值
|
searchVal:'',//输入框的值
|
||||||
reSearchList:[//历史记录列表
|
reSearchList:[//历史记录列表
|
||||||
{
|
{
|
||||||
|
@ -88,6 +87,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPageScroll(e) {
|
onPageScroll(e) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<status-nav :titleVal="'分享中心'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'分享中心'" :statusTitle="true"></status-nav>
|
||||||
<!-- 自定义二级分类 -->
|
<!-- 自定义二级分类 -->
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<view :style="{paddingTop: statusHNH+'px'}" class="pad-zy32">
|
<view :style="{paddingTop: statusHeight+'px'}" class="pad-zy32">
|
||||||
<view class="radius20 pad20 bacf mar-s20 col3">
|
<view class="radius20 pad20 bacf mar-s20 col3">
|
||||||
<view class="fon28 bold mar-x40 pad-z10">我的分享</view>
|
<view class="fon28 bold mar-x40 pad-z10">我的分享</view>
|
||||||
<view class="disja">
|
<view class="disja">
|
||||||
|
@ -39,7 +39,6 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
isShowT:false,
|
isShowT:false,
|
||||||
imgSrc:'/static/public/shareh.png',
|
imgSrc:'/static/public/shareh.png',
|
||||||
dataList:[
|
dataList:[
|
||||||
|
@ -60,6 +59,9 @@
|
||||||
imgList() {
|
imgList() {
|
||||||
return this.$store.state.imgList
|
return this.$store.state.imgList
|
||||||
},
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
|
}
|
||||||
},
|
},
|
||||||
onShareAppMessage(options) {
|
onShareAppMessage(options) {
|
||||||
var ya = this;
|
var ya = this;
|
||||||
|
|
|
@ -10,13 +10,13 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<view :style="{top: statusHNH+'px'}" v-if="isNei!=3" class="posiszy" style="height: 50px;">
|
<view :style="{top: statusHeight+'px'}" v-if="isNei!=3" class="posiszy" style="height: 50px;">
|
||||||
<view class="bacf pad-zy32 pad-sx20">
|
<view class="bacf pad-zy32 pad-sx20">
|
||||||
<cate-pu @choosecateEv="choosecateEv" :activeb="invite_code!=''?'#3875F6':publicColor" :newCurrent="cateCurrent*1" :newbmo="'#F2F2F2'" :isCenter="false" :newcateList="cateList"></cate-pu>
|
<cate-pu @choosecateEv="choosecateEv" :activeb="invite_code!=''?'#3875F6':publicColor" :newCurrent="cateCurrent*1" :newbmo="'#F2F2F2'" :isCenter="false" :newcateList="cateList"></cate-pu>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view :style="{top: statusHNH+'px'}" v-else class="posiszy" style="height: 50px;"></view>
|
<view :style="{top: statusHeight+'px'}" v-else class="posiszy" style="height: 50px;"></view>
|
||||||
<view class="pad-x180" :style="{paddingTop: isNei!=3?(statusHNH+60)+'px':statusHNH+'px'}">
|
<view class="pad-x180" :style="{paddingTop: isNei!=3?(statusHeight+60)+'px':statusHeight+'px'}">
|
||||||
<!-- 自定义轮播 -->
|
<!-- 自定义轮播 -->
|
||||||
<view v-if="isLoading">
|
<view v-if="isLoading">
|
||||||
<swiper-pu v-if="cateCurrent==0" :isplay="isAutoPlay" :browseP="true" :bannerList="bannerList" :newHeight="swiperHeight" :newRadius="'0'" :newBottom="'5'"></swiper-pu>
|
<swiper-pu v-if="cateCurrent==0" :isplay="isAutoPlay" :browseP="true" :bannerList="bannerList" :newHeight="swiperHeight" :newRadius="'0'" :newBottom="'5'"></swiper-pu>
|
||||||
|
@ -177,8 +177,8 @@
|
||||||
<image @tap="backHome" class="posia backH" src="/static/public/back-home-02.png" mode="aspectFit"></image>
|
<image @tap="backHome" class="posia backH" src="/static/public/back-home-02.png" mode="aspectFit"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="disac fon26 colf">
|
<view class="disac fon26 colf">
|
||||||
<view @tap="tuneUp" class="disjcac lianShare addCart-btn"><span v-if="isNei!=1">加入购物车</span><span v-else>单独购买</span></view>
|
<view @tap="tuneUp(0)" class="disjcac lianShare addCart-btn"><span v-if="isNei!=1">加入购物车</span><span v-else>单独购买</span></view>
|
||||||
<view @tap="tuneUp" class="disjcac lianShare mai-btn"><span v-if="isNei!=1">立即购买</span><span v-else>发起拼团</span></view>
|
<view @tap="tuneUp(1)" class="disjcac lianShare mai-btn"><span v-if="isNei!=1">立即购买</span><span v-else>发起拼团</span></view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 分享 -->
|
<!-- 分享 -->
|
||||||
|
@ -250,13 +250,11 @@
|
||||||
</view>
|
</view>
|
||||||
<!-- 单独购买,立即拼团 -->
|
<!-- 单独购买,立即拼团 -->
|
||||||
<view v-else class="disjbac pad-zy30 colf fon32 mar-x50">
|
<view v-else class="disjbac pad-zy30 colf fon32 mar-x50">
|
||||||
<view @tap.stop="goGetReadyDan(2)" class="ev-btn" style="background: #C8C8C8;">单独购买</view>
|
<view @tap.stop="goGetReadyDan(2)" class="ev-btn" :style="{backgroundColor: ifAlone ? '#F85050' : '#C8C8C8'}">单独购买</view>
|
||||||
<view @tap.stop="goGetReadyDan(0)" class="ev-btn bcf8">发起拼团</view>
|
<view @tap.stop="goGetReadyDan(0)" class="ev-btn bcf8" :style="{backgroundColor: ifAlone ? '#C8C8C8' : ''}">发起拼团</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 返回顶部 -->
|
|
||||||
<!-- <back-top :showTop="showTop" @backTop="backTop"></back-top> -->
|
|
||||||
<!-- 用户信息授权,手机号授权 -->
|
<!-- 用户信息授权,手机号授权 -->
|
||||||
<auth-userInfo-mobileInfo></auth-userInfo-mobileInfo>
|
<auth-userInfo-mobileInfo></auth-userInfo-mobileInfo>
|
||||||
</view>
|
</view>
|
||||||
|
@ -279,7 +277,6 @@
|
||||||
return {
|
return {
|
||||||
statusBarHeight:uni.getSystemInfoSync().statusBarHeight,
|
statusBarHeight:uni.getSystemInfoSync().statusBarHeight,
|
||||||
isLoading:false,
|
isLoading:false,
|
||||||
statusHNH:uni.getStorageSync('statusHNH'),
|
|
||||||
cateCurrent:0,
|
cateCurrent:0,
|
||||||
swiperHeight:uni.getSystemInfoSync().windowWidth,
|
swiperHeight:uni.getSystemInfoSync().windowWidth,
|
||||||
cateList:[{
|
cateList:[{
|
||||||
|
@ -345,13 +342,17 @@
|
||||||
orderId:'',//商品id
|
orderId:'',//商品id
|
||||||
timeout:null,
|
timeout:null,
|
||||||
shareId:'',
|
shareId:'',
|
||||||
shareFlag:true
|
shareFlag:true,
|
||||||
|
ifAlone:false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onReachBottom() { //触底事件
|
onReachBottom() { //触底事件
|
||||||
|
@ -444,7 +445,16 @@
|
||||||
} else {this.$toolAll.tools.showToast('请勿重复点击');}
|
} else {this.$toolAll.tools.showToast('请勿重复点击');}
|
||||||
},
|
},
|
||||||
// 调起弹框
|
// 调起弹框
|
||||||
tuneUp(){
|
tuneUp(index){
|
||||||
|
if(this.isNei!=1) {
|
||||||
|
|
||||||
|
} else {
|
||||||
|
if(index==1) {
|
||||||
|
this.ifAlone = false;
|
||||||
|
} else {
|
||||||
|
this.ifAlone = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
if(this.detailObj.is_close==0){
|
if(this.detailObj.is_close==0){
|
||||||
this.showTK = true;
|
this.showTK = true;
|
||||||
} else {
|
} else {
|
||||||
|
@ -704,14 +714,6 @@
|
||||||
// if(this.category_id==item.id) this.isNum = index
|
// if(this.category_id==item.id) this.isNum = index
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if(this.invite_code!='' && this.invite_code!=undefined){
|
|
||||||
const query = wx.createSelectorQuery()
|
|
||||||
query.select('.statusHNH').boundingClientRect((rect) => {
|
|
||||||
// console.log('状态栏+标题栏:',rect);
|
|
||||||
this.statusHNH = rect.height
|
|
||||||
// console.log(this.statusHNH );
|
|
||||||
}).exec()
|
|
||||||
}
|
|
||||||
// 详情
|
// 详情
|
||||||
this.detailObj = res.data.data.detail;
|
this.detailObj = res.data.data.detail;
|
||||||
// 类型
|
// 类型
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<!-- 状态栏 -->
|
<!-- 状态栏 -->
|
||||||
<status-nav :titleVal="'商品搜索'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'商品搜索'" :statusTitle="true"></status-nav>
|
||||||
<!-- 输入框 -->
|
<!-- 输入框 -->
|
||||||
<view class="search-input-box bacf poszy shop-nav-box" :style="{top: statusHNH+'px'}">
|
<view class="search-input-box bacf poszy shop-nav-box" :style="{top: statusHeight+'px'}">
|
||||||
<view class="disac pad-zy30 mar-s20">
|
<view class="disac pad-zy30 mar-s20">
|
||||||
<!-- 输入框 -->
|
<!-- 输入框 -->
|
||||||
<input @confirm="checkShopList" style="border: 2rpx solid #E0E0E0;padding: 0rpx 20rpx;height: 80rpx;line-height: 80rpx;" class="width100 fon34 radius10" type="text" v-model="searchVal" placeholder="请输入商品名称"/>
|
<input @confirm="checkShopList" style="border: 2rpx solid #E0E0E0;padding: 0rpx 20rpx;height: 80rpx;line-height: 80rpx;" class="width100 fon34 radius10" type="text" v-model="searchVal" placeholder="请输入商品名称"/>
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 数据列表 -->
|
<!-- 数据列表 -->
|
||||||
<view v-if="search_result" :style="{marginTop:statusHNH+titleHeight+10+45+'px'}">
|
<view v-if="search_result" :style="{marginTop:statusHeight+titleHeight+10+45+'px'}">
|
||||||
<view v-if="dataList.length!=0" style="margin-top: -20rpx;">
|
<view v-if="dataList.length!=0" style="margin-top: -20rpx;">
|
||||||
<view class="pad20">
|
<view class="pad20">
|
||||||
<view style="width: 48.6%;float: left;">
|
<view style="width: 48.6%;float: left;">
|
||||||
|
@ -102,7 +102,7 @@
|
||||||
<nothing-page v-if="dataList.length==0" :content="`暂无更多商品列表`"></nothing-page>
|
<nothing-page v-if="dataList.length==0" :content="`暂无更多商品列表`"></nothing-page>
|
||||||
</view>
|
</view>
|
||||||
<!-- 历史搜索和热门搜索 -->
|
<!-- 历史搜索和热门搜索 -->
|
||||||
<view v-if="!search_result" class="pad-z30 mar-s30" :style="{marginTop:statusHNH+titleHeight+10+'px'}">
|
<view v-if="!search_result" class="pad-z30 mar-s30" :style="{marginTop:statusHeight+titleHeight+10+'px'}">
|
||||||
<cate-tu :list="reSearchList" @delev='delev'></cate-tu>
|
<cate-tu :list="reSearchList" @delev='delev'></cate-tu>
|
||||||
</view>
|
</view>
|
||||||
<!-- 购物车 -->
|
<!-- 购物车 -->
|
||||||
|
@ -132,7 +132,6 @@
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('statusHNH'),
|
|
||||||
searchVal:'',//输入框的值
|
searchVal:'',//输入框的值
|
||||||
reSearchList:[//历史记录列表
|
reSearchList:[//历史记录列表
|
||||||
{
|
{
|
||||||
|
@ -184,6 +183,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPageScroll(e) {
|
onPageScroll(e) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<status-nav :titleVal="'用户足迹'" :statusTitle="true"></status-nav>
|
<status-nav :titleVal="'用户足迹'" :statusTitle="true"></status-nav>
|
||||||
<!-- 自定义二级分类 -->
|
<!-- 自定义二级分类 -->
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<view :style="{paddingTop: statusHNH+'px'}" class="pad-zy30">
|
<view :style="{paddingTop: statusHeight+'px'}" class="pad-zy30">
|
||||||
<view class="radius20 fon28 col3 mar-sx20">
|
<view class="radius20 fon28 col3 mar-sx20">
|
||||||
<view class="disac">
|
<view class="disac">
|
||||||
<view class="disjbac width100 radius10 pad-zy20 xialak bacf">
|
<view class="disjbac width100 radius10 pad-zy20 xialak bacf">
|
||||||
|
@ -41,7 +41,6 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('electric_nav_height'),
|
|
||||||
dataList:[],//数据列表
|
dataList:[],//数据列表
|
||||||
showTop:false,//是否显示返回顶部的箭头
|
showTop:false,//是否显示返回顶部的箭头
|
||||||
customer_id:'',//客户ID
|
customer_id:'',//客户ID
|
||||||
|
@ -56,6 +55,9 @@
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
publicColor() {
|
publicColor() {
|
||||||
return this.$store.state.publicColor
|
return this.$store.state.publicColor
|
||||||
|
},
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPageScroll(e) {
|
onPageScroll(e) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div style="width:100%;overflow-x:hidden;">
|
<div style="width:100%;overflow-x:hidden;">
|
||||||
<image class="" @tap="backEv" :style="{top:statusHNH/2+'px'}" src="/static/public/videoBack.png" style="width: 33rpx;height: 33rpx;position: fixed;z-index: 10;left: 20rpx;" mode="aspectFill"></image>
|
<image class="" @tap="backEv" :style="{top:statusHeight/2+'px'}" src="/static/public/videoBack.png" style="width: 33rpx;height: 33rpx;position: fixed;z-index: 10;left: 20rpx;" mode="aspectFill"></image>
|
||||||
<video id="myVideo" style="width: 100%;" :style="{height:newHeight+'px'}" autoplay="true"
|
<video id="myVideo" style="width: 100%;" :style="{height:newHeight+'px'}" autoplay="true"
|
||||||
:src="videoSrc" :enable-play-gesture="dans" :poster="posterSrc"
|
:src="videoSrc" :enable-play-gesture="dans" :poster="posterSrc"
|
||||||
:controls="isControls" :show-center-play-btn="isCenterImg" :show-play-btn="isBottomImg" :show-fullscreen-btn="isFull"
|
:controls="isControls" :show-center-play-btn="isCenterImg" :show-play-btn="isBottomImg" :show-fullscreen-btn="isFull"
|
||||||
|
@ -15,7 +15,6 @@
|
||||||
export default {
|
export default {
|
||||||
data(){
|
data(){
|
||||||
return {
|
return {
|
||||||
statusHNH:uni.getStorageSync('statusHNH'),
|
|
||||||
newHeight:uni.getSystemInfoSync().windowHeight,
|
newHeight:uni.getSystemInfoSync().windowHeight,
|
||||||
videoSrc:'',
|
videoSrc:'',
|
||||||
isPlayImg:false,
|
isPlayImg:false,
|
||||||
|
@ -30,6 +29,11 @@
|
||||||
isFull:true//是否显示全屏按钮
|
isFull:true//是否显示全屏按钮
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed:{
|
||||||
|
statusHeight() {
|
||||||
|
return this.$store.state.statusHeight
|
||||||
|
}
|
||||||
|
},
|
||||||
onReady: function (res) {
|
onReady: function (res) {
|
||||||
this.videoContext = uni.createVideoContext('myVideo', this)
|
this.videoContext = uni.createVideoContext('myVideo', this)
|
||||||
},
|
},
|
||||||
|
|
|
@ -9,9 +9,13 @@ const store = new Vuex.Store({
|
||||||
state:{//存放状态
|
state:{//存放状态
|
||||||
'titleList':[],
|
'titleList':[],
|
||||||
'imgList':[],
|
'imgList':[],
|
||||||
'publicColor':''
|
'publicColor':'',
|
||||||
|
statusHeight:0
|
||||||
},
|
},
|
||||||
mutations: {
|
mutations: {
|
||||||
|
updateHeightEv(state, str) {
|
||||||
|
state.statusHeight = str;
|
||||||
|
},
|
||||||
updateState(state, payload) {
|
updateState(state, payload) {
|
||||||
// 变更状态
|
// 变更状态
|
||||||
state.titleList = payload.titleList;
|
state.titleList = payload.titleList;
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue