首页轮播、分销管理、订单管理修改
parent
fd40966be1
commit
5ab65adf11
|
@ -57,12 +57,13 @@ page {background-color: #FFFFFF;}
|
|||
/* 首页 */
|
||||
.index-top{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
height: 420rpx;
|
||||
position: relative;
|
||||
z-index: -1;
|
||||
z-index: 0;
|
||||
}
|
||||
.index-top>image{
|
||||
.index-top image{
|
||||
width: 100%;
|
||||
min-height: 420rpx;
|
||||
}
|
||||
|
||||
/* 内容区 */
|
||||
|
@ -70,6 +71,8 @@ page {background-color: #FFFFFF;}
|
|||
width: 100%;
|
||||
border-radius: 20rpx 20rpx 0 0;
|
||||
margin-top: -20rpx;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
/* 顶部背景 */
|
||||
.index-statis-bg{
|
||||
|
@ -1245,6 +1248,19 @@ page {background-color: #FFFFFF;}
|
|||
border: 0;
|
||||
}
|
||||
|
||||
/* 取消订单 */
|
||||
.cancle-reason{
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
.cancle-reason .item{
|
||||
align-items: center;
|
||||
height: 74rpx;
|
||||
}
|
||||
.cancle-reason .item>.radio{
|
||||
transform: scale(.8);
|
||||
margin-left: -5rpx;
|
||||
}
|
||||
|
||||
/* 订单详情 */
|
||||
.order-info>view{
|
||||
justify-content: space-between;
|
||||
|
@ -1280,4 +1296,12 @@ page {background-color: #FFFFFF;}
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 130rpx;
|
||||
}
|
||||
.order-btns-bg{
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.order-btns-bg .btn{
|
||||
width: calc(50% - 22rpx);
|
||||
height: 84rpx;
|
||||
}
|
|
@ -0,0 +1,174 @@
|
|||
<template>
|
||||
<view class="banner-box">
|
||||
<swiper :current="bcurrent" @change="changeBanner" :style="{height: newHeight}" :autoplay="isplay"
|
||||
:circular="true" :interval="3000" :duration="500">
|
||||
<swiper-item v-for="(item,index) in bannerList" :key="index">
|
||||
<view @tap="chooseImg(index,item.url)" class="img-box">
|
||||
<image :style="{borderRadius:newRadius,height:newHeight}" class="img animated fadeIn"
|
||||
:src="item.imgSrc" mode="widthFix"></image>
|
||||
</view>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
<!-- 指示点 -->
|
||||
<view v-if="isDot" class="dot-box" :style="{bottom:newBottom}">
|
||||
<view class="item-dot" :style="{backgroundColor: bcurrent==indexd ? activec : defaultc}"
|
||||
v-for="(itemd,indexd) in bannerList.length" :key="indexd" @tap="chooseDot(indexd)"></view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "swiper-pu",
|
||||
props: {
|
||||
isplay: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
isDot: { //是否显示指示点
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
bannerList: { //默认轮播图片
|
||||
type: Array,
|
||||
default: function() {
|
||||
return [{
|
||||
imgSrc: 'https://s6.jpg.cm/2022/02/14/L4oDhy.jpg',
|
||||
url: '',
|
||||
isVideo: false,
|
||||
poster: ''
|
||||
},
|
||||
{
|
||||
imgSrc: 'https://s6.jpg.cm/2022/02/14/L4oDhy.jpg',
|
||||
url: '',
|
||||
isVideo: false,
|
||||
poster: ''
|
||||
},
|
||||
{
|
||||
imgSrc: 'https://s6.jpg.cm/2022/02/14/L4oDhy.jpg',
|
||||
url: '',
|
||||
isVideo: false,
|
||||
poster: ''
|
||||
},
|
||||
]
|
||||
}
|
||||
},
|
||||
newHeight: { //swiper的高
|
||||
type: String,
|
||||
default: '420rpx'
|
||||
},
|
||||
newBottom: { //指示点距离底部位置
|
||||
type: String,
|
||||
default: '18px'
|
||||
},
|
||||
newRadius: { //图片圆角
|
||||
type: String,
|
||||
default: '0px'
|
||||
},
|
||||
browseP: { //是否可预览
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
activec: {
|
||||
type: String,
|
||||
default: 'rgba(255,255,255,1)'
|
||||
},
|
||||
defaultc: {
|
||||
type: String,
|
||||
default: 'rgba(255,255,255,.3)'
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
bcurrent: 0, // 默认当前选中项
|
||||
isShowVideo: false, // 是否显示视频
|
||||
autoplay: false, // 是否开启自动轮播
|
||||
isVedio: uni.getStorageSync('is_vedio') // 是否是视频
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
// 图片点击事件
|
||||
chooseImg(index, url) {
|
||||
console.log('当前banner图', index, url);
|
||||
this.bcurrent = index
|
||||
if (this.browseP) {
|
||||
let imgList = []
|
||||
this.bannerList.forEach(item => {
|
||||
let nurl = ''
|
||||
let obj = {}
|
||||
if (this.isVedio) {
|
||||
item.url == '' ? nurl = item.imgSrc : nurl = item.url
|
||||
obj = {
|
||||
url: nurl,
|
||||
type: item.isVideo ? 'video' : 'image',
|
||||
poster: item.poster
|
||||
}
|
||||
} else {
|
||||
nurl = item.imgSrc
|
||||
obj = {
|
||||
url: nurl,
|
||||
type: 'image',
|
||||
poster: item.poster
|
||||
}
|
||||
}
|
||||
imgList.push(obj)
|
||||
})
|
||||
// 预览图片和视频
|
||||
uni.previewMedia({
|
||||
current: this.bcurrent,
|
||||
sources: imgList
|
||||
})
|
||||
}
|
||||
if (url) {
|
||||
// 有链接,跳转链接
|
||||
uni.navigateTo({
|
||||
url: `/${url}`
|
||||
})
|
||||
console.log(`/${url}`, '跳转链接');
|
||||
}
|
||||
},
|
||||
// 切换后获取当前索引
|
||||
changeBanner(e) {
|
||||
this.bcurrent = e.detail.current //当前的指示点下标
|
||||
// console.log(this.bcurrent);
|
||||
},
|
||||
// 点击当前指示点
|
||||
chooseDot(index) {
|
||||
this.bcurrent = index;
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.banner-box {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.img-box {
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.img {
|
||||
width: 100%;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
.dot-box {
|
||||
position: absolute;
|
||||
bottom: 36rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.item-dot {
|
||||
width: 20rpx;
|
||||
height: 20rpx;
|
||||
border-radius: 100%;
|
||||
margin: 0 6rpx;
|
||||
}
|
||||
</style>
|
|
@ -1,12 +1,12 @@
|
|||
<template>
|
||||
<view>
|
||||
<view class="index-page pad-x190 border-box" v-if="isLoading">
|
||||
<!-- 顶部背景 -->
|
||||
<view class="index-top">
|
||||
<image :src="indexBackground" mode="widthFix"></image>
|
||||
<!-- 轮播 -->
|
||||
<view class="index-top">
|
||||
<swiper-pu newRadius="0" :bannerList="bannerList" newHeight="420rpx" :isplay='isplay' :isDot="false"></swiper-pu>
|
||||
</view>
|
||||
<view class="index-content background-white">
|
||||
<view class="index-statis-bg background-white" :style="{height:statusHeight+80+'px'}" v-if="!isShow"></view>
|
||||
<view class="index-statis-bg background-white" :style="{height:statusHeight+120+'px'}" v-if="!isShow"></view>
|
||||
<!-- 搜索 -->
|
||||
<view class="pull-search-bg background-white radius20 pad-sx30 border-box" v-if="isShow">
|
||||
<view class="pull-search radius20 flex">
|
||||
|
@ -56,7 +56,6 @@
|
|||
<!-- 搜索结果 -->
|
||||
<view class="pull-bg" v-if="showSearch" @tap="closeSearch"></view>
|
||||
<view class="search-box border-box" v-if="showSearch" :style="{height:screenHeight-statusHeight-50+'px',top:statusHeight+50+'px'}" >
|
||||
<!-- <view class="close-box" :style="{height:statusHeight+50+'px'}"></view> -->
|
||||
<!-- 搜索 -->
|
||||
<view class="search-bg background-white pad-sx30 border-box">
|
||||
<view class="search radius20 flex">
|
||||
|
@ -90,12 +89,14 @@
|
|||
<tabbar v-if="isLoading"></tabbar>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
<script>
|
||||
import swiperPu from '@/components/swipers/swiper-pu';
|
||||
import tabbar from '@/components/tabbar/tabbar';
|
||||
import {getCartInfo} from '@/jsFile/public-api.js';
|
||||
import {mapState} from 'vuex'//引入mapState
|
||||
export default {
|
||||
components:{
|
||||
components:{
|
||||
swiperPu,
|
||||
tabbar
|
||||
},
|
||||
data() {
|
||||
|
@ -103,13 +104,15 @@
|
|||
screenHeight:uni.getSystemInfoSync().screenHeight,
|
||||
statusHeight:uni.getSystemInfoSync().statusBarHeight,
|
||||
scrollTop:0, //分类距离顶部距离
|
||||
isShow: true, //显示
|
||||
isShow: true, //显示
|
||||
bannerList:[], //轮播图列表
|
||||
isplay:false, //是否自动轮播
|
||||
playTimer:null, //间隔时间
|
||||
//分类导航
|
||||
currentIndex:0,
|
||||
scrollLeft:0,
|
||||
tabsScrollLeft:0,
|
||||
cateWidth:'',
|
||||
indexBackground:'', //背景图
|
||||
keyword:'', //关键词
|
||||
cateList:[], //商品分类
|
||||
commodityList:[], //商品列表
|
||||
|
@ -131,8 +134,8 @@
|
|||
// 缓存invite_code
|
||||
uni.setStorageSync('inviteCode',op.invite_code);
|
||||
}
|
||||
// 获取头部背景
|
||||
this.getTabbarEv();
|
||||
// 获取banner列表
|
||||
this.getBannerList();
|
||||
// 获取分类列表
|
||||
this.getCateEv();
|
||||
},
|
||||
|
@ -152,7 +155,7 @@
|
|||
this.isplay =false;
|
||||
},
|
||||
onPageScroll(object){
|
||||
if(object.scrollTop >= this.statusHeight+65 && object.scrollTop <= this.statusHeight+135){
|
||||
if(object.scrollTop >= this.statusHeight+60 && object.scrollTop <= this.statusHeight+120){
|
||||
this.isShow = false;
|
||||
}
|
||||
if(object.scrollTop <= this.statusHeight+50){
|
||||
|
@ -197,16 +200,27 @@
|
|||
this.setTabList()
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 获取头部背景
|
||||
getTabbarEv(){
|
||||
this.$requst.get('/api/index/mini-program-setting').then(res=>{
|
||||
if(res.code == 0){
|
||||
console.log(res,'个性装扮')
|
||||
this.indexBackground = this.$hostHttp + res.data.indexBackground;
|
||||
}
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
// 获取轮播图事件
|
||||
getBannerList(){
|
||||
this.$requst.get('/api/common/slides').then(res=>{
|
||||
if(res.code==0){
|
||||
console.log(res,'轮播图列表')
|
||||
res.data.forEach(item=>{
|
||||
let isVideo = false
|
||||
if(item.type!='img') isVideo = true;
|
||||
let banObj = {
|
||||
imgSrc:this.$hostHttp + item.src,
|
||||
url:item.url,
|
||||
isVideo:isVideo,
|
||||
poster:item.src,
|
||||
}
|
||||
this.bannerList.push(banObj)
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
// 获取商品分类
|
||||
getCateEv(){
|
||||
this.$requst.get('/api/spu/category').then(res=>{
|
||||
|
|
|
@ -171,18 +171,11 @@
|
|||
this.myOrder[2].num = newArr.paid;
|
||||
this.myOrder[3].num = newArr.shipped;
|
||||
this.myOrder[4].num = newArr.completed;
|
||||
if(this.vip_level!==0 && this.is_distributor!==0){
|
||||
if(this.vip_level!==0){
|
||||
this.showObj='0234567'
|
||||
}
|
||||
if(this.vip_level!==0 && this.is_distributor==0){
|
||||
this.showObj='023467'
|
||||
}
|
||||
if(this.vip_level==0 && this.is_distributor!==0){
|
||||
}else{
|
||||
this.showObj='01234567'
|
||||
}
|
||||
if(this.vip_level==0 && this.is_distributor==0){
|
||||
this.showObj='0123467'
|
||||
}
|
||||
// 获取分销码
|
||||
this.getCodeEv();
|
||||
}
|
||||
|
@ -224,9 +217,15 @@
|
|||
url:`/pagesA/integral/integral`
|
||||
})
|
||||
}else if(index == 5){
|
||||
uni.navigateTo({
|
||||
url:`/pagesA/distribution/distribution`
|
||||
})
|
||||
if(this.is_distributor!==0){
|
||||
uni.navigateTo({
|
||||
url:`/pagesA/distribution/distribution`
|
||||
})
|
||||
}else{
|
||||
// 调用扫码功能
|
||||
this.getScanCode();
|
||||
}
|
||||
|
||||
}else if(index == 6){
|
||||
uni.navigateTo({
|
||||
url:`/pagesA/coupon/coupon`
|
||||
|
@ -237,6 +236,23 @@
|
|||
})
|
||||
}
|
||||
},
|
||||
// 调用扫码功能
|
||||
getScanCode(){
|
||||
uni.scanCode({
|
||||
success: (res)=> {
|
||||
console.log(res.path,'扫码成功');
|
||||
let path =`/${res.path}`;
|
||||
if(path.indexOf('/pagesB/distributor/distributor')==0) {
|
||||
uni.navigateTo({
|
||||
url:path
|
||||
})
|
||||
}else{
|
||||
this.$toolAll.tools.showToast('请扫正确的二维码');
|
||||
}
|
||||
},
|
||||
|
||||
})
|
||||
},
|
||||
// 获取授权信息
|
||||
onGetPhoneNumberA(e){
|
||||
if(e.detail.errMsg=="getPhoneNumber:fail user deny"){ //用户决绝授权
|
||||
|
|
|
@ -42,7 +42,10 @@
|
|||
<!-- 团队导航 -->
|
||||
<view class="team-nav mar-s30 flex" v-if="navIndex==1">
|
||||
<view class="item" v-for="(item,index) in teamNav" :key="index" @tap="changeTeam(index)">
|
||||
<view class="txt font30">{{item}}</view>
|
||||
<view class="txt font30">
|
||||
{{item.title}}
|
||||
<text class="font28" style="margin-left: 5rpx;">({{item.num}})</text>
|
||||
</view>
|
||||
<view class="line mar-s15" :class="index==teamIndex?'background-orange':''"></view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -133,7 +136,10 @@
|
|||
withdrawal:false, //提现弹窗
|
||||
navList:['返利记录','我的团队','提现记录'], //导航数据
|
||||
navIndex:0, //导航当前
|
||||
teamNav:['经销商团队','我的消费团'], //团队导航
|
||||
teamNav:[
|
||||
{title:'经销商团队',num:0},
|
||||
{title:'我的消费团',num:0}
|
||||
], //团队导航
|
||||
teamIndex:0, //团队当前
|
||||
recordList:[], //记录列表
|
||||
commission:0, //佣金金额
|
||||
|
@ -179,7 +185,9 @@
|
|||
this.commission = res.data.commission;
|
||||
this.cumulative_income = this.$toolAll.tools.addXiaoShu(res.data.cumulative_income);
|
||||
this.cumulative_withdrawal = this.$toolAll.tools.addXiaoShu(res.data.cumulative_withdrawal);
|
||||
this.my_team = res.data.my_team;
|
||||
this.my_team = res.data.team.distributor_total+res.data.team.team_total;
|
||||
this.teamNav[0].num = res.data.team.distributor_total;
|
||||
this.teamNav[1].num = res.data.team.team_total;
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<view class="pad-x170" v-if="isLoading">
|
||||
<view :class="orderDetail.status == 'completed'||orderDetail.status == 'shipped'?'pad-x150':'pad-x170'" v-if="isLoading">
|
||||
<status-nav :ifReturn="true" navBarTitle="订单详情" :marginBottom="0" :backTag="backTag"></status-nav>
|
||||
<!-- 收件人信息 -->
|
||||
<view class="settlement-content pad-zy20 border-box">
|
||||
|
@ -87,9 +87,34 @@
|
|||
</view>
|
||||
<!-- 尾部 -->
|
||||
<view class="pull-btn background-white border-box" style="box-shadow: 0 -9rpx 21rpx rgba(0,0,0,.1);">
|
||||
<view class="btn border-btn border-box color-8c font36 radius30 flex" @tap="cancleEv(orderDetail.coding)" v-if="orderDetail.status == 'waiting' || orderDetail.status == 'paid'">取消订单</view>
|
||||
<view class="btn border-box background-orange color-ff font36 radius30 flex" @tap="affirmEv(orderDetail.id)" v-if="orderDetail.status == 'shipped'">确认收货</view>
|
||||
<view class="btn border-btn border-box color-8c font36 radius30 flex" @tap="buyAgain" v-if="orderDetail.status == 'completed' || orderDetail.status == 'closed'">再次购买</view>
|
||||
<view class="btn border-btn border-box color-8c font36 radius30 flex" @tap="cancleEv" v-if="orderDetail.status == 'waiting' || orderDetail.status == 'paid'">取消订单</view>
|
||||
<view class="order-btns-bg flex" v-if="orderDetail.status == 'shipped'">
|
||||
<view class="btn border-btn border-box color-8c font36 radius30 flex" @tap="refundEv">客服退款</view>
|
||||
<view class="btn border-box background-orange color-ff font36 radius30 flex" @tap="affirmEv(orderDetail.id)">确认收货</view>
|
||||
</view>
|
||||
<view class="order-btns-bg flex" v-if="orderDetail.status == 'completed'">
|
||||
<view class="btn border-btn border-box color-8c font36 radius30 flex" @tap="refundEv">客服退款</view>
|
||||
<view class="btn border-btn border-box color-8c font36 radius30 flex" @tap="buyAgain">再次购买</view>
|
||||
</view>
|
||||
<view class="btn border-btn border-box color-8c font36 radius30 flex" @tap="buyAgain" v-if="orderDetail.status == 'closed'">再次购买</view>
|
||||
|
||||
</view>
|
||||
<!-- 取消原因 -->
|
||||
<view class="pull-bg" style="background-color: rgba(0,0,0,.3);" v-show="isOpen" @tap="closeEdit"></view>
|
||||
<view class="vip-box-bg border-box" v-if="isOpen">
|
||||
<view class="vip-box radius20 background-white font30">
|
||||
<view class="title">取消理由</view>
|
||||
<view class="cancle-reason">
|
||||
<view class="item flex" v-for="(item,index) in cancleReason" :key="index" @tap="chooseEv(index)">
|
||||
<label class="radio"><radio :checked="index==reasonIndex" color="#febf00"/></label>
|
||||
<view class="txt font28">{{item.value}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="submit-btn font36 background-orange radius30 mar-s60 flex" @tap="submitEdit">取消订单</view>
|
||||
<view class="close-btn" @tap="closeEdit">
|
||||
<image src="/static/icon/close-btn.png" mode="widthFix"></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
@ -107,6 +132,9 @@
|
|||
coupon_vip_price:'', //折扣优惠
|
||||
priceAll:'', //实际付款
|
||||
backTag:'',
|
||||
isOpen:false,
|
||||
cancleReason:[], //取消理由
|
||||
reasonIndex:0, //理由位置
|
||||
}
|
||||
},
|
||||
onLoad(op) {
|
||||
|
@ -132,10 +160,38 @@
|
|||
})
|
||||
},
|
||||
|
||||
// 获取取消订单原因
|
||||
getCancleReason(){
|
||||
this.$requst.post('/api/order/cancellation-reason-all').then(res=>{
|
||||
if(res.code==0) {
|
||||
console.log(res,'取消订单原因');
|
||||
this.cancleReason = res.data.list;
|
||||
} else {
|
||||
this.$toolAll.tools.showToast(res.msg)
|
||||
}
|
||||
})
|
||||
},
|
||||
// 取消订单
|
||||
cancleEv(coding){
|
||||
cancleEv(){
|
||||
this.isOpen =true;
|
||||
// 获取取消订单原因
|
||||
this.getCancleReason();
|
||||
},
|
||||
// 选择取消原因
|
||||
chooseEv(index){
|
||||
if(index!==this.reasonIndex){
|
||||
this.reasonIndex = index;
|
||||
}
|
||||
},
|
||||
// 关闭弹窗
|
||||
closeEdit(){
|
||||
this.isOpen = false;
|
||||
},
|
||||
// 确认取消订单
|
||||
submitEdit(){
|
||||
let params = {
|
||||
order_coding: coding //订单号
|
||||
order_coding: this.orderDetail.coding, //订单号
|
||||
remarks:this.cancleReason[this.reasonIndex].value, //取消原因
|
||||
}
|
||||
this.$requst.post('/api/order/cancel',params).then(res=>{
|
||||
if(res.code==0) {
|
||||
|
@ -148,6 +204,12 @@
|
|||
}
|
||||
})
|
||||
},
|
||||
|
||||
// 联系客服退款
|
||||
refundEv(){
|
||||
this.$toolAll.tools.countCustomer('18683958573')
|
||||
},
|
||||
|
||||
// 确认收货
|
||||
affirmEv(id){
|
||||
let params = {
|
||||
|
@ -164,6 +226,7 @@
|
|||
}
|
||||
})
|
||||
},
|
||||
|
||||
// 再次购买
|
||||
buyAgain(index){
|
||||
let buyList = [];
|
||||
|
@ -180,6 +243,7 @@
|
|||
url:'/pages/cart/settlement'
|
||||
})
|
||||
},
|
||||
|
||||
// 复制查询
|
||||
copyEV(){
|
||||
this.$toolAll.tools.clickCopy(this.orderDetail.express_number);
|
||||
|
|
|
@ -46,14 +46,33 @@
|
|||
<view class="btn border-box" @tap.stop="cancleEv(item.coding)">取消订单</view>
|
||||
</view>
|
||||
<view class="btns flex" v-if="item.status == 'shipped'">
|
||||
<view class="btn border-box" @tap.stop="refundEv">客服退款</view>
|
||||
<view class="btn btn-02 border-box background-orange" @tap.stop="affirmEv(item.id)">确认收货</view>
|
||||
</view>
|
||||
<view class="btns flex" v-if="item.status == 'completed' || item.status == 'closed'">
|
||||
<view class="btn border-box" @tap.stop="refundEv" v-if="item.status == 'completed'">客服退款</view>
|
||||
<view class="btn border-box" @tap.stop="buyAgain(index)">再次购买</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 取消原因 -->
|
||||
<view class="pull-bg" style="background-color: rgba(0,0,0,.3);" v-show="isOpen" @tap="closeEdit"></view>
|
||||
<view class="vip-box-bg border-box" v-if="isOpen">
|
||||
<view class="vip-box radius20 background-white font30">
|
||||
<view class="title">取消理由</view>
|
||||
<view class="cancle-reason">
|
||||
<view class="item flex" v-for="(item,index) in cancleReason" :key="index" @tap="chooseEv(index)">
|
||||
<label class="radio"><radio :checked="index==reasonIndex" color="#febf00"/></label>
|
||||
<view class="txt font28">{{item.value}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="submit-btn font36 background-orange radius30 mar-s60 flex" @tap="submitEdit">取消订单</view>
|
||||
<view class="close-btn" @tap="closeEdit">
|
||||
<image src="/static/icon/close-btn.png" mode="widthFix"></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 到底啦 -->
|
||||
<view class="no-more font24" style="margin: 0;padding: 25rpx 0;" v-if="total!==0&&totalAll==total"><text>—— 到底啦 ——</text></view>
|
||||
<!-- 没有内容 -->
|
||||
|
@ -83,6 +102,10 @@
|
|||
orderList:[],
|
||||
flag:true,
|
||||
isLoading:false,
|
||||
isOpen:false,
|
||||
cancleReason:[], //取消理由
|
||||
reasonIndex:0, //理由位置
|
||||
cancleCode:'', // 取消订到号
|
||||
total:0,
|
||||
totalAll:-1,
|
||||
page: 1,
|
||||
|
@ -129,6 +152,7 @@
|
|||
// 分类切换效果
|
||||
this.setTabList();
|
||||
},
|
||||
|
||||
// 搜索订单
|
||||
doSearch(){
|
||||
this.orderList = [];
|
||||
|
@ -137,6 +161,7 @@
|
|||
// 获取订单列表
|
||||
this.getOrderList();
|
||||
},
|
||||
|
||||
// 获取订单列表
|
||||
getOrderList(){
|
||||
uni.showLoading({
|
||||
|
@ -173,16 +198,48 @@
|
|||
this.isLoading = true;
|
||||
})
|
||||
},
|
||||
|
||||
// 去详情
|
||||
toDetail(id){
|
||||
uni.navigateTo({
|
||||
url:`/pagesA/order/detail?id=${id}`
|
||||
})
|
||||
},
|
||||
|
||||
// 获取取消订单原因
|
||||
getCancleReason(){
|
||||
this.$requst.post('/api/order/cancellation-reason-all').then(res=>{
|
||||
if(res.code==0) {
|
||||
console.log(res,'取消订单原因');
|
||||
this.cancleReason = res.data.list;
|
||||
} else {
|
||||
this.$toolAll.tools.showToast(res.msg)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
// 取消订单
|
||||
cancleEv(coding){
|
||||
// 获取取消订单原因
|
||||
this.getCancleReason();
|
||||
this.isOpen =true;
|
||||
this.cancleCode = coding;
|
||||
},
|
||||
// 选择取消原因
|
||||
chooseEv(index){
|
||||
if(index!==this.reasonIndex){
|
||||
this.reasonIndex = index;
|
||||
}
|
||||
},
|
||||
// 关闭弹窗
|
||||
closeEdit(){
|
||||
this.isOpen = false;
|
||||
},
|
||||
//确认取消订单
|
||||
submitEdit(){
|
||||
let params = {
|
||||
order_coding: coding //订单号
|
||||
order_coding: this.cancleCode, //订单号
|
||||
remarks:this.cancleReason[this.reasonIndex].value, //取消原因
|
||||
}
|
||||
this.$requst.post('/api/order/cancel',params).then(res=>{
|
||||
if(res.code==0) {
|
||||
|
@ -190,11 +247,18 @@
|
|||
this.orderList = [];
|
||||
this.page = 1;
|
||||
this.getOrderList();
|
||||
this.isOpen = false;
|
||||
} else {
|
||||
this.$toolAll.tools.showToast(res.msg)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
// 联系客服退款
|
||||
refundEv(){
|
||||
this.$toolAll.tools.countCustomer('18683958573')
|
||||
},
|
||||
|
||||
// 确认收货
|
||||
affirmEv(id){
|
||||
let params = {
|
||||
|
@ -211,6 +275,7 @@
|
|||
}
|
||||
})
|
||||
},
|
||||
|
||||
// 再次购买
|
||||
buyAgain(index){
|
||||
let buyList = [];
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<view>
|
||||
<view v-if="isLoading">
|
||||
<status-nav :ifReturn="true" navBarTitle="经销商申请" :marginBottom="0" :backTag="backTag"></status-nav>
|
||||
<!-- 内容 -->
|
||||
<view class="distributor border-box" :style="{'min-height':disclaimersHeight}">
|
||||
|
@ -48,17 +48,22 @@
|
|||
bank_account:'',
|
||||
flag:true,
|
||||
backTag:'backindex',
|
||||
isLoading: false,
|
||||
}
|
||||
},
|
||||
onLoad(op) {
|
||||
if(op.invite_code){
|
||||
// 缓存invite_code
|
||||
uni.setStorageSync('inviteCode',op.invite_code);
|
||||
this.invite_code = op.invite_code;
|
||||
}
|
||||
if(op.invite_name){
|
||||
this.invite_name = op.invite_name;
|
||||
if(this.$toolAll.tools.judgeAuth()) {
|
||||
if(op.invite_code){
|
||||
// 缓存invite_code
|
||||
uni.setStorageSync('inviteCode',op.invite_code);
|
||||
this.invite_code = op.invite_code;
|
||||
}
|
||||
if(op.invite_name){
|
||||
this.invite_name = op.invite_name;
|
||||
}
|
||||
this.isLoading = true;
|
||||
}
|
||||
|
||||
},
|
||||
methods: {
|
||||
// 提交申请
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -46,6 +46,5 @@
|
|||
"usingComponents": {
|
||||
"nothing-page": "/components/nothing/nothing-page",
|
||||
"status-nav": "/components/status-nav/status-nav"
|
||||
},
|
||||
"sitemapLocation": "sitemap.json"
|
||||
}
|
||||
}
|
|
@ -7,7 +7,9 @@
|
|||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(uni, createApp) {__webpack_require__(/*! uni-pages */ 5);var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
|
||||
/* WEBPACK VAR INJECTION */(function(uni, createApp) {__webpack_require__(/*! uni-pages */ 5);
|
||||
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||
var _App = _interopRequireDefault(__webpack_require__(/*! ./App */ 6));
|
||||
var _store = _interopRequireDefault(__webpack_require__(/*! ./store */ 12));
|
||||
|
||||
|
@ -24,7 +26,8 @@ var _tools = _interopRequireDefault(__webpack_require__(/*! @/jsFile/tools.js */
|
|||
|
||||
|
||||
|
||||
var _requst = _interopRequireDefault(__webpack_require__(/*! @/jsFile/requst.js */ 17));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;_vue.default.prototype.$store = _store.default;var nothingPage = function nothingPage() {__webpack_require__.e(/*! require.ensure | components/nothing/nothing-page */ "components/nothing/nothing-page").then((function () {return resolve(__webpack_require__(/*! ./components/nothing/nothing-page.vue */ 130));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);}; //引入无内容组件
|
||||
var _requst = _interopRequireDefault(__webpack_require__(/*! @/jsFile/requst.js */ 17));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;} // @ts-ignore
|
||||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;_vue.default.prototype.$store = _store.default;var nothingPage = function nothingPage() {__webpack_require__.e(/*! require.ensure | components/nothing/nothing-page */ "components/nothing/nothing-page").then((function () {return resolve(__webpack_require__(/*! ./components/nothing/nothing-page.vue */ 130));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);}; //引入无内容组件
|
||||
_vue.default.component('nothing-page', nothingPage); //全局注册无内容组件
|
||||
var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-nav/status-nav */ "components/status-nav/status-nav").then((function () {return resolve(__webpack_require__(/*! ./components/status-nav/status-nav.vue */ 137));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);}; //引入头部组件
|
||||
_vue.default.component('status-nav', statusNav); //全局注册头部组件
|
||||
|
@ -32,8 +35,7 @@ _vue.default.component('status-nav', statusNav); //全局注册头部组件
|
|||
_vue.default.prototype.$toolAll = _tools.default; // 响应数据
|
||||
_vue.default.prototype.$requst = _requst.default; //公共域名
|
||||
_vue.default.prototype.$hostHttp = 'https://laonon.scdxtc.cn'; //不显示console.log
|
||||
if (uni.getSystemInfoSync().platform !== "devtools") {console.log = function () {};
|
||||
}
|
||||
if (uni.getSystemInfoSync().platform !== "devtools") {console.log = function () {};}
|
||||
|
||||
_App.default.mpType = 'app';
|
||||
|
||||
|
|
|
@ -350,18 +350,21 @@ page {background-color: #FFFFFF;}
|
|||
/* 首页 */
|
||||
.index-top{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
height: 420rpx;
|
||||
position: relative;
|
||||
z-index: -1;
|
||||
z-index: 0;
|
||||
}
|
||||
.index-top>image{
|
||||
width: 100%;
|
||||
.index-top image{
|
||||
width: 100%;
|
||||
min-height: 420rpx;
|
||||
}
|
||||
/* 内容区 */
|
||||
.index-content{
|
||||
width: 100%;
|
||||
border-radius: 20rpx 20rpx 0 0;
|
||||
margin-top: -20rpx;
|
||||
margin-top: -20rpx;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
/* 顶部背景 */
|
||||
.index-statis-bg{
|
||||
|
@ -1505,6 +1508,19 @@ page {background-color: #FFFFFF;}
|
|||
color: #000000;
|
||||
border: 0;
|
||||
}
|
||||
/* 取消订单 */
|
||||
.cancle-reason{
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
.cancle-reason .item{
|
||||
align-items: center;
|
||||
height: 74rpx;
|
||||
}
|
||||
.cancle-reason .item>.radio{
|
||||
-webkit-transform: scale(.8);
|
||||
transform: scale(.8);
|
||||
margin-left: -5rpx;
|
||||
}
|
||||
/* 订单详情 */
|
||||
.order-info>view{
|
||||
justify-content: space-between;
|
||||
|
@ -1540,6 +1556,14 @@ page {background-color: #FFFFFF;}
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 130rpx;
|
||||
}
|
||||
.order-btns-bg{
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.order-btns-bg .btn{
|
||||
width: calc(50% - 22rpx);
|
||||
height: 84rpx;
|
||||
}
|
||||
/* 项目页面样式 end */
|
||||
/* 动画样式 start */
|
||||
|
|
|
@ -105,11 +105,11 @@
|
|||
/******/
|
||||
/******/
|
||||
/******/ // mini-css-extract-plugin CSS loading
|
||||
/******/ var cssChunks = {"components/nothing/nothing-page":1,"components/status-nav/status-nav":1,"components/tabbar/tabbar":1,"components/share-coupon/share-coupon":1};
|
||||
/******/ var cssChunks = {"components/nothing/nothing-page":1,"components/status-nav/status-nav":1,"components/swipers/swiper-pu":1,"components/tabbar/tabbar":1,"components/share-coupon/share-coupon":1};
|
||||
/******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
|
||||
/******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
|
||||
/******/ promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {
|
||||
/******/ var href = "" + ({"components/nothing/nothing-page":"components/nothing/nothing-page","components/status-nav/status-nav":"components/status-nav/status-nav","components/tabbar/tabbar":"components/tabbar/tabbar","components/share-coupon/share-coupon":"components/share-coupon/share-coupon"}[chunkId]||chunkId) + ".wxss";
|
||||
/******/ var href = "" + ({"components/nothing/nothing-page":"components/nothing/nothing-page","components/status-nav/status-nav":"components/status-nav/status-nav","components/swipers/swiper-pu":"components/swipers/swiper-pu","components/tabbar/tabbar":"components/tabbar/tabbar","components/share-coupon/share-coupon":"components/share-coupon/share-coupon"}[chunkId]||chunkId) + ".wxss";
|
||||
/******/ var fullhref = __webpack_require__.p + href;
|
||||
/******/ var existingLinkTags = document.getElementsByTagName("link");
|
||||
/******/ for(var i = 0; i < existingLinkTags.length; i++) {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +1,6 @@
|
|||
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["components/share-coupon/share-coupon"],{
|
||||
|
||||
/***/ 151:
|
||||
/***/ 158:
|
||||
/*!*********************************************************************!*\
|
||||
!*** D:/老农商城/mall-laonong/components/share-coupon/share-coupon.vue ***!
|
||||
\*********************************************************************/
|
||||
|
@ -9,10 +9,10 @@
|
|||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _share_coupon_vue_vue_type_template_id_ef72b3f8___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./share-coupon.vue?vue&type=template&id=ef72b3f8& */ 152);
|
||||
/* harmony import */ var _share_coupon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./share-coupon.vue?vue&type=script&lang=js& */ 154);
|
||||
/* harmony import */ var _share_coupon_vue_vue_type_template_id_ef72b3f8___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./share-coupon.vue?vue&type=template&id=ef72b3f8& */ 159);
|
||||
/* harmony import */ var _share_coupon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./share-coupon.vue?vue&type=script&lang=js& */ 161);
|
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _share_coupon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _share_coupon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||
/* harmony import */ var _share_coupon_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./share-coupon.vue?vue&type=style&index=0&lang=css& */ 156);
|
||||
/* harmony import */ var _share_coupon_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./share-coupon.vue?vue&type=style&index=0&lang=css& */ 163);
|
||||
/* harmony import */ var _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 11);
|
||||
|
||||
var renderjs
|
||||
|
@ -41,7 +41,7 @@ component.options.__file = "components/share-coupon/share-coupon.vue"
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 152:
|
||||
/***/ 159:
|
||||
/*!****************************************************************************************************!*\
|
||||
!*** D:/老农商城/mall-laonong/components/share-coupon/share-coupon.vue?vue&type=template&id=ef72b3f8& ***!
|
||||
\****************************************************************************************************/
|
||||
|
@ -50,7 +50,7 @@ component.options.__file = "components/share-coupon/share-coupon.vue"
|
|||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_share_coupon_vue_vue_type_template_id_ef72b3f8___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./share-coupon.vue?vue&type=template&id=ef72b3f8& */ 153);
|
||||
/* harmony import */ var _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_share_coupon_vue_vue_type_template_id_ef72b3f8___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./share-coupon.vue?vue&type=template&id=ef72b3f8& */ 160);
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_share_coupon_vue_vue_type_template_id_ef72b3f8___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_share_coupon_vue_vue_type_template_id_ef72b3f8___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
|
@ -63,7 +63,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 153:
|
||||
/***/ 160:
|
||||
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/老农商城/mall-laonong/components/share-coupon/share-coupon.vue?vue&type=template&id=ef72b3f8& ***!
|
||||
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
|
@ -90,7 +90,7 @@ render._withStripped = true
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 154:
|
||||
/***/ 161:
|
||||
/*!**********************************************************************************************!*\
|
||||
!*** D:/老农商城/mall-laonong/components/share-coupon/share-coupon.vue?vue&type=script&lang=js& ***!
|
||||
\**********************************************************************************************/
|
||||
|
@ -99,14 +99,14 @@ render._withStripped = true
|
|||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_share_coupon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./share-coupon.vue?vue&type=script&lang=js& */ 155);
|
||||
/* harmony import */ var _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_share_coupon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./share-coupon.vue?vue&type=script&lang=js& */ 162);
|
||||
/* harmony import */ var _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_share_coupon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_share_coupon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_share_coupon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_share_coupon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_share_coupon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 155:
|
||||
/***/ 162:
|
||||
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/老农商城/mall-laonong/components/share-coupon/share-coupon.vue?vue&type=script&lang=js& ***!
|
||||
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
|
@ -183,7 +183,7 @@ var _default = { name: 'share-coupon', props: { spuId: { type: Number, default:
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 156:
|
||||
/***/ 163:
|
||||
/*!******************************************************************************************************!*\
|
||||
!*** D:/老农商城/mall-laonong/components/share-coupon/share-coupon.vue?vue&type=style&index=0&lang=css& ***!
|
||||
\******************************************************************************************************/
|
||||
|
@ -192,14 +192,14 @@ var _default = { name: 'share-coupon', props: { spuId: { type: Number, default:
|
|||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_share_coupon_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./share-coupon.vue?vue&type=style&index=0&lang=css& */ 157);
|
||||
/* harmony import */ var _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_share_coupon_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./share-coupon.vue?vue&type=style&index=0&lang=css& */ 164);
|
||||
/* harmony import */ var _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_share_coupon_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_share_coupon_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_share_coupon_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_share_coupon_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_share_coupon_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 157:
|
||||
/***/ 164:
|
||||
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/老农商城/mall-laonong/components/share-coupon/share-coupon.vue?vue&type=style&index=0&lang=css& ***!
|
||||
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
|
@ -218,7 +218,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||
'components/share-coupon/share-coupon-create-component',
|
||||
{
|
||||
'components/share-coupon/share-coupon-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('1')['createComponent'](__webpack_require__(151))
|
||||
__webpack_require__('1')['createComponent'](__webpack_require__(158))
|
||||
})
|
||||
},
|
||||
[['components/share-coupon/share-coupon-create-component']]
|
||||
|
|
|
@ -0,0 +1,298 @@
|
|||
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["components/swipers/swiper-pu"],{
|
||||
|
||||
/***/ 151:
|
||||
/*!*************************************************************!*\
|
||||
!*** D:/老农商城/mall-laonong/components/swipers/swiper-pu.vue ***!
|
||||
\*************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _swiper_pu_vue_vue_type_template_id_4176028a_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./swiper-pu.vue?vue&type=template&id=4176028a&scoped=true& */ 152);
|
||||
/* harmony import */ var _swiper_pu_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./swiper-pu.vue?vue&type=script&lang=js& */ 154);
|
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _swiper_pu_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _swiper_pu_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||
/* harmony import */ var _swiper_pu_vue_vue_type_style_index_0_id_4176028a_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./swiper-pu.vue?vue&type=style&index=0&id=4176028a&scoped=true&lang=css& */ 156);
|
||||
/* harmony import */ var _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 11);
|
||||
|
||||
var renderjs
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* normalize component */
|
||||
|
||||
var component = Object(_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
||||
_swiper_pu_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_swiper_pu_vue_vue_type_template_id_4176028a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_swiper_pu_vue_vue_type_template_id_4176028a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
false,
|
||||
null,
|
||||
"4176028a",
|
||||
null,
|
||||
false,
|
||||
_swiper_pu_vue_vue_type_template_id_4176028a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
|
||||
renderjs
|
||||
)
|
||||
|
||||
component.options.__file = "components/swipers/swiper-pu.vue"
|
||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 152:
|
||||
/*!********************************************************************************************************!*\
|
||||
!*** D:/老农商城/mall-laonong/components/swipers/swiper-pu.vue?vue&type=template&id=4176028a&scoped=true& ***!
|
||||
\********************************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_swiper_pu_vue_vue_type_template_id_4176028a_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./swiper-pu.vue?vue&type=template&id=4176028a&scoped=true& */ 153);
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_swiper_pu_vue_vue_type_template_id_4176028a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_swiper_pu_vue_vue_type_template_id_4176028a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_swiper_pu_vue_vue_type_template_id_4176028a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_swiper_pu_vue_vue_type_template_id_4176028a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
||||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 153:
|
||||
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/老农商城/mall-laonong/components/swipers/swiper-pu.vue?vue&type=template&id=4176028a&scoped=true& ***!
|
||||
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
|
||||
var components
|
||||
var render = function() {
|
||||
var _vm = this
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
}
|
||||
var recyclableRender = false
|
||||
var staticRenderFns = []
|
||||
render._withStripped = true
|
||||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 154:
|
||||
/*!**************************************************************************************!*\
|
||||
!*** D:/老农商城/mall-laonong/components/swipers/swiper-pu.vue?vue&type=script&lang=js& ***!
|
||||
\**************************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_swiper_pu_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./swiper-pu.vue?vue&type=script&lang=js& */ 155);
|
||||
/* harmony import */ var _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_swiper_pu_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_swiper_pu_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_swiper_pu_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_swiper_pu_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_swiper_pu_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 155:
|
||||
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/老农商城/mall-laonong/components/swipers/swiper-pu.vue?vue&type=script&lang=js& ***!
|
||||
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; //
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
var _default2 =
|
||||
{
|
||||
name: "swiper-pu",
|
||||
props: {
|
||||
isplay: {
|
||||
type: Boolean,
|
||||
default: false },
|
||||
|
||||
isDot: { //是否显示指示点
|
||||
type: Boolean,
|
||||
default: true },
|
||||
|
||||
bannerList: { //默认轮播图片
|
||||
type: Array,
|
||||
default: function _default() {
|
||||
return [{
|
||||
imgSrc: 'https://s6.jpg.cm/2022/02/14/L4oDhy.jpg',
|
||||
url: '',
|
||||
isVideo: false,
|
||||
poster: '' },
|
||||
|
||||
{
|
||||
imgSrc: 'https://s6.jpg.cm/2022/02/14/L4oDhy.jpg',
|
||||
url: '',
|
||||
isVideo: false,
|
||||
poster: '' },
|
||||
|
||||
{
|
||||
imgSrc: 'https://s6.jpg.cm/2022/02/14/L4oDhy.jpg',
|
||||
url: '',
|
||||
isVideo: false,
|
||||
poster: '' }];
|
||||
|
||||
|
||||
} },
|
||||
|
||||
newHeight: { //swiper的高
|
||||
type: String,
|
||||
default: '420rpx' },
|
||||
|
||||
newBottom: { //指示点距离底部位置
|
||||
type: String,
|
||||
default: '18px' },
|
||||
|
||||
newRadius: { //图片圆角
|
||||
type: String,
|
||||
default: '0px' },
|
||||
|
||||
browseP: { //是否可预览
|
||||
type: Boolean,
|
||||
default: false },
|
||||
|
||||
activec: {
|
||||
type: String,
|
||||
default: 'rgba(255,255,255,1)' },
|
||||
|
||||
defaultc: {
|
||||
type: String,
|
||||
default: 'rgba(255,255,255,.3)' } },
|
||||
|
||||
|
||||
data: function data() {
|
||||
return {
|
||||
bcurrent: 0, // 默认当前选中项
|
||||
isShowVideo: false, // 是否显示视频
|
||||
autoplay: false, // 是否开启自动轮播
|
||||
isVedio: uni.getStorageSync('is_vedio') // 是否是视频
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
// 图片点击事件
|
||||
chooseImg: function chooseImg(index, url) {var _this = this;
|
||||
console.log('当前banner图', index, url);
|
||||
this.bcurrent = index;
|
||||
if (this.browseP) {
|
||||
var imgList = [];
|
||||
this.bannerList.forEach(function (item) {
|
||||
var nurl = '';
|
||||
var obj = {};
|
||||
if (_this.isVedio) {
|
||||
item.url == '' ? nurl = item.imgSrc : nurl = item.url;
|
||||
obj = {
|
||||
url: nurl,
|
||||
type: item.isVideo ? 'video' : 'image',
|
||||
poster: item.poster };
|
||||
|
||||
} else {
|
||||
nurl = item.imgSrc;
|
||||
obj = {
|
||||
url: nurl,
|
||||
type: 'image',
|
||||
poster: item.poster };
|
||||
|
||||
}
|
||||
imgList.push(obj);
|
||||
});
|
||||
// 预览图片和视频
|
||||
uni.previewMedia({
|
||||
current: this.bcurrent,
|
||||
sources: imgList });
|
||||
|
||||
}
|
||||
if (url) {
|
||||
// 有链接,跳转链接
|
||||
uni.navigateTo({
|
||||
url: "/".concat(url) });
|
||||
|
||||
console.log("/".concat(url), '跳转链接');
|
||||
}
|
||||
},
|
||||
// 切换后获取当前索引
|
||||
changeBanner: function changeBanner(e) {
|
||||
this.bcurrent = e.detail.current; //当前的指示点下标
|
||||
// console.log(this.bcurrent);
|
||||
},
|
||||
// 点击当前指示点
|
||||
chooseDot: function chooseDot(index) {
|
||||
this.bcurrent = index;
|
||||
} } };exports.default = _default2;
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 156:
|
||||
/*!**********************************************************************************************************************!*\
|
||||
!*** D:/老农商城/mall-laonong/components/swipers/swiper-pu.vue?vue&type=style&index=0&id=4176028a&scoped=true&lang=css& ***!
|
||||
\**********************************************************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_swiper_pu_vue_vue_type_style_index_0_id_4176028a_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./swiper-pu.vue?vue&type=style&index=0&id=4176028a&scoped=true&lang=css& */ 157);
|
||||
/* harmony import */ var _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_swiper_pu_vue_vue_type_style_index_0_id_4176028a_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_swiper_pu_vue_vue_type_style_index_0_id_4176028a_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_swiper_pu_vue_vue_type_style_index_0_id_4176028a_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_swiper_pu_vue_vue_type_style_index_0_id_4176028a_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_app_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_swiper_pu_vue_vue_type_style_index_0_id_4176028a_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 157:
|
||||
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/老农商城/mall-laonong/components/swipers/swiper-pu.vue?vue&type=style&index=0&id=4176028a&scoped=true&lang=css& ***!
|
||||
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
if(false) { var cssReload; }
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/swipers/swiper-pu.js.map
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/swipers/swiper-pu-create-component',
|
||||
{
|
||||
'components/swipers/swiper-pu-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('1')['createComponent'](__webpack_require__(151))
|
||||
})
|
||||
},
|
||||
[['components/swipers/swiper-pu-create-component']]
|
||||
]);
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
<view class="banner-box data-v-4176028a"><swiper style="{{'height:'+(newHeight)+';'}}" current="{{bcurrent}}" autoplay="{{isplay}}" circular="{{true}}" interval="{{3000}}" duration="{{500}}" data-event-opts="{{[['change',[['changeBanner',['$event']]]]]}}" bindchange="__e" class="data-v-4176028a"><block wx:for="{{bannerList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item class="data-v-4176028a"><view data-event-opts="{{[['tap',[['chooseImg',[index,'$0'],[[['bannerList','',index,'url']]]]]]]}}" class="img-box data-v-4176028a" bindtap="__e"><image class="img animated fadeIn data-v-4176028a" style="{{'border-radius:'+(newRadius)+';'+('height:'+(newHeight)+';')}}" src="{{item.imgSrc}}" mode="widthFix"></image></view></swiper-item></block></swiper><block wx:if="{{isDot}}"><view class="dot-box data-v-4176028a" style="{{'bottom:'+(newBottom)+';'}}"><block wx:for="{{bannerList.length}}" wx:for-item="itemd" wx:for-index="indexd" wx:key="indexd"><view data-event-opts="{{[['tap',[['chooseDot',[indexd]]]]]}}" class="item-dot data-v-4176028a" style="{{'background-color:'+(bcurrent==indexd?activec:defaultc)+';'}}" bindtap="__e"></view></block></view></block></view>
|
|
@ -0,0 +1,28 @@
|
|||
|
||||
.banner-box.data-v-4176028a {
|
||||
position: relative;
|
||||
}
|
||||
.img-box.data-v-4176028a {
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.img.data-v-4176028a {
|
||||
width: 100%;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
.dot-box.data-v-4176028a {
|
||||
position: absolute;
|
||||
bottom: 36rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
}
|
||||
.item-dot.data-v-4176028a {
|
||||
width: 20rpx;
|
||||
height: 20rpx;
|
||||
border-radius: 100%;
|
||||
margin: 0 6rpx;
|
||||
}
|
||||
|
|
@ -9,9 +9,11 @@
|
|||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
|
||||
var _cart = _interopRequireDefault(__webpack_require__(/*! ./pages/cart/cart.vue */ 32));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||||
createPage(_cart.default);
|
||||
|
||||
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||
var _cart = _interopRequireDefault(__webpack_require__(/*! ./pages/cart/cart.vue */ 32));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_cart.default);
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||
|
||||
/***/ }),
|
||||
|
|
|
@ -9,9 +9,11 @@
|
|||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
|
||||
var _finish = _interopRequireDefault(__webpack_require__(/*! ./pages/cart/finish.vue */ 46));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||||
createPage(_finish.default);
|
||||
|
||||
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||
var _finish = _interopRequireDefault(__webpack_require__(/*! ./pages/cart/finish.vue */ 46));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_finish.default);
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||
|
||||
/***/ }),
|
||||
|
|
|
@ -9,9 +9,11 @@
|
|||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
|
||||
var _settlement = _interopRequireDefault(__webpack_require__(/*! ./pages/cart/settlement.vue */ 40));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||||
createPage(_settlement.default);
|
||||
|
||||
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||
var _settlement = _interopRequireDefault(__webpack_require__(/*! ./pages/cart/settlement.vue */ 40));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_settlement.default);
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||
|
||||
/***/ }),
|
||||
|
|
|
@ -9,9 +9,11 @@
|
|||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
|
||||
var _index = _interopRequireDefault(__webpack_require__(/*! ./pages/index/index.vue */ 19));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||||
createPage(_index.default);
|
||||
|
||||
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||
var _index = _interopRequireDefault(__webpack_require__(/*! ./pages/index/index.vue */ 19));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_index.default);
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||
|
||||
/***/ }),
|
||||
|
@ -246,9 +248,10 @@ __webpack_require__.r(__webpack_exports__);
|
|||
|
||||
|
||||
var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 24);
|
||||
var _vuex = __webpack_require__(/*! vuex */ 13);function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}var tabbar = function tabbar() {__webpack_require__.e(/*! require.ensure | components/tabbar/tabbar */ "components/tabbar/tabbar").then((function () {return resolve(__webpack_require__(/*! @/components/tabbar/tabbar */ 144));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);}; //引入mapState
|
||||
var _vuex = __webpack_require__(/*! vuex */ 13);function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}var swiperPu = function swiperPu() {__webpack_require__.e(/*! require.ensure | components/swipers/swiper-pu */ "components/swipers/swiper-pu").then((function () {return resolve(__webpack_require__(/*! @/components/swipers/swiper-pu */ 151));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var tabbar = function tabbar() {__webpack_require__.e(/*! require.ensure | components/tabbar/tabbar */ "components/tabbar/tabbar").then((function () {return resolve(__webpack_require__(/*! @/components/tabbar/tabbar */ 144));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);}; //引入mapState
|
||||
var _default = {
|
||||
components: {
|
||||
swiperPu: swiperPu,
|
||||
tabbar: tabbar },
|
||||
|
||||
data: function data() {var _ref;
|
||||
|
@ -257,12 +260,14 @@ var _default = {
|
|||
statusHeight: uni.getSystemInfoSync().statusBarHeight,
|
||||
scrollTop: 0, //分类距离顶部距离
|
||||
isShow: true, //显示
|
||||
bannerList: [], //轮播图列表
|
||||
isplay: false, //是否自动轮播
|
||||
playTimer: null, //间隔时间
|
||||
//分类导航
|
||||
currentIndex: 0,
|
||||
scrollLeft: 0,
|
||||
tabsScrollLeft: 0,
|
||||
cateWidth: '',
|
||||
indexBackground: '', //背景图
|
||||
keyword: '', //关键词
|
||||
cateList: [], //商品分类
|
||||
commodityList: [], //商品列表
|
||||
|
@ -284,8 +289,8 @@ var _default = {
|
|||
// 缓存invite_code
|
||||
uni.setStorageSync('inviteCode', op.invite_code);
|
||||
}
|
||||
// 获取头部背景
|
||||
this.getTabbarEv();
|
||||
// 获取banner列表
|
||||
this.getBannerList();
|
||||
// 获取分类列表
|
||||
this.getCateEv();
|
||||
},
|
||||
|
@ -305,7 +310,7 @@ var _default = {
|
|||
this.isplay = false;
|
||||
},
|
||||
onPageScroll: function onPageScroll(object) {
|
||||
if (object.scrollTop >= this.statusHeight + 65 && object.scrollTop <= this.statusHeight + 135) {
|
||||
if (object.scrollTop >= this.statusHeight + 60 && object.scrollTop <= this.statusHeight + 120) {
|
||||
this.isShow = false;
|
||||
}
|
||||
if (object.scrollTop <= this.statusHeight + 50) {
|
||||
|
@ -351,15 +356,26 @@ var _default = {
|
|||
} },
|
||||
|
||||
methods: {
|
||||
// 获取头部背景
|
||||
getTabbarEv: function getTabbarEv() {var _this2 = this;
|
||||
this.$requst.get('/api/index/mini-program-setting').then(function (res) {
|
||||
// 获取轮播图事件
|
||||
getBannerList: function getBannerList() {var _this2 = this;
|
||||
this.$requst.get('/api/common/slides').then(function (res) {
|
||||
if (res.code == 0) {
|
||||
console.log(res, '个性装扮');
|
||||
_this2.indexBackground = _this2.$hostHttp + res.data.indexBackground;
|
||||
console.log(res, '轮播图列表');
|
||||
res.data.forEach(function (item) {
|
||||
var isVideo = false;
|
||||
if (item.type != 'img') isVideo = true;
|
||||
var banObj = {
|
||||
imgSrc: _this2.$hostHttp + item.src,
|
||||
url: item.url,
|
||||
isVideo: isVideo,
|
||||
poster: item.src };
|
||||
|
||||
_this2.bannerList.push(banObj);
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
// 获取商品分类
|
||||
getCateEv: function getCateEv() {var _this3 = this;
|
||||
this.$requst.get('/api/spu/category').then(function (res) {
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
"navigationBarTitleText": "首页",
|
||||
"enablePullDownRefresh": false,
|
||||
"usingComponents": {
|
||||
"tabbar": "/components/tabbar/tabbar"
|
||||
"tabbar": "/components/tabbar/tabbar",
|
||||
"swiper-pu": "/components/swipers/swiper-pu"
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
|
@ -9,9 +9,11 @@
|
|||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
|
||||
var _login = _interopRequireDefault(__webpack_require__(/*! ./pages/login/login.vue */ 52));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||||
createPage(_login.default);
|
||||
|
||||
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||
var _login = _interopRequireDefault(__webpack_require__(/*! ./pages/login/login.vue */ 52));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_login.default);
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||
|
||||
/***/ }),
|
||||
|
|
|
@ -9,9 +9,11 @@
|
|||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
|
||||
var _my = _interopRequireDefault(__webpack_require__(/*! ./pages/my/my.vue */ 26));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||||
createPage(_my.default);
|
||||
|
||||
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||
var _my = _interopRequireDefault(__webpack_require__(/*! ./pages/my/my.vue */ 26));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_my.default);
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||
|
||||
/***/ }),
|
||||
|
@ -123,7 +125,9 @@ var render = function() {
|
|||
? _vm.__map(_vm.myOrder, function(item, index) {
|
||||
var $orig = _vm.__get_orig(item)
|
||||
|
||||
var g0 = _vm.orderObj.indexOf(index.toString())
|
||||
var g0 =
|
||||
_vm.orderObj.indexOf(index.toString()) != -1 &&
|
||||
_vm.myOrder[index].num > 0
|
||||
return {
|
||||
$orig: $orig,
|
||||
g0: g0
|
||||
|
@ -357,18 +361,11 @@ var _default = {
|
|||
_this.myOrder[2].num = newArr.paid;
|
||||
_this.myOrder[3].num = newArr.shipped;
|
||||
_this.myOrder[4].num = newArr.completed;
|
||||
if (_this.vip_level !== 0 && _this.is_distributor !== 0) {
|
||||
if (_this.vip_level !== 0) {
|
||||
_this.showObj = '0234567';
|
||||
}
|
||||
if (_this.vip_level !== 0 && _this.is_distributor == 0) {
|
||||
_this.showObj = '023467';
|
||||
}
|
||||
if (_this.vip_level == 0 && _this.is_distributor !== 0) {
|
||||
} else {
|
||||
_this.showObj = '01234567';
|
||||
}
|
||||
if (_this.vip_level == 0 && _this.is_distributor == 0) {
|
||||
_this.showObj = '0123467';
|
||||
}
|
||||
// 获取分销码
|
||||
_this.getCodeEv();
|
||||
}
|
||||
|
@ -410,8 +407,14 @@ var _default = {
|
|||
url: "/pagesA/integral/integral" });
|
||||
|
||||
} else if (index == 5) {
|
||||
uni.navigateTo({
|
||||
url: "/pagesA/distribution/distribution" });
|
||||
if (this.is_distributor !== 0) {
|
||||
uni.navigateTo({
|
||||
url: "/pagesA/distribution/distribution" });
|
||||
|
||||
} else {
|
||||
// 调用扫码功能
|
||||
this.getScanCode();
|
||||
}
|
||||
|
||||
} else if (index == 6) {
|
||||
uni.navigateTo({
|
||||
|
@ -423,30 +426,25 @@ var _default = {
|
|||
|
||||
}
|
||||
},
|
||||
// 获取授权信息
|
||||
onGetPhoneNumberA: function onGetPhoneNumberA(e) {var _this3 = this;
|
||||
if (e.detail.errMsg == "getPhoneNumber:fail user deny") {//用户决绝授权
|
||||
this.$toolAll.tools.showToast('您已拒绝授权');
|
||||
} else {//允许授权
|
||||
var params = {
|
||||
iv: e.detail.iv,
|
||||
encryptedData: e.detail.encryptedData };
|
||||
|
||||
this.$requst.post('/api/user/bind-phone', params).then(function (res) {
|
||||
if (res.code == 0) {
|
||||
_this3.$toolAll.tools.showToast('绑定成功');
|
||||
_this3.getUserInfo();
|
||||
// 调用扫码功能
|
||||
getScanCode: function getScanCode() {var _this3 = this;
|
||||
uni.scanCode({
|
||||
success: function success(res) {
|
||||
console.log(res.path, '扫码成功');
|
||||
var path = "/".concat(res.path);
|
||||
if (path.indexOf('/pagesB/distributor/distributor') == 0) {
|
||||
uni.navigateTo({
|
||||
url: "/pagesB/ucenter/ucenter" });
|
||||
url: path });
|
||||
|
||||
} else {
|
||||
_this3.$toolAll.tools.showToast(res.msg);
|
||||
_this3.$toolAll.tools.showToast('请扫正确的二维码');
|
||||
}
|
||||
});
|
||||
} });
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
onGetPhoneNumberB: function onGetPhoneNumberB(e) {var _this4 = this;
|
||||
// 获取授权信息
|
||||
onGetPhoneNumberA: function onGetPhoneNumberA(e) {var _this4 = this;
|
||||
if (e.detail.errMsg == "getPhoneNumber:fail user deny") {//用户决绝授权
|
||||
this.$toolAll.tools.showToast('您已拒绝授权');
|
||||
} else {//允许授权
|
||||
|
@ -458,7 +456,9 @@ var _default = {
|
|||
if (res.code == 0) {
|
||||
_this4.$toolAll.tools.showToast('绑定成功');
|
||||
_this4.getUserInfo();
|
||||
_this4.isVip = true;
|
||||
uni.navigateTo({
|
||||
url: "/pagesB/ucenter/ucenter" });
|
||||
|
||||
} else {
|
||||
_this4.$toolAll.tools.showToast(res.msg);
|
||||
}
|
||||
|
@ -466,9 +466,29 @@ var _default = {
|
|||
|
||||
}
|
||||
},
|
||||
onGetPhoneNumberB: function onGetPhoneNumberB(e) {var _this5 = this;
|
||||
if (e.detail.errMsg == "getPhoneNumber:fail user deny") {//用户决绝授权
|
||||
this.$toolAll.tools.showToast('您已拒绝授权');
|
||||
} else {//允许授权
|
||||
var params = {
|
||||
iv: e.detail.iv,
|
||||
encryptedData: e.detail.encryptedData };
|
||||
|
||||
this.$requst.post('/api/user/bind-phone', params).then(function (res) {
|
||||
if (res.code == 0) {
|
||||
_this5.$toolAll.tools.showToast('绑定成功');
|
||||
_this5.getUserInfo();
|
||||
_this5.isVip = true;
|
||||
} else {
|
||||
_this5.$toolAll.tools.showToast(res.msg);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
// 提交会员申请
|
||||
submitEv: function submitEv() {var _this5 = this;
|
||||
submitEv: function submitEv() {var _this6 = this;
|
||||
if (this.checkEmpty() && this.flag) {
|
||||
this.flag = false;
|
||||
var params = {
|
||||
|
@ -477,13 +497,13 @@ var _default = {
|
|||
|
||||
this.$requst.post('/api/user/register-vip', params).then(function (res) {
|
||||
if (res.code == 0) {
|
||||
_this5.closeEv(); //关闭会员申请
|
||||
_this5.getUserInfo(); // 刷新信息
|
||||
_this6.closeEv(); //关闭会员申请
|
||||
_this6.getUserInfo(); // 刷新信息
|
||||
} else {
|
||||
_this5.$toolAll.tools.showToast(res.msg);
|
||||
_this6.$toolAll.tools.showToast(res.msg);
|
||||
}
|
||||
setTimeout(function () {
|
||||
_this5.flag = true;
|
||||
_this6.flag = true;
|
||||
}, 2000);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
<block wx:if="{{isLoading}}"><view class="pad-x170"><view class="my-top"><view class="my-bg"><image src="/static/img/my-bg.jpg" mode="widthFix"></image></view><view class="my-herder pad-zy20 border-box"><view class="my-message color-ff flex"><view class="my-portrait radius100"><image src="{{headPortrait}}" mode="widthFix"></image></view><view class="my-txt flex"><view class="my-nickname font36 flex"><text>{{nickName}}</text><block wx:if="{{vip_info.ico!==''}}"><image src="{{vip_info.ico}}" mode="widthFix"></image></block></view><view class="my-vip-txt font24 background-orange radius25 pad-zy40 mar-s20 flex">{{vip_info.name}}</view></view></view><view class="my-money color-ff flex"><view data-event-opts="{{[['tap',[['goPage',['/pagesA/integral/integral']]]]]}}" class="item" bindtap="__e"><view class="font48">{{userInfo.score}}</view><text class="font24">我的积分</text></view><view data-event-opts="{{[['tap',[['goPage',['/pagesA/coupon/coupon']]]]]}}" class="item" bindtap="__e"><view class="font48">{{userInfo.coupon_count}}</view><text class="font24">我的优惠券</text></view><view data-event-opts="{{[['tap',[['goPage',['/pagesA/recharge/recharge']]]]]}}" class="item" bindtap="__e"><view class="font48">{{$root.m0>0?userInfo.balance:0}}</view><text class="font24">我的余额</text></view></view><view class="my-order background-grey border-box flex"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeOrder',[index]]]]]}}" class="item" bindtap="__e"><view class="img flex"><image style="{{'width:'+(item.$orig.iconWidth+'rpx')+';'+('height:'+(item.$orig.iconHeight+'rpx')+';')}}" src="{{item.$orig.imgSrc}}" mode="widthFix"></image><block wx:if="{{item.g0!=-1&&myOrder[index].num>0}}"><view class="point radius100"></view></block></view><view class="txt font24 color-ff">{{item.$orig.title}}</view></view></block></view></view></view><view class="my-content pad-all40"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{item.g1!=-1}}"><view data-event-opts="{{[['tap',[['toMore',[index]]]]]}}" class="item flex" catchtap="__e"><view class="title flex"><view class="img flex"><image style="{{'width:'+(item.$orig.iconWidth+'rpx')+';'+('height:'+(item.$orig.iconHeight+'rpx')+';')}}" src="{{item.$orig.imgSrc}}" mode="widthFix"></image></view><view class="title font28">{{item.$orig.titele}}</view></view><view class="more"><image style="width:14rpx;height:26rpx;" src="/static/icon/icon-join.png" mode="widthFix"></image></view><block wx:if="{{index==0&&mobile==''}}"><button class="get-phone-btn" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['onGetPhoneNumberA',['$event']]]]]}}" bindgetphonenumber="__e"></button></block><block wx:if="{{index==1&&mobile==''}}"><button class="get-phone-btn" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['onGetPhoneNumberB',['$event']]]]]}}" bindgetphonenumber="__e"></button></block></view></block></block></view><block wx:if="{{isVip||isShow}}"><view class="pull-bg" style="background-color:rgba(0,0,0,.3);"></view></block><block wx:if="{{isVip}}"><view class="vip-box-bg border-box"><view class="vip-box radius20 background-white font30"><view class="title">会员注册</view><view class="vip-list"><view class="vip-item mar-s20"><view class="tips color-99">姓名</view><input class="input" type="text" placeholder="请输入姓名" placeholder-style="color:#000000" data-event-opts="{{[['input',[['__set_model',['','myName','$event',[]]]]]]}}" value="{{myName}}" bindinput="__e"/></view><view class="vip-item mar-s40"><view class="tips color-99">电话</view><input class="input" type="number" placeholder="请输入电话" placeholder-style="color:#000000" data-event-opts="{{[['input',[['__set_model',['','myPhone','$event',[]]]]]]}}" value="{{myPhone}}" bindinput="__e"/></view></view><view data-event-opts="{{[['tap',[['submitEv',['$event']]]]]}}" class="submit-btn font36 background-orange radius30 mar-s60 flex" bindtap="__e">注册会员</view><view data-event-opts="{{[['tap',[['closeEv',['$event']]]]]}}" class="close-btn" bindtap="__e"><image src="/static/icon/close-btn.png" mode="widthFix"></image></view></view></view></block><block wx:if="{{isLoading}}"><tabbar vue-id="704e9d00-1" current="0" bind:__l="__l"></tabbar></block></view></block>
|
||||
<block wx:if="{{isLoading}}"><view class="pad-x170"><view class="my-top"><view class="my-bg"><image src="/static/img/my-bg.jpg" mode="widthFix"></image></view><view class="my-herder pad-zy20 border-box"><view class="my-message color-ff flex"><view class="my-portrait radius100"><image src="{{headPortrait}}" mode="widthFix"></image></view><view class="my-txt flex"><view class="my-nickname font36 flex"><text>{{nickName}}</text><block wx:if="{{vip_info.ico!==''}}"><image src="{{vip_info.ico}}" mode="widthFix"></image></block></view><view class="my-vip-txt font24 background-orange radius25 pad-zy40 mar-s20 flex">{{vip_info.name}}</view></view></view><view class="my-money color-ff flex"><view data-event-opts="{{[['tap',[['goPage',['/pagesA/integral/integral']]]]]}}" class="item" bindtap="__e"><view class="font48">{{userInfo.score}}</view><text class="font24">我的积分</text></view><view data-event-opts="{{[['tap',[['goPage',['/pagesA/coupon/coupon']]]]]}}" class="item" bindtap="__e"><view class="font48">{{userInfo.coupon_count}}</view><text class="font24">我的优惠券</text></view><view data-event-opts="{{[['tap',[['goPage',['/pagesA/recharge/recharge']]]]]}}" class="item" bindtap="__e"><view class="font48">{{$root.m0>0?userInfo.balance:0}}</view><text class="font24">我的余额</text></view></view><view class="my-order background-grey border-box flex"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeOrder',[index]]]]]}}" class="item" bindtap="__e"><view class="img flex"><image style="{{'width:'+(item.$orig.iconWidth+'rpx')+';'+('height:'+(item.$orig.iconHeight+'rpx')+';')}}" src="{{item.$orig.imgSrc}}" mode="widthFix"></image><block wx:if="{{item.g0}}"><view class="point radius100"></view></block></view><view class="txt font24 color-ff">{{item.$orig.title}}</view></view></block></view></view></view><view class="my-content pad-all40"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{item.g1!=-1}}"><view data-event-opts="{{[['tap',[['toMore',[index]]]]]}}" class="item flex" catchtap="__e"><view class="title flex"><view class="img flex"><image style="{{'width:'+(item.$orig.iconWidth+'rpx')+';'+('height:'+(item.$orig.iconHeight+'rpx')+';')}}" src="{{item.$orig.imgSrc}}" mode="widthFix"></image></view><view class="title font28">{{item.$orig.titele}}</view></view><view class="more"><image style="width:14rpx;height:26rpx;" src="/static/icon/icon-join.png" mode="widthFix"></image></view><block wx:if="{{index==0&&mobile==''}}"><button class="get-phone-btn" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['onGetPhoneNumberA',['$event']]]]]}}" bindgetphonenumber="__e"></button></block><block wx:if="{{index==1&&mobile==''}}"><button class="get-phone-btn" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['onGetPhoneNumberB',['$event']]]]]}}" bindgetphonenumber="__e"></button></block></view></block></block></view><block wx:if="{{isVip||isShow}}"><view class="pull-bg" style="background-color:rgba(0,0,0,.3);"></view></block><block wx:if="{{isVip}}"><view class="vip-box-bg border-box"><view class="vip-box radius20 background-white font30"><view class="title">会员注册</view><view class="vip-list"><view class="vip-item mar-s20"><view class="tips color-99">姓名</view><input class="input" type="text" placeholder="请输入姓名" placeholder-style="color:#000000" data-event-opts="{{[['input',[['__set_model',['','myName','$event',[]]]]]]}}" value="{{myName}}" bindinput="__e"/></view><view class="vip-item mar-s40"><view class="tips color-99">电话</view><input class="input" type="number" placeholder="请输入电话" placeholder-style="color:#000000" data-event-opts="{{[['input',[['__set_model',['','myPhone','$event',[]]]]]]}}" value="{{myPhone}}" bindinput="__e"/></view></view><view data-event-opts="{{[['tap',[['submitEv',['$event']]]]]}}" class="submit-btn font36 background-orange radius30 mar-s60 flex" bindtap="__e">注册会员</view><view data-event-opts="{{[['tap',[['closeEv',['$event']]]]]}}" class="close-btn" bindtap="__e"><image src="/static/icon/close-btn.png" mode="widthFix"></image></view></view></view></block><block wx:if="{{isLoading}}"><tabbar vue-id="704e9d00-1" current="0" bind:__l="__l"></tabbar></block></view></block>
|
|
@ -9,9 +9,11 @@
|
|||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
|
||||
var _address = _interopRequireDefault(__webpack_require__(/*! ./pagesA/address/address.vue */ 58));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||||
createPage(_address.default);
|
||||
|
||||
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||
var _address = _interopRequireDefault(__webpack_require__(/*! ./pagesA/address/address.vue */ 58));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_address.default);
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||
|
||||
/***/ }),
|
||||
|
|
|
@ -9,9 +9,11 @@
|
|||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
|
||||
var _coupon = _interopRequireDefault(__webpack_require__(/*! ./pagesA/coupon/coupon.vue */ 83));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||||
createPage(_coupon.default);
|
||||
|
||||
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||
var _coupon = _interopRequireDefault(__webpack_require__(/*! ./pagesA/coupon/coupon.vue */ 83));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_coupon.default);
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||
|
||||
/***/ }),
|
||||
|
|
|
@ -9,9 +9,11 @@
|
|||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
|
||||
var _distribution = _interopRequireDefault(__webpack_require__(/*! ./pagesA/distribution/distribution.vue */ 76));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||||
createPage(_distribution.default);
|
||||
|
||||
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||
var _distribution = _interopRequireDefault(__webpack_require__(/*! ./pagesA/distribution/distribution.vue */ 76));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_distribution.default);
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||
|
||||
/***/ }),
|
||||
|
@ -273,6 +275,9 @@ __webpack_require__.r(__webpack_exports__);
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -402,12 +407,15 @@ var _base64Src = __webpack_require__(/*! @/jsFile/base64-src.js */ 81); //
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
var _default = { data: function data() {return { logoSrc: '/static/img/logo.png', //商城logo
|
||||
isShow: false, //分销码弹窗
|
||||
withdrawal: false, //提现弹窗
|
||||
navList: ['返利记录', '我的团队', '提现记录'], //导航数据
|
||||
navIndex: 0, //导航当前
|
||||
teamNav: ['经销商团队', '我的消费团'], //团队导航
|
||||
teamNav: [{ title: '经销商团队', num: 0 }, { title: '我的消费团', num: 0 }], //团队导航
|
||||
teamIndex: 0, //团队当前
|
||||
recordList: [], //记录列表
|
||||
commission: 0, //佣金金额
|
||||
|
@ -423,10 +431,12 @@ var _default = { data: function data() {return { logoSrc: '/static/img/logo.png'
|
|||
this.getCodeEv(); // 获取列表信息
|
||||
this.getRecordList();}, onReachBottom: function onReachBottom() {if (!this.noMor) {this.page++; // 获取列表信息
|
||||
this.getRecordList();}}, onShow: function onShow() {this.getUserInfo();}, methods: { // 获取个人信息
|
||||
getUserInfo: function getUserInfo() {var _this = this;this.$requst.post('/api/user/info').then(function (res) {if (res.code == 0) {console.log(res, '用户信息');_this.commission = res.data.commission;_this.cumulative_income = _this.$toolAll.tools.addXiaoShu(res.data.cumulative_income);_this.cumulative_withdrawal = _this.$toolAll.tools.addXiaoShu(res.data.cumulative_withdrawal);_this.my_team = res.data.my_team;}});}, // 获取分销码
|
||||
getUserInfo: function getUserInfo() {var _this = this;this.$requst.post('/api/user/info').then(function (res) {if (res.code == 0) {console.log(res, '用户信息');_this.commission = res.data.commission;_this.cumulative_income = _this.$toolAll.tools.addXiaoShu(res.data.cumulative_income);_this.cumulative_withdrawal = _this.$toolAll.tools.addXiaoShu(res.data.cumulative_withdrawal);_this.my_team = res.data.team.distributor_total + res.data.team.team_total;_this.teamNav[0].num = res.data.team.distributor_total;_this.teamNav[1].num = res.data.team.team_total;}});}, // 获取分销码
|
||||
getCodeEv: function getCodeEv() {var _this2 = this;this.$requst.post('/api/user/my-distribution-code').then(function (res) {if (res.code == 0) {console.log(res, '分销码');_this2.codeImg = _this2.$hostHttp + res.data.qr;}});}, // 分享到微信
|
||||
shareImgEv: function shareImgEv(id) {var _this3 = this;var that = this;if (this.shareFlag) {this.shareFlag = false;wx.downloadFile({ url: this.codeImg, success: function success(res) {_this3.$toolAll.tools.showToast('正在调起分享...');wx.showShareImageMenu({ path: res.tempFilePath });}, fail: function fail(res) {console.log(res);if (res.errMsg.indexOf('deny') != -1 || res.errMsg.indexOf('denied') != -1) {wx.showToast({ title: '保存相册失败,请设置权限!', icon: 'none', duration: 2000 });_this3.shareFlag = true;} else {wx.showToast({ title: '保存相册失败,请重试!', icon: 'none', duration: 2000 });_this3.shareFlag = true;}} });} else {this.$toolAll.tools.showToast('请勿重复点击');}}, // 获取列表信息
|
||||
getRecordList: function getRecordList() {var _this4 = this;uni.showLoading({ title: '加载中' });if (this.navIndex == 0) {var params = { page: this.page, size: this.size, type: 'commission' };this.$requst.post('/api/user/data-log-list', params).then(function (res) {if (res.code == 0) {console.log(res, '返利记录');var recordArr = [];res.data.forEach(function (item) {var obj = { id: item.id, name: item.subAccount == null ? '' : item.subAccount.nickname, cover: item.subAccount == null ? '' : item.subAccount.headimgurl, created_at: item.created_at, title: item.name, price: _this4.$toolAll.tools.addXiaoShu(item.num) };recordArr.push(obj);});if (recordArr.length == 0) {_this4.noMor = true;}_this4.recordList = _this4.recordList.concat(recordArr);}});}if (this.navIndex == 1) {if (this.teamIndex == 0) {var _params = { page: this.page, size: this.size, is_distributor: 1 };this.$requst.post('/api/user/team-list', _params).then(function (res) {if (res.code == 0) {console.log(res, '经销商团队');var recordArr = [];res.data.forEach(function (item) {var obj = {
|
||||
getRecordList: function getRecordList() {var _this4 = this;uni.showLoading({ title: '加载中' });if (this.navIndex == 0) {var params = { page: this.page, size: this.size, type: 'commission' };this.$requst.post('/api/user/data-log-list', params).then(function (res) {if (res.code == 0) {console.log(res, '返利记录');var recordArr = [];res.data.forEach(function (item) {var obj = { id: item.id, name: item.subAccount == null ? '' : item.subAccount.nickname, cover: item.subAccount == null ? '' : item.subAccount.headimgurl, created_at: item.created_at, title: item.name, price: _this4.$toolAll.tools.addXiaoShu(item.num) };recordArr.push(obj);});if (recordArr.length == 0) {_this4.noMor = true;}_this4.recordList = _this4.recordList.concat(recordArr);}});}if (this.navIndex == 1) {if (this.teamIndex == 0) {var _params = { page: this.page, size: this.size, is_distributor: 1 };this.$requst.post('/api/user/team-list', _params).then(function (res) {if (res.code == 0) {console.log(res, '经销商团队');var recordArr = [];
|
||||
res.data.forEach(function (item) {
|
||||
var obj = {
|
||||
id: item.id,
|
||||
name: item.nickname,
|
||||
cover: item.headimgurl,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -9,9 +9,11 @@
|
|||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
|
||||
var _integral = _interopRequireDefault(__webpack_require__(/*! ./pagesA/integral/integral.vue */ 70));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||||
createPage(_integral.default);
|
||||
|
||||
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||
var _integral = _interopRequireDefault(__webpack_require__(/*! ./pagesA/integral/integral.vue */ 70));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_integral.default);
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||
|
||||
/***/ }),
|
||||
|
|
|
@ -9,9 +9,11 @@
|
|||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
|
||||
var _detail = _interopRequireDefault(__webpack_require__(/*! ./pagesA/order/detail.vue */ 95));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||||
createPage(_detail.default);
|
||||
|
||||
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||
var _detail = _interopRequireDefault(__webpack_require__(/*! ./pagesA/order/detail.vue */ 95));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_detail.default);
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||
|
||||
/***/ }),
|
||||
|
@ -227,6 +229,31 @@ __webpack_require__.r(__webpack_exports__);
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -345,17 +372,51 @@ var _vuex = __webpack_require__(/*! vuex */ 13); //
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//引入mapState
|
||||
var _default = { data: function data() {return { orderDetail: {}, //订单详情
|
||||
flag: true, isLoading: false, id: 0, //订单id
|
||||
coupon_vip_price: '', //折扣优惠
|
||||
priceAll: '', //实际付款
|
||||
backTag: '' };}, onLoad: function onLoad(op) {if (op.id) {this.id = op.id;}if (op.backTag) {this.backTag = op.backTag;}this.getOrderDetail();}, methods: { // 查询订单详情
|
||||
getOrderDetail: function getOrderDetail() {var _this = this;uni.showLoading({ title: '加载中' });this.$requst.get('/api/user/order-detail', { id: this.id }).then(function (res) {if (res.code == 0) {console.log(res, '订单详情');_this.orderDetail = res.data;_this.coupon_vip_price = _this.$toolAll.tools.addXiaoShu(parseFloat(res.data.discount_money) + parseFloat(res.data.coupon_price));_this.priceAll = _this.$toolAll.tools.addXiaoShu(parseFloat(res.data.balance) + parseFloat(res.data.wechat));}uni.hideLoading();_this.isLoading = true;});}, // 取消订单
|
||||
cancleEv: function cancleEv(coding) {var _this2 = this;var params = { order_coding: coding //订单号
|
||||
};this.$requst.post('/api/order/cancel', params).then(function (res) {if (res.code == 0) {_this2.$toolAll.tools.showToast('取消订单成功(*^▽^*)');uni.navigateTo({ url: '/pagesA/order/order' });} else {_this2.$toolAll.tools.showToast(res.msg);}});}, // 确认收货
|
||||
affirmEv: function affirmEv(id) {var _this3 = this;var params = { order_id: id //订单号
|
||||
};this.$requst.post('/api/order/accepted', params).then(function (res) {if (res.code == 0) {_this3.$toolAll.tools.showToast('确认收货成功(*^▽^*)');uni.navigateTo({ url: '/pagesA/order/order' });} else {_this3.$toolAll.tools.showToast(res.msg);}});}, // 再次购买
|
||||
backTag: '', isOpen: false, cancleReason: [], //取消理由
|
||||
reasonIndex: 0 //理由位置
|
||||
};}, onLoad: function onLoad(op) {if (op.id) {this.id = op.id;}if (op.backTag) {this.backTag = op.backTag;}this.getOrderDetail();}, methods: { // 查询订单详情
|
||||
getOrderDetail: function getOrderDetail() {var _this = this;uni.showLoading({ title: '加载中' });this.$requst.get('/api/user/order-detail', { id: this.id }).then(function (res) {if (res.code == 0) {console.log(res, '订单详情');_this.orderDetail = res.data;_this.coupon_vip_price = _this.$toolAll.tools.addXiaoShu(parseFloat(res.data.discount_money) + parseFloat(res.data.coupon_price));_this.priceAll = _this.$toolAll.tools.addXiaoShu(parseFloat(res.data.balance) + parseFloat(res.data.wechat));}uni.hideLoading();_this.isLoading = true;});}, // 获取取消订单原因
|
||||
getCancleReason: function getCancleReason() {var _this2 = this;this.$requst.post('/api/order/cancellation-reason-all').then(function (res) {if (res.code == 0) {console.log(res, '取消订单原因');_this2.cancleReason = res.data.list;} else {_this2.$toolAll.tools.showToast(res.msg);}});}, // 取消订单
|
||||
cancleEv: function cancleEv() {this.isOpen = true; // 获取取消订单原因
|
||||
this.getCancleReason();}, // 选择取消原因
|
||||
chooseEv: function chooseEv(index) {if (index !== this.reasonIndex) {this.reasonIndex = index;}}, // 关闭弹窗
|
||||
closeEdit: function closeEdit() {this.isOpen = false;}, // 确认取消订单
|
||||
submitEdit: function submitEdit() {var _this3 = this;var params = { order_coding: this.orderDetail.coding, //订单号
|
||||
remarks: this.cancleReason[this.reasonIndex].value //取消原因
|
||||
};this.$requst.post('/api/order/cancel', params).then(function (res) {if (res.code == 0) {_this3.$toolAll.tools.showToast('取消订单成功(*^▽^*)');uni.navigateTo({ url: '/pagesA/order/order' });} else {_this3.$toolAll.tools.showToast(res.msg);}});}, // 联系客服退款
|
||||
refundEv: function refundEv() {this.$toolAll.tools.countCustomer('18683958573');}, // 确认收货
|
||||
affirmEv: function affirmEv(id) {var _this4 = this;var params = { order_id: id //订单号
|
||||
};this.$requst.post('/api/order/accepted', params).then(function (res) {if (res.code == 0) {_this4.$toolAll.tools.showToast('确认收货成功(*^▽^*)');uni.navigateTo({ url: '/pagesA/order/order' });} else {_this4.$toolAll.tools.showToast(res.msg);}});}, // 再次购买
|
||||
buyAgain: function buyAgain(index) {var buyList = [];var newArr = this.orderDetail;newArr.skus.forEach(function (item) {var obj = { sku_coding: item.coding, num: item.num };buyList.push(obj);});uni.setStorageSync('buyList', buyList);uni.navigateTo({ url: '/pages/cart/settlement' });}, // 复制查询
|
||||
copyEV: function copyEV() {this.$toolAll.tools.clickCopy(this.orderDetail.express_number);} } };exports.default = _default;
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -9,9 +9,11 @@
|
|||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
|
||||
var _order = _interopRequireDefault(__webpack_require__(/*! ./pagesA/order/order.vue */ 89));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||||
createPage(_order.default);
|
||||
|
||||
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||
var _order = _interopRequireDefault(__webpack_require__(/*! ./pagesA/order/order.vue */ 89));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_order.default);
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||
|
||||
/***/ }),
|
||||
|
@ -195,6 +197,25 @@ __webpack_require__.r(__webpack_exports__);
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -279,32 +300,38 @@ var _vuex = __webpack_require__(/*! vuex */ 13); //
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//引入mapState
|
||||
var _default = { data: function data() {return { newTop: uni.getSystemInfoSync().statusBarHeight + 50, orderNav: [{ title: '全部', tag: 'all' }, { title: '待付款', tag: 'waiting' }, { title: '已下单', tag: 'paid' }, { title: '已发货', tag: 'shipped' }, { title: '已完成', tag: 'completed' }, { title: '已取消', tag: 'closed' }], activeIndex: 0, scrollLeft: 0, tabsScrollLeft: 0, navWidth: '', //导航宽度
|
||||
orderList: [], flag: true, isLoading: false, total: 0, totalAll: -1, page: 1, size: 10, tag: 'all', order_coding: '', //订单号
|
||||
orderList: [], flag: true, isLoading: false, isOpen: false, cancleReason: [], //取消理由
|
||||
reasonIndex: 0, //理由位置
|
||||
cancleCode: '', // 取消订到号
|
||||
total: 0, totalAll: -1, page: 1, size: 10, tag: 'all', order_coding: '', //订单号
|
||||
backTag: '' };}, onLoad: function onLoad(op) {var _this = this;if (op.tag && op.index) {this.tag = op.tag;this.activeIndex = op.index;setTimeout(function () {//计算左滑距离
|
||||
_this.setLeft();}, 200);}if (op.backTag) {this.backTag = op.backTag;}this.navWidth = this.orderNav.length * 150 - 20 + 'rpx';}, onShow: function onShow() {this.orderList = [];this.getOrderList();}, onReachBottom: function onReachBottom(e) {if (this.orderList.length < this.total) {this.page++;this.getOrderList();}}, methods: { // 导航切换
|
||||
changeNav: function changeNav(index, tag) {this.total = 0;this.totalAll = -1;this.activeIndex = index;this.tag = tag;this.orderList = [];this.page = 1;this.order_coding = '';this.getOrderList(); // 分类切换效果
|
||||
this.setTabList();}, // 搜索订单
|
||||
doSearch: function doSearch() {this.orderList = [];this.activeIndex = 0;this.tag = 'all';
|
||||
// 获取订单列表
|
||||
this.getOrderList();
|
||||
},
|
||||
// 获取订单列表
|
||||
getOrderList: function getOrderList() {var _this2 = this;
|
||||
uni.showLoading({
|
||||
title: '加载中' });
|
||||
|
||||
var params = {
|
||||
page: this.page,
|
||||
size: this.size,
|
||||
tag: this.tag,
|
||||
order_coding: this.order_coding };
|
||||
|
||||
this.$requst.get('/api/user/order', params).then(function (res) {
|
||||
console.log(res, '订单列表');
|
||||
if (res.data.length != 0) {
|
||||
_this2.total = res.data.total;
|
||||
doSearch: function doSearch() {this.orderList = [];this.activeIndex = 0;this.tag = 'all'; // 获取订单列表
|
||||
this.getOrderList();}, // 获取订单列表
|
||||
getOrderList: function getOrderList() {var _this2 = this;uni.showLoading({ title: '加载中' });var params = { page: this.page, size: this.size, tag: this.tag, order_coding: this.order_coding };this.$requst.get('/api/user/order', params).then(function (res) {console.log(res, '订单列表');if (res.data.length != 0) {_this2.total = res.data.total;
|
||||
var newArr = [];
|
||||
res.data.list.forEach(function (item) {
|
||||
var obj = {
|
||||
|
@ -326,44 +353,84 @@ var _default = { data: function data() {return { newTop: uni.getSystemInfoSync()
|
|||
_this2.isLoading = true;
|
||||
});
|
||||
},
|
||||
|
||||
// 去详情
|
||||
toDetail: function toDetail(id) {
|
||||
uni.navigateTo({
|
||||
url: "/pagesA/order/detail?id=".concat(id) });
|
||||
|
||||
},
|
||||
// 取消订单
|
||||
cancleEv: function cancleEv(coding) {var _this3 = this;
|
||||
var params = {
|
||||
order_coding: coding //订单号
|
||||
};
|
||||
this.$requst.post('/api/order/cancel', params).then(function (res) {
|
||||
|
||||
// 获取取消订单原因
|
||||
getCancleReason: function getCancleReason() {var _this3 = this;
|
||||
this.$requst.post('/api/order/cancellation-reason-all').then(function (res) {
|
||||
if (res.code == 0) {
|
||||
_this3.$toolAll.tools.showToast('取消订单成功(*^▽^*)');
|
||||
_this3.orderList = [];
|
||||
_this3.page = 1;
|
||||
_this3.getOrderList();
|
||||
console.log(res, '取消订单原因');
|
||||
_this3.cancleReason = res.data.list;
|
||||
} else {
|
||||
_this3.$toolAll.tools.showToast(res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
// 确认收货
|
||||
affirmEv: function affirmEv(id) {var _this4 = this;
|
||||
|
||||
// 取消订单
|
||||
cancleEv: function cancleEv(coding) {
|
||||
// 获取取消订单原因
|
||||
this.getCancleReason();
|
||||
this.isOpen = true;
|
||||
this.cancleCode = coding;
|
||||
},
|
||||
// 选择取消原因
|
||||
chooseEv: function chooseEv(index) {
|
||||
if (index !== this.reasonIndex) {
|
||||
this.reasonIndex = index;
|
||||
}
|
||||
},
|
||||
// 关闭弹窗
|
||||
closeEdit: function closeEdit() {
|
||||
this.isOpen = false;
|
||||
},
|
||||
//确认取消订单
|
||||
submitEdit: function submitEdit() {var _this4 = this;
|
||||
var params = {
|
||||
order_id: id //订单号
|
||||
order_coding: this.cancleCode, //订单号
|
||||
remarks: this.cancleReason[this.reasonIndex].value //取消原因
|
||||
};
|
||||
this.$requst.post('/api/order/accepted', params).then(function (res) {
|
||||
this.$requst.post('/api/order/cancel', params).then(function (res) {
|
||||
if (res.code == 0) {
|
||||
_this4.$toolAll.tools.showToast('确认收货成功(*^▽^*)');
|
||||
_this4.$toolAll.tools.showToast('取消订单成功(*^▽^*)');
|
||||
_this4.orderList = [];
|
||||
_this4.page = 1;
|
||||
_this4.getOrderList();
|
||||
_this4.isOpen = false;
|
||||
} else {
|
||||
_this4.$toolAll.tools.showToast(res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
// 联系客服退款
|
||||
refundEv: function refundEv() {
|
||||
this.$toolAll.tools.countCustomer('18683958573');
|
||||
},
|
||||
|
||||
// 确认收货
|
||||
affirmEv: function affirmEv(id) {var _this5 = this;
|
||||
var params = {
|
||||
order_id: id //订单号
|
||||
};
|
||||
this.$requst.post('/api/order/accepted', params).then(function (res) {
|
||||
if (res.code == 0) {
|
||||
_this5.$toolAll.tools.showToast('确认收货成功(*^▽^*)');
|
||||
_this5.orderList = [];
|
||||
_this5.page = 1;
|
||||
_this5.getOrderList();
|
||||
} else {
|
||||
_this5.$toolAll.tools.showToast(res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
// 再次购买
|
||||
buyAgain: function buyAgain(index) {
|
||||
var buyList = [];
|
||||
|
@ -382,14 +449,14 @@ var _default = { data: function data() {return { newTop: uni.getSystemInfoSync()
|
|||
},
|
||||
|
||||
// 立即支付
|
||||
payEv: function payEv(coding) {var _this5 = this;
|
||||
payEv: function payEv(coding) {var _this6 = this;
|
||||
this.$requst.post('/api/order/pay', { order_coding: coding }).then(function (res) {
|
||||
if (res.code == 0) {
|
||||
console.log(res, '立即支付');
|
||||
// 调用微信支付
|
||||
_this5.callPayMent(res.data.payment_params);
|
||||
_this6.callPayMent(res.data.payment_params);
|
||||
} else {
|
||||
_this5.$toolAll.tools.showToast(res.msg);
|
||||
_this6.$toolAll.tools.showToast(res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
@ -417,24 +484,24 @@ var _default = { data: function data() {return { newTop: uni.getSystemInfoSync()
|
|||
},
|
||||
|
||||
// 分类切换效果
|
||||
setTabList: function setTabList() {var _this6 = this;
|
||||
setTabList: function setTabList() {var _this7 = this;
|
||||
this.$nextTick(function () {
|
||||
if (_this6.orderNav.length > 0) {
|
||||
if (_this7.orderNav.length > 0) {
|
||||
//计算左滑距离
|
||||
_this6.setLeft();
|
||||
_this7.setLeft();
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
//计算左滑距离
|
||||
setLeft: function setLeft() {var _this7 = this;
|
||||
setLeft: function setLeft() {var _this8 = this;
|
||||
var lineLeft = 0;
|
||||
this.getElementData('#tab_list', function (data) {
|
||||
var list = data[0];
|
||||
_this7.getElementData('#tab_item', function (res) {
|
||||
var el = res[_this7.activeIndex];
|
||||
lineLeft = el.width / 2 + -list.left + el.left - list.width / 2 - _this7.scrollLeft;
|
||||
_this7.tabsScrollLeft = _this7.scrollLeft + lineLeft;
|
||||
_this8.getElementData('#tab_item', function (res) {
|
||||
var el = res[_this8.activeIndex];
|
||||
lineLeft = el.width / 2 + -list.left + el.left - list.width / 2 - _this8.scrollLeft;
|
||||
_this8.tabsScrollLeft = _this8.scrollLeft + lineLeft;
|
||||
});
|
||||
});
|
||||
},
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -9,9 +9,11 @@
|
|||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
|
||||
var _recharge = _interopRequireDefault(__webpack_require__(/*! ./pagesA/recharge/recharge.vue */ 64));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||||
createPage(_recharge.default);
|
||||
|
||||
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||
var _recharge = _interopRequireDefault(__webpack_require__(/*! ./pagesA/recharge/recharge.vue */ 64));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_recharge.default);
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||
|
||||
/***/ }),
|
||||
|
|
|
@ -9,9 +9,11 @@
|
|||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
|
||||
var _disclaimers = _interopRequireDefault(__webpack_require__(/*! ./pagesB/disclaimers/disclaimers.vue */ 113));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||||
createPage(_disclaimers.default);
|
||||
|
||||
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||
var _disclaimers = _interopRequireDefault(__webpack_require__(/*! ./pagesB/disclaimers/disclaimers.vue */ 113));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_disclaimers.default);
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||
|
||||
/***/ }),
|
||||
|
|
|
@ -9,9 +9,11 @@
|
|||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
|
||||
var _distributor = _interopRequireDefault(__webpack_require__(/*! ./pagesB/distributor/distributor.vue */ 125));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||||
createPage(_distributor.default);
|
||||
|
||||
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||
var _distributor = _interopRequireDefault(__webpack_require__(/*! ./pagesB/distributor/distributor.vue */ 125));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_distributor.default);
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||
|
||||
/***/ }),
|
||||
|
@ -223,9 +225,14 @@ var _vuex = __webpack_require__(/*! vuex */ 13); //
|
|||
//
|
||||
//
|
||||
//引入mapState
|
||||
var _default = { data: function data() {return { disclaimersHeight: "calc(100vh - ".concat(uni.getSystemInfoSync().statusBarHeight + 50, "px)"), disclaimers: '', invite_code: '', invite_name: '', real_name: '', phone: '', deposit_bank: '', bank_account: '', flag: true, backTag: 'backindex' };}, onLoad: function onLoad(op) {if (op.invite_code) {// 缓存invite_code
|
||||
uni.setStorageSync('inviteCode', op.invite_code);this.invite_code = op.invite_code;}if (op.invite_name) {this.invite_name = op.invite_name;}}, methods: { // 提交申请
|
||||
submitEv: function submitEv() {var _this = this;if (this.checkEmpty() && this.flag) {var params = { invite_code: this.invite_code, invite_name: this.invite_name, real_name: this.real_name, phone: this.phone, deposit_bank: this.deposit_bank, bank_account: this.bank_account };this.$requst.post('/api/user/distributor-apply', params).then(function (res) {
|
||||
var _default = { data: function data() {return { disclaimersHeight: "calc(100vh - ".concat(uni.getSystemInfoSync().statusBarHeight + 50, "px)"), disclaimers: '', invite_code: '', invite_name: '', real_name: '', phone: '', deposit_bank: '', bank_account: '', flag: true, backTag: 'backindex', isLoading: false };}, onLoad: function onLoad(op) {if (this.$toolAll.tools.judgeAuth()) {if (op.invite_code) {// 缓存invite_code
|
||||
uni.setStorageSync('inviteCode', op.invite_code);this.invite_code = op.invite_code;}if (op.invite_name) {this.invite_name = op.invite_name;}this.isLoading = true;}}, methods: { // 提交申请
|
||||
submitEv: function submitEv() {var _this = this;if (this.checkEmpty() && this.flag) {var params = { invite_code: this.invite_code, invite_name: this.invite_name, real_name: this.real_name,
|
||||
phone: this.phone,
|
||||
deposit_bank: this.deposit_bank,
|
||||
bank_account: this.bank_account };
|
||||
|
||||
this.$requst.post('/api/user/distributor-apply', params).then(function (res) {
|
||||
if (res.code == 0) {
|
||||
_this.$toolAll.tools.showToast('恭喜您申请成功!');
|
||||
setTimeout(function () {
|
||||
|
|
|
@ -1 +1 @@
|
|||
<view><status-nav vue-id="66be6aca-1" ifReturn="{{true}}" navBarTitle="经销商申请" marginBottom="{{0}}" backTag="{{backTag}}" bind:__l="__l"></status-nav><view class="distributor border-box" style="{{'min-height:'+(disclaimersHeight)+';'}}"><view class="tags font24" style="text-align:center;color:#ff0000;">请认真填写相关信息,此信息将用于分销提现使用!</view><view class="distributor-list font30"><view class="distributor-item color-99 mar-s40"><view class="tips">我的邀请人</view><input class="input" type="text" disabled="true" value="{{invite_name}}"/></view><view class="distributor-item mar-s40"><view class="tips color-99">姓名</view><input class="input" type="text" placeholder="请输入您的真实姓名" placeholder-style="color:#000000" data-event-opts="{{[['input',[['__set_model',['','real_name','$event',[]]]]]]}}" value="{{real_name}}" bindinput="__e"/></view><view class="distributor-item mar-s40"><view class="tips color-99">电话</view><input class="input" type="number" placeholder="请输入您的手机号" placeholder-style="color:#000000" data-event-opts="{{[['input',[['__set_model',['','phone','$event',[]]]]]]}}" value="{{phone}}" bindinput="__e"/></view><view class="distributor-item mar-s40"><view class="tips color-99">开户行</view><input class="input" type="text" placeholder="请填写开户行(如:中国银行)" placeholder-style="color:#000000" data-event-opts="{{[['input',[['__set_model',['','deposit_bank','$event',[]]]]]]}}" value="{{deposit_bank}}" bindinput="__e"/></view><view class="distributor-item mar-s40"><view class="tips color-99">银行卡号</view><input class="input" type="number" placeholder="请填写银行卡号" placeholder-style="color:#000000" data-event-opts="{{[['input',[['__set_model',['','bank_account','$event',[]]]]]]}}" value="{{bank_account}}" bindinput="__e"/></view></view></view><view data-event-opts="{{[['tap',[['submitEv',['$event']]]]]}}" class="distributor-btn background-white border-box" bindtap="__e"><view class="btn font36 background-orange color-48 radius30 flex">立即提交</view></view></view>
|
||||
<block wx:if="{{isLoading}}"><view><status-nav vue-id="66be6aca-1" ifReturn="{{true}}" navBarTitle="经销商申请" marginBottom="{{0}}" backTag="{{backTag}}" bind:__l="__l"></status-nav><view class="distributor border-box" style="{{'min-height:'+(disclaimersHeight)+';'}}"><view class="tags font24" style="text-align:center;color:#ff0000;">请认真填写相关信息,此信息将用于分销提现使用!</view><view class="distributor-list font30"><view class="distributor-item color-99 mar-s40"><view class="tips">我的邀请人</view><input class="input" type="text" disabled="true" value="{{invite_name}}"/></view><view class="distributor-item mar-s40"><view class="tips color-99">姓名</view><input class="input" type="text" placeholder="请输入您的真实姓名" placeholder-style="color:#000000" data-event-opts="{{[['input',[['__set_model',['','real_name','$event',[]]]]]]}}" value="{{real_name}}" bindinput="__e"/></view><view class="distributor-item mar-s40"><view class="tips color-99">电话</view><input class="input" type="number" placeholder="请输入您的手机号" placeholder-style="color:#000000" data-event-opts="{{[['input',[['__set_model',['','phone','$event',[]]]]]]}}" value="{{phone}}" bindinput="__e"/></view><view class="distributor-item mar-s40"><view class="tips color-99">开户行</view><input class="input" type="text" placeholder="请填写开户行(如:中国银行)" placeholder-style="color:#000000" data-event-opts="{{[['input',[['__set_model',['','deposit_bank','$event',[]]]]]]}}" value="{{deposit_bank}}" bindinput="__e"/></view><view class="distributor-item mar-s40"><view class="tips color-99">银行卡号</view><input class="input" type="number" placeholder="请填写银行卡号" placeholder-style="color:#000000" data-event-opts="{{[['input',[['__set_model',['','bank_account','$event',[]]]]]]}}" value="{{bank_account}}" bindinput="__e"/></view></view></view><view data-event-opts="{{[['tap',[['submitEv',['$event']]]]]}}" class="distributor-btn background-white border-box" bindtap="__e"><view class="btn font36 background-orange color-48 radius30 flex">立即提交</view></view></view></block>
|
|
@ -9,9 +9,11 @@
|
|||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
|
||||
var _integralRule = _interopRequireDefault(__webpack_require__(/*! ./pagesB/integral-rule/integral-rule.vue */ 119));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||||
createPage(_integralRule.default);
|
||||
|
||||
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||
var _integralRule = _interopRequireDefault(__webpack_require__(/*! ./pagesB/integral-rule/integral-rule.vue */ 119));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_integralRule.default);
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||
|
||||
/***/ }),
|
||||
|
|
|
@ -9,9 +9,11 @@
|
|||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
|
||||
var _shopDetail = _interopRequireDefault(__webpack_require__(/*! ./pagesB/shop-detail/shop-detail.vue */ 101));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||||
createPage(_shopDetail.default);
|
||||
|
||||
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||
var _shopDetail = _interopRequireDefault(__webpack_require__(/*! ./pagesB/shop-detail/shop-detail.vue */ 101));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_shopDetail.default);
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||
|
||||
/***/ }),
|
||||
|
@ -94,7 +96,7 @@ var components
|
|||
try {
|
||||
components = {
|
||||
shareCoupon: function() {
|
||||
return Promise.all(/*! import() | components/share-coupon/share-coupon */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/share-coupon/share-coupon")]).then(__webpack_require__.bind(null, /*! @/components/share-coupon/share-coupon.vue */ 151))
|
||||
return Promise.all(/*! import() | components/share-coupon/share-coupon */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/share-coupon/share-coupon")]).then(__webpack_require__.bind(null, /*! @/components/share-coupon/share-coupon.vue */ 158))
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
|
@ -9,9 +9,11 @@
|
|||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
|
||||
var _ucenter = _interopRequireDefault(__webpack_require__(/*! ./pagesB/ucenter/ucenter.vue */ 107));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||||
createPage(_ucenter.default);
|
||||
|
||||
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
|
||||
var _ucenter = _interopRequireDefault(__webpack_require__(/*! ./pagesB/ucenter/ucenter.vue */ 107));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore
|
||||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_ucenter.default);
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||||
|
||||
/***/ }),
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"projectname": "app适配微信小程序",
|
||||
"setting": {
|
||||
"compileHotReLoad": true
|
||||
},
|
||||
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
|
||||
"rules": [{
|
||||
"action": "allow",
|
||||
"page": "*"
|
||||
}]
|
||||
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
|
||||
"rules": [{
|
||||
"action": "allow",
|
||||
"page": "*"
|
||||
}]
|
||||
}
|
Loading…
Reference in New Issue