@21.03.19

master
十七 5 years ago
parent 73005d0fc8
commit 805961ef68

@ -0,0 +1,11 @@
{ // launch.json configurations app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
// launchtypelocalremote, localremote
"version": "0.0",
"configurations": [{
"type": "uniCloud",
"default": {
"launchtype": "remote"
}
}
]
}

@ -15,9 +15,7 @@
<style>
@import "./colorui/main.css";
@import "./colorui/icon.css";
/*每个页面公共css */
.empty {
width: 100%;
margin-bottom: 20upx;
@ -26,10 +24,8 @@
text-align: center;
color: #bfbfbf;
}
.empty-text {
width: 100%;
text-align: center;
}
</style>

@ -179,7 +179,7 @@ export default{
return `${date.getFullYear()}/${this.prefixZero(date.getMonth() + 1)}/${this.prefixZero(date.getDate())}`
},
updateFebruarydays(year){
// created
// onshow
if(year%4==0&&year%100!=0||year%400==0){
this.monthDaysArray[1] = 29
}else{
@ -274,7 +274,7 @@ export default{
this.show = true
}
},
created() {
onShow:function() {
this.getCalendar()
}
}

@ -0,0 +1,158 @@
<template>
<view class="pathway on-pathway" @touchend="onEnd">
<view class="tips">
<text v-if="isOk" style="color: #FFFFFF;"></text>
<text v-else></text>
</view>
<view class="track" :style="{'transform':'translateX('+oldx+'px)'}"></view>
<movable-area :animation="true">
<movable-view class="on-track" :class="{'active':isOk}"
:x="x" direction="horizontal" @change="onMove"
:disabled="isOk"
></movable-view>
</movable-area>
</view>
</template>
<script>
export default {
name: 'move-verify',
data() {
return {
x: 0,
oldx:0,
isOk: false,
size: {},
count:0,
isMove:false
};
},
mounted() {
let getSize = (selector) => {
return new Promise((resolve, reject) => {
let view = uni.createSelectorQuery().in(this).select(selector);
view.fields({
size: true,
}, (res) => {
resolve(res.width);
}).exec();
});
}
this.$nextTick(() => {
getSize(".on-pathway").then((res1) => {
this.size.pathway = res1;
getSize(".on-track").then((res2) => {
this.size.track = res2;
});
})
})
},
methods: {
/* 滑动中 */
onMove(e) {
this.oldx = e.detail.x;
},
/* 滑动结束 */
onEnd() {
if (this.isOk || this.oldx<1) {
return;
}
this.count++;
this.x = this.oldx;
if ((this.oldx + 3) > (this.size.pathway - this.size.track)) {
this.isOk = true;
this.$emit("result",{flag:true,count:this.count});
} else {
this.$nextTick(() => {
setTimeout(() => {
this.x = 0;
this.oldx = 0;
}, 100);
});
this.$emit("result",{flag:false,count:this.count});
}
},
/* 重置 */
reset(){
this.x = 0;
this.oldx = 0;
this.count = 0;
this.isOk = false;
}
}
}
</script>
<style scoped lang="scss">
.pathway {
height: 80rpx;
width: 100%;
background-color: #7ac23c;
position: relative;
overflow: hidden;
/* 提示信息 */
.tips {
position: absolute;
top: 0;
left: 0;
width: 100%;
line-height: 80rpx;
text-align: center;
color: #666;
font-size: 32rpx;
z-index: 3;
}
/* 滑动轨道 */
.track {
position: absolute;
top: 0;
left: 0;
background-color: #eeeeee;
width: 100%;
height: 100%;
padding-left: 0;
box-sizing: content-box;
transform: translateX(0);
}
movable-area {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background: none;
z-index: 5;
}
movable-view {
height: 100%;
width: 100rpx;
box-sizing: border-box;
background-color: #fff;
border: #dddddd solid 1px;
background-position: center;
background-repeat: no-repeat;
background-size: auto 32rpx;
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0ZDhlNWY5My05NmI0LTRlNWQtOGFjYi03ZTY4OGYyMTU2ZTYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NTEyNTVEMURGMkVFMTFFNEI5NDBCMjQ2M0ExMDQ1OUYiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NTEyNTVEMUNGMkVFMTFFNEI5NDBCMjQ2M0ExMDQ1OUYiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo2MTc5NzNmZS02OTQxLTQyOTYtYTIwNi02NDI2YTNkOWU5YmUiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NGQ4ZTVmOTMtOTZiNC00ZTVkLThhY2ItN2U2ODhmMjE1NmU2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+YiRG4AAAALFJREFUeNpi/P//PwMlgImBQkA9A+bOnfsIiBOxKcInh+yCaCDuByoswaIOpxwjciACFegBqZ1AvBSIS5OTk/8TkmNEjwWgQiUgtQuIjwAxUF3yX3xyGIEIFLwHpKyAWB+I1xGSwxULIGf9A7mQkBwTlhBXAFLHgPgqEAcTkmNCU6AL9d8WII4HOvk3ITkWJAXWUMlOoGQHmsE45ViQ2KuBuASoYC4Wf+OUYxz6mQkgwAAN9mIrUReCXgAAAABJRU5ErkJggg==");
}
movable-view.active {
border: #7ac23c solid 1px;
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0ZDhlNWY5My05NmI0LTRlNWQtOGFjYi03ZTY4OGYyMTU2ZTYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDlBRDI3NjVGMkQ2MTFFNEI5NDBCMjQ2M0ExMDQ1OUYiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDlBRDI3NjRGMkQ2MTFFNEI5NDBCMjQ2M0ExMDQ1OUYiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDphNWEzMWNhMC1hYmViLTQxNWEtYTEwZS04Y2U5NzRlN2Q4YTEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NGQ4ZTVmOTMtOTZiNC00ZTVkLThhY2ItN2U2ODhmMjE1NmU2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+k+sHwwAAASZJREFUeNpi/P//PwMyKD8uZw+kUoDYEYgloMIvgHg/EM/ptHx0EFk9I8wAoEZ+IDUPiIMY8IN1QJwENOgj3ACo5gNAbMBAHLgAxA4gQ5igAnNJ0MwAVTsX7IKyY7L2UNuJAf+AmAmJ78AEDTBiwGYg5gbifCSxFCZoaBMCy4A4GOjnH0D6DpK4IxNSVIHAfSDOAeLraJrjgJp/AwPbHMhejiQnwYRmUzNQ4VQgDQqXK0ia/0I17wJiPmQNTNBEAgMlQIWiQA2vgWw7QppBekGxsAjIiEUSBNnsBDWEAY9mEFgMMgBk00E0iZtA7AHEctDQ58MRuA6wlLgGFMoMpIG1QFeGwAIxGZo8GUhIysmwQGSAZgwHaEZhICIzOaBkJkqyM0CAAQDGx279Jf50AAAAAABJRU5ErkJggg==");
}
/* 禁止 */
.disabled {
position: absolute;
z-index: 10;
height: 100%;
width: 100%;
top: 0;
left: 0;
}
}
</style>

@ -113,7 +113,7 @@
default:() => '上传图片',
},
},
created(){
onShow:function(){
this.reset()
},
mounted(){

@ -72,5 +72,11 @@
},
"uniStatistics" : {
"enable" : false
},
"h5" : {
"devServer" : {
"https" : false,
"port" : ""
}
}
}

