Browse Source

新增集客

twt 2 years ago
parent
commit
7bb303dfa8

+ 7 - 0
main.js

@@ -5,6 +5,7 @@ Vue.prototype.$common =common
 
 import request from '@/utils/request.js'
 Vue.prototype.$http = request.http
+Vue.prototype.$request =request
 import store from './store'
 Vue.prototype.$store = store // 定义成全局组件
 
@@ -19,6 +20,12 @@ if(common.getHashQuery('token')){
 	}
 	store.commit('mutationsuserInfo', userInfo)
 	store.commit('mutationswxOpenData', wxOpenData)
+	uni.setStorage({
+			key: 'wxOpenData',
+			data: wxOpenData,
+			 success: function () {	
+			 }
+	});
 	console.log(store.state.userInfo)
 }
 

+ 12 - 0
pages.json

@@ -18,6 +18,18 @@
 				"navigationBarTitleText": "编辑内容"
 			}
 		},
+		{
+			"path": "pages/addjk/ckshop",
+			"style": {
+				"navigationBarTitleText": "选择门店"
+			}
+		},
+		{
+			"path": "pages/addjk/jkDetail",
+			"style": {
+				"navigationBarTitleText": "活动详情"
+			}
+		},
 		{
 			"path": "pages/index/index",
 			"style": {

+ 2 - 1
pages/addjk/addActivity.vue

@@ -25,8 +25,9 @@
 		},
 		methods: {
             eadit(){
+				uni.removeStorageSync('shopckList');
 				uni.navigateTo({
-					url:'eadit?id='
+					url:'eadit?img='+this.img
 				})
 			}
 		}

+ 34 - 1
pages/addjk/choice.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="content">
 		<view class="zhidingyiBox">
-			<view class="zhidingyi">
+			<view class="zhidingyi" @click="upimg">
 				<view class="zdyLeft">
 					<view class="zdyTitle">自定义图片</view>
 					<view class="zdyms">建议尺寸:宽度750*390px</view>
@@ -34,6 +34,7 @@
 		data() {
 			return {
 				list:'',
+				imgurl:'',
 			}
 		},
 		onLoad() {
@@ -46,6 +47,11 @@
 					url:'addActivity?img='+item.Img
 				})
 		   },
+		   goAddzdy(img){
+			   uni.navigateTo({
+			   	url:'addActivity?img='+img
+			   })
+		   },
            getSetTheGuestList(){
 			   uni.showLoading({
 			   	title: '加载中'
@@ -56,6 +62,33 @@
 			   		uni.hideLoading();
 			   		this.list=res.data
 			    })
+		   },
+		   upimg(){
+			   var that = this;
+			   uni.chooseImage({
+			   	sourceType: ['album','camera'],
+			   	count:1, 
+			   	success: (chooseImageRes) => {
+			   		const tempFilePaths = chooseImageRes.tempFilePaths;
+			   		that.file=tempFilePaths[0]
+			   		 uni.uploadFile({
+			   	            url: that.$request.baseUrl+'accompany/SuperCheckSheet/uploadFile', //仅为示例,非真实的接口地址
+			   	            filePath: tempFilePaths[0],
+			   	            name: 'file',
+			   	            formData: {
+			   	                'user': 'test'
+			   	            },
+			   	            success: (uploadFileRes) => {
+			   	                console.log(JSON.parse(uploadFileRes.data).data );
+			   					//that.imgArr=that.imgArr.concat(JSON.parse(uploadFileRes.data).data) ;
+			   					that.imgurl=JSON.parse(uploadFileRes.data).data[0];
+								that.goAddzdy(that.imgurl)
+			   	            }
+			   	        });
+			   
+			   		
+			   	}
+			   });
 		   }
 		}
 	}

+ 144 - 0
pages/addjk/ckshop.vue

