作者 lihongjuan

1

... ... @@ -424,19 +424,30 @@
}
.huiyuanprice {
/* width: 166rpx; */
width:auto!important;
height: 36rpx;
background: rgba(255, 248, 230, 1);
border-radius: 18rpx;
color: #FF9417;
font-size: 22rpx;
text-align: center;
line-height: 36rpx;
margin-top: 4rpx;
padding: 0 5rpx;
box-sizing: border-box;
}
.huiyuanpricek{
display: inline-block;
color: #FF9417;
font-size: 22rpx;
height: 36rpx;
background: rgba(255, 248, 230, 1);
border-radius: 18rpx;
padding: 0 12rpx;
box-sizing: border-box;
line-height: 36rpx;
margin-top: 4rpx;
}
.homeshoplist {
flex-wrap: wrap;
... ... @@ -1094,7 +1105,7 @@
display: flex;
align-items: center;
justify-content: space-between;
padding: 18rpx 82rpx;
padding: 10rpx 82rpx;
box-sizing: border-box;
position: fixed;
bottom: 0;
... ... @@ -1112,15 +1123,19 @@
.teacherfootname {
color: #5B5E63;
font-size: 20rpx;
margin-top: 10rpx;
font-size: 24rpx;
margin-top: 5rpx;
}
.shou {
width: 38rpx;
height: 37rpx;
width: 55rpx;
height: 55rpx;
font-size: 0;
}
.info{
width:70rpx;
height:60rpx;
}
.activename {
color: #FF9417;
... ...
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/homepage/homepage",
"style": {
... ... @@ -686,6 +684,7 @@
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
... ...
... ... @@ -150,7 +150,7 @@
<view class="drawrap">
<view class="zhongjiang">恭喜中奖</view>
<view class="gifimg">
<image src="../../static/gift.png" mode=""></image>
<image src="../../static/imggift.png" mode=""></image>
</view>
<view class="giftname">零食大礼包</view>
<view class="containue" @click="clickLucks()">继续抽奖</view>
... ... @@ -422,7 +422,7 @@
/* 中奖遮罩层 */
.drawrap{
width:522rpx;
height:604rpx;
height:624rpx;
background:rgba(255,255,255,1);
border-radius:24rpx;
position: absolute;
... ... @@ -437,8 +437,8 @@
margin-top:44rpx;
}
.gifimg{
width:226rpx;
height:210rpx;
width:374rpx;
height:248rpx;
font-size: 0;
margin:34rpx auto 0;
}
... ...
... ... @@ -106,7 +106,7 @@
</view>
<view class="goodname hidden">{{item.name}}</view>
<view class="saleprice">¥{{item.goods_price}}</view>
<view class="huiyuanprice">会员价:¥{{item.vip_price}}</view>
<view class="huiyuanpricek">会员价:¥{{item.vip_price}}</view>
</view>
</view>
</view>
... ... @@ -157,12 +157,13 @@
</view>
</view>
</view>
<!-- <tabBar :current="currentTabIndex" backgroundColor="#fbfbfb" color="#999" tintColor="#42b983" @click="tabClick"></tabBar> -->
<!-- 底部导航 -->
<view class="teacherfooter">
<view class="teacherfootitem" @click="selnav" :data-id="1">
<view class="teacherfootitemtop shou">
<image :src="footersel==1?'../../static/tieziactive.png':'../../static/tiezi.png'"></image>
<image :src="footersel==1?'../../static/indexactive.png':'../../static/index.png'"></image>
</view>
<view class="teacherfootname " :class="footersel==1?'activename':''">首页</view>
</view>
... ... @@ -190,11 +191,16 @@
</view>
</template>
<script>
import app from "../../App.vue";
import tabBar from '../../components/tabvue/tabvue.vue'
// Vue.component('tab-bar', tabBar)
export default {
components:{
tabBar
},
data() {
return {
showbanben: false,
footersel: 1,
... ... @@ -205,7 +211,7 @@
shoplist: [],
carttotal:0,
provincename:'',
currentTabIndex:0
}
},
onLoad() {
... ... @@ -215,8 +221,43 @@
if(token!=''){
this.getcartnum()
}
},
methods: {
tabClick(){
},
// 获取签到信息
getqiandaoinfo(){
let that = this;
var url = 'sign/index';
var params = {
}
console.log(params)
app.post(url, params).then((res) => {
console.log(res);
}).catch((err) => {
})
},
// 签到
qiandao(){
let that = this;
var url = 'sign/sign';
var params = {
}
console.log(params)
app.post(url, params).then((res) => {
console.log(res);
}).catch((err) => {
})
},
getlocation() {
let that=this;
uni.getLocation({
... ... @@ -427,6 +468,7 @@
},
onShow(){
this.getlocation();
this.getqiandaoinfo()
}
}
... ...
... ... @@ -6,7 +6,7 @@
</view>
</view>
<view class="miaoshatime flexthree">
<view class="miaoshatime flexthree" v-if="timestatus==1">
<view class='miaoname'>距离开始</view>
<!-- days:'',
hours:'',
... ... @@ -29,10 +29,10 @@
<!-- <view class='miaotime boxsizing'>2</view> -->
</view>
</view>
<!-- 搜索商品 -->
<view class="searchgood commnonpadding">
<view class="searchgooditem flexone boxsizing" v-for="(item,index) in orderlist" :key="index" @click="goodtail" :data-id="item.id">
<view class="searchgooditem flexone boxsizing" v-for="(item,index) in orderlist" :key="index" @click="timestatus==1?goodtail(item):''" >
{{timestatus}}
<view class="gooditemleft">
<image :src="item.image" mode=""></image>
</view>
... ... @@ -131,6 +131,7 @@
hours:'',
minutes:'',
seconds:'',
timestatus:''
}
},
onLoad() {
... ... @@ -149,7 +150,10 @@
console.log(params)
app.post(url,params, "post").then((res) => {
console.log(res);
let remaintime=res.data.data.endtime-res.data.data.starttime
that.timestatus=res.data.data.status;
let now_time = parseInt(new Date().getTime())
now_time=parseInt(now_time/1000);
let remaintime=res.data.data.endtime-now_time
let number = remaintime;
// 时间戳处理
var totalSecond = number;
... ... @@ -222,8 +226,8 @@
},
// 商品详情
goodtail(e) {
let id = e.currentTarget.dataset.id;
goodtail(item) {
let id = item.id;
console.log(id)
// type 1 面访商品
uni.navigateTo({
... ...
<template>
<view class="content">
<view class="giftlist">
<view class="giftitem flextwo">
<!-- v-for="(item,index) in giftarr" :key="index" -->
<view class="giftitem flextwo" v-for="(item,index) in giftarr" :key="index">
<view class="giftitemleft">
<view class="itemtop">我的奖品</view>
<view class="itemtime">2019-10-13 15:30:30</view>
<view class="flexone" v-if="item.type==1">
<view class="flexoneleft">
<image :src="item.image" mode=""></image>
</view>
<view class="itemtop jiangname">{{item.name}}</view>
</view>
<view class="itemtop" v-else>{{item.name}}</view>
<view class="itemtime">{{item.givetime}}</view>
</view>
<view class="itemname">立即兑换</view>
<view class="itemname" v-if='item.is_give==2' @click="item.type==1?givegift(item):give(item)">立即兑换</view>
<view class="itemnamek" v-if="item.is_give==1">已兑换</view>
</view>
<view class="giftitem flextwo">
<!-- <view class="giftitem flextwo">
<view class="giftitemleft">
<view class="itemtop">我的奖品</view>
<view class="itemtime">2019-10-13 15:30:30</view>
</view>
<view class="itemnamek">立即兑换</view>
</view>
</view> -->
</view>
</view>
</template>
... ... @@ -24,14 +33,15 @@
export default {
data() {
return {
showbanben: false
showbanben: false,
giftarr: ''
}
},
onLoad() {
this.getgift()
},
methods: {
getgift(){
getgift(item) {
let that = this;
var url = 'gift/my_gift';
console.log('获取的参数', that.seldata)
... ... @@ -41,57 +51,115 @@
console.log(params)
app.post(url, params, "post").then((res) => {
console.log(res);
that.giftarr = res.data.data;
// that.goodinfo=res.data.data;
}).catch((err) => {
console.log(err)
})
},
// 领取积分优惠券
give(item) {
let that = this;
console.log("领取优惠券")
var url = 'gift/give';
console.log('获取的参数', that.seldata)
var params = {
gift_log_id: item.id
}
console.log(params)
app.post(url, params, "post").then((res) => {
console.log(res);
that.giftarr = res.data.data;
// that.goodinfo=res.data.data;
}).catch((err) => {
console.log(err)
uni.showToast({
title:err.msg,
icon:'none'
})
})
},
// 领取实物奖品
givegift() {
console.log("领取实物")
let that = this;
var url = 'gift/give';
console.log('获取的参数', that.seldata)
var params = {
gift_log_id: item.id
}
console.log(params)
app.post(url, params, "post").then((res) => {
console.log(res);
that.giftarr = res.data.data;
// that.goodinfo=res.data.data;
}).catch((err) => {})
}
}
}
</script>
<style>
.giftlist{
.flexoneleft {
width: 50rpx;
height: 50rpx;
font-size: 0;
}
.jiangname {
margin-left: 10rpx;
}
.giftlist {
padding: 0 32rpx;
box-sizing: border-box;
}
.giftitem{
.giftitem {
padding: 24rpx 0;
box-sizing: border-box;
border-bottom:1rpx solid #f5f5f5
border-bottom: 1rpx solid #f5f5f5
}
.itemtop{
color:#232323;
.itemtop {
color: #232323;
font-size: 32rpx;
font-weight: bold;
}
.itemtime{
color:#BBC2CB;
.itemtime {
color: #BBC2CB;
font-size: 24rpx;
margin-top:10rpx;
margin-top: 10rpx;
}
.itemname{
width:160rpx;
height:64rpx;
border-radius:8rpx;
border:2rpx solid rgba(255,146,24,1);
color:#FF9218;
.itemname {
width: 160rpx;
height: 64rpx;
border-radius: 8rpx;
border: 2rpx solid rgba(255, 146, 24, 1);
color: #FF9218;
font-size: 30rpx;
text-align: center;
line-height: 64rpx;
}
.itemnamek{
width:160rpx;
height:64rpx;
border-radius:8rpx;
color:#3F4444;
border:1rpx solid #3F4444;
.itemnamek {
width: 160rpx;
height: 64rpx;
border-radius: 8rpx;
color: #3F4444;
border: 1rpx solid #3F4444;
font-size: 30rpx;
text-align: center;
line-height: 64rpx;
... ...
... ... @@ -2,10 +2,12 @@
<view class='content'>
<view class="examinetop flexone">
<view class="examinetopleft">
<image :src="userinfo.avatar" mode=""></image>
<image :src="userinfo.avatar==''?'../../static/headtou.png':avatar" mode=""></image>
</view>
<view class="examintopright">
<view class='examinename'>{{userinfo.nickname}}</view>
<view class="name" v-if="userinfo.nickname==''">暂无昵称</view>
<view class="name" v-else>{{userinfo.nickname}}</view>
<view class='examinelist flexone' v-if="label.length!=0">
<view class='examineitem' v-for="(item,index) in userinfo.label" :key="index">{{item.name_label}}</view>
</view>
... ... @@ -100,11 +102,11 @@
export default {
data() {
return {
footersel:3,
publish:false,
questionlist:[],
userinfo:'',
label:''
footersel: 3,
publish: false,
questionlist: [],
userinfo: '',
label: ''
}
},
... ... @@ -117,22 +119,22 @@
hidepublish() {
this.publish = false
},
footerseljump(e){
let id=e.currentTarget.dataset.id;
if(id==1){
footerseljump(e) {
let id = e.currentTarget.dataset.id;
if (id == 1) {
uni.navigateTo({
url:'/pages/luntan/luntan'
url: '/pages/luntan/luntan'
})
}else if(id==3){
} else if (id == 3) {
uni.navigateTo({
url:"/pages/luntan/examine"
url: "/pages/luntan/examine"
})
}else if(id==2){
this.publish=true
} else if (id == 2) {
this.publish = true
}
},
// 获取用户信息
getuserinfo(){
getuserinfo() {
let that = this;
var url = 'member/index';
var params = {
... ... @@ -141,8 +143,8 @@
console.log('7766554', params)
app.post(url, params).then((res) => {
console.log(res);
that.userinfo=res.data.data;
that.label=res.data.data.label
that.userinfo = res.data.data;
that.label = res.data.data.label
}).catch((err) => {
... ... @@ -150,7 +152,7 @@
})
},
// 获取问卷列表
getquestionlist(){
getquestionlist() {
let that = this;
var url = 'question/get_questionnaire';
var params = {
... ... @@ -159,7 +161,7 @@
console.log('7766554', params)
app.post(url, params).then((res) => {
console.log(res);
that.questionlist=res.data.data
that.questionlist = res.data.data
}).catch((err) => {
... ... @@ -167,17 +169,25 @@
},
//帮工考试
examinetext(item){
let id=item.id
examinetext(item) {
let token = uni.getStorageSync("token");
if (token == '') {
uni.reLaunch({
url: '/pages/login/register'
})
} else {
let id = item.id;
uni.navigateTo({
url:'/pages/luntan/examintext?id='+id
url: '/pages/luntan/examintext?id=' + id
})
}
},
// 发布评论
publishitezi(e){
let type=e.currentTarget.dataset.id;
publishitezi(e) {
let type = e.currentTarget.dataset.id;
uni.navigateTo({
url:'/pages/luntan/addcontract?type='+type
url: '/pages/luntan/addcontract?type=' + type
})
},
... ... @@ -187,7 +197,7 @@
</script>
<style>
page{
page {
background: #fff;
}
... ... @@ -195,12 +205,12 @@
padding: 0 32rpx;
box-sizing: border-box;
} */
.examinetop{
.examinetop {
padding: 32rpx 32rpx;
box-sizing: border-box;
border-bottom:1rpx solid #f5f5f5
border-bottom: 1rpx solid #f5f5f5
}
.examineitem {
height: 36rpx;
padding: 0 28rpx;
... ... @@ -211,107 +221,125 @@
font-size: 22rpx;
text-align: ceter;
line-height: 36rpx;
margin-right:32rpx;
margin-right: 32rpx;
}
.examineitem:last-child{
margin-right:0
.examineitem:last-child {
margin-right: 0
}
.examinetopleft{
width:128rpx;
height:128rpx;
.examinetopleft {
width: 128rpx;
height: 128rpx;
font-size: 0;
border-radius: 50%;
}
.examinetopleft image{
.examinetopleft image {
border-radius: 50%;
}
.helpitemtop{
width:112rpx;
height:112rpx;
.helpitemtop {
width: 112rpx;
height: 112rpx;
font-size: 0;
}
.helpitemname{
color:#3D444C;
.helpitemname {
color: #3D444C;
font-size: 26rpx;
text-align: center;
margin-top:4rpx;
margin-top: 4rpx;
}
.examintopright{
margin-left:28rpx;
.examintopright {
margin-left: 28rpx;
}
.examinename{
color:#3D454C;
.examinename {
color: #3D454C;
font-size: 28rpx;
font-weight: bold;
}
.examinelist{
margin-top:24rpx;
.examinelist {
margin-top: 24rpx;
}
.helplist{
.helplist {
padding: 32rpx 32rpx;
box-sizing: border-box;
border-bottom:16rpx solid #F9F9F9
border-bottom: 16rpx solid #F9F9F9
}
.helpitem{
margin-right:60rpx
.helpitem {
margin-right: 60rpx
}
.examinrule{
.examinrule {
padding: 32rpx;
box-sizing: border-box;
}
.examineruletitle{
color:#061220;
.examineruletitle {
color: #061220;
font-size: 32rpx;
}
.examineruletext{
color:#3D454C;
.examineruletext {
color: #3D454C;
font-size: 28rpx;
margin-top:16rpx;
line-height:40rpx;
margin-top: 16rpx;
line-height: 40rpx;
}
</style>
<style>
page {
background: #F9F9F9;
}
.release-text-content{
height:120rpx;
.release-text-content {
height: 120rpx;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
}
.enterwordk{
color:#BDC4CE;
.enterwordk {
color: #BDC4CE;
font-size: 24rpx;
}
.proselect{
width:120rpx;
height:60rpx;
border:2rpx solid rgba(238,238,238,1);
color:#fff;
font-size:24rpx;
.proselect {
width: 120rpx;
height: 60rpx;
border: 2rpx solid rgba(238, 238, 238, 1);
color: #fff;
font-size: 24rpx;
border-radius: 40rpx;
padding: 0 10rpx;
box-sizing: border-box;
margin-left:16rpx;
margin-left: 16rpx;
}
.proname{
width:90rpx;
.proname {
width: 90rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-right:5rpx;
margin-right: 5rpx;
}
.down-ico{
width:16rpx;
height:16rpx;
.down-ico {
width: 16rpx;
height: 16rpx;
font-size: 0;
}
.publishnav {
padding: 0 !important;
}
... ... @@ -332,7 +360,7 @@
padding: 14rpx 0;
box-sizing: border-box;
background: #C29445;
z-index:99;
z-index: 99;
position: fixed;
top: var(--status-bar-height);
left: 0;
... ... @@ -345,7 +373,7 @@
justify-content: space-between;
padding: 32rpx 64rpx;
margin-bottom: 16rpx;
margin-top: calc(var(--status-bar-height) + 100rpx);;
/* margin-top: calc(var(--status-bar-height) + 100rpx);; */
}
.nav-wrap .navigator {
... ... @@ -443,9 +471,11 @@
width: 60rpx;
height: 60rpx;
}
.search-wrap .navigator:nth-child(3){
.search-wrap .navigator:nth-child(3) {
/* font-size: 20rpx; */
}
/* .proname{
overflow: hidden;
... ... @@ -453,4 +483,3 @@
white-space: nowrap;
} */
</style>
... ...
... ... @@ -23,7 +23,7 @@
</picker> -->
</view>
<!-- nav -->
<view class="nav-wrap">
<view class="nav-wrap nav-wrapk">
<view class="navigator" @click="zhaopin" :data-id="1">
<image src="../../static/helppeople.png"></image>
<text>帮工招聘求职</text>
... ... @@ -484,8 +484,11 @@
justify-content: space-between;
padding: 32rpx 64rpx;
margin-bottom: 16rpx;
}
.nav-wrapk{
margin-top: calc(var(--status-bar-height) + 100rpx);
;
}
.nav-wrap .navigator {
... ...
... ... @@ -40,7 +40,9 @@
</view>
</view>
<view class="miaoright flexone">
<view class='miaobox' v-if="timestatus==2">活动未开始</view>
<view class='miaobox' v-else-if="timestatus==3">活动已结束</view>
<view class="miaoright flexone" v-else>
<view class="distance">距离结束还剩</view>
<view class="remaintime">{{days}}</view>
<view class="dian">天</view>
... ... @@ -282,7 +284,9 @@
days:'',
hours:'',
minutes:'',
seconds:''
seconds:'',
// 秒杀商品的设置
timestatus:''
}
},
... ... @@ -426,7 +430,10 @@
console.log(params)
app.post(url,params, "post").then((res) => {
console.log(res);
let remaintime=res.data.data.endtime-res.data.data.starttime
that.timestatus=res.data.data.status
let now_time = parseInt(new Date().getTime())
now_time=parseInt(now_time/1000);
let remaintime=res.data.data.endtime-now_time;
let number = remaintime;
// 时间戳处理
var totalSecond = number;
... ... @@ -461,10 +468,10 @@
totalSecond--;
if (totalSecond <= 0) {
clearInterval(interval);
uni.showToast({
title: '活动已结束',
icon:'none'
});
// uni.showToast({
// title: '活动已结束',
// icon:'none'
// });
// 倒计时结束
//that.countDown();
that.days='00';
... ...
... ... @@ -119,9 +119,9 @@
</view>
-->
</view>
<tabBar :current="currentTabIndex" backgroundColor="#fbfbfb" color="#999" tintColor="#42b983" @click="tabClick"></tabBar>
<!-- 底部导航 -->
<view class="teacherfooter">
<!-- <view class="teacherfooter">
<view class="teacherfootitem" @click="selnav" :data-id="1">
<view class="teacherfootitemtop shou">
<image :src="footersel==1?'../../static/tieziactive.png':'../../static/tiezi.png'"></image>
... ... @@ -147,20 +147,27 @@
<view class="teacherfootname" :class="footersel==4?'activename':''">个人中心</view>
</view>
</view>
-->
</view>
</template>
<script>
import app from "../../App.vue";
import tabBar from '../../components/tabvue/tabvue.vue'
export default {
components:{
tabBar
},
data() {
return {
showbanben: false,
footersel: 2,
keyword: '',
order: '',
shoplist: []
shoplist: [],
currentTabIndex:1
}
},
onLoad() {
... ...
... ... @@ -448,9 +448,7 @@
value.postage_type=that.goodservicearr[e.target.value].id;
}
})
this.changeorder();
that.seldata.forEach(function(value,index,array){
if( value.postage_type==1){
that.postage_type3=1;
... ... @@ -462,8 +460,6 @@
enterjifen(e){
console.log(222222);
console.log(e.detail.value)
this.jifen=e.detail.value;
console.log(this.jifen)
this.changeorder()
... ...
<template>
<view class="page">
<view class="page" @click="login">
<view class="header">
<view class="userinfo">
<view class="avator" @click="personziliao">
<view class="avator" @click.stop="personziliao">
<image :src="avatar==''?'../../static/headtou.png':avatar" />
<!-- <image src="../../static/userpic.png" mode="widthFix" /> -->
</view>
... ... @@ -22,37 +22,37 @@
已认证
</view>
</view>
<view class="setup" @click="set">
<view class="setup" @click.stop="set">
<image src="../../static/setup.png" mode="widthFix" />
</view>
</view>
<view class="orderBox">
<view class="orderItem" @click="fahuo" :data-id="1">
<view class="orderItem" @click.stop="fahuo" :data-id="1">
<image src="../../static/order_a.png" mode="widthFix"></image>
<view>待付款</view>
</view>
<view class="orderItem" @click="fahuo" :data-id="2">
<view class="orderItem" @click.stop="fahuo" :data-id="2">
<image src="../../static/order_b.png" mode="widthFix"></image>
<view>待发货</view>
</view>
<view class="orderItem" @click="fahuo" :data-id="3">
<view class="orderItem" @click.stop="fahuo" :data-id="3">
<image src="../../static/order_c.png" mode="widthFix"></image>
<view>待收货</view>
</view>
<view class="orderItem" @click="fahuo" :data-id="4">
<view class="orderItem" @click.stop="fahuo" :data-id="4">
<image src="../../static/order_d.png" mode="widthFix"></image>
<view>待评价</view>
</view>
<view class="orderItem" @click="fahuo" :data-id="0">
<view class="orderItem" @click.stop="fahuo" :data-id="0">
<image src="../../static/order_e.png" mode="widthFix"></image>
<view>全部订单</view>
</view>
</view>
</view>
<view class="contanier">
<view class="citem" @click="jump" data-id="1">
<view class="citem" @click.stop="jump" data-id="1">
<view class="left">
<image src="../../static/icon_a.png" mode="widthFix" />
我的钱包
... ... @@ -61,7 +61,7 @@
<image src="../../static/right.png" mode="widthFix" />
</view>
</view>
<view class="citem" @click="jump" data-id="2">
<view class="citem" @click.stop="jump" data-id="2">
<view class="left">
<image src="../../static/icon_b.png" mode="widthFix" />
会员中心
... ... @@ -70,7 +70,7 @@
<image src="../../static/right.png" mode="widthFix" />
</view>
</view>
<view class="citem" @click="jump" data-id="7">
<view class="citem" @click.stop="jump" data-id="7">
<view class="left">
<image src="../../static/fenxiao.png" mode="widthFix" />
我的分销
... ... @@ -79,7 +79,7 @@
<image src="../../static/right.png" mode="widthFix" />
</view>
</view>
<view class="citem" @click="jump" data-id="3">
<view class="citem" @click.stop="jump" data-id="3">
<view class="left">
<image src="../../static/icon_c.png" mode="widthFix" />
我的积分
... ... @@ -88,7 +88,7 @@
<image src="../../static/right.png" mode="widthFix" />
</view>
</view>
<view class="citem" @click="jump" data-id="4">
<view class="citem" @click.stop="jump" data-id="4">
<view class="left">
<image src="../../static/icon_e.png" mode="widthFix" />
我的优惠卷
... ... @@ -97,7 +97,7 @@
<image src="../../static/right.png" mode="widthFix" />
</view>
</view>
<view class="citem" @click="jump" data-id="5">
<view class="citem" @click.stop="jump" data-id="5">
<view class="left">
<image src="../../static/icon_f.png" mode="widthFix" />
我的发布
... ... @@ -106,7 +106,7 @@
<image src="../../static/right.png" mode="widthFix" />
</view>
</view>
<view class="citem" @click="jump" data-id="6">
<view class="citem" @click.stop="jump" data-id="6">
<view class="left">
<image src="../../static/icon_g.png" mode="widthFix" />
销售管理
... ... @@ -119,25 +119,25 @@
<!-- 底部导航 -->
<view class="teacherfooter">
<view class="teacherfootitem" @click="selnav" :data-id="1">
<view class="teacherfootitem" @click.stop="selnav" :data-id="1">
<view class="teacherfootitemtop shou">
<image :src="footersel==1?'../../static/tieziactive.png':'../../static/tiezi.png'"></image>
</view>
<view class="teacherfootname " :class="footersel==1?'activename':''">首页</view>
</view>
<view class="teacherfootitem" @click="selnav" :data-id="2">
<view class="teacherfootitem" @click.stop="selnav" :data-id="2">
<view class="teacherfootitemtop shou">
<image :src="footersel==2?'../../static/nearshopactive.png':'../../static/nearshop.png'"></image>
</view>
<view class="teacherfootname" :class="footersel==2?'activename':''">附近店铺</view>
</view>
<view class="teacherfootitem" @click="selnav" :data-id="3">
<view class="teacherfootitem" @click.stop="selnav" :data-id="3">
<view class="teacherfootitemtop shou">
<image :src="footersel==3?'../../static/luntanctive.png':'../../static/luntan.png'"></image>
</view>
<view class="teacherfootname" :class="footersel==3?'activename':''">中面论坛</view>
</view>
<view class="teacherfootitem" @click="selnav" :data-id="4">
<view class="teacherfootitem" @click.stop="selnav" :data-id="4">
<view class="teacherfootitemtop shou">
<image :src="footersel==4?'../../static/useractive.png':'../../static/user.png'"></image>
</view>
... ... @@ -170,6 +170,15 @@
url:'/pages/usercenter/setUp?avatar='+this.avatar+'&nickname='+this.nickname
})
},
login(){
let token=uni.getStorageSync("token");
if(token==''){
uni.navigateTo({
url:'/pages/login/register'
})
}
},
// 获取用户信息
getuserinfo() {
let that = this;
... ...
<template>
<view class="page">
<view class="box">
<view class="item">
<view class="item" v-for="(item,index) in creditarr" :key="index">
<view class="title">
2019年
{{item.year}}
<image src="../../static/more.png" mode="widthFix" class="more" />
</view>
<view class="xitem">
<view class="month">8月</view>
<view class="xitem" v-for="(itemk,indexk) in item.list" :key="indexk">
<view class="month">{{itemk.month}}</view>
<view class="minfo">
<view class="left">
<view class="money">3125.55元</view>
<view class="time">期限:2019-10-10</view>
<view class="money">{{itemk.money}}元</view>
<view class="time">期限:{{itemk.start_returntime}}</view>
</view>
<view class="btn">还款</view>
<view class="btn" v-if="itemk.status==1" @click="paymoney(itemk)">还款</view>
<view class="btn activea" v-else-if="itemk.status==3">已逾期</view>
<view class="btn activeb" v-else>已还款</view>
</view>
</view>
<view class="xitem">
<!-- <view class="xitem">
<view class="month">7月</view>
<view class="minfo">
<view class="left">
... ... @@ -46,53 +50,213 @@
<view class="btn activeb">已还款</view>
</view>
</view>
-->
</view>
</view>
<view class="cover">
<view class="cover" v-if="paycover">
<view class="coverBox">
<view class="top">
<view class="top" @click="hidepay">
<view class="close"><image src="../../static/colose.png" mode="widthFix" /></view>
支付
</view>
<view class="monetall">
<view class="moneyNum">¥2560.00</view>
<view class="moneyTitle">订单总额</view>
<view class="moneyNum">¥{{money}}</view>
<!-- <view class="moneyTitle">订单总额</view> -->
</view>
<view class="payBox">
<view class="payItem">
<view class="left">
<image src="../../static/paya.png" mode="widthFix" />
支付宝
<image src="../../static/payb.png" mode="widthFix" />
微信
</view>
<view class="right" @click="selecttype" :data-id="1">
<image src="../../static/check.png" mode="widthFix" class="check" v-if="type==1"/>
<image src="../../static/nocheck.png" mode="widthFix" class="check" v-else/>
</view>
<view class="right"><image src="../../static/nocheck.png" mode="widthFix" class="check" /></view>
</view>
<view class="payItem">
<view class="left">
<image src="../../static/payb.png" mode="widthFix" />
微信
<image src="../../static/paya.png" mode="widthFix" />
支付宝
</view>
<view class="right" @click="selecttype" :data-id="2">
<image src="../../static/check.png" mode="widthFix" class="check" v-if="type==2"/>
<image src="../../static/nocheck.png" mode="widthFix" class="check" v-else/>
</view>
<view class="right"><image src="../../static/check.png" mode="widthFix" class="check" /></view>
</view>
<view class="payItem">
<view class="left">
<image src="../../static/balance.png" mode="widthFix" />
余额支付 <text>(余额 3840.00)</text>
</view>
<view class="right"><image src="../../static/nocheck.png" mode="widthFix" class="check" /></view>
<view class="right" @click="selecttype" :data-id="3">
<image src="../../static/check.png" mode="widthFix" class="check" v-if="type==3"/>
<image src="../../static/nocheck.png" mode="widthFix" class="check" v-else/>
</view>
</view>
</view>
<view class="submit">确认支付(¥2560.00)</view>
<view class="submit" @click="suremoney">确认支付(¥2560.00)</view>
</view>
</view>
</view>
</template>
<script>
import app from "../../App.vue";
export default {
data() {
return {};
return {
creditarr:[],
paycover:false,
borrow_order_id:'',
type:'',
money:''
};
},
onLoad() {
this.getmycredit()
},
methods: {
hidepay(){
this.paycover=false
},
methods: {}
selecttype(e){
this.type=e.currentTarget.dataset.id;
},
// 还款
paymoney(item){
console.log(item)
this.borrow_order_id=item.id,
this.paycover=true;
this.money=item.money
},
suremoney(){
let that = this;
var url = 'money/pay2';
var params = {
borrow_order_id:that.borrow_order_id,
return_type:that.type
}
console.log('7766554', params)
app.post(url, params).then((res) => {
console.log(res);
if(that.type == 2) {
// 支付宝支付
uni.requestPayment({
provider: 'alipay',
orderInfo: res.data.data.result,
success(r) {
console.log(r)
}
})
}else if(that.type == 1){
console.log(JSON.stringify(res.data.data.result));
let result=res.data.data.result;
let obj={};
obj.appid=result.appid;
obj.partnerid=result.mch_id;
obj.prepayid=result.prepay_id;
obj.timestamp=result.timestamp;
obj.noncestr=result.nonce_str;
obj.sign=result.sign;
obj.package='Sign=WXPay';
console.log(JSON.stringify(obj));
var str = JSON.stringify(obj);
let pay_data= {
"appid": "wx24f90adc1d2f4f3d",
"partnerid": "1579091771",
"prepayid": "wx29181909445973cc4d52be011695617700",
"timestamp": "1588155549",
"noncestr": "2FfYK6wKqvG5nj5f",
"package": "Sign=WXPay",
"sign": "AEF0D513D8B20B560C8638EDFDA9567D"
}
console.log(JSON.stringify(pay_data))
// var str = '{"appid": "wx24f90adc1d2f4f3d","partnerid": "1579091771","prepayid": "wx28163732591490e929f635151961570300","noncestr": "R4etAWk7ypn1L6xJ","package": "Sign=WXPay","sign": "A0A1ED1D7F7FC373FADB2C2E38DBE7AE"}'
// obj.result_code=result.result_code;
// obj.trade_type=result.trade_type;
// let pay_data="{\"appid\":\"wx24f90adc1d2f4f3d\",\"partnerid\":\"1555731861\",\"prepayid\":\"wx28161109417542347a6766cf1365829300\",\"timestamp\":\"1588060827\",\"noncestr\":\"9cyHOrhkdWyDBp2w\",\"package\":\"Sign=WXPay\",\"sign\":\"B69AB48D8D14F3E04F4898BDAA729578\"}"
// 微信支付
uni.requestPayment({
provider: 'wxpay',
orderInfo: JSON.stringify(pay_data), //微信、支付宝订单数据
success: function (res) {
console.log('success:' + JSON.stringify(res));
if(res.errMsg == 'requestPayment:ok') {
uni.showToast({
title: '支付成功'
})
}
},
fail: function (err) {
console.log('fail:' + JSON.stringify(err));
}
});
// uni.requestPayment({
// provider: 'wxpay',
// // orderInfo: res.data.data.result.prepay_id, //微信、支付宝订单数据
// orderInfo: JSON.stringify(obj),
// // timeStamp: String(Date.now()),
// // nonceStr: res.data.data.result.nonce_str,
// // package: "prepay_id="+res.data.data.result.prepay_id,
// // signType: 'MD5',
// // paySign: res.data.data.result.sign,
// ccess: function (res) {
// console.log('success:' + JSON.stringify(res));
// },
// fail: function (err) {
// console.log(err)
// console.log('fail:' + JSON.stringify(err));
// }
// });
}else{
uni.showToast({
title:'支付成功',
icon:'none'
})
setTimeout(function(){
uni.navigateBack({
checked:true
})
},1500)
}
}).catch((err) => {
console.log(err)
})
},
// 获取赊吧列表
getmycredit(){
let that = this;
var url = 'money/me_borrow';
var params = {
}
console.log('7766554', params)
app.post(url, params).then((res) => {
console.log(res);
that.creditarr=res.data.data
}).catch((err) => {
console.log(err)
})
}
}
};
</script>
... ... @@ -157,6 +321,7 @@ page {
font-weight:500;
color:rgba(91,94,100,1);
line-height:34rpx;
margin-left:30rpx;
}
.btn{
width:160rpx;
... ...
... ... @@ -374,8 +374,9 @@
.info {
width: 530rpx;
padding: 22rpx 0;
border-bottom: 1px solid #EEEEEE;
/* border-bottom: 1px solid #EEEEEE; */
box-sizing: border-box;
height:auto!important;
}
.word {
... ...
... ... @@ -16,6 +16,14 @@
<text>{{userinfo.nickname}}</text>
</view>
</view>
<view class="box" v-else>
<view class="title">到账用户信息</view>
<view class="userbox">
<image src="../../static/zhuanzhang.png" mode="widthFix" class="avator" />
<text>未找到该用户</text>
</view>
</view>
<view class="box">
<view class="title">转账金额</view>
<view class="fillArea">
... ... @@ -134,8 +142,12 @@
icon:"none"
})
setTimeout(function(){
uni.navigateBack({
checked:true
// uni.navigateBack({
// checked:true
// })
let userinfo=JSON.stringify(that.userinfo)
uni.navigateTo({
url:'/pages/usercenter/transferDetails?userinfo='+userinfo+'&money='+that.money
})
},1500)
... ... @@ -227,6 +239,7 @@
.avator {
width: 72rpx;
margin-right: 16rpx;
border-radius: 50%;
}
.fillArea {
... ...
... ... @@ -2,11 +2,11 @@
<view class="page">
<view class="box">
<view class="tipsword">转账详情</view>
<view class="money">¥200.00</view>
<view class="money">¥{{money}}</view>
<view class="peopleBox">
<text>收款人</text>
<image class="avator" src="../../static/userpic.png" mode="widthFix" />
<view class="ename">用户昵称昵称</view>
<image class="avator" :src="userinfo.avatar" mode="widthFix" />
<view class="ename">{{userinfo.nickname}}</view>
</view>
</view>
</view>
... ... @@ -16,11 +16,18 @@
export default {
data() {
return {
userinfo:'',
money:''
}
},
onLoad(options) {
console.log(options)
this.userinfo=JSON.parse(options.userinfo);
this.money=options.money;
},
methods: {
}
}
</script>
... ... @@ -66,4 +73,7 @@
margin-left: 40rpx;
margin-right: 20rpx;
}
.avator{
border-radius: 50%;
}
</style>
... ...
var isReady=false;var onReadyCallbacks=[];
var __uniConfig = {"pages":["pages/homepage/homepage","pages/login/loginindex","pages/usercenter/cardrenzheng","pages/homepage/map","pages/homepage/map","pages/usercenter/fenxiaomyteam","pages/usercenter/fenxiaotidetail","pages/usercenter/fenxiaodingdan","pages/usercenter/fenxiaoyongjin","pages/usercenter/myfenxiao","pages/nearshop/allprovince","pages/usercenter/orderdetail","pages/nearshop/selectcoupon","pages/nearshop/cartbox","pages/nearshop/cartlist","pages/homepage/collectshop","pages/luntan/examineresult","pages/luntan/examintext","pages/luntan/examine","pages/nearshop/sureorder","pages/login/accountpassword","pages/login/registercode","pages/homepage/mygift","pages/homepage/drawlottery","pages/login/finishregister","pages/homepage/miaosha","pages/luntan/luntan","pages/luntan/addcontract","pages/luntan/luntandetail","pages/luntan/luntandetailsecond","pages/luntan/luntanlist","pages/luntan/luntanpage","pages/nearshop/goodtail","pages/nearshop/shopdetail","pages/usercenter/companyshenhe","pages/usercenter/usercenter","pages/nearshop/nearshop","pages/homepage/goodkind","pages/homepage/jifenshop","pages/homepage/shoplist","pages/homepage/search","pages/login/xieyi","pages/login/setmima","pages/login/register","pages/login/forgetmima","pages/index/index","pages/usercenter/setPassword","pages/usercenter/accountDetails","pages/usercenter/recharge","pages/usercenter/transferAccounts","pages/usercenter/transferDetails","pages/usercenter/cashOut","pages/usercenter/account","pages/usercenter/withdrawalsRecord","pages/usercenter/addCard","pages/usercenter/editCard","pages/usercenter/myCredit","pages/usercenter/myIntegral","pages/usercenter/myCoupon","pages/usercenter/myPublish","pages/usercenter/myOrder","pages/usercenter/shopEvaluate","pages/usercenter/sales","pages/usercenter/myAchievement","pages/usercenter/myCustomer","pages/usercenter/my","pages/usercenter/wallet","pages/usercenter/setUp","pages/usercenter/setUp","pages/usercenter/myIntegral","pages/usercenter/myCoupon","pages/usercenter/myPublish","pages/usercenter/sales","pages/usercenter/personalData","pages/usercenter/address","pages/usercenter/addAddress","pages/usercenter/myCredit","pages/usercenter/myOrder","pages/usercenter/shopEvaluate","pages/usercenter/myAchievement","pages/usercenter/myCustomer"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#fff","backgroundColor":"#fff"},"renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"zhongmian","compilerVersion":"2.6.15","entryPagePath":"pages/homepage/homepage","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniConfig = {"pages":["pages/homepage/homepage","pages/login/loginindex","pages/usercenter/cardrenzheng","pages/homepage/map","pages/homepage/map","pages/usercenter/fenxiaomyteam","pages/usercenter/fenxiaotidetail","pages/usercenter/fenxiaodingdan","pages/usercenter/fenxiaoyongjin","pages/usercenter/myfenxiao","pages/nearshop/allprovince","pages/usercenter/orderdetail","pages/nearshop/selectcoupon","pages/nearshop/cartbox","pages/nearshop/cartlist","pages/homepage/collectshop","pages/luntan/examineresult","pages/luntan/examintext","pages/luntan/examine","pages/nearshop/sureorder","pages/login/accountpassword","pages/login/registercode","pages/homepage/mygift","pages/homepage/drawlottery","pages/login/finishregister","pages/homepage/miaosha","pages/luntan/luntan","pages/luntan/addcontract","pages/luntan/luntandetail","pages/luntan/luntandetailsecond","pages/luntan/luntanlist","pages/luntan/luntanpage","pages/nearshop/goodtail","pages/nearshop/shopdetail","pages/usercenter/companyshenhe","pages/usercenter/usercenter","pages/nearshop/nearshop","pages/homepage/goodkind","pages/homepage/jifenshop","pages/homepage/shoplist","pages/homepage/search","pages/login/xieyi","pages/login/setmima","pages/login/register","pages/login/forgetmima","pages/index/index","pages/usercenter/setPassword","pages/usercenter/accountDetails","pages/usercenter/recharge","pages/usercenter/transferAccounts","pages/usercenter/transferDetails","pages/usercenter/cashOut","pages/usercenter/account","pages/usercenter/withdrawalsRecord","pages/usercenter/addCard","pages/usercenter/editCard","pages/usercenter/myCredit","pages/usercenter/myIntegral","pages/usercenter/myCoupon","pages/usercenter/myPublish","pages/usercenter/myOrder","pages/usercenter/shopEvaluate","pages/usercenter/sales","pages/usercenter/myAchievement","pages/usercenter/myCustomer","pages/usercenter/my","pages/usercenter/wallet","pages/usercenter/setUp","pages/usercenter/setUp","pages/usercenter/myIntegral","pages/usercenter/myCoupon","pages/usercenter/myPublish","pages/usercenter/sales","pages/usercenter/personalData","pages/usercenter/address","pages/usercenter/addAddress","pages/usercenter/myCredit","pages/usercenter/myOrder","pages/usercenter/shopEvaluate","pages/usercenter/myAchievement","pages/usercenter/myCustomer"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#fff","backgroundColor":"#fff"},"renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"zhongmian","compilerVersion":"2.6.16","entryPagePath":"pages/homepage/homepage","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniRoutes = [{"path":"/pages/homepage/homepage","meta":{"isQuit":true},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#C29445","navigationBarTextStyle":"white","navigationStyle":"custom","bounce":"none"}},{"path":"/pages/login/loginindex","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/cardrenzheng","meta":{},"window":{"navigationBarTitleText":"身份认证","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/map","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/fenxiaomyteam","meta":{},"window":{"navigationBarTitleText":"我的团队","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/fenxiaotidetail","meta":{},"window":{"navigationBarTitleText":"提现明细","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/fenxiaodingdan","meta":{},"window":{"navigationBarTitleText":"分销订单","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/fenxiaoyongjin","meta":{},"window":{"navigationBarTitleText":"分销佣金","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myfenxiao","meta":{},"window":{"navigationBarTitleText":"我的分销","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/allprovince","meta":{},"window":{"navigationBarTitleText":"全部省份","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/orderdetail","meta":{},"window":{"navigationBarTitleText":"订单详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/selectcoupon","meta":{},"window":{"navigationBarTitleText":"选择优惠券","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/cartbox","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/cartlist","meta":{},"window":{"navigationBarTitleText":"购物车","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/collectshop","meta":{},"window":{"navigationBarTitleText":"店铺收藏","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/examineresult","meta":{},"window":{"navigationBarTitleText":"等级考试","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/examintext","meta":{},"window":{"navigationBarTitleText":"等级考试","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/examine","meta":{},"window":{"navigationBarTitleText":"等级考试","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/sureorder","meta":{},"window":{"navigationBarTitleText":"订单详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/accountpassword","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/registercode","meta":{},"window":{"navigationBarTitleText":"注册","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/mygift","meta":{},"window":{"navigationBarTitleText":"我的奖品","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/drawlottery","meta":{},"window":{"navigationBarTitleText":"抽奖专区","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/finishregister","meta":{},"window":{"navigationBarTitleText":"注册","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/miaosha","meta":{},"window":{"navigationBarTitleText":"秒杀商城","navigationBarBackgroundColor":"#C29445","navigationBarTextStyle":"white","titleNView":{"titleSize":"12"}}},{"path":"/pages/luntan/luntan","meta":{},"window":{"navigationBarTitleText":"论坛","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black","navigationStyle":"custom","bounce":"none"}},{"path":"/pages/luntan/addcontract","meta":{},"window":{"navigationBarTitleText":"发布帖子","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/luntandetail","meta":{},"window":{"navigationBarTitleText":"帖子详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/luntandetailsecond","meta":{},"window":{"navigationBarTitleText":"帖子详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/luntanlist","meta":{},"window":{"navigationBarTitleText":"帖子列表","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/luntanpage","meta":{},"window":{"navigationBarTitleText":"个人主页","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/goodtail","meta":{},"window":{"navigationBarTitleText":"商品详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/shopdetail","meta":{},"window":{"navigationBarTitleText":"店铺详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/companyshenhe","meta":{},"window":{"navigationBarTitleText":"企业会员申请","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/usercenter","meta":{},"window":{"navigationBarTitleText":"会员中心","navigationBarBackgroundColor":"#ECCB90","navigationBarTextStyle":"white"}},{"path":"/pages/nearshop/nearshop","meta":{},"window":{"navigationBarTitleText":"附近店铺","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/goodkind","meta":{},"window":{"navigationBarTitleText":"商品分类","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/jifenshop","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/shoplist","meta":{},"window":{"navigationBarTitleText":"商品列表","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/search","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"white","navigationStyle":"custom","bounce":"none"}},{"path":"/pages/login/xieyi","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/setmima","meta":{},"window":{"navigationBarTitleText":"设置密码","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/register","meta":{},"window":{"navigationBarTitleText":"注册","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/forgetmima","meta":{},"window":{"navigationBarTitleText":"重置密码","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/index/index","meta":{},"window":{"navigationBarTitleText":"uni-app"}},{"path":"/pages/usercenter/setPassword","meta":{},"window":{"navigationBarTitleText":"设置密码","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/accountDetails","meta":{},"window":{"navigationBarTitleText":"账户明细","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/recharge","meta":{},"window":{"navigationBarTitleText":"充值","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/transferAccounts","meta":{},"window":{"navigationBarTitleText":"转账","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/transferDetails","meta":{},"window":{"navigationBarTitleText":"转账详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/cashOut","meta":{},"window":{"navigationBarTitleText":"提现","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/account","meta":{},"window":{"navigationBarTitleText":"选择到账账户","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/withdrawalsRecord","meta":{},"window":{"navigationBarTitleText":"提现记录","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/addCard","meta":{},"window":{"navigationBarTitleText":"添加银行卡","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/editCard","meta":{},"window":{"navigationBarTitleText":"编辑银行卡","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myCredit","meta":{},"window":{"navigationBarTitleText":"我的赊吧","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myIntegral","meta":{},"window":{"navigationBarTitleText":"我的积分","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myCoupon","meta":{},"window":{"navigationBarTitleText":"我的优惠券","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myPublish","meta":{},"window":{"navigationBarTitleText":"我的发布","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myOrder","meta":{},"window":{"navigationBarTitleText":"我的订单","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/shopEvaluate","meta":{},"window":{"navigationBarTitleText":"商品评价","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/sales","meta":{},"window":{"navigationBarTitleText":"销售管理","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myAchievement","meta":{},"window":{"navigationBarTitleText":"我的业绩","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myCustomer","meta":{},"window":{"navigationBarTitleText":"我的客户","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/my","meta":{},"window":{"navigationBarTitleText":"我的","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/wallet","meta":{},"window":{"navigationBarTitleText":"我的钱包","navigationBarBackgroundColor":"#C29445","navigationBarTextStyle":"white"}},{"path":"/pages/usercenter/setUp","meta":{},"window":{"navigationBarTitleText":"设置","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/personalData","meta":{},"window":{"navigationBarTitleText":"个人资料","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/address","meta":{},"window":{"navigationBarTitleText":"地址管理","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/addAddress","meta":{},"window":{"navigationBarTitleText":"新增收货地址","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}}];
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});
... ...
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__86EF000","name":"zhongmian","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"FaceID":{},"Payment":{},"Maps":{"coordType":"gcj02"},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#fff"},"usingComponents":true,"nvueCompiler":"uni-app","distribute":{"google":{"permissions":["<uses-feature android:name=\"android.hardware.camera\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>","<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.CALL_PHONE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.INTERNET\"/>","<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>","<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{},"plugins":{"payment":{"alipay":{},"weixin":{"appid":"wx24f90adc1d2f4f3d","UniversalLinks":""}},"ad":{},"maps":{"amap":{"appkey_ios":"39ab1cc4587cc0c5f21f25054c59bb18","appkey_android":"01d25fb8343d7ce5040bc32cb3e5379f"}},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"2.6.15","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"launch_path":"__uniappview.html"}}
\ No newline at end of file
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__86EF000","name":"zhongmian","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"FaceID":{},"Payment":{},"Maps":{"coordType":"gcj02"},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#fff"},"usingComponents":true,"nvueCompiler":"uni-app","distribute":{"google":{"permissions":["<uses-feature android:name=\"android.hardware.camera\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>","<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.CALL_PHONE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.INTERNET\"/>","<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>","<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{},"plugins":{"payment":{"alipay":{},"weixin":{"appid":"wx24f90adc1d2f4f3d","UniversalLinks":""}},"ad":{},"maps":{"amap":{"appkey_ios":"39ab1cc4587cc0c5f21f25054c59bb18","appkey_android":"01d25fb8343d7ce5040bc32cb3e5379f"}},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"2.6.16","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"launch_path":"__uniappview.html"}}
\ No newline at end of file
... ...