@ -14,7 +14,7 @@ module.exports = {
},
//会员修改密码
changepassword(data){
return request('/demay/ssm/memberLogin/changePassword','post',data);
return request('/demay/ssm/memberLogin/changePassword','post',data);
},
//查询会员门店我的卡包-充值卡
recAccountlist(data){
@ -36,10 +36,20 @@ module.exports = {
selectByMember(data){
return request('/demay/ssm/memberCs/selectByMember','post',data);
},
selectProgress(data){
return request('/demay/ssm/memberCs/selectProgress','post',data);
},
// 会员查询消费记录进行疗程跟踪反馈 (会员小程序-会员查询消费记录进行疗程跟踪反馈)
// 门店会员修改信息 会员端-门店会员修改信息
editmemberCs(data){
return request('/demay/ssm/memberCs/update','post',data);
},
// 门店会员跟踪反馈添加 会员微信小程序-门店会员跟踪反馈添加
addProjectProgress(data){
return request('/demay/ssm/memberCs/addProjectProgress','post',data);
},
/** --------------------------------员工 -------------------------------------------------------*/

@ -5,6 +5,7 @@
"style": {
"navigationBarTitleText": "我的",
"navigationBarBackgroundColor": "#e83131",
"enablePullDownRefresh": true,
"app-plus": {
"bounce": "vertical",
"titleNView": {
@ -150,8 +151,15 @@
}, {
"path": "pages/tabBar/myHome/client-follow/client-follow",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
"navigationBarBackgroundColor": "#e83131",
"navigationBarTitleText": "客户跟进",
"enablePullDownRefresh": false,
"app-plus": {
"bounce": "vertical",
"titleNView": {
"titleColor": "#eeeeee"
}
}
}
}, {
@ -181,7 +189,6 @@
}
}
}
}, {
"path": "pages/tabBar/myHome/sales-commission/last-month/last-month",
"style": {
@ -243,6 +250,19 @@
"style": {
"navigationBarBackgroundColor": "#e83131",
"navigationBarTitleText": "今日之星",
"enablePullDownRefresh": true,
"app-plus": {
"bounce": "vertical",
"titleNView": {
"titleColor": "#eeeeee"
}
}
}
}, {
"path": "pages/tabBar/myHome/reservation/reservation",
"style": {
"navigationBarBackgroundColor": "#e83131",
"navigationBarTitleText": "预约服务",
"enablePullDownRefresh": false,
"app-plus": {
"bounce": "vertical",
@ -251,56 +271,52 @@
}
}
}
}
,{
"path" : "pages/tabBar/myHome/reservation/reservation",
"style": {
"navigationBarBackgroundColor": "#e83131",
"navigationBarTitleText": "我的预约",
"enablePullDownRefresh": false,
"app-plus": {
"bounce": "vertical",
"titleNView": {
"titleColor": "#eeeeee"
}
}
}
}
,{
"path" : "pages/tabBar/myHome/service-feedback/service-feedback",
"style": {
"navigationBarBackgroundColor": "#e83131",
"navigationBarTitleText": "服务反馈",
"enablePullDownRefresh": false,
"app-plus": {
"bounce": "vertical",
"titleNView": {
"titleColor": "#eeeeee"
}
}
}
}
,{
"path" : "pages/tabBar/myHome/service-feedback/feedback/feedback",
"style": {
"navigationBarBackgroundColor": "#e83131",
"navigationBarTitleText": "反馈意见",
"enablePullDownRefresh": false
}
}
,{
"path" : "pages/tabBar/mySet/common/message/edit-message/edit-message",
"style" :
{
}, {
"path": "pages/tabBar/myHome/service-feedback/service-feedback",
"style": {
"navigationBarBackgroundColor": "#e83131",
"navigationBarTitleText": "修改信息",
"enablePullDownRefresh": false
}
}
],
"navigationBarTitleText": "服务反馈",
"enablePullDownRefresh": false,
"app-plus": {
"bounce": "vertical",
"titleNView": {
"titleColor": "#eeeeee"
}
}
}
}, {
"path": "pages/tabBar/myHome/service-feedback/feedback/feedback",
"style": {
"navigationBarBackgroundColor": "#e83131",
"navigationBarTitleText": "反馈意见",
"enablePullDownRefresh": false
}
}, {
"path": "pages/tabBar/mySet/common/message/edit-message/edit-message",
"style": {
"navigationBarBackgroundColor": "#e83131",
"navigationBarTitleText": "修改信息",
"enablePullDownRefresh": false
}
}, {
"path": "pages/tabBar/myHome/reservation/resevation-project/resevation-project",
"style": {
"navigationBarBackgroundColor": "#e83131",
"navigationBarTitleText": "填写预约信息",
"enablePullDownRefresh": false,
"app-plus": {
"bounce": "vertical",
"titleNView": {
"titleColor": "#eeeeee"
}
}
}
}
],
"globalStyle": {
"navigationBarTextStyle": "white",
"navigationBarTitleText": "uni-app",
@ -312,7 +328,6 @@
"selectedColor": "#e83131",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"fontSize":"24px",
"list": [{
"pagePath": "pages/tabBar/myHome/myHome",
"iconPath": "static/image/home.png",
@ -323,7 +338,7 @@
"iconPath": "static/image/my.png",
"selectedIconPath": "static/image/my-select.png",
"text": "我的"
}]
}