@@ -0,0 +1,144 @@
+<template>
+	<view class="content">
+	 <view class="content2">
+		 <view class="shopBox">
+			<view class="shopLine" v-for="(item,index) in list" @click="ckshop(item)">
+				<img src="../../static/img/ckn.png" alt="" class="ckImg" v-if="!item.ck">
+				<img src="../../static/img/cky.png" alt="" class="ckImg" v-if="item.ck">
+				<view class="shopName">{{item.shopName}}</view>
+			</view>
+		 </view>
+		 
+	 </view>
+	 <view class="bottom">
+		 <view class="bottomLeft" @click="all">
+			 <img src="../../static/img/ckn.png" alt="" class="ckImg" v-if="!allck">
+			 <img src="../../static/img/cky.png" alt="" class="ckImg" v-if="allck">
+			 <view class="allTxt">全选</view>
+		 </view>
+		 <view class="determine" @click="determine">确定添加</view>
+	 </view>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				list:'',
+				allck:false,
+				shopckList:'',
+			}
+		},
+		onLoad() {
+          this.getShopList()
+		},
+		methods: {
+		   determine(){
+			   var shopckList=[]
+			   this.list.forEach(item=>{
+			      if(item.ck){
+					  shopckList.push(item)
+				  }
+			   })
+			   uni.setStorage({
+			   		key: 'shopckList',
+			   		data: shopckList,
+			   		 success: function () {	
+						 uni.navigateBack(-1)
+			   		 }
+			   });
+		   },
+		   ckshop(item){
+			   item.ck=!item.ck
+		   },
+		   all(){
+			   this.allck=!this.allck;
+			   if(this.allck){
+				   this.list.forEach(item=>{
+				   	item.ck=true;
+				   })
+			   }else{
+				   this.list.forEach(item=>{
+				   	item.ck=false;
+				   })
+			   }
+		   },
+           getShopList(){
+			   uni.showLoading({
+			   	title: '加载中'
+			   })
+			   this.$http('openH5SetTheGuest/getShopList', {
+			     
+			    },'GET').then(res => {
+			   		uni.hideLoading();
+					res.data.forEach(item=>{
+						item.ck=false;
+					})
+			   		this.list=res.data;
+					//console.log(this.list)
+			    })
+		   }
+		}
+	}
+</script>
+
+<style scoped>
+	.content{
+		min-height: 100vh;
+		background:#F4F5F7;
+	}
+	.shopBox{
+		background: #ffffff;
+		border-radius: 10rpx;
+	}
+	.content2{
+		padding: 20rpx 24rpx;
+	}
+	.shopLine{
+		display: flex;
+		padding: 30rpx 20rpx;
+		border-bottom: 1px solid #EEEEEE;
+	}
+	.ckImg{
+		width: 44rpx;
+		height: 44rpx;
+	}
+	.shopName{
+		color: #3C3C3C;
+		line-height: 44rpx;
+		font-size: 28rpx;
+		padding-left: 26rpx;
+	}
+	.bottom{
+		width: 750rpx;
+		height: 120rpx;
+		background: #FFFFFF;
+		position: fixed;
+		left: 0;
+		bottom: 0;
+		display: flex;
+		justify-content: space-between;
+	}
+	.bottomLeft{
+		display: flex;
+		padding-top: 38rpx;
+		padding-left: 24rpx;
+	}
+	.allTxt{
+		line-height: 44rpx;padding-left: 12rpx;color: #3C3C3C;
+	}
+	.determine{
+		width: 310rpx;
+		height: 98rpx;
+		background: #3F90F7;
+		border-radius: 10rpx;
+		font-weight: 500;
+		color: #FFFFFF;
+		font-size: 31rpx;
+		line-height: 98rpx;
+		text-align: center;
+		margin-top: 11rpx;
+		margin-right: 24rpx;
+	}
+</style>

+ 260 - 22
pages/addjk/eadit.vue

@@ -32,8 +32,9 @@
 				  <span class="linexx">*</span> <span>活动门店</span>
 			  </view>
 			  <view class="lineRight shopckBox">
