删除不用图片和页面,新增分销中心、关于我们
|
@ -290,23 +290,19 @@ swiper-item view:last-child .duan-xian{border-bottom: none;}
|
|||
.message-img{width:46rpx;height:56rpx;}
|
||||
.message-status{border-radius: 5rpx;font-size: 24rpx;color: #FFFFFF;padding: 2rpx 8rpx 4rpx 6rpx;transform: scale(.8);}
|
||||
|
||||
/* 关于我们 */
|
||||
.navigate-to-where {height: 98rpx;line-height: 98rpx;}
|
||||
|
||||
|
||||
/* 分销中心 */
|
||||
.withdrawal-btn{height: 98rpx;line-height: 98rpx;}
|
||||
.withdrawal-box{position: fixed;top: 0;bottom: 0;left: 0;right: 0;background-color: rgba(0,0,0,.2);}
|
||||
.withdrawal-box image{position: absolute;right: -36rpx;top: -36rpx; width: 77rpx;height: 77rpx;}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* 我的日记 */
|
||||
.diary-img{margin-right: 13rpx;width: 32%; height: 212rpx;background-color: #F5F5F5;border-radius: 12rpx;}
|
||||
.diary-img:nth-child(3n){
|
||||
margin-right: 0;
|
||||
}
|
||||
.diary-item-img {
|
||||
width: 32%;height: 168rpx;border-radius: 10rpx;
|
||||
margin-right: 10rpx;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
.diary-item-img .addImg {
|
||||
height: 168rpx;width: 100%;border-radius: 10rpx;
|
||||
}
|
||||
.diary-item-img:nth-child(3n){
|
||||
margin-right: 0;
|
||||
}
|
||||
@media screen and (height:812px){
|
||||
.blue-img{height: 500rpx;}
|
||||
}
|
||||
|
@ -376,7 +372,30 @@ button:after{content: none!important;}
|
|||
.borbot-df{border: 2rpx solid #DFDFDF;}
|
||||
.borbot-cc{border: 2rpx solid #CCCCCC;}
|
||||
|
||||
/* 行高 */
|
||||
.line-h30{line-height: 30rpx;}
|
||||
.line-h32{line-height: 32rpx;}
|
||||
.line-h34{line-height: 34rpx;}
|
||||
.line-h36{line-height: 36rpx;}
|
||||
.line-h38{line-height: 38rpx;}
|
||||
.line-h40{line-height: 40rpx;}
|
||||
.line-h42{line-height: 42rpx;}
|
||||
.line-h44{line-height: 44rpx;}
|
||||
.line-h46{line-height: 46rpx;}
|
||||
.line-h48{line-height: 48rpx;}
|
||||
.line-h50{line-height: 50rpx;}
|
||||
.line-h52{line-height: 52rpx;}
|
||||
.line-h54{line-height: 54rpx;}
|
||||
.line-h56{line-height: 56rpx;}
|
||||
.line-h58{line-height: 58rpx;}
|
||||
.line-h60{line-height: 60rpx;}
|
||||
.line-h62{line-height: 62rpx;}
|
||||
.line-h64{line-height: 64rpx;}
|
||||
.line-h66{line-height: 66rpx;}
|
||||
.line-h68{line-height: 60rpx;}
|
||||
.line-h70{line-height: 70rpx;}
|
||||
.line-h72{line-height: 72rpx;}
|
||||
.line-h74{line-height: 74rpx;}
|
||||
|
||||
|
||||
.clips1{display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;overflow: hidden;text-overflow: ellipsis;word-wrap: break-word;word-break:break-all;}
|
||||
|
@ -386,6 +405,7 @@ button:after{content: none!important;}
|
|||
|
||||
/* 字体大小 */
|
||||
.fon20{font-size: 20rpx;}
|
||||
.fon22{font-size: 22rpx;}
|
||||
.fon24{font-size: 24rpx;}
|
||||
.fon25{font-size: 25rpx;}
|
||||
.fon26{font-size: 26rpx;}
|
||||
|
@ -397,7 +417,22 @@ button:after{content: none!important;}
|
|||
.fon36{font-size: 36rpx;}
|
||||
.fon38{font-size: 38rpx;}
|
||||
.fon40{font-size: 40rpx;}
|
||||
.fon42{font-size: 42rpx;}
|
||||
.fon44{font-size: 44rpx;}
|
||||
.fon46{font-size: 46rpx;}
|
||||
.fon48{font-size: 48rpx;}
|
||||
.fon50{font-size: 50rpx;}
|
||||
.fon52{font-size: 52rpx;}
|
||||
.fon54{font-size: 54rpx;}
|
||||
.fon56{font-size: 56rpx;}
|
||||
.fon58{font-size: 58rpx;}
|
||||
.fon60{font-size: 60rpx;}
|
||||
.fon62{font-size: 62rpx;}
|
||||
.fon64{font-size: 64rpx;}
|
||||
.fon66{font-size: 66rpx;}
|
||||
.fon68{font-size: 68rpx;}
|
||||
.fon70{font-size: 70rpx;}
|
||||
.fon72{font-size: 72rpx;}
|
||||
|
||||
/* 字体颜色 */
|
||||
.colf{color: #FFFFFF;}
|
||||
|
@ -416,6 +451,10 @@ button:after{content: none!important;}
|
|||
.colB3{color: #B3B3B3;}
|
||||
.col5b{color: #5B5B5B;}
|
||||
.colpeili{color: #868695;}
|
||||
/* 佩丽字体颜色 */
|
||||
.peili-colorRed{color: #fe2525;}
|
||||
|
||||
|
||||
/* 字体位置 */
|
||||
.tc{text-align: center;}
|
||||
.tright{text-align: right;}
|
||||
|
@ -442,6 +481,10 @@ button:after{content: none!important;}
|
|||
.bcf8{background: #F85050;}
|
||||
.bacf5{background: #F5F5F5;}
|
||||
.bacf6{background-color: #f6f6f6;}
|
||||
/* 佩丽商城背景色 */
|
||||
.peili-backColor{background-color: #fe2525;}
|
||||
|
||||
|
||||
|
||||
/* 圆角 */
|
||||
.radius10{border-radius: 10rpx;}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<view>
|
||||
<view v-for="(item,index) in functionList" :key="index"
|
||||
<view @tap="chooseItem(index)" v-for="(item,index) in list" :key="index"
|
||||
class="item-box display-between-center">
|
||||
<view class="display-between-center">
|
||||
<image v-if="item.leftImg!=''" class="left-img" :src="item.leftImg" mode="widthFix"></image>
|
||||
|
@ -18,40 +18,56 @@
|
|||
<script>
|
||||
export default {
|
||||
name:"function-list",
|
||||
props:{
|
||||
list:{
|
||||
type:Array,
|
||||
default:()=>{
|
||||
return [
|
||||
{
|
||||
leftImg:'/static/public/icon-address.png',
|
||||
title:'收货地址',
|
||||
num:0,
|
||||
content:'',
|
||||
rightImg:'',
|
||||
url:''
|
||||
},
|
||||
{
|
||||
leftImg:'/static/public/icon-distribution.png',
|
||||
title:'分销中心',
|
||||
num:0,
|
||||
content:'百万奖金等你来拿',
|
||||
rightImg:'',
|
||||
url:''
|
||||
},
|
||||
{
|
||||
leftImg:'/static/public/icon-duty.png',
|
||||
title:'免责声明',
|
||||
num:0,
|
||||
content:'',
|
||||
rightImg:'',
|
||||
url:''
|
||||
},
|
||||
{
|
||||
leftImg:'/static/public/icon-aboutus.png',
|
||||
title:'关于我们',
|
||||
num:0,
|
||||
content:'',
|
||||
rightImg:'',
|
||||
url:''
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
functionList:[
|
||||
{
|
||||
leftImg:'/static/public/icon-address.png',
|
||||
title:'收货地址',
|
||||
num:0,
|
||||
content:'',
|
||||
rightImg:''
|
||||
},
|
||||
{
|
||||
leftImg:'/static/public/icon-distribution.png',
|
||||
title:'分销中心',
|
||||
num:0,
|
||||
content:'百万奖金等你来拿',
|
||||
rightImg:''
|
||||
},
|
||||
{
|
||||
leftImg:'/static/public/icon-duty.png',
|
||||
title:'免责声明',
|
||||
num:0,
|
||||
content:'',
|
||||
rightImg:''
|
||||
},
|
||||
{
|
||||
leftImg:'/static/public/icon-aboutus.png',
|
||||
title:'关于我们',
|
||||
num:0,
|
||||
content:'',
|
||||
rightImg:''
|
||||
}
|
||||
|
||||
]
|
||||
};
|
||||
return {};
|
||||
},
|
||||
methods:{
|
||||
chooseItem(index){
|
||||
uni.navigateTo({
|
||||
url: this.list[index].url
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -46,6 +46,10 @@
|
|||
"path" : "myAddress/myAddress",
|
||||
"style" : {}
|
||||
}
|
||||
,{
|
||||
"path" : "distributionCenter/distributionCenter",
|
||||
"style" : {}
|
||||
}
|
||||
]
|
||||
},
|
||||
{//B包
|
||||
|
@ -73,6 +77,10 @@
|
|||
"style" : {}
|
||||
|
||||
}
|
||||
,{
|
||||
"path" : "disclaimers/disclaimers",
|
||||
"style" : {}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
</view>
|
||||
</view>
|
||||
<!-- 功能列表 -->
|
||||
<function-list></function-list>
|
||||
<function-list :list="funcList"></function-list>
|
||||
</container-subgroup>
|
||||
<!-- 底部tab -->
|
||||
<foot-tab :titleList="titleList" :imgList="imgList" :newcurrent='2'></foot-tab>
|
||||
|
@ -58,6 +58,40 @@
|
|||
{src:'/static/public/icon-finish.png',title:'已完成',num:0},
|
||||
{src:'/static/public/icon-refund.png',title:'已取消',num:0},
|
||||
],
|
||||
funcList:[//个人中心列表数组
|
||||
{
|
||||
leftImg:'/static/public/icon-address.png',
|
||||
title:'收货地址',
|
||||
num:0,
|
||||
content:'',
|
||||
rightImg:'',
|
||||
url:'/pagesA/myAddress/myAddress'
|
||||
},
|
||||
{
|
||||
leftImg:'/static/public/icon-distribution.png',
|
||||
title:'分销中心',
|
||||
num:0,
|
||||
content:'百万奖金等你来拿',
|
||||
rightImg:'',
|
||||
url:'/pagesA/distributionCenter/distributionCenter'
|
||||
},
|
||||
{
|
||||
leftImg:'/static/public/icon-duty.png',
|
||||
title:'免责声明',
|
||||
num:0,
|
||||
content:'',
|
||||
rightImg:'',
|
||||
url:'/pagesB/disclaimers/disclaimers'
|
||||
},
|
||||
{
|
||||
leftImg:'/static/public/icon-aboutus.png',
|
||||
title:'关于我们',
|
||||
num:0,
|
||||
content:'',
|
||||
rightImg:'',
|
||||
url:'/pagesB/aboutUs/aboutUs'
|
||||
}
|
||||
],
|
||||
userInfo:{},//用户信息
|
||||
titleList:uni.getStorageSync('footTitle'), // 底部导航文字
|
||||
imgList:uni.getStorageSync('footimg'), // 底部导航图标
|
||||
|
|
|
@ -0,0 +1,127 @@
|
|||
<template>
|
||||
<view>
|
||||
<!-- 状态栏 -->
|
||||
<status-nav :navBarTitle="'分销中心'"></status-nav>
|
||||
<view class="pad-zy30" :style="{paddingTop: statusBarHeight+'px'}">
|
||||
<!-- 标题 -->
|
||||
<view class="fon30 col0 mar-s30 mar-x10 tcenter">我的佣金</view>
|
||||
<!-- 佣金 -->
|
||||
<view class="fon72 peili-colorRed tcenter bold">¥{{commission}}</view>
|
||||
<!-- 统计 -->
|
||||
<view class="disja mar-s30">
|
||||
<view class="disjcac fc">
|
||||
<view class="fon24 colpeili">累计收益</view>
|
||||
<view class="fon36 col0 bold mar-s20">¥2000</view>
|
||||
</view>
|
||||
<view class="disjcac fc">
|
||||
<view class="fon24 colpeili">累计提现</view>
|
||||
<view class="fon36 col0 bold mar-s20">¥2000</view>
|
||||
</view>
|
||||
<view class="disjcac fc">
|
||||
<view class="fon24 colpeili">分享好友</view>
|
||||
<view class="fon36 col0 bold mar-s10">2000</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 提现按钮 -->
|
||||
<view @tap="tuneEv" class="withdrawal-btn radius30 colf fon36 tcenter peili-backColor mar-s50 mar-x30">立即提现</view>
|
||||
<!-- 佣金记录 -->
|
||||
<view class="fon36 col0 bold pad-sx20 bbot">佣金记录</view>
|
||||
<!-- 列表 -->
|
||||
<view>
|
||||
<view class="bbot pad-sx20" v-for="(item,index) in dataList" :key="index">
|
||||
<view class="disjbac">
|
||||
<view class="fon30 col0 bold">{{item.title}}</view>
|
||||
<view class="fon24 colpeili">{{item.status}}</view>
|
||||
</view>
|
||||
<view class="disjbac mar-s20">
|
||||
<view class="fon24 colpeili">{{item.time}}</view>
|
||||
<view class="fon30 peili-colorRed bold">-{{item.price}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 提现弹框 -->
|
||||
<view v-show="showwithdrawal" :style="{top: statusBarHeight+'px'}" @tap="showwithdrawal=false" class="withdrawal-box">
|
||||
<view @tap.stop="showwithdrawal=true" class="bacf radius20 pad30 posir fon30 col0 mar-zy50 mar-s100">
|
||||
<view class="tcenter">提现申请</view>
|
||||
<view class="mar-s20">
|
||||
<view class="fon24 colpeili">提现金额</view>
|
||||
<input type="text" class="pad-sx10 width100 bbot" value="" placeholder="请输入金额" placeholder-style="color:#000000;" />
|
||||
</view>
|
||||
<view class="mar-s20">
|
||||
<view class="fon24 colpeili">微信号码</view>
|
||||
<input type="text" class="pad-sx10 width100 bbot" value="" placeholder="请输入微信号码" placeholder-style="color:#000000;" />
|
||||
</view>
|
||||
<view class="withdrawal-btn radius30 colf fon36 tcenter peili-backColor mar-s70">立即提现</view>
|
||||
<!-- 关闭按钮 -->
|
||||
<image @tap.stop="showwithdrawal=false" src="/static/public/icon-close-01.png" mode="" lazy-load></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
statusBarHeight:uni.getSystemInfoSync().statusBarHeight + 50,
|
||||
commission:1000,
|
||||
dataList:[
|
||||
{
|
||||
title:'提现',
|
||||
time:'2022-2-19 16:56:18',
|
||||
price:300,
|
||||
status:'成功'
|
||||
},
|
||||
{
|
||||
title:'提现',
|
||||
time:'2022-2-19 16:56:18',
|
||||
price:300,
|
||||
status:'成功'
|
||||
},
|
||||
{
|
||||
title:'提现',
|
||||
time:'2022-2-19 16:56:18',
|
||||
price:300,
|
||||
status:'成功'
|
||||
},
|
||||
{
|
||||
title:'提现',
|
||||
time:'2022-2-19 16:56:18',
|
||||
price:300,
|
||||
status:'成功'
|
||||
},
|
||||
{
|
||||
title:'提现',
|
||||
time:'2022-2-19 16:56:18',
|
||||
price:300,
|
||||
status:'成功'
|
||||
},
|
||||
{
|
||||
title:'提现',
|
||||
time:'2022-2-19 16:56:18',
|
||||
price:300,
|
||||
status:'成功'
|
||||
},
|
||||
{
|
||||
title:'提现',
|
||||
time:'2022-2-19 16:56:18',
|
||||
price:600,
|
||||
status:'成功'
|
||||
}
|
||||
],
|
||||
showwithdrawal:false
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 调起弹框
|
||||
tuneEv(){
|
||||
this.showwithdrawal = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
|
@ -1,235 +1,43 @@
|
|||
<template>
|
||||
<view>
|
||||
<!-- 状态栏 -->
|
||||
<status-nav :titleVal="'关于我们'" :whereCome="whereCome*1" :statusTitle="true"></status-nav>
|
||||
<view :style="{paddingTop: statusHNH+'px'}" class="pad-zy32 pad-x180">
|
||||
<!-- 自定义轮播 -->
|
||||
<view class="mar-s20">
|
||||
<swiper-pu :isplay="isAutoPlay" :bannerList="bannerList" :newHeight="'200'" :newRadius="'10'" :newBottom="'5'"></swiper-pu>
|
||||
<status-nav :navBarTitle="'关于我们'"></status-nav>
|
||||
<!-- 输入框 -->
|
||||
<view class="pad-zy30" :style="{paddingTop: statusBarHeight+'px'}">
|
||||
<!-- 地图 -->
|
||||
<view class="radius30" style="overflow: hidden;">
|
||||
<map :latitude="lat" :longitude="lng" :enable-scroll="enableScroll" :enable-zoom="enableZoom" style="height: 390rpx;width: 100%;"></map>
|
||||
</view>
|
||||
<!-- 导航 -->
|
||||
<view class="mar-s50 pad-s10">
|
||||
<cate-pu :newCurrent="newCurrent*1" :activeb="publicColor" :isCenter="cateListTwo.length<=4?false:true" :newbmo="'#F5F5F5'" @choosecateEv="chooseTwo" :newcateList="cateListTwo"></cate-pu>
|
||||
</view>
|
||||
<!-- 列表 -->
|
||||
<view v-if="dataList.length!=0" class="mar-x20">
|
||||
<view @tap="goDetail(index)" class="pad-sx30 width100 disjb bbot" v-for="(item,index) in dataList" :key="index">
|
||||
<view class="disjb fc">
|
||||
<view class="fon30 col3 clips2" style="height: 84rpx;">{{item.title}}</view>
|
||||
<view class="fon24 col9 mar-s25">{{item.time}}</view>
|
||||
</view>
|
||||
<image v-if="item.imgSrc!=''" class="flexs mar-z30" style="width: 140rpx;height: 140rpx;" :src="item.imgSrc" mode="aspectFill"></image>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="dataList.length==0" class="disjcac fc" style="margin-top: 20%;">
|
||||
<image class="zanw-img" src="/static/public/zanwn.png" mode="aspectFill"></image>
|
||||
<view class="fon24 col3">暂无内容</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 底部客服 -->
|
||||
<!-- <public-customer :nbottom="100"></public-customer> -->
|
||||
<!-- 返回顶部 -->
|
||||
<!-- <back-top :showTop="showTop" @backTop="backTop"></back-top> -->
|
||||
<!-- 弹框授权 -->
|
||||
<empower @buttonH="buttonH" :vision="vision" :isWhere="2"></empower>
|
||||
<!-- 弹框 -->
|
||||
<auth-phone v-if="isShowP"></auth-phone>
|
||||
<!-- 底部导航 -->
|
||||
<view class="posixzy">
|
||||
<bottom-tab></bottom-tab>
|
||||
<!-- 导航按钮 -->
|
||||
<view class="navigate-to-where mar-s30 radius30 bac0 colf fon36 tcenter">导航至佩丽</view>
|
||||
<!-- 关于佩丽 -->
|
||||
<view class="fon48 col0 mar-sx50">关于佩丽</view>
|
||||
<rich-text :nodes="richText"></rich-text>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import swiperPu from '@/components/swiper-pu.vue';
|
||||
import {checkBanner} from '@/jsFile/publicAPI.js';
|
||||
import bottomTab from '@/components/bottom-tab.vue';
|
||||
export default {
|
||||
components:{
|
||||
swiperPu,
|
||||
bottomTab
|
||||
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
statusHNH:uni.getStorageSync('statusHNH'),
|
||||
statusBarHeight:uni.getSystemInfoSync().statusBarHeight + 50,
|
||||
publicColor:uni.getStorageSync('publicColor'),//主题颜色
|
||||
cateListTwo:[
|
||||
// {title:'热门问题'},
|
||||
// {title:'公司新闻'},
|
||||
// {title:'热点资讯'},
|
||||
// {title:'热点资讯'},
|
||||
],
|
||||
dataList:[
|
||||
// {title:'网红水果排毒真的减脂排毒吗?',time:'2021-07-08 10:30',imgSrc:'/static/public/like.png'},
|
||||
// {title:'网红水果排毒真的减脂排毒吗?美食创作人',time:'2021-07-08 10:30',imgSrc:'/static/public/like.png'},
|
||||
// {title:'网红水果排毒真的减脂排毒吗?美食创作人',time:'2021-07-08 10:30',imgSrc:'/static/public/like.png'},
|
||||
// {title:'网红水果排毒真的减脂排毒吗?美食创作人',time:'2021-07-08 10:30',imgSrc:'/static/public/like.png'},
|
||||
// {title:'网红水果排毒真的减脂排毒吗?美食创作人',time:'2021-07-08 10:30',imgSrc:'/static/public/like.png'},
|
||||
// {title:'网红水果排毒真的减脂排毒吗?美食创作人',time:'2021-07-08 10:30',imgSrc:'/static/public/like.png'},
|
||||
// {title:'网红水果排毒真的减脂排毒吗?美食创作人',time:'2021-07-08 10:30',imgSrc:'/static/public/like.png'},
|
||||
],
|
||||
showTop:false,
|
||||
newCurrent:0,
|
||||
category_id:'',
|
||||
page:1,
|
||||
size:10,
|
||||
total:'',//总数
|
||||
isZanw:true,
|
||||
bannerList:[],
|
||||
isAutoPlay:false,
|
||||
vision:false,
|
||||
isShowP:false,
|
||||
whereCome:0
|
||||
lat:25.603183,
|
||||
lng:100.211328,
|
||||
enableZoom:true,//是否支持缩放
|
||||
enableScroll:true,//是否支持拖动
|
||||
richText:''//富文本
|
||||
}
|
||||
},
|
||||
onPageScroll(e) {
|
||||
e.scrollTop > 360 ? this.showTop = true : this.showTop = false
|
||||
},
|
||||
onReachBottom() {//触底事件
|
||||
if(this.total!=this.dataList.length){
|
||||
this.page++
|
||||
this.checkAbout(this.category_id)//调用自主预约列表事件
|
||||
} else {
|
||||
if(this.isZanw) this.$toolAll.tools.showToast('暂无更多列表','none',1000)
|
||||
this.isZanw = false
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
this.isAutoPlay = true;
|
||||
},
|
||||
onUnload() {
|
||||
this.isAutoPlay = false;
|
||||
},
|
||||
onHide() {
|
||||
this.isAutoPlay = false;
|
||||
},
|
||||
onShareAppMessage() {
|
||||
var shareObj = {
|
||||
path: `/pagesB/aboutUs/aboutUs?invite_code=${uni.getStorageSync('invite_code')}`, // 默认是当前页面,必须是以‘/’开头的完整路径
|
||||
};
|
||||
return shareObj;
|
||||
},
|
||||
onLoad(options) {
|
||||
if(uni.getStorageSync('is_active')!=1){this.vision = true;this.whereCome = 2;} else {this.$toolAll.tools.isLogin();}
|
||||
if(options.invite_code!='' && options.invite_code!=undefined){
|
||||
this.loginEv(options.invite_code);
|
||||
} else if(options.source_code!='' && options.source_code!=undefined){
|
||||
this.loginEv('',options.source_code,options.channel);
|
||||
}
|
||||
this.checkAbout(this.category_id)
|
||||
this.checkSwi()
|
||||
|
||||
},
|
||||
methods: {
|
||||
loginEv(invite_code='',source='',channel=''){
|
||||
uni.login({
|
||||
provider: 'weixin',
|
||||
success: (res)=> {
|
||||
if (res.code) {
|
||||
var params = {
|
||||
code:res.code,
|
||||
invite_code:invite_code,//用户邀请码
|
||||
source_code:source,
|
||||
channel:channel
|
||||
}
|
||||
this.$requst.post('user/login',params).then(res => {
|
||||
if(res.data.token!=''){
|
||||
if(res.data.is_active==0) {
|
||||
this.haveImg = false;
|
||||
this.vision = true;
|
||||
}
|
||||
}
|
||||
},error => {})
|
||||
}
|
||||
},
|
||||
});
|
||||
},
|
||||
buttonH(e){//授权成功
|
||||
this.haveImg = e
|
||||
if(e) {
|
||||
this.vision = false
|
||||
this.isShowP = true
|
||||
}
|
||||
},
|
||||
checkSwi(){
|
||||
checkBanner({position:'about-banner'}).then(res=>{
|
||||
if(res.code==0){
|
||||
if(res.data.length!=0){
|
||||
res.data.forEach(item=>{
|
||||
let isVideo = false
|
||||
if(item.type!='img') isVideo = true
|
||||
let haveImg = ''
|
||||
if(item.src!='') haveImg = this.$http + item.src
|
||||
let banObj = {
|
||||
imgSrc:haveImg,
|
||||
url:item.url,
|
||||
isVideo:isVideo,
|
||||
poster:this.$http + item.src,
|
||||
}
|
||||
this.bannerList.push(banObj)
|
||||
})
|
||||
}
|
||||
//
|
||||
}
|
||||
})
|
||||
},
|
||||
checkAbout(category_id){
|
||||
let params = {
|
||||
category_id:category_id,
|
||||
page:this.page,
|
||||
size:this.size
|
||||
}
|
||||
this.$requst.post('archives/about',params).then(res=>{
|
||||
// console.log('关于我们:',res);
|
||||
if(res.code==0){
|
||||
if(this.cateListTwo.length==0){
|
||||
if(res.data.category.length!=0){
|
||||
res.data.category.forEach(item=>{
|
||||
let cateObj = {
|
||||
id:item.id,
|
||||
mode_id:item.mode_id,
|
||||
title:item.title
|
||||
}
|
||||
this.cateListTwo.push(cateObj)
|
||||
})
|
||||
}
|
||||
}
|
||||
if(this.page==1) this.dataList = []
|
||||
if(res.data.list.list.length!=0){
|
||||
this.total = res.data.list.total
|
||||
res.data.list.list.forEach(item=>{
|
||||
let newImg = ''
|
||||
if(item.cover=='') newImg = '/static/public/logo.png'
|
||||
else newImg = this.$http + item.cover
|
||||
let aobj = {
|
||||
id:item.id,
|
||||
title:item.title,
|
||||
time:item.published_at,
|
||||
imgSrc:newImg
|
||||
}
|
||||
this.dataList.push(aobj)
|
||||
})
|
||||
}
|
||||
}
|
||||
},error=>{})
|
||||
},
|
||||
chooseTwo(index){//二级分类选择
|
||||
this.newCurrent = index
|
||||
console.log('二级分类:',index);
|
||||
this.isZanw = true
|
||||
this.page = 1
|
||||
this.category_id = this.cateListTwo[index].id
|
||||
this.checkAbout(this.cateListTwo[index].id)
|
||||
},
|
||||
goDetail(index){
|
||||
|
||||
},
|
||||
backTop(){//回到顶部事件
|
||||
uni.pageScrollTo({
|
||||
scrollTop: 0,
|
||||
duration: 300
|
||||
});
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
<template>
|
||||
<view>
|
||||
<!-- 状态栏 -->
|
||||
<status-nav :navBarTitle="'免责声明'"></status-nav>
|
||||
<view class="pad-zy30" :style="{paddingTop: statusBarHeight+'px'}">
|
||||
<!-- 标题 -->
|
||||
<view class="fon30 col0 mar-sx30 tcenter">责任条款</view>
|
||||
<!-- 内容 -->
|
||||
<view class="fon24 colpeili line-h40">
|
||||
<view>本网站所提供的信息,只供参考之用。</view>
|
||||
<view class="mar-sx30">本网站及其雇员一概毋须以任何方式就任何信息传递或传送的失误、不准确或错误对用户或任何其他人士负任何直接或间接的责任。</view>
|
||||
<view class="mar-sx30">在法律允许的范围内,本网站在此声明,不承担用户或任何人士就使用或未能使用本网站所提供的信息或任何链接或项目所引致的任何直接、间接、附带、从属、特殊、惩罚性或惩戒性的损害赔偿(包括但不限于收益、预期利润的损失或失去的业务、未实现预期的节省)。</view>
|
||||
<view class="mar-sx30">本网站所提供的信息,若在任何司法管辖地区供任何人士使用或分发给任何人士时会违反该司法管辖地区的法律或条例的规定或会导致本网站或其第三方代理人受限于该司法管辖地区内的任何监管规定时,则该等信息不宜在该司法管辖地区供该等任何人士使用或分发给该等任何人士。用户须自行保证不会受限于任何限制或禁止用户使用或分发本网站所提供信息的当地的规定。</view>
|
||||
<view class="mar-sx30">本网站图片,文字之类版权申明,因为网站可以由注册用户自行上传图片或文字,本网站无法鉴别所上传图片或文字的知识版权,如果侵犯,请及时通知我们,本网站将在第一时间及时删除。</view>
|
||||
<view class="mar-sx30">凡以任何方式登录本网站或直接、间接使用本网站资料者,视为自愿接受本网站声明的约束。</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
statusBarHeight:uni.getSystemInfoSync().statusBarHeight + 50,
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
Before Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 383 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 783 B |
Before Width: | Height: | Size: 144 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 976 B |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 882 B |
Before Width: | Height: | Size: 823 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 678 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 297 B |
Before Width: | Height: | Size: 998 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 802 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1011 B |
After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 970 B |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 91 B |
Before Width: | Height: | Size: 9.5 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 1010 B |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 294 B |
Before Width: | Height: | Size: 255 B |
Before Width: | Height: | Size: 942 B |
Before Width: | Height: | Size: 498 B |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 325 B |
Before Width: | Height: | Size: 273 B |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 227 B |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 966 B |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 937 B |
Before Width: | Height: | Size: 960 B |
Before Width: | Height: | Size: 1016 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 73 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 889 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 889 B |
Before Width: | Height: | Size: 609 B |
Before Width: | Height: | Size: 1.2 KiB |