@ -3,13 +3,12 @@
<view class="avatorWrapper">
<view class="avator">
<image class="img" src="../../static/image/mySet1.png" mode="widthFix"></image>
</view>
</view>
<view class="switch_login">
<text v-if="!memberShow" @click="memberShow=true,form.mobilePhone=18300700324"></text>
<text v-else @click="memberShow=false,form.mobilePhone=18300100000"></text>
<text v-else @click="memberShow=false,form.memberNum='00100012',form.mobilePhone=18300700324"></text>
<!-- <text >员工登录</text> -->
</view>
<view class="form">
<view class="inputWrapper" v-if="!memberShow">
@ -37,12 +36,12 @@
export default {
data() {
return {
title: 'Hello',
memberShow: false,
memberShow: true,
form: {
memberNum: '00100003',
mobilePhone: '18300100000',
password: '000000',
memberNum: '',
mobilePhone: '18300700324',
password: '123456',
}
}
},
@ -54,6 +53,7 @@
this.$api.login(this.form).then(res => {
if (res.code == '000000') {
let user = 0//
res.data.mobilePhone = this.form.mobilePhone
res.data.user = user
uni.setStorageSync('userInfo', res.data)
setTimeout(function() {
@ -81,6 +81,7 @@
console.log(res)
if (res.code == '000000') {
let user = 1//
res.data.mobilePhone = this.form.mobilePhone
res.data.user = user
uni.setStorageSync('userInfo', res.data)
setTimeout(function() {
@ -103,7 +104,7 @@
}
},
created: function() {}
onShow: function() {}
}
</script>
<style>

@ -138,9 +138,11 @@
},
created() {
// uni.navigateBack()
onShow:function() {
setTimeout(function() {
uni.navigateBack()
}, 100);
}
}
</script>

@ -157,7 +157,7 @@
},
created() {
onShow:function() {
this.newdate = new Date()
this.selectMemberCsByStaff()
}

@ -64,7 +64,7 @@
<view>
</view>
</view>
<view class='main' v-if='userInfo.user==0' style="margin-top: 40upx;">
<view class='main' v-if='userInfo.user==0' style="margin-top: 40upx;">
<view class="cu-list grid ">
<navigator url='./all-powerful/all-powerful' class="cu-item">
<view class="cuIcon-favorfill text-red"></view>
@ -91,7 +91,6 @@
return {
TabCur: 0,
userInfo: null,
hiddenShow: false,
};
},
methods: {
@ -99,29 +98,23 @@
this.TabCur = e.currentTarget.dataset.id * 1;
}
},
created() {
console.log(this.userInfo);
onShow:function() {
this.userInfo = uni.getStorageSync('userInfo')
// uni.reLaunch({
// url:'./all-powerful/all-powerful'
// })
if (this.userInfo.user == 1) {
this.hiddenShow = false
//
} else {
//
this.hiddenShow = true
}
uni.stopPullDownRefresh();
},
onPullDownRefresh() {
console.log('refresh');
setTimeout(function() {
// uni.showToast({
// title: '',
// duration: 1000
// });
uni.navigateTo({
url: './all-powerful/all-powerful'
})
uni.stopPullDownRefresh();
}, 1000);
}
}
</script>

@ -1,6 +1,112 @@
<template>
<view>
<!-- 预约服务 -->
<swiper class="card-swiper" :class="dotStyle?'square-dot':'round-dot'" :indicator-dots="true" :circular="true"
:autoplay="true" interval="100" duration="0" @change="cardSwiper" indicator-color="#8799a3" indicator-active-color="#0081ff">
<swiper-item v-for="(item,index) in swiperList" :key="index" :class="cardCur==index?'cur':''">
<view class="swiper-item">
<!-- <navigator :url="'resevation-project/resevation-project?item=' + JSON.stringify(item)"> -->
<image :src="item.url" mode="aspectFill" v-if="item.type=='image'"></image>
<video :src="item.url" autoplay loop muted :show-play-btn="false" :controls="false" objectFit="cover" v-if="item.type=='video'"></video>
<!-- </navigator> -->
</view>
</swiper-item>
</swiper>
<scroll-view scroll-x class="bg-white nav text-center" style="margin-top: 20upx;">
<view class="flex text-center">
<view class="cu-item light flex-sub" :class="[TabCur==1?'bg-red cur text-white':'']" @tap="tabSelect" :data-id="1">
卡内
</view>
<view class="cu-item light flex-sub" :class="[TabCur==2?'bg-red cur text-white':'']" @tap="tabSelect" :data-id="2">
新品
</view>
<view class="cu-item light flex-sub" :class="[TabCur==3?'bg-red cur text-white':'']" @tap="tabSelect" :data-id="3">
优惠
</view>
<view class="cu-item light flex-sub" :class="[TabCur==4?'bg-red cur text-white':'']" @tap="tabSelect" :data-id="4">
全部
</view>
</view>
</scroll-view>
<view class="bg-white" v-show="TabCur==1">
<view class="experience-title bg-gray">卡内项目</view>
<view class="experience" v-for="(item,index) in experiencelist" :key="index" @click="setTitle" data-projectId="item.projectId"
data-projectNum="item.projectNum" data-title="item.projectName">
<view class="experience-img">
<image src="../../../../static/image/95327411_1.jpg"></image>
</view>
<view class="experience-content">
<view class="experience-name">{{item.projectname}}</view>
<view class="experience-explain">介绍{{item.explain}}</view>
<view class="experience-price">体验价
<text>{{item.price}}</text>
</view>
</view>
<view class="experience-icon">
<text class="cuIcon-right"></text>
</view>
</view>
</view>
<view class="bg-white" v-show="TabCur==2">
<view class="experience-title bg-gray">新品推荐</view>
<view class="experience" v-for="(item,index) in experiencelist" :key="index" @click="setTitle" data-projectId="item.projectId"
data-projectNum="item.projectNum" data-title="item.projectName">
<view class="experience-img">
<image src="../../../../static/image/95327411_1.jpg"></image>
</view>
<navigator url="./resevation-project/resevation-project">
<view class="experience-content">
<view class="experience-name">{{item.projectname}}</view>
<view class="experience-explain">介绍{{item.explain}}</view>
<view class="experience-price">体验价
<text>{{item.price}}</text>
</view>
</view>
</navigator>
<view class="experience-icon">
<text class="cuIcon-right"></text>
</view>
</view>
</view>
<view class="bg-white" v-show="TabCur==3">
<view class="experience-title bg-gray">限时优惠</view>
<view class="experience" v-for="(item,index) in experiencelist" :key="index" @click="setTitle" data-projectId="item.projectId"
data-projectNum="item.projectNum" data-title="item.projectName">
<view class="experience-img">
<image src="../../../../static/image/95327411_1.jpg"></image>
</view>
<view class="experience-content">
<view class="experience-name">{{item.projectname}}</view>
<view class="experience-explain">介绍{{item.explain}}</view>
<view class="experience-price">体验价
<text>{{item.price}}</text>
</view>
</view>
<view class="experience-icon">
<text class="cuIcon-right"></text>
</view>
</view>
</view>
<view class="bg-white" v-show="TabCur==4">
<view class="experience-title bg-gray">门店项目</view>
<view class="experience" v-for="(item,index) in experiencelist" :key="index" @click="setTitle" data-projectId="item.projectId"
data-projectNum="item.projectNum" data-title="item.projectName">
<view class="experience-img">
<image src="../../../../static/image/95327411_1.jpg"></image>
</view>
<view class="experience-content">
<view class="experience-name">{{item.projectname}}</view>
<view class="experience-explain">介绍{{item.explain}}</view>
<view class="experience-price">体验价
<text>{{item.price}}</text>
</view>
</view>
<view class="experience-icon">
<text class="cuIcon-right"></text>
</view>
</view>
</view>
</view>
</template>
@ -8,15 +114,161 @@
export default {
data() {
return {
reservationForm: {},
dotStyle: false,
cardCur: 1,
TabCur: 1,
//
swiperList: [{
id: 1,
type: 'image',
url: "../../../../static/image/95327411_1.jpg"
},
{
id: 2,
type: 'image',
url: "../../../../static/image/95327411_2.jpg"
},
{
id: 3,
type: 'image',
url: "../../../../static/image/95327411_3.jpg"
},
{
id: 4,
type: 'image',
url: "../../../../static/image/95327411_4.jpg"
},
{
id: 5,
type: 'image',
url: "../../../../static/image/95327411_5.jpg"
},
{
id: 6,
type: 'image',
url: "../../../../static/image/95327411_6.jpg"
},
{
id: 7,
type: 'image',
url: "../../../../static/image/95327411_7.jpg"
},
{
id: 8,
type: 'image',
url: "../../../../static/image/95327411_8.jpg"
},
{
id: 9,
type: 'image',
url: "../../../../static/image/95327411_9.jpg"
}
],
experiencelist: [{
projectname: "精品美容A套餐",
explain: "精品美容,你的明智之选,限时推出的新品,全新的体验,全新的美容方式",
price: 188
}, {
projectname: "精品美容B套餐",
explain: "精品美容,你的明智之选,限时推出的新品,全新的体验,全新的美容方式",
price: 288
}, {
projectname: "精品美容C套餐",
explain: "精品美容,你的明智之选,限时推出的新品,全新的体验,全新的美容方式",
price: 588
}]
}
},
methods: {
cardSwiper(e) {
this.cardCur = e.detail.current
},
tabSelect(e) {
this.TabCur = e.currentTarget.dataset.id * 1;
},
setTitle() {
}
},
onLoad: function(option) {
if (option.item != undefined) {
const item = JSON.parse(option.item);
this.reservationForm = item
}
},
onShow: function() {
console.log(this.reservationForm);
// this.swiperList.forEach()
this.swiperList.reverse()
this.swiperList = [...this.swiperList, ...this.swiperList.reverse()]
}
}
</script>
<style>
.experience-title {
height: 100rpx;
text-align: center;
line-height: 100rpx;
font-size: 34rpx;
/* font-weight: 550; */
}
/* 推荐疗程 */
.experience {
width: 750rpx;
height: 150rpx;
display: flex;
/* align-items: center; */
border-bottom: 1px solid #eee;
padding: 20rpx 15rpx;
}
.experience-img {
width: 135rpx;
}
.experience-img image {
width: 110rpx;
height: 110rpx;
}
.experience-content {
width: 575rpx;
height: 110rpx;
}
.experience-name {
height: 40rpx;
font-size: 30rpx;
}
.experience-explain {
height: 36rpx;
font-size: 26rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #505050;
}
.experience-price {
height: 24rpx;
font-size: 26rpx;
}
.experience-price text {
color: red;
font-weight: 550;
}
.experience-icon {
width: 30rpx;
display: flex;
align-items: center;
color: #ccc;
}
</style>

@ -0,0 +1,79 @@
<template>
<view>
<form>
<view class="cu-form-group margin-top">
<view class="title">预约项目</view>
<text>{{reseForm.projectName}}</text>
</view>
<view class="cu-form-group margin-top">
<view class="title">项目价格</view>
<text class="text-price text-red">{{reseForm.peojectMoney}}</text>
</view>
<view class="cu-form-group margin-top">
<view class="title">会员信息</view>
<text >{{reseForm.memberInfo}}</text>
</view>
<view class="cu-form-group">
<view class="title">日期选择</view>
<picker mode="date" :value="reseForm.dateDay" start="09:01" end="21:01" @change="TimeChange">
<view class="picker">
{{reseForm.dateDay}}
</view>
</picker>
</view>
<view class="cu-form-group">
<view class="title">时间选择</view>
<picker mode="time" :value="reseForm.dateTime" start="2015-09-01" end="2020-09-01" @change="DateChange">
<view class="picker">
{{reseForm.dateTime}}
</view>
</picker>
</view>
<view class="cu-form-group margin-top">
<view class="title">备注</view>
</view>
<view class="cu-form-group ">
<textarea maxlength="-1" :disabled="reseForm.remark!=null" @input="textareaAInput" placeholder="在这里填写你的备注"></textarea>
</view>
<button class="cu-btn bg-green shadow-blur round lg" style="width: 90%;margin: 50upx 5%;" type="warn">提交预约</button>
</form>
</view>
</template>
<script>
export default {
data() {
return {
reseForm: {
projectName: "精品美容A套餐",
peojectMoney: 188,
memberInfo: '刘乐乐 - 男',
dateTime: "10:00",
dateDay: "2021-04-01",
remark: null,
},
}
},
methods: {
textareaAInput(e) {
this.reseForm.remark = e.detail.value
},
TimeChange(e) {
this.reseForm.dateDay = e.detail.value
},
DateChange(e) {
this.reseForm.dateTime = e.detail.value
},
},
onLoad: function(option) {
if (option.item != undefined) {
const item = JSON.parse(option.item);
this.reservationForm = item
}
},
}
</script>
<style>
</style>

@ -64,7 +64,7 @@
})
}
},
created() {
onShow:function() {
this.userInfo = uni.getStorageSync('userInfo')
},

@ -67,10 +67,10 @@
},
onLoad(option) {
console.log(option.item);
// if (option.item != {}) {
// const item = JSON.parse(option.item);
// this.form = item
// }
if (option.item != {}) {
const item = JSON.parse(option.item);
this.form = item
}
}
}
</script>