-				 <view class="shopListNo">请选择活动门店,可多选请选择活动门店,可多选</view>
-				 <view class="addshop">添加</view>
+				 <view class="shopListNo" v-if="!shopNames">请选择活动门店,可多选请</view>
+				  <view class="shopListY" v-if="shopNames">{{shopNames}}</view>
+				 <view class="addshop" @click="addShop">添加</view>
 			  </view>
 		  </view>
 	  </view>
@@ -45,10 +46,10 @@
 			  <span class="linexx">*</span> <span>报名凭证</span>
 		  </view>
 		  <view class="lineRight clWhereBox">
-			 <view class="clWhereLine" >手机号</view>
-			 <view class="clWhereLine clWhereActive" >车牌号</view>
-			 <view class="clWhereLine" >姓名</view>
-			 <view class="clWhereLine" >单位</view>
+			 <view class="clWhereLine" :class="{clWhereActive:clWhereString.indexOf(1)!=-1}" @click="clWhere(1)">手机号</view>
+			 <view class="clWhereLine" :class="{clWhereActive:clWhereString.indexOf(2)!=-1}" @click="clWhere(2)">车牌号</view>
+			 <view class="clWhereLine" :class="{clWhereActive:clWhereString.indexOf(3)!=-1}" @click="clWhere(3)">姓名</view>
+			 <view class="clWhereLine" :class="{clWhereActive:clWhereString.indexOf(4)!=-1}" @click="clWhere(4)">单位</view>
 		  </view>
 		</view>
 		<view class="line">
@@ -56,7 +57,7 @@
 			  <span class="linexx">*</span> <span>最多报名人数</span>
 		  </view>
 		  <view class="lineRight">
-			  <input type="text" v-model="activityName" placeholder="请输入" class="lineRightInput" placeholder-class="inputPlace">
+			  <input type="text" v-model="number" placeholder="请输入" class="lineRightInput" placeholder-class="inputPlace">
 		  </view>
 		</view>
 		<view class="line">
@@ -64,12 +65,14 @@
 			  <span class="linexx">*</span> <span>支付方式</span>
 		  </view>
 		  <view class="lineRight payBox">
-			 <view class="payType">
-				 <img src="../../static/img/ckn.png" alt="" class="payTypeImg">
+			 <view class="payType" @click="payType=1">
+				 <img src="../../static/img/ckn.png" alt="" class="payTypeImg" v-if="payType!=1">
+				 <img src="../../static/img/cky.png" alt="" class="payTypeImg" v-if="payType==1">
 				 <view class="payTypeTxt">在线支付</view>
 			 </view>
-			 <view class="payType">
-				 <img src="../../static/img/cky.png" alt="" class="payTypeImg">
+			 <view class="payType" @click="payType=2" style="padding-left: 30rpx;">
+				 <img src="../../static/img/cky.png" alt="" class="payTypeImg" v-if="payType==2">
+				 <img src="../../static/img/ckn.png" alt="" class="payTypeImg" v-if="payType!=2">
 				 <view class="payTypeTxt">无需支付</view>
 			 </view>
 		  </view>
@@ -79,14 +82,58 @@
 			  <span class="linexx">*</span> <span>支付金额</span>
 		  </view>
 		  <view class="lineRight">
-			  <input type="text" v-model="activityName" placeholder="请输入" class="lineRightInput" placeholder-class="inputPlace">
+			  <input type="text" v-model="money" placeholder="请输入" class="lineRightInput" placeholder-class="inputPlace">
 		  </view>
 		</view>
 	  </view>
 	  <view class="kk"></view>
 	  <view class="box">
 	  		<view class="title">活动详情</view>