@ -3,16 +3,16 @@
<view>
<scroll-view scroll-x class="bg-white nav text-center">
<view class="cu-item light flex-sub" :class="[TabCur==0?'bg-red text-white':'']" @tap="tabSelect" :data-id="0">
<view class="cu-item light flex-sub" :class="[TabCur==0?'bg-red cur text-white':'']" @tap="tabSelect" :data-id="0">
上月
</view>
<view class="cu-item light flex-sub" :class="[TabCur==1?'bg-red text-white':'']" @tap="tabSelect" :data-id="1">
<view class="cu-item light flex-sub" :class="[TabCur==1?'bg-red cur text-white':'']" @tap="tabSelect" :data-id="1">
昨天
</view>
<view class="cu-item light flex-sub" :class="[TabCur==2?'bg-red text-white':'']" @tap="tabSelect" :data-id="2">
<view class="cu-item light flex-sub" :class="[TabCur==2?'bg-red cur text-white':'']" @tap="tabSelect" :data-id="2">
今天
</view>
<view class="cu-item light flex-sub" :class="[TabCur==3?'bg-red text-white':'']" @tap="tabSelect" :data-id="3">
<view class="cu-item light flex-sub" :class="[TabCur==3?'bg-red cur text-white':'']" @tap="tabSelect" :data-id="3">
本月
</view>
</scroll-view>
@ -251,7 +251,7 @@
this.$api.achiCommList(form).then(res => {
if (res.code == '000000') {
if (this.TabCur == 0) {
//
/**上月数据*/
res.rows.forEach(item => {
this.lastMonthAchi += item.achievementAmount
this.lastMonthComm += item.commissionAmount
@ -284,7 +284,7 @@
},
},
created() {
onShow:function() {
this.userInfo = uni.getStorageSync('userInfo')
this.achiCommList()
console.log(new Date());

@ -67,10 +67,10 @@
},
onLoad(option) {
console.log(option.item);
// if(option.item!={}){
// const item = JSON.parse(option.item);
// this.form = item
// }
if(option.item!={}){
const item = JSON.parse(option.item);
this.form = item
}
}
}
</script>

@ -3,37 +3,21 @@
<view class="cu-bar bg-white margin-top">
<view class="action">
<text class="cuIcon-titles text-red"></text>
<text>原效果</text>
<text>反馈意见</text>
</view>
</view>
<textarea class="texta" :value="oldinput" placeholder="请输入之前的效果" />
<textarea class="texta" :value="form.symptomatic" placeholder="请输入之前的效果" />
<view class="flex solid-bottom padding align-center">
<view v-for="(item,index) in beforelist" :key='index'>
<view v-for="(item,index) in before" :key='index'>
<view class="huiyuan_img">
<image style='width: 120upx;height: 120upx; ' :src="item.url" mode=""></image>
<text class="cuIcon-delete" @click="beforelist.splice(index,1)" style="position: absolute;bottom: 5upx;right: 5upx; color: #000000;"></text>
<text class="cuIcon-delete" @click="before.splice(index,1)" style="position: absolute;bottom: 5upx;right: 5upx; color: #000000;"></text>
</view>
</view>
<view class="cuIcon-add addiamge" @click="beforeupload" ></view>
</view>
<view class="cu-bar bg-white margin-top">
<view class="action">
<text class="cuIcon-titles text-red"></text>
<text>现在效果</text>
</view>
</view>
<textarea class="texta" :value="oldinput" placeholder="请输入之前的效果" />
<view class="flex solid-bottom padding align-center">
<view v-for="(item,index) in laterlist" :key='index'>
<view class="huiyuan_img">
<image style='width: 120upx;height: 120upx; ' :src="item.url" mode=""></image>
<text class="cuIcon-delete" @click="laterlist.splice(index,1)" style="position: absolute;bottom: 5upx;right: 5upx; color: #000000;"></text>
</view>
</view>
<view class="cuIcon-add addiamge" @click="laterupload" ></view>
</view>
<view class="sub-titles">
<button class="bg-red" > </button>
<button class="bg-red" @click="subit"> </button>
</view>
</view>
@ -41,59 +25,110 @@
<script>
import zhUpFile from '@/components/zh-upFile'
import host from "../../../../../utils/host.js"
export default {
components:{
},
data() {
return {
src:'',
imageList:[],
oldinput:"",
beforelist:[],
laterlist:[],
image:'blob:http://192.168.31.193:8080/5d05aa59-3036-46c0-9ae0-9f5b81261e9b',
before:[],
form:{
docNum:null,
docDate:null,
projectName:null,
projectId:null,
memberPhone:null,
feedBack:null,
}
}
},
methods: {
beforeupload:function(){
var that = this
uni.chooseImage({
count: 10, //9
sizeType: ['original', 'compressed'], //
sourceType: ['album'], //
success: function (res) {
console.log('res',res);
// that.src = res.tempFilePaths[0]
// console.log('src',that.src);
let image = []
res.tempFilePaths.forEach(item=>{
let items = {url:item}
image.push(items)
})
that.beforelist = [... that.beforelist ,...image]
}
});
subit:function(){
console.log(this.form);
const header = {}
header['content-type'] = 'application/x-www-form-urlencoded'
if(uni.getStorageSync('userInfo').token!=undefined){
header['token'] = uni.getStorageSync('userInfo').token
}
uni.request({
method:'post',
header:header,
url:host + '/demay/ssm/memberCs/addProjectProgress',
data:this.form,
withCredentials:true,
dataType:'json',
}).then((response) => {
console.log(response);
})
},
laterupload:function(){
beforeupload:function(){
var that = this
uni.chooseImage({
count: 10, //9
count: 5, //9
sizeType: ['original', 'compressed'], //
sourceType: ['album'], //
success: function (res) {
console.log('res',res);
// that.src = res.tempFilePaths[0]
// console.log('src',that.src);
let image = []
const header = {}
// header['content-type'] = 'application/x-www-form-urlencoded'
if(uni.getStorageSync('userInfo').token!=undefined){
header['token'] = uni.getStorageSync('userInfo').token
}
uni.uploadFile({
url: host + '/demay/ssm/memberCs/addProjectProgress', //
filePath: res.tempFilePaths[0],
header:header,
name: 'before',
formData:that.form,
success: (uploadFileRes) => {
console.log(uploadFileRes.data);
}
});
res.tempFilePaths.forEach(item=>{
let items = {url:item}
image.push(items)
})
that.laterlist = [... that.laterlist ,...image]
that.before = [... that.before ,...image]
}
});
},
onLoad :function(option){
if(option.item){
console.log(JSON.parse(option.item));
let form = JSON.parse(option.item)
let ids = ''
let names = ''
this.form.storeId = form.storeId
this.form.storeName = form.storeName
this.form.memberId = form.memberId
this.form.memberName = form.memberName
this.form.memberIdentity = form.memberIdentity
this.form.memberIdentity = null
this.form.memberPhone = uni.getStorageSync('userInfo').mobilePhone
this.form.projectId = form.projectId
this.form.projectName = form.projectName
this.form.docId = form.id
this.form.docNum = form.cashNum
this.form.docDate = form.cashDate
form.entities.forEach(item=>{
// ids = ids+item.saleStaffId +','
// names =names+ item.saleStaffName +','
ids = ids+item.saleStaffId
names =names+ item.saleStaffName
})
this.form.staffNames = names
this.form.staffIds = ids
}
}
}
}
</script>
@ -101,7 +136,8 @@
<style>
.texta{
padding: 10upx 5%;
height: 10vh;
width: 100%;
}
.texta view{
display: inline-block;

@ -2,9 +2,9 @@
<view>
<view class="cu-bar bg-white margin-top">
<view class="action">
<text class="cuIcon-title text-orange "></text> 选择时间
<text class="cuIcon-title text-orange " ></text> 选择时间
</view>
<view class="uni-list">
<view class="uni-list" style="padding-right: 10upx;">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<picker fields="month" mode="date" :value="date" :start="startDate" :end="endDate" @change="bindDateChange">
@ -49,8 +49,8 @@
</view>
</view>
<view class="item-goin">
<navigator :url="'./feedback/feedback?id='+item.id">
<button class=" cu-btn round bg-red">反馈</button>
<navigator :url="'./feedback/feedback?item='+ JSON.stringify(item) ">
<button class="btns cu-btn round bg-red">反馈</button>
</navigator>
</view>
</view>
@ -85,7 +85,10 @@
methods: {
bindDateChange: function(e) {
this.date = e.target.value
this.selectByMember()
this.pageSize = 10
this.pageNum = 1
this.list = []
this.selectProgress()
},
getDate(type) {
//
@ -101,7 +104,7 @@
month = month > 9 ? month : '0' + month;;
return `${year}-${month}`;
},
selectByMember() {
selectProgress() {
let date = this.date.replace(/[^0-9]/g, '')
let form = {
memberId: this.userInfo.id,
@ -109,10 +112,10 @@
selectDate: date,
pageSize: this.pageSize,
pageNum: this.pageNum,
isCancel: 0
isCancel: 0,
type:0,
}
console.log(form);
this.$api.selectByMember(form).then(res => {
this.$api.selectProgress(form).then(res => {
console.log(res);
if (res.code == '000000') {
this.list = [...res.pageInfo.list,...this.list]
@ -129,27 +132,30 @@
},
},
},
onReachBottom: function() { //
this.pageNum += 1
if(this.total!=0){
this.selectByMember()
this.selectProgress()
}
},
created() {
onShow:function() {
this.userInfo = uni.getStorageSync('userInfo')
this.selectByMember()
this.list = []
this.selectProgress()
}
}
</script>
<style>
<style scoped>
.list {
margin: 15upx 10upx;
}
.list .item-goin {
width: 120upx;
width: 130upx;
display: inline-block;
}
@ -159,7 +165,6 @@
border-radius: 10upx;
margin-bottom: 20upx;
}
.list .list_footer {
position: fixed;
bottom: 0;
@ -176,7 +181,7 @@
}
.list .items .item .title {
width: 130upx;
width: 135upx;
font-size: 27upx;
}
@ -188,4 +193,7 @@
.content text {
padding-right: 5upx;
}
.btns{
/* padding: 0; */
}
</style>

@ -49,7 +49,7 @@
}
},
created() {
onShow:function() {
}
}

@ -93,9 +93,16 @@
}
}
},
created() {
onShow:function() {
this.daylist = this.starList
}
},
onPullDownRefresh:function() {
setTimeout(function() {
uni.stopPullDownRefresh();
this.daylist = []
this.daylist = this.starList
}, 1000);
},
}
</script>

@ -157,7 +157,7 @@
}
},
created() {
onShow:function() {
this.userInfo = uni.getStorageSync('userInfo')
}
}
@ -210,9 +210,8 @@
/* ============================= 确定修改密码按钮 ============================== */
.confirmChange {
width: 92%;
height: 80rpx;
margin: 0 auto;
margin-top: 30rpx;
width: 95%;
font-size: 30upx;
margin: 50upx 3%;
}
</style>

@ -1,22 +1,192 @@
<template>
<view>
<view class="cu-bar bg-white margin-top">
<view class="action">
<text class="cuIcon-title text-orange " ></text> 选择时间
</view>
<view class="uni-list" style="padding-right: 10upx;">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<picker fields="month" mode="date" :value="date" :start="startDate" :end="endDate" @change="bindDateChange">
<button class="cu-btn bg-green shadow" data-target="Modal">{{date}}</button>
</picker>
</view>
</view>
</view>
</view>
<view v-if="list.length==0">
<view class='empty cuIcon-info'></view>
<view class='empty-text text-gray'>暂无数据</view>
</view>
<view class="list">
<view class="items padding-xl radius shadow shadow-lg bg-white margin-top flex solid-bottom justify-between align-end"
v-for="(item,index) in list" :key="index">
<view class="">
<view class="item">
<view class="title">消费单号</view>
<view class="content">{{item.cashNum}}</view>
</view>
<view class="item">
<view class="title">消费名称</view>
<view class="content">{{item.projectName}}</view>
</view>
<view class="item">
<view class="title">消费金额</view>
<view class="content">{{item.transactionPrice}}</view>
</view>
<view class="item">
<view class="title">支付方式</view>
<view class="content">
<text v-if="item.courseAccountId!=null"></text>
<text v-if="item.collectionRechargeAmount!=0">:{{item.collectionRechargeAmount}} </text>
<text v-if="item.collectionCashAmount!=0">:{{item.collectionCashAmount}} </text>
<text v-if="item.collectionIntegralAmount!=0">:{{item.collectionIntegralAmount}} </text>
</view>
</view>
<view class="item">
<view class="title">消费时间</view>
<view class="content">{{item.cashDate}}</view>
</view>
</view>
</view>
<text> {{list.length}} 记录</text>
</view>
</view>
</template>
<script>
export default {
data() {
const currentDate = this.getDate({
format: true
})
return {
date: currentDate,
list: [],
userInfo: null,
pageSize: 10,
pageNum: 1,
total:-1,
}
},
computed: {
startDate() {
return this.getDate('start');
},
endDate() {
return this.getDate('end');
}
},
methods: {
bindDateChange: function(e) {
this.date = e.target.value
this.pageSize = 10
this.pageNum = 1
this.list = []
this.selectByMember()
},
getDate(type) {
//
const date = new Date();
let year = date.getFullYear();
let month = date.getMonth() + 1;
if (type === 'start') {
year = year - 60;
} else if (type === 'end') {
year = year + 2;
}
month = month > 9 ? month : '0' + month;;
return `${year}-${month}`;
},
selectByMember() {
let date = this.date.replace(/[^0-9]/g, '')
let form = {
memberId: this.userInfo.id,
storeId: this.userInfo.storeId,
selectDate: date,
pageSize: this.pageSize,
pageNum: this.pageNum,
isCancel: 0
}
console.log(form);
this.$api.selectByMember(form).then(res => {
console.log(res);
if (res.code == '000000') {
this.list = [...res.pageInfo.list,...this.list]
this.total = res.pageInfo.size
}else{
uni.showToast({
title: res.message,
icon :none,
duration: 2000
});
this.list = []
}
})
},
},
onReachBottom: function() { //
this.pageNum += 1
if(this.total!=0){
this.selectByMember()
}
},
onShow:function() {
this.userInfo = uni.getStorageSync('userInfo')
this.list = []
this.selectByMember()
}
}
</script>
<style>
<style scoped>
.list {
margin: 15upx 10upx;
}
.list .items {
background-color: #FFF;
padding: 20upx;
border-radius: 10upx;
margin-bottom: 20upx;
}
.list .list_footer {
position: fixed;
bottom: 0;
}
.list .items .item {
display: flex;
align-items: center;
margin-bottom: 10upx;
}
.list .items .item:last-child {
margin-bottom: 0upx;
}
.list .items .item .title {
width: 135upx;
font-size: 27upx;
}
.list .items .item .content {
/* width: 75%; */
font-size: 27 upx;
}
.content text {
padding-right: 5upx;
}
.btns{
/* padding: 0; */
}
</style>

@ -120,7 +120,7 @@
})
}
},
created: function() {
onShow: function() {
console.log(this.date);
this.selectRecentRecord()

@ -113,7 +113,9 @@
}
}
if (flag == true) {
if(this.form.mobilePhone == uni.getStorageSync('userInfo').mobilePhone){
delete this.form.mobilePhone
}
this.$api.editmemberCs(this.form).then(res => {
if (res.code == "000000") {
uni.showToast({
@ -135,7 +137,7 @@
}
},
},
created() {
onShow:function() {
this.form = uni.getStorageSync('userInfo')
delete this.form.cashPassword
// this.form.cashPassword = null

@ -2,7 +2,7 @@
<view>
<view class='nav'>
<image bindtap='chooseAvatar' class="cu-avatar xl round" src='../../../../../static/image/mySet.jpg'></image>
<image bindtap='chooseAvatar' class="cu-avatar xl round" src='../../../../../static/image/my.png'></image>
</view>
<view class='module'>
<view class="cu-form-group" v-if="user.user==0">
@ -68,7 +68,7 @@
methods: {
},
created:function(){
onShow:function(){
},
onShow:function() {

@ -15,12 +15,14 @@
<view class='empty-text text-gray'>暂无数据</view>
</view>
<!-- -->
<view class="" v-for="(item,index) in projectTrade" :key='index'>
<navigator :url="'../../../myHome/reservation/resevation-project/resevation-project?item' + JSON.stringify(item)">
<view class='module-content'>{{item.courseProjectName}}</view>
<view class='module-content'>{{item.courseRestCount}}</view>
<view class='module-content'>{{item.courseConsumeCount}}
</view>
<view class='module-content'>{{item.courseConsumeCount}}</view>
<view v-if="projectTrade.length != index+1" class='common-hr'></view>
</navigator>
</view>
</view>
<view class="cu-bar bg-white margin-top">
@ -62,20 +64,23 @@
}
},
methods: {
},
created() {
onShow: function() {
var userInfo = uni.getStorageSync('userInfo')
var form = {memberId:userInfo.id,storeId:userInfo.storeId}
this.$api.recAccountlist(form).then(res=>{
if(res.code=='000000'){
this.rechargeTrade = res.rows
var form = {
memberId: userInfo.id,
storeId: userInfo.storeId
}
this.$api.recAccountlist(form).then(res => {
if (res.code == '000000') {
this.rechargeTrade = res.rows
}
})
this.$api.couAccountlist(form).then(res=>{
if(res.code=='000000'){
this.projectTrade = res.rows
this.$api.couAccountlist(form).then(res => {
if (res.code == '000000') {
this.projectTrade = res.rows
}
})
}

@ -38,6 +38,7 @@
</view>
</view>
<button @click="loginout" size="default" class="myset_footer cu-btn bg-red lg">退出当前账号</button>
</view>
@ -50,10 +51,20 @@
userInfo: null,
}
},
onPullDownRefresh() {
setTimeout(function() {
this.userInfo = uni.getStorageSync('userInfo')
uni.navigateTo({
url: "../myHome/all-powerful/all-powerful"
})
uni.stopPullDownRefresh();
}, 1000);
},
methods: {
loginout() {
var mobilePhone = {
mobilePhone: this.userInfo.mobilePhone*1
mobilePhone: this.userInfo.mobilePhone * 1
}
if (this.userInfo.user == 0) {
@ -80,17 +91,33 @@
uni.redirectTo({
url: '../../login/login'
});
} else {
uni.showToast({
title: res.message,
icon: 'error',
duration: 2000
})
}
})
}
}
},
created: function() {
console.log(uni.getStorageSync('userInfo').token);
onShow: function() {
uni.stopPullDownRefresh();
var token = uni.getStorageSync('userInfo').token
this.userInfo = uni.getStorageSync('userInfo')
if (this.userInfo.user == 0 || this.userInfo.user == 1) {} else {
uni.showToast({
title: '未登录',
icon: "none",
duration: 1000
})
console.log(123);
uni.reLaunch({
url: '../../login/login'
})
}
this.$api.storelist({
id: ''
}).then(res => {
@ -110,12 +137,14 @@
icon: "none",
duration: 1000
})
console.log(123);
uni.reLaunch({
url: '../../login/login'
})
} else {}
} else{
}
})
}
}
</script>

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

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

@ -1 +1 @@
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__4D77F26","name":"DeMay","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"nvueCompiler":"uni-app","compilerVersion":3,"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.MODIFY_AUDIO_SETTINGS\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<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_SETTINGS\"/>"]},"apple":{},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"allowsInlineMediaPlayback":true,"safearea":{"background":"#ffffff","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"2.9.8","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#7A7E83","selectedColor":"#3cc51f","borderStyle":"rgba(0,0,0,0.4)","backgroundColor":"#ffffff","list":[{"pagePath":"pages/tabBar/myHome/myHome","iconPath":"static/image/home.ico","selectedIconPath":"static/image/home.ico","text":"首页"},{"pagePath":"pages/tabBar/mySet/mySet","iconPath":"static/image/mySet.ico","selectedIconPath":"static/image/my.ico","text":"我的"}],"height":"50px","child":["lauchwebview"],"selected":1},"launch_path":"__uniappview.html"}}
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__4D77F26","name":"DeMay","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"light","background":"#F8F8F8"},"usingComponents":true,"nvueCompiler":"uni-app","compilerVersion":3,"distribute":{"google":{"permissions":["<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>","<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>","<uses-permission android:name=\"android.permission.CALL_PHONE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<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_LOGS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{},"plugins":{"ad":{},"oauth":{},"geolocation":{},"push":{},"speech":{"ifly":{}},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"allowsInlineMediaPlayback":true,"safearea":{"background":"#ffffff","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"2.9.8","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#7A7E83","selectedColor":"#e83131","borderStyle":"rgba(0,0,0,0.4)","backgroundColor":"#ffffff","list":[{"pagePath":"pages/tabBar/myHome/myHome","iconPath":"static/image/home.png","selectedIconPath":"static/image/home-select.png","text":"首页"},{"pagePath":"pages/tabBar/mySet/mySet","iconPath":"static/image/my.png","selectedIconPath":"static/image/my-select.png","text":"我的"}],"height":"50px","child":["lauchwebview"],"selected":1},"launch_path":"__uniappview.html"}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 MiB

After

Width:  |  Height:  |  Size: 392 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<script>
var __UniViewStartTime__ = Date.now();
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
CSS.supports('top: constant(a)'))
document.write(
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<title>View</title>
<link rel="stylesheet" href="view.css" />
</head>
<body>
<div id="app"></div>
<script src="__uniappes6.js"></script>
<script src="view.umd.min.js"></script>
<script src="app-view.js"></script>
</body>
</html>

File diff suppressed because one or more lines are too long

@ -0,0 +1,154 @@
/******/ (function(modules) { // webpackBootstrap
/******/ // install a JSONP callback for chunk loading
/******/ function webpackJsonpCallback(data) {
/******/ var chunkIds = data[0];
/******/ var moreModules = data[1];
/******/ var executeModules = data[2];
/******/
/******/ // add "moreModules" to the modules object,
/******/ // then flag all "chunkIds" as loaded and fire callback
/******/ var moduleId, chunkId, i = 0, resolves = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
/******/ }
/******/ for(moduleId in moreModules) {
/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {
/******/ modules[moduleId] = moreModules[moduleId];
/******/ }
/******/ }
/******/ if(parentJsonpFunction) parentJsonpFunction(data);
/******/
/******/ while(resolves.length) {
/******/ resolves.shift()();
/******/ }
/******/
/******/ // add entry modules from loaded chunk to deferred list
/******/ deferredModules.push.apply(deferredModules, executeModules || []);
/******/
/******/ // run deferred modules when all chunks ready
/******/ return checkDeferredModules();
/******/ };
/******/ function checkDeferredModules() {
/******/ var result;
/******/ for(var i = 0; i < deferredModules.length; i++) {
/******/ var deferredModule = deferredModules[i];
/******/ var fulfilled = true;
/******/ for(var j = 1; j < deferredModule.length; j++) {
/******/ var depId = deferredModule[j];
/******/ if(installedChunks[depId] !== 0) fulfilled = false;
/******/ }
/******/ if(fulfilled) {
/******/ deferredModules.splice(i--, 1);
/******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
/******/ }
/******/ }
/******/
/******/ return result;
/******/ }
/******/
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // object to store loaded and loading chunks
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
/******/ // Promise = chunk loading, 0 = chunk loaded
/******/ var installedChunks = {
/******/ "app-config": 0
/******/ };
/******/
/******/ var deferredModules = [];
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "/";
/******/
/******/ var jsonpArray = this["webpackJsonp"] = this["webpackJsonp"] || [];
/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray);
/******/ jsonpArray.push = webpackJsonpCallback;
/******/ jsonpArray = jsonpArray.slice();
/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);
/******/ var parentJsonpFunction = oldJsonpFunction;
/******/
/******/
/******/ // run deferred modules from other chunks
/******/ checkDeferredModules();
/******/ })
/************************************************************************/
/******/ ([]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__4D77F26","name":"DeMay","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"light","background":"#F8F8F8"},"usingComponents":true,"nvueCompiler":"uni-app","compilerVersion":3,"distribute":{"google":{"permissions":["<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>","<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>","<uses-permission android:name=\"android.permission.CALL_PHONE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<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_LOGS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{},"plugins":{"ad":{},"oauth":{},"geolocation":{},"push":{},"speech":{"ifly":{}},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"allowsInlineMediaPlayback":true,"safearea":{"background":"#ffffff","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"2.9.8","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#7A7E83","selectedColor":"#e83131","borderStyle":"rgba(0,0,0,0.4)","backgroundColor":"#ffffff","list":[{"pagePath":"pages/tabBar/myHome/myHome","iconPath":"static/image/home.png","selectedIconPath":"static/image/home-select.png","text":"首页"},{"pagePath":"pages/tabBar/mySet/mySet","iconPath":"static/image/my.png","selectedIconPath":"static/image/my-select.png","text":"我的"}],"height":"50px","child":["lauchwebview"],"selected":1},"launch_path":"__uniappview.html"}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save