+			<view class="line">
+				  <view class="lineLeft">
+					  <span class="linexx">*</span> <span>活动说明</span>
+				  </view>
+				  <view class="lineRight">
+					  <textarea placeholder-class="inputPlace" v-model="activityContent" placeholder="请输入" class="textsr"/> 
+				  </view>
+			</view>
+			<view class="line2">
+				<view class="lineTitle">详情图片</view>
+				<view class="lineMS">此图在活动底部显示,可用于显示门店照片等,建议宽度750px</view>
+				<view class="lineImgBOx">
+					<view class="lineimghz" v-for="(item,index) in imgListArr">
+						<img src="../../static/img/del.png" alt="" class="lineimgdel" @click="delimg(index)" >
+						<img :src="item" alt="" class="lineimg">
+					</view>
+					<view class="lineimghz" @click="upimg">
+						<img src="../../static/img/scimg.png" alt="" class="lineimg">
+					</view>
+				</view>
+			</view>
+			<view class="line lineBorderNo">
+			  <view class="lineLeft">
+				<span>音乐</span>
+			  </view>
+			  <view class="lineRight musicRight">
+				 <view class="musicMS">选择/更换音乐</view>
+				 <img src="../../static/img/jt.png" alt="" class="musicJt">
+			  </view>
+			</view>
+			<view class="musicBox">
+				<view class="musicLine" v-for="(item,index) in 3">
+					<view class="musicLineLeft">
+						<img src="../../static/img/music.png" alt="" class="musicImg">
+						<view class="musicName">Young For You - GALA.mp3</view>
+					</view>
+					<view>
+						<img src="../../static/img/sanchu.png" alt="" class="musicDel">
+					</view>
+					
+				</view>
+			</view>
 	  </view>
+	  <view style="height: 120rpx;"></view>
+	  <view class="preview" @click="preview">预览</view>
 	</view>
 </template>
 
@@ -98,28 +145,123 @@
 				activityName:'',                //类型:String  必有字段  备注:活动名称
 				startTime:"",                //类型:String  必有字段  备注:营业开始时间
 				endTime:"",                //类型:String  必有字段  备注:营业结束时间
-				number:"mock",                //类型:String  必有字段  备注:报名人数
-				activityContent:"mock",                //类型:String  必有字段  备注:活动说明
-				clWhere:"mock",                //类型:String  必有字段  备注:报名凭证1,2,3,4 1手机号2车牌号3姓名4单位
-				payType:"mock",                //类型:String  必有字段  备注:1在线支付2无需支付
-				music:"mock",                //类型:String  必有字段  备注:背景音乐
-				clState:"mock",                //类型:String  必有字段  备注:1未启用2启用
-				img:"mock",                //类型:String  必有字段  备注:从首页带进来的图片
-				imgList:"mock",//类型:String  必有字段  备注:详情图片多个以逗号分割
+				number:"",                //类型:String  必有字段  备注:报名人数
+				activityContent:"",                //类型:String  必有字段  备注:活动说明
+				//clWhere:'',                //类型:String  必有字段  备注:报名凭证1,2,3,4 1手机号2车牌号3姓名4单位
+				payType:1,                //类型:String  必有字段  备注:1在线支付2无需支付
+				music:"",                //类型:String  必有字段  备注:背景音乐
+				clState:'',                //类型:String  必有字段  备注:1未启用2启用
+				img:'',                //类型:String  必有字段  备注:从首页带进来的图片
+				imgList:'',//类型:String  必有字段  备注:详情图片多个以逗号分割
 				datetimerange: '',
+				shopNames:'',
+				shopList:'',
+				clWhereList:[],
+				clWhereString:'',
+				imgListArr:[],
+				money:'',
 			}
 		},
-		onLoad() {
-
+		onLoad(opt) {
+            this.img=opt.img
+		},
+		onShow() {
+			const shopckList = uni.getStorageSync("shopckList");
+			var shopNames=[];
+			var shopList=[];
+			shopckList.forEach(item=>{
+				shopNames.push(item.shopName)
+				shopList.push(item.id)
+			})
+			this.shopNames=shopNames.join(',')
+			this.shopList=shopList.join(',')
 		},
 		methods: {
+		  preview(){
+			var editdata={
+				id:this.id,
+				activityName:this.activityName,
+				startTime:this.startTime,
+				endTime:this.endTime,
+				number:this.number,
+				activityContent:this.activityContent,
+				clWhere:this.clWhereString,
+				payType:this.payType,
+				music:this.music,
+				money:this.money,
+				shopList:this.shopList,
+				img:this.img,
+				imgList:this.imgListArr.join(','),
+				clState:'',
+			} 
+			console.log(editdata)
+			uni.setStorage({
+					key: 'editdata',
+					data: editdata,
+					 success: function () {	
+						uni.navigateTo({
+							url:'jkDetail?type=1'
+						})			
+			    }
+			});
+		  },
+		  addShop(){
+			  uni.navigateTo({
+			  	url:'ckshop'
+			  })
+		  },
           bindTimeChangeStart(e){
 			  console.log(e)
 			  this.startTime=e.detail.value;
 		  },
 		  bindTimeChangeendTime(e){
 			  this.endTime=e.detail.value;
+		  },
+		  clWhere(num){
+			  this.clWhereString=this.clWhereList.join(',');
+			  if(this.clWhereString.indexOf(num)!=-1){
+				 // this.clWhereList.remove(num)
+				 let index = this.clWhereList.indexOf(num);
+				 this.clWhereList.splice(index, 1)
+				 //this.remove(num)
+			  }else{
+				 this.clWhereList.push(num) 
+			  }
+			  this.clWhereString=this.clWhereList.join(',');
+			  console.log(this.clWhereString)
+		  },
+		  delimg(index){
+			   this.imgListArr.splice(index, 1)
+		  },
+		  upimg(){
+		  	   var that = this;
+			   uni.chooseImage({
+				sourceType: ['album','camera'],
+				count:9, 
+				success: (chooseImageRes) => {
+					const tempFilePaths = chooseImageRes.tempFilePaths;
+					that.file=tempFilePaths[0]
+					 uni.uploadFile({
+							url: that.$request.baseUrl+'accompany/SuperCheckSheet/uploadFile', //仅为示例,非真实的接口地址
+							filePath: tempFilePaths[0],
+							name: 'file',
+							formData: {
+								'user': 'test'
+							},
+							success: (uploadFileRes) => {
+								console.log(JSON.parse(uploadFileRes.data).data );
+								that.imgListArr=that.imgListArr.concat(JSON.parse(uploadFileRes.data).data)
+								//that.imgArr=that.imgArr.concat(JSON.parse(uploadFileRes.data).data) ;
+								//that.imgurl=JSON.parse(uploadFileRes.data).data[0];
+								//that.goAddzdy(that.imgurl)
+							}
+						});
+			   
+					
+				}
+			   });
 		  }
+		 
 		}
 	}
 </script>
@@ -129,6 +271,86 @@
 	min-height: 100vh;
 	background:#F4F5F7;
 }
+.preview{
+	width: 750rpx;
+	height: 98rpx;
+	background: #3F90F7;
+	line-height: 98rpx;
+	text-align: center;
+	color: #ffffff;
+	font-size: 30rpx;
+	position: fixed;
+	left: 0;
+	bottom: 0;
+}
+.musicBox{
+	padding: 0 24rpx;
+}
+.musicLine{
+	display: flex;
+	justify-content: space-between;
+	margin-bottom:30rpx;
+	padding:26rpx 24rpx;
+	background: #F4F5F7;
+	border-radius: 10rpx;
+}
+.musicName{
+	color: #3C3C3C;font-size: 24rpx;
+}
+.musicLineLeft{
+	display: flex;
+}
+.musicDel{
+	width: 30rpx;
+	height: 30rpx;
+}
+.musicImg{
+	width: 36rpx;
+	height: 36rpx;
+}
+.line2{
+	padding: 30rpx 24rpx;
+	border-bottom: 1px solid #EEEEEE;
+}
+.musicJt{
+	width: 28rpx;
+	height: 28rpx;
+	margin-top: 8rpx;
+}
+.musicRight{
+	display: flex;
+	justify-content: space-between;
+	width: 500rpx;
+}
+.musicMS{
+	color: #CCCCCC;
+}
+.lineimgdel{
+	width: 37rpx;
+	height: 37rpx;
+	position: absolute;
+	top: -18rpx;
+	right: -18rpx;
+}
+.lineimghz{
+	margin-right: 24rpx;
+	position: relative;
+	margin-top: 24rpx;
+}
+.lineimg{
+	width: 150rpx;
+	height: 150rpx;
+}
+.lineTitle{
+	color: #666666;font-size: 28rpx;
+}
+.lineMS{
+	color: #999999;font-size: 24rpx;padding-top: 10rpx;
+}
+.lineImgBOx{
+	display: flex;
+	flex-wrap: wrap;
+}
 .payBox{
 	display: flex;
 }
@@ -182,11 +404,17 @@
 	color: #3F90F7;
 	height: 48rpx;
 	line-height: 48rpx;
+	width: 96rpx;
 }
 .timelineRight{
 	display: flex;
 	
 }
+
+.textsr{
+	width: 500rpx;
+	height: 180rpx;
+}
 .shopListNo{
 	width: 400rpx;
 	white-space:nowrap;
@@ -194,6 +422,13 @@
 	text-overflow:ellipsis;
 	color: #CCCCCC;
 }
+.shopListY{
+	width: 400rpx;
+	white-space:nowrap;
+	overflow:hidden;
+	text-overflow:ellipsis;
+	color: #3C3C3C;
+}
 .addshop{
 	color: #3F90F7;
 	padding-left: 10rpx;
@@ -233,4 +468,7 @@
 	line-height: 45rpx;
 	font-weight: 500;
 }
+.lineBorderNo{
+	border-bottom: none !important;
+}
 </style>

+ 196 - 0
pages/addjk/jkDetail.vue

@@ -0,0 +1,196 @@
+<template>
+	<view class="content">
+		<view class="top">
+			<img :src="info.img" alt="" class="topimg">
+		</view>
+		<view class="cont">
+			<view class="name">{{info.activityName}}</view>
+			<view class="name2">{{info.startTime}}~{{info.endTime}}</view>
+			<view class="name3">{{info.activityContent}}</view>
+		</view>
+		<view class="shopBox">
+			<view class="shopBoxTop">
+				<view class="shopMs">活动门店</view>
+				<view class="shopTy">
+					<view class="shopTyTxt">{{shopNum}}家门店通用</view>
+					<img src="../../static/img/jt2.png" alt="" class="shopjt">
+				</view>
+			</view>
+			
+		</view>
+		
+		<view class="detailBOx" v-if="info.imgList">
+			<view class="detailTitle">活动详情</view>
+			<view class="detailImgBox" v-for="(item,index) in info.imgList.split(',')">
+				<img :src="item" alt="" class="detailImg">
+			</view>
+		</view>
+		
+		<view style="height: 120rpx;"></view>
+		<view class="bottom" v-if="type==1"> 
+			<view class="bottomLeft">编辑活动内容</view>
+			<view class="bottomRight" @click="generate">生成活动</view>
+		</view>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				info:'',
+				type:'',
+				shopNum:'',
+			}
+		},
+		onLoad(opt) {
+			if(opt.type==1){
+				this.type=1;
+				this.info = uni.getStorageSync("editdata");
+				this.shopNum=this.info.shopList.split(',').length
+				uni.setNavigationBarTitle({
+				title:this.info.activityName
+				})
+			}
+          
+		},
+		methods: {
+			auditSetTheGuest(){
+				uni.showLoading({
+					title: '加载中'
+				})
+				this.$http('openH5SetTheGuest/auditSetTheGuest', this.info,'POST').then(res => {
+						uni.hideLoading();
+						//this.list=res.data
+				 })
+			},
+            generate(){
+				var that=this;
+				uni.showModal({
+					title: '提示',
+					content: '活动已生成,是否立即启用',
+					cancelText:'暂不启用',
+					confirmText:'立即启用',
+					success: function(res) {
+						if (res.confirm) {
+							that.info.clState=2;
+							that.auditSetTheGuest()
+						}else{
+							console.log("no")
+							that.info.clState=1;
+							that.auditSetTheGuest()
+						}
+					}
+				
+				
+				});
+			}
+		}
+	}
+</script>
+
+<style scoped>
+	.content{
+		min-height: 100vh;
+		background:#F4F5F7;
+	}
+	.detailImg{
+		width: 750rpx;
+		display: block;
+	}
+	.detailBOx{
+		background: #ffffff;
+		margin-top: 20rpx;
+	}
+	.detailTitle{
+		color: #3C3C3C;
+		font-weight: 500;
+		padding: 20rpx 24rpx;
+		font-size: 30rpx;
+	}
+	.topimg{
+		width: 750rpx;
+	}
+	.shopMs{
+		font-weight: 500;
+		color: #222222;
+		line-height: 42rpx;
+		font-size: 30rpx;
+	}
+	.shopBox{
+		background: #ffffff;
+		margin-top: 20rpx;
+		padding: 20rpx 34rpx;
+	}
+	.shopBoxTop{
+		display: flex;
+		justify-content: space-between;
+	}
+	.shopTy{
+		display: flex;
+	}
+	.shopTyTxt{
+		font-weight: 400;
+		color: #666666;
+		font-size: 24rpx;
+		line-height: 42rpx;
+	}
+	.shopjt{
+		width: 14rpx;
+		height: 23rpx;
+		margin-top: 10rpx;
+		margin-left: 10rpx;
+	}
+	.cont{
+		background: #ffffff;
+		border-radius: 24rpx 24rpx 0px 0px;
+		margin-top: -30rpx;
+		padding: 30rpx 24rpx;
+		position: relative;
+	}
+	.name{
+		color: #3C3C3C;
+		line-height: 42rpx;
+		font-weight: 500;
+		font-size: 30rpx;
+	}
+	.name2{
+		color: #3C3C3C;
+		line-height: 36rpx;
+		font-weight: 400;
+		font-size: 26rpx;
+		padding-top: 16rpx;
+	}
+	.name3{
+		color: #999999;
+		line-height: 36rpx;
+		font-weight: 400;
+		font-size: 26rpx;
+		padding-top: 16rpx;
+	}
+	.bottom{
+		width: 750rpx;
+		height: 98rpx;
+		background: #FFFFFF;
+		position: fixed;
+		bottom: 0;
+		left: 0;
+		display: flex;
+	}
+	.bottomLeft{
+		width: 375rpx;
+		line-height: 98rpx;
+		text-align: center;
+		color: #3C3C3C;
+		font-size: 30rpx;
+	}
+	.bottomRight{
+		width: 375rpx;
+		height: 98rpx;
+		background: #3F90F7;
+		line-height: 98rpx;
+		text-align: center;
+		color: #FFFFFF;
+		font-size: 30rpx;
+	}
+</style>

BIN
static/img/ckn.png


BIN
static/img/cky.png


BIN
static/img/del.png


BIN
static/img/jt.png


BIN
static/img/jt2.png


BIN
static/img/music.png


BIN
static/img/sanchu.png


BIN
static/img/scimg.png


+ 2 - 2
utils/request.js

@@ -9,8 +9,8 @@ const http = (url = '', date = {}, type = 'POST', header = {
 }) => {
     return new Promise((resolve, reject) => {
 		header={};
-		//const wxOpenData = uni.getStorageSync("wxOpenData");
-		var wxOpenData=$store.state.wxOpenData
+		const wxOpenData = uni.getStorageSync("wxOpenData");
+		//var wxOpenData=$store.state.wxOpenData
 		if(wxOpenData.loginInfo){
 			header['accessToken']=wxOpenData.loginInfo.token;
 			header['uid']=wxOpenData.loginInfo.uid;