123
This commit is contained in:
parent
8d7f9a03a0
commit
058277f22e
8
App.vue
8
App.vue
|
@ -5,6 +5,7 @@
|
|||
import {
|
||||
UserLogin
|
||||
} from '@/util/api.js';
|
||||
|
||||
export default {
|
||||
onLaunch: function () {
|
||||
var Gid = uni.getStorageSync('Gid');
|
||||
|
@ -106,17 +107,12 @@
|
|||
code: loginRes.code
|
||||
})
|
||||
.then(response => {
|
||||
console.log(response);
|
||||
console.log('Login',response);
|
||||
if (response.code == 1) {
|
||||
console.log();
|
||||
if (typeof(response.data.id) == 'undefined') {
|
||||
uni.setStorageSync('openid', response.data
|
||||
.openid);
|
||||
} else {
|
||||
uni.setStorageSync('uid', response.data
|
||||
.id);
|
||||
}
|
||||
|
||||
} else {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
|
|
|
@ -210,6 +210,13 @@
|
|||
"navigationBarTitleText": "智慧云商协",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/my_invite",
|
||||
"style": {
|
||||
"navigationBarTitleText": "智慧云商协",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,35 +45,28 @@
|
|||
<view v-if="info.activity_type==2" style="padding-bottom: 180rpx;">
|
||||
<view style="margin-top: 60rpx;font-size: 32rpx;font-weight: 600;">问卷问题</view>
|
||||
<tn-form labelPosition="top" :model="form" ref="form">
|
||||
<tn-form-item label="1.问题xxxx(多选题)" prop="hobby">
|
||||
<tn-checkbox-group v-model="form.hobby" size="40" activeColor="#82B2FF" wrap>
|
||||
<tn-checkbox name="10">
|
||||
A:选项1
|
||||
</tn-checkbox>
|
||||
<tn-checkbox name="5">
|
||||
B:选项2
|
||||
</tn-checkbox>
|
||||
<tn-checkbox name="6">
|
||||
C:选项3
|
||||
</tn-checkbox>
|
||||
<tn-checkbox name="7">
|
||||
D:选项4
|
||||
<template v-for="(item,index) in questionnaireList">
|
||||
<tn-form-item v-if="item.type==2" :label="(index+1)+'、'+item.title+'(单选题)'" prop="hobby">
|
||||
<tn-checkbox-group v-model="questionnaireList[index].topic" size="40"
|
||||
activeColor="#82B2FF" wrap>
|
||||
<tn-checkbox :name="op.name" v-for="(op,opi) in item.option">
|
||||
{{ op.name }}、{{ op.val }}
|
||||
</tn-checkbox>
|
||||
</tn-checkbox-group>
|
||||
</tn-form-item>
|
||||
<tn-form-item label="2.问题xxxx(单选题)" prop="danxuan">
|
||||
<tn-radio-group v-model="form.danxuan" size="40" activeColor="#82B2FF" wrap>
|
||||
<tn-radio name="3">
|
||||
A、选项1
|
||||
</tn-radio>
|
||||
<tn-radio name="8">
|
||||
B、选项2
|
||||
<tn-form-item v-if="item.type==1" :label="(index+1)+'、'+item.title+'(多选题)'" prop="danxuan">
|
||||
<tn-radio-group v-model="questionnaireList[index].topic" size="40" activeColor="#82B2FF"
|
||||
wrap>
|
||||
<tn-radio :name="op.name" v-for="(op,opi) in item.option">
|
||||
{{ op.name }}、{{ op.val }}
|
||||
</tn-radio>
|
||||
</tn-radio-group>
|
||||
</tn-form-item>
|
||||
<tn-form-item label="3.问题xxxx(问答题)" prop="wenda">
|
||||
<tn-input placeholder="请填写答案" v-model="form.wenda" type="textarea" />
|
||||
<tn-form-item v-if="item.type==3" :label="(index+1)+'、'+item.title+'(问答题)'" prop="wenda">
|
||||
<tn-input placeholder="请填写答案" v-model="questionnaireList[index].topic"
|
||||
type="textarea" />
|
||||
</tn-form-item>
|
||||
</template>
|
||||
</tn-form>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -89,12 +82,12 @@
|
|||
<!-- </view>-->
|
||||
<view style="text-align: center;padding:0 30rpx;" v-if="info.activity_type==1">
|
||||
<button class="mmy" hover-class="none" @click="application_add" v-if="info.type=='未开始'">确认报名</button>
|
||||
<button class="mmy" hover-class="none" :disabled="true"
|
||||
v-if="info.type=='已结束'||info.type=='进行中'">报名已结束</button>
|
||||
<button class="mmy" hover-class="none" :disabled="true" v-if="info.type=='已结束'||info.type=='进行中'">报名已结束
|
||||
</button>
|
||||
|
||||
</view>
|
||||
<view style="text-align: center;padding:0 30rpx;" v-if="info.activity_type==2">
|
||||
<button class="mmy" hover-class="none" @click="application_add" v-if="info.type=='进行中'">确认提交</button>
|
||||
<button class="mmy" hover-class="none" @click="option_add" v-if="info.type=='进行中'">确认提交</button>
|
||||
<button class="mmy" hover-class="none" :disabled="true" v-if="info.type=='已结束'">问卷已结束</button>
|
||||
</view>
|
||||
<view style="text-align: center;padding:0 30rpx;" v-if="info.activity_type==3">
|
||||
|
@ -103,8 +96,8 @@
|
|||
</view>
|
||||
<view style="text-align: center;padding:0 30rpx;" v-if="info.activity_type==4">
|
||||
<button class="mmy" hover-class="none" @click="peiMod=true" v-if="info.type=='未开始'">我要参加</button>
|
||||
<button class="mmy" hover-class="none" :disabled="true"
|
||||
v-if="info.type=='已结束'||info.type=='进行中'">活动已结束</button>
|
||||
<button class="mmy" hover-class="none" :disabled="true" v-if="info.type=='已结束'||info.type=='进行中'">活动已结束
|
||||
</button>
|
||||
</view>
|
||||
</view>
|
||||
<tn-modal v-model="juanMod" :custom="true">
|
||||
|
@ -117,19 +110,21 @@
|
|||
<view class="tn-flex tn-flex-row-center" style="margin-top: 50rpx;">
|
||||
<tn-button @click="juanMod=false" backgroundColor="#E6E6E6" fontColor="#838383">我再想想</tn-button>
|
||||
<tn-button @click="juanzhuDo" backgroundColor="#28B93D" fontColor="#ffffff"
|
||||
style="margin-left: 70rpx;">确定捐助</tn-button>
|
||||
style="margin-left: 70rpx;">确定捐助
|
||||
</tn-button>
|
||||
</view>
|
||||
</tn-modal>
|
||||
<tn-modal v-model="peiMod" :custom="true">
|
||||
<view style="padding: 20rpx;text-align: center;font-size: 40rpx;">需要缴纳费用</view>
|
||||
<view style="text-align: center;margin-top: 30rpx;">
|
||||
<text style="font-size: 40rpx;">¥</text>
|
||||
<text style="font-size: 70rpx;color: #26BB71;margin-left: 5rpx;font-weight: 600;">39.99</text>
|
||||
<text style="font-size: 70rpx;color: #26BB71;margin-left: 5rpx;font-weight: 600;">{{info.money}}</text>
|
||||
</view>
|
||||
<view class="tn-flex tn-flex-row-center" style="margin-top: 50rpx;">
|
||||
<tn-button @click="peiMod=false" backgroundColor="#E6E6E6" fontColor="#838383">我再想想</tn-button>
|
||||
<tn-button @click="zhifuDo" backgroundColor="#28B93D" fontColor="#ffffff"
|
||||
style="margin-left: 70rpx;">支付费用</tn-button>
|
||||
style="margin-left: 70rpx;">支付费用
|
||||
</tn-button>
|
||||
</view>
|
||||
</tn-modal>
|
||||
</view>
|
||||
|
@ -138,15 +133,20 @@
|
|||
<script>
|
||||
import {
|
||||
eventInfo,
|
||||
applicationAdd
|
||||
questionnaireFind,
|
||||
applicationAdd,
|
||||
questionnaireAdd,
|
||||
moneyLogAdd
|
||||
} from '@/util/api.js';
|
||||
import store from '@/store/index.js'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
money: '',
|
||||
juanMod: false,
|
||||
peiMod: false, //培训付费
|
||||
questionnaireList: [], //问卷列表
|
||||
button: [{
|
||||
text: '取消',
|
||||
backgroundColor: '#E6E6E6',
|
||||
|
@ -196,11 +196,18 @@
|
|||
zhifuDo() {
|
||||
this.peiMod = false;
|
||||
var uid = uni.getStorageSync('uid');
|
||||
if (!uid) {
|
||||
uni.showToast({
|
||||
title: '请登录后报名!',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
return;
|
||||
}
|
||||
applicationAdd({
|
||||
association_id: store.state.Gid,
|
||||
member_id: uid,
|
||||
activity_id: this.id,
|
||||
money: this.info.money
|
||||
})
|
||||
.then(res => {
|
||||
if (res.code == 1) {
|
||||
|
@ -228,11 +235,96 @@
|
|||
},
|
||||
juanzhuDo() {
|
||||
this.juanMod = false;
|
||||
var uid = uni.getStorageSync('uid');
|
||||
if (!uid) {
|
||||
uni.showToast({
|
||||
title: '感谢您的捐助!',
|
||||
title: '请登录后捐助!',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
return;
|
||||
}
|
||||
moneyLogAdd({
|
||||
association_id: store.state.Gid,
|
||||
member_id: uid,
|
||||
activity_id: this.id,
|
||||
money: this.money
|
||||
})
|
||||
.then(res => {
|
||||
if (res.code == 1) {
|
||||
uni.showToast({
|
||||
title: '捐助成功!',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.msg,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
})
|
||||
},
|
||||
option_add() {
|
||||
var uid = uni.getStorageSync('uid');
|
||||
if (!uid) {
|
||||
uni.showToast({
|
||||
title: '请登录后报名!',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
return;
|
||||
}
|
||||
var that = this;
|
||||
var uid = uni.getStorageSync('uid');
|
||||
var key = this.questionnaireList.map((item, index) => {
|
||||
if (!('topic' in item)) {
|
||||
return '';
|
||||
} else {
|
||||
return {
|
||||
activity_id: that.id,
|
||||
topic_id: item.id,
|
||||
member_id: uid,
|
||||
option: Array.isArray(item.topic) ? item.topic.join(',') : item.topic,
|
||||
}
|
||||
}
|
||||
});
|
||||
for (var i = 0; i < key.length; i++) {
|
||||
if (key[i] == '') {
|
||||
uni.showToast({
|
||||
title: '请填写第[' + (i + 1) + ']个问题',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
return;
|
||||
}
|
||||
}
|
||||
questionnaireAdd({
|
||||
option: JSON.stringify(key)
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
uni.showToast({
|
||||
title: res.msg,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
})
|
||||
.catch(error => {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
})
|
||||
},
|
||||
application_add() {
|
||||
var uid = uni.getStorageSync('uid');
|
||||
|
@ -286,6 +378,27 @@
|
|||
key.activity_content = getApp().addWidthToImages(key.activity_content);
|
||||
}
|
||||
this.info = key;
|
||||
if (this.info.activity_type == 2) {
|
||||
this.getEventOption()
|
||||
}
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
})
|
||||
},
|
||||
getEventOption() {
|
||||
questionnaireFind({
|
||||
activity_id: this.id
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
this.questionnaireList = res.data;
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
|
@ -306,7 +419,7 @@
|
|||
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
methods: {
|
||||
getUserApplication() {
|
||||
UserApplication({
|
||||
member_id: 2
|
||||
member_id: this.uid
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
<view style="position: relative;">
|
||||
<image @click="openUrl('/pages/index/my_msg')" src="/static/t2.png"
|
||||
style="width: 35rpx;height: 35rpx;margin-left: 40rpx;"></image>
|
||||
<tn-badge style="position: absolute;top: -20rpx;right: -20rpx;" backgroundColor="#E83A30"
|
||||
fontColor="#ffffff">9</tn-badge>
|
||||
<tn-badge v-if="msg()>0" style="position: absolute;top: -20rpx;right: -20rpx;" backgroundColor="#E83A30"
|
||||
fontColor="#ffffff">{{msg()}}</tn-badge>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -167,7 +167,8 @@
|
|||
activityList,
|
||||
newsList,
|
||||
associationIndex,
|
||||
carouselIndex
|
||||
carouselIndex,
|
||||
Mailcoent
|
||||
} from '@/util/api.js';
|
||||
import store from '@/store/index.js'
|
||||
|
||||
|
@ -203,8 +204,32 @@
|
|||
this.getActivityList();
|
||||
this.getAssociationIndex();
|
||||
this.getCarouselIndex();
|
||||
this.getMsg();
|
||||
},
|
||||
methods: {
|
||||
msg() {
|
||||
return this.$store.state.msgCount;
|
||||
},
|
||||
async getMsg() {
|
||||
var uid = uni.getStorageSync('uid');
|
||||
|
||||
const res = await Mailcoent({
|
||||
member_id: uid
|
||||
});
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
this.$store.commit('$tStore', {
|
||||
name: 'msgCount',
|
||||
value: res.data
|
||||
})
|
||||
} else {
|
||||
this.$store.commit('$tStore', {
|
||||
name: 'msgCount',
|
||||
value: 0
|
||||
})
|
||||
}
|
||||
console.log(store.state.msgCount);
|
||||
},
|
||||
confirm(d) {
|
||||
var info = d[0];
|
||||
store.commit('$tStore', {
|
||||
|
|
|
@ -43,6 +43,10 @@
|
|||
import Pizz from './pizz.vue'
|
||||
import User from './user.vue'
|
||||
import Directory from './directory.vue'
|
||||
import {
|
||||
Mailcoent
|
||||
} from '@/util/api.js';
|
||||
import store from '@/store/index.js'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
@ -122,6 +126,7 @@
|
|||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
childEvent(data) {
|
||||
console.log(123);
|
||||
console.log(data);
|
||||
|
|
|
@ -0,0 +1,154 @@
|
|||
<template>
|
||||
<view class="template-edit tn-safe-area-inset-bottom">
|
||||
<!-- 顶部自定义导航 -->
|
||||
<tn-nav-bar :isBack="false" backTitle="" :bottomShadow="true" backgroundColor="#FFFFFF">
|
||||
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
|
||||
<view style="padding-left: 15rpx;" @click="goBack()">
|
||||
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
|
||||
</view>
|
||||
<view class="tn-margin-top"
|
||||
style=";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;">
|
||||
<tn-tabs :list="[{name:'邀请入会'}]" :current="topCurrent" activeColor="#000" :bold="false"
|
||||
:fontSize="36"></tn-tabs>
|
||||
</view>
|
||||
</view>
|
||||
</tn-nav-bar>
|
||||
|
||||
<view class="tn-safe-area-inset-bottom" :style="{paddingTop: vuex_custom_bar_height + 'px'}">
|
||||
<view style="padding: 50rpx">
|
||||
<view>
|
||||
<tn-button backgroundColor="#82B2FF" height="80rpx" :shadow="true" fontColor="#ffffff" width="100%">生成二维码</tn-button>
|
||||
</view>
|
||||
<view style="margin-top: 40rpx">
|
||||
<tn-button open-type="share" backgroundColor="#82B2FF" height="80rpx" :shadow="true" fontColor="#ffffff" width="100%">转发到微信好友</tn-button>
|
||||
</view>
|
||||
</view>
|
||||
<view style="padding:20rpx 40rpx">
|
||||
<view style="font-size: 32rpx">我邀请的会员</view>
|
||||
<view>
|
||||
<view class="tn-flex tn-flex-center tn-flex-col-center" style="padding: 30rpx;width: 100%;">
|
||||
<view>
|
||||
<image src="/static/def.png" style="width: 100rpx;height: 100rpx;border-radius: 50%;"></image>
|
||||
</view>
|
||||
<view style="width: 100%;">
|
||||
<view class="tn-flex tn-flex-col-center tn-flex-row-between">
|
||||
<view style="margin-left: 20rpx;color: #000000">
|
||||
<view style="font-size: 35rpx;">王小明</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class='tn-tabbar-height'></view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
getUserIndex,
|
||||
} from "@/util/api";
|
||||
import store from "@/store";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
topCurrent: 0,
|
||||
uid:0,
|
||||
userInfo:{},
|
||||
apiImgUrl: this.$store.state.imgUrl,
|
||||
}
|
||||
},
|
||||
onShareAppMessage() {
|
||||
return {
|
||||
title: this.userInfo.nikename+'邀请你加入【'+this.userInfo.association_name+'】',
|
||||
path: '/pages/index/apply_in?id='+this.uid+"&association_id="+this.userInfo.association_id,
|
||||
imageUrl: this.apiImgUrl+this.userInfo.association_image,
|
||||
}
|
||||
},
|
||||
onShareTimeline() { // 分享到朋友圈
|
||||
return {
|
||||
title: this.userInfo.nikename+'邀请你加入【'+this.userInfo.association_name+'】',
|
||||
path: '/pages/index/apply_in?id='+this.uid+"&association_id="+this.userInfo.association_id,
|
||||
imageUrl: this.apiImgUrl+this.userInfo.association_image,
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
var u = uni.getStorageSync('uid');
|
||||
this.uid = u;
|
||||
this.getUserInfo();
|
||||
},
|
||||
methods: {
|
||||
getUserInfo() {
|
||||
getUserIndex({
|
||||
member_b_id: this.uid,
|
||||
member_id: this.uid
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
this.userInfo = res.data;
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
})
|
||||
},
|
||||
// 跳转
|
||||
tn(e) {
|
||||
uni.navigateTo({
|
||||
url: e,
|
||||
});
|
||||
},
|
||||
goBack() {
|
||||
if (getCurrentPages().length > 1) {
|
||||
uni.navigateBack()
|
||||
} else {
|
||||
uni.redirectTo({
|
||||
url: '/pages/index/index'
|
||||
})
|
||||
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
/* 底部悬浮按钮 start*/
|
||||
.tn-tabbar-height {
|
||||
min-height: 100rpx;
|
||||
height: calc(120rpx + env(safe-area-inset-bottom) / 2);
|
||||
}
|
||||
|
||||
.tn-footerfixed {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
bottom: calc(30rpx + env(safe-area-inset-bottom));
|
||||
z-index: 1024;
|
||||
box-shadow: 0 1rpx 6rpx rgba(0, 0, 0, 0);
|
||||
|
||||
}
|
||||
|
||||
/* 底部悬浮按钮 end*/
|
||||
|
||||
/* 标签内容 start*/
|
||||
.tn-tag-content {
|
||||
&__item {
|
||||
display: inline-block;
|
||||
line-height: 45rpx;
|
||||
padding: 10rpx 30rpx;
|
||||
margin: 20rpx 20rpx 5rpx 0rpx;
|
||||
|
||||
&--prefix {
|
||||
padding-right: 10rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* 标签内容 end*/
|
||||
</style>
|
|
@ -88,8 +88,14 @@
|
|||
<view class="tn-flex tn-flex-center tn-flex-col-center" style="position: relative;">
|
||||
<image src="/static/ico9.png" style="width: 50rpx;height: 50rpx"></image>
|
||||
<view style="margin-left: 20rpx;">我的消息</view>
|
||||
<tn-badge style="position: absolute;right: 40rpx;" backgroundColor="#E83A30"
|
||||
fontColor="#ffffff">9</tn-badge>
|
||||
<tn-badge v-if="msg()>0" style="position: absolute;right: 40rpx;" backgroundColor="#E83A30"
|
||||
fontColor="#ffffff">{{msg()}}</tn-badge>
|
||||
</view>
|
||||
</tn-list-cell>
|
||||
<tn-list-cell :arrow="true" @click="tn('/pages/index/my_invite')">
|
||||
<view class="tn-flex tn-flex-center tn-flex-col-center">
|
||||
<image src="/static/ico10.png" style="width: 50rpx;height: 50rpx"></image>
|
||||
<view style="margin-left: 20rpx;">邀请入会</view>
|
||||
</view>
|
||||
</tn-list-cell>
|
||||
<!-- <tn-list-cell :arrow="true" @click="tn('/pages/index/my_assist')">-->
|
||||
|
@ -168,6 +174,9 @@
|
|||
this.getUserInfo();
|
||||
},
|
||||
methods: {
|
||||
msg() {
|
||||
return this.$store.state.msgCount;
|
||||
},
|
||||
getUserInfo() {
|
||||
getUserIndex({
|
||||
member_b_id: this.uid,
|
||||
|
|
|
@ -47,6 +47,7 @@ const store = new Vuex.Store({
|
|||
// 自定义导航栏的高度
|
||||
vuex_custom_bar_height: 0,
|
||||
Gid: 4,
|
||||
msgCount: 0,
|
||||
// imgUrl: "http://192.168.3.130",
|
||||
// apiUrl: "http://192.168.3.130/api"
|
||||
imgUrl: "https://ysx.0rui.cn",
|
||||
|
|
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
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
|
@ -29,7 +29,8 @@
|
|||
"pages/index/my_edit",
|
||||
"pages/index/tissue",
|
||||
"pages/index/my_desc",
|
||||
"pages/index/event_info"
|
||||
"pages/index/event_info",
|
||||
"pages/index/my_invite"
|
||||
],
|
||||
"subPackages": [],
|
||||
"window": {
|
||||
|
|
|
@ -214,14 +214,10 @@ var _default = {
|
|||
(0, _api.UserLogin)({
|
||||
code: loginRes.code
|
||||
}).then(function (response) {
|
||||
console.log(response);
|
||||
console.log('Login', response);
|
||||
if (response.code == 1) {
|
||||
console.log();
|
||||
if (typeof response.data.id == 'undefined') {
|
||||
uni.setStorageSync('openid', response.data.openid);
|
||||
} else {
|
||||
uni.setStorageSync('uid', response.data.id);
|
||||
}
|
||||
} else {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
|
|
|
@ -105,11 +105,11 @@
|
|||
/******/
|
||||
/******/
|
||||
/******/ // mini-css-extract-plugin CSS loading
|
||||
/******/ var cssChunks = {"tuniao-ui/components/tn-badge/tn-badge":1,"tuniao-ui/components/tn-button/tn-button":1,"tuniao-ui/components/tn-form-item/tn-form-item":1,"tuniao-ui/components/tn-grid-item/tn-grid-item":1,"tuniao-ui/components/tn-input/tn-input":1,"tuniao-ui/components/tn-list-cell/tn-list-cell":1,"tuniao-ui/components/tn-load-more/tn-load-more":1,"tuniao-ui/components/tn-modal/tn-modal":1,"tuniao-ui/components/tn-nav-bar/tn-nav-bar":1,"tuniao-ui/components/tn-notice-bar/tn-notice-bar":1,"tuniao-ui/components/tn-tabs/tn-tabs":1,"tuniao-ui/components/tn-grid/tn-grid":1,"tuniao-ui/components/tn-select/tn-select":1,"tuniao-ui/components/tn-tabbar/tn-tabbar":1,"tuniao-ui/components/tn-tag/tn-tag":1,"tuniao-ui/components/tn-calendar/tn-calendar":1,"tuniao-ui/components/tn-image-upload/tn-image-upload":1,"tuniao-ui/components/tn-radio-group/tn-radio-group":1,"tuniao-ui/components/tn-checkbox/tn-checkbox":1,"tuniao-ui/components/tn-radio/tn-radio":1,"tuniao-ui/components/tn-steps/tn-steps":1,"tuniao-ui/components/tn-image-upload-drag/tn-image-upload-drag":1,"tuniao-ui/components/tn-checkbox-group/tn-checkbox-group":1,"tuniao-ui/components/tn-loading/tn-loading":1,"tuniao-ui/components/tn-popup/tn-popup":1,"tuniao-ui/components/tn-column-notice/tn-column-notice":1,"tuniao-ui/components/tn-row-notice/tn-row-notice":1,"tuniao-ui/components/tn-line-progress/tn-line-progress":1};
|
||||
/******/ var cssChunks = {"tuniao-ui/components/tn-badge/tn-badge":1,"tuniao-ui/components/tn-button/tn-button":1,"tuniao-ui/components/tn-form-item/tn-form-item":1,"tuniao-ui/components/tn-grid-item/tn-grid-item":1,"tuniao-ui/components/tn-input/tn-input":1,"tuniao-ui/components/tn-list-cell/tn-list-cell":1,"tuniao-ui/components/tn-load-more/tn-load-more":1,"tuniao-ui/components/tn-modal/tn-modal":1,"tuniao-ui/components/tn-nav-bar/tn-nav-bar":1,"tuniao-ui/components/tn-notice-bar/tn-notice-bar":1,"tuniao-ui/components/tn-tabs/tn-tabs":1,"tuniao-ui/components/tn-grid/tn-grid":1,"tuniao-ui/components/tn-select/tn-select":1,"tuniao-ui/components/tn-tabbar/tn-tabbar":1,"tuniao-ui/components/tn-tag/tn-tag":1,"tuniao-ui/components/tn-checkbox/tn-checkbox":1,"tuniao-ui/components/tn-steps/tn-steps":1,"tuniao-ui/components/tn-image-upload-drag/tn-image-upload-drag":1,"tuniao-ui/components/tn-checkbox-group/tn-checkbox-group":1,"tuniao-ui/components/tn-radio-group/tn-radio-group":1,"tuniao-ui/components/tn-radio/tn-radio":1,"tuniao-ui/components/tn-loading/tn-loading":1,"tuniao-ui/components/tn-popup/tn-popup":1,"tuniao-ui/components/tn-column-notice/tn-column-notice":1,"tuniao-ui/components/tn-row-notice/tn-row-notice":1,"tuniao-ui/components/tn-line-progress/tn-line-progress":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 = "" + ({"tuniao-ui/components/tn-badge/tn-badge":"tuniao-ui/components/tn-badge/tn-badge","tuniao-ui/components/tn-button/tn-button":"tuniao-ui/components/tn-button/tn-button","tuniao-ui/components/tn-form-item/tn-form-item":"tuniao-ui/components/tn-form-item/tn-form-item","tuniao-ui/components/tn-grid-item/tn-grid-item":"tuniao-ui/components/tn-grid-item/tn-grid-item","tuniao-ui/components/tn-input/tn-input":"tuniao-ui/components/tn-input/tn-input","tuniao-ui/components/tn-list-cell/tn-list-cell":"tuniao-ui/components/tn-list-cell/tn-list-cell","tuniao-ui/components/tn-load-more/tn-load-more":"tuniao-ui/components/tn-load-more/tn-load-more","tuniao-ui/components/tn-modal/tn-modal":"tuniao-ui/components/tn-modal/tn-modal","tuniao-ui/components/tn-nav-bar/tn-nav-bar":"tuniao-ui/components/tn-nav-bar/tn-nav-bar","tuniao-ui/components/tn-notice-bar/tn-notice-bar":"tuniao-ui/components/tn-notice-bar/tn-notice-bar","tuniao-ui/components/tn-tabs/tn-tabs":"tuniao-ui/components/tn-tabs/tn-tabs","tuniao-ui/components/tn-form/tn-form":"tuniao-ui/components/tn-form/tn-form","tuniao-ui/components/tn-grid/tn-grid":"tuniao-ui/components/tn-grid/tn-grid","tuniao-ui/components/tn-select/tn-select":"tuniao-ui/components/tn-select/tn-select","tuniao-ui/components/tn-tabbar/tn-tabbar":"tuniao-ui/components/tn-tabbar/tn-tabbar","tuniao-ui/components/tn-tag/tn-tag":"tuniao-ui/components/tn-tag/tn-tag","tuniao-ui/components/tn-calendar/tn-calendar":"tuniao-ui/components/tn-calendar/tn-calendar","tuniao-ui/components/tn-image-upload/tn-image-upload":"tuniao-ui/components/tn-image-upload/tn-image-upload","tuniao-ui/components/tn-radio-group/tn-radio-group":"tuniao-ui/components/tn-radio-group/tn-radio-group","tuniao-ui/components/tn-checkbox/tn-checkbox":"tuniao-ui/components/tn-checkbox/tn-checkbox","tuniao-ui/components/tn-radio/tn-radio":"tuniao-ui/components/tn-radio/tn-radio","tuniao-ui/components/tn-steps/tn-steps":"tuniao-ui/components/tn-steps/tn-steps","tuniao-ui/components/tn-image-upload-drag/tn-image-upload-drag":"tuniao-ui/components/tn-image-upload-drag/tn-image-upload-drag","tuniao-ui/components/tn-checkbox-group/tn-checkbox-group":"tuniao-ui/components/tn-checkbox-group/tn-checkbox-group","tuniao-ui/components/tn-loading/tn-loading":"tuniao-ui/components/tn-loading/tn-loading","tuniao-ui/components/tn-popup/tn-popup":"tuniao-ui/components/tn-popup/tn-popup","tuniao-ui/components/tn-column-notice/tn-column-notice":"tuniao-ui/components/tn-column-notice/tn-column-notice","tuniao-ui/components/tn-row-notice/tn-row-notice":"tuniao-ui/components/tn-row-notice/tn-row-notice","tuniao-ui/components/tn-line-progress/tn-line-progress":"tuniao-ui/components/tn-line-progress/tn-line-progress"}[chunkId]||chunkId) + ".wxss";
|
||||
/******/ var href = "" + ({"tuniao-ui/components/tn-badge/tn-badge":"tuniao-ui/components/tn-badge/tn-badge","tuniao-ui/components/tn-button/tn-button":"tuniao-ui/components/tn-button/tn-button","tuniao-ui/components/tn-form-item/tn-form-item":"tuniao-ui/components/tn-form-item/tn-form-item","tuniao-ui/components/tn-grid-item/tn-grid-item":"tuniao-ui/components/tn-grid-item/tn-grid-item","tuniao-ui/components/tn-input/tn-input":"tuniao-ui/components/tn-input/tn-input","tuniao-ui/components/tn-list-cell/tn-list-cell":"tuniao-ui/components/tn-list-cell/tn-list-cell","tuniao-ui/components/tn-load-more/tn-load-more":"tuniao-ui/components/tn-load-more/tn-load-more","tuniao-ui/components/tn-modal/tn-modal":"tuniao-ui/components/tn-modal/tn-modal","tuniao-ui/components/tn-nav-bar/tn-nav-bar":"tuniao-ui/components/tn-nav-bar/tn-nav-bar","tuniao-ui/components/tn-notice-bar/tn-notice-bar":"tuniao-ui/components/tn-notice-bar/tn-notice-bar","tuniao-ui/components/tn-tabs/tn-tabs":"tuniao-ui/components/tn-tabs/tn-tabs","tuniao-ui/components/tn-form/tn-form":"tuniao-ui/components/tn-form/tn-form","tuniao-ui/components/tn-grid/tn-grid":"tuniao-ui/components/tn-grid/tn-grid","tuniao-ui/components/tn-select/tn-select":"tuniao-ui/components/tn-select/tn-select","tuniao-ui/components/tn-tabbar/tn-tabbar":"tuniao-ui/components/tn-tabbar/tn-tabbar","tuniao-ui/components/tn-tag/tn-tag":"tuniao-ui/components/tn-tag/tn-tag","tuniao-ui/components/tn-checkbox/tn-checkbox":"tuniao-ui/components/tn-checkbox/tn-checkbox","tuniao-ui/components/tn-steps/tn-steps":"tuniao-ui/components/tn-steps/tn-steps","tuniao-ui/components/tn-image-upload-drag/tn-image-upload-drag":"tuniao-ui/components/tn-image-upload-drag/tn-image-upload-drag","tuniao-ui/components/tn-checkbox-group/tn-checkbox-group":"tuniao-ui/components/tn-checkbox-group/tn-checkbox-group","tuniao-ui/components/tn-radio-group/tn-radio-group":"tuniao-ui/components/tn-radio-group/tn-radio-group","tuniao-ui/components/tn-radio/tn-radio":"tuniao-ui/components/tn-radio/tn-radio","tuniao-ui/components/tn-loading/tn-loading":"tuniao-ui/components/tn-loading/tn-loading","tuniao-ui/components/tn-popup/tn-popup":"tuniao-ui/components/tn-popup/tn-popup","tuniao-ui/components/tn-column-notice/tn-column-notice":"tuniao-ui/components/tn-column-notice/tn-column-notice","tuniao-ui/components/tn-row-notice/tn-row-notice":"tuniao-ui/components/tn-row-notice/tn-row-notice","tuniao-ui/components/tn-line-progress/tn-line-progress":"tuniao-ui/components/tn-line-progress/tn-line-progress"}[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 one or more lines are too long
|
@ -118,18 +118,6 @@ try {
|
|||
tnSelect: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-select/tn-select */ "tuniao-ui/components/tn-select/tn-select").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-select/tn-select.vue */ 329))
|
||||
},
|
||||
tnCalendar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-calendar/tn-calendar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-calendar/tn-calendar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-calendar/tn-calendar.vue */ 415))
|
||||
},
|
||||
tnImageUpload: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-image-upload/tn-image-upload */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-image-upload/tn-image-upload")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-image-upload/tn-image-upload.vue */ 423))
|
||||
},
|
||||
tnRadioGroup: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-radio-group/tn-radio-group */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-radio-group/tn-radio-group")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-radio-group/tn-radio-group.vue */ 439))
|
||||
},
|
||||
tnRadio: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-radio/tn-radio */ "tuniao-ui/components/tn-radio/tn-radio").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-radio/tn-radio.vue */ 446))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
if (
|
||||
|
@ -154,22 +142,13 @@ var render = function () {
|
|||
var _c = _vm._self._c || _h
|
||||
if (!_vm._isMounted) {
|
||||
_vm.e0 = function ($event) {
|
||||
_vm.position_show = true
|
||||
_vm.tuijian_show = true
|
||||
}
|
||||
_vm.e1 = function ($event) {
|
||||
_vm.gender_show = true
|
||||
}
|
||||
_vm.e2 = function ($event) {
|
||||
_vm.birth_time_show = true
|
||||
}
|
||||
_vm.e3 = function ($event) {
|
||||
_vm.industry_id_show = true
|
||||
}
|
||||
_vm.e4 = function ($event) {
|
||||
_vm.jiantuan_time_show = true
|
||||
}
|
||||
_vm.e5 = function ($event) {
|
||||
_vm.current = 2
|
||||
_vm.current = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -214,6 +193,65 @@ Object.defineProperty(exports, "__esModule", {
|
|||
exports.default = void 0;
|
||||
var _api = __webpack_require__(/*! @/util/api.js */ 33);
|
||||
var _store = _interopRequireDefault(__webpack_require__(/*! @/store */ 30));
|
||||
var _string = _interopRequireDefault(__webpack_require__(/*! @/tuniao-ui/libs/function/string */ 69));
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
|
@ -775,9 +813,16 @@ var _default = {
|
|||
name: '入会须知'
|
||||
}, {
|
||||
name: '人员信息'
|
||||
}, {
|
||||
name: '公司信息'
|
||||
}],
|
||||
new_info: {
|
||||
recommendation_id: 0,
|
||||
recommendation_name: '',
|
||||
phone: '',
|
||||
nikename: '',
|
||||
gender_name: '请选择',
|
||||
gender: null,
|
||||
enterprise_name: ''
|
||||
},
|
||||
formData: {
|
||||
position_name: '请选择',
|
||||
position_id: 0,
|
||||
|
@ -839,17 +884,64 @@ var _default = {
|
|||
documents_file_show: [],
|
||||
enterprise_location: '',
|
||||
apiUrl: this.$store.state.apiUrl
|
||||
}
|
||||
},
|
||||
tuijian_show: false,
|
||||
member_list: []
|
||||
};
|
||||
},
|
||||
onLoad: function onLoad() {
|
||||
onLoad: function onLoad(d) {
|
||||
console.log('123456', d);
|
||||
if (typeof d.id != 'undefined') {
|
||||
uni.setStorageSync('apply_id', d.id);
|
||||
this.new_info.recommendation_id = d.id;
|
||||
}
|
||||
if (typeof d.association_id != 'undefined') {
|
||||
_store.default.commit('$tStore', {
|
||||
name: 'Gid',
|
||||
value: d.association_id
|
||||
});
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: '/pages/index/index'
|
||||
});
|
||||
}
|
||||
this.getAssociationInfo();
|
||||
this.getPlan();
|
||||
this.getIndustry();
|
||||
this.getMemberList();
|
||||
},
|
||||
methods: {
|
||||
getIndustry: function getIndustry() {
|
||||
getMemberList: function getMemberList() {
|
||||
var _this = this;
|
||||
(0, _api.MemberList)({
|
||||
association_id: _store.default.state.Gid
|
||||
}).then(function (res) {
|
||||
if (res.code == 1) {
|
||||
var key = res.data;
|
||||
var transformedSelectList = key.map(function (item) {
|
||||
return {
|
||||
value: item.id,
|
||||
label: item.nikename
|
||||
};
|
||||
});
|
||||
if (_this.new_info.recommendation_id != 0) {
|
||||
var index = transformedSelectList.findIndex(function (item) {
|
||||
return item.value == _this.new_info.recommendation_id;
|
||||
});
|
||||
_this.new_info.recommendation_name = transformedSelectList[index].label;
|
||||
}
|
||||
_this.member_list = transformedSelectList;
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
});
|
||||
},
|
||||
getIndustry: function getIndustry() {
|
||||
var _this2 = this;
|
||||
(0, _api.IndustryList)({
|
||||
association_id: _store.default.state.Gid
|
||||
}).then(function (res) {
|
||||
|
@ -861,7 +953,7 @@ var _default = {
|
|||
label: item.industry_name
|
||||
};
|
||||
});
|
||||
_this.industry_list = transformedSelectList;
|
||||
_this2.industry_list = transformedSelectList;
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
|
@ -903,8 +995,8 @@ var _default = {
|
|||
},
|
||||
getGenderId: function getGenderId(d) {
|
||||
var info = d[0];
|
||||
this.formData.gender_name = info.label;
|
||||
this.formData.gender = info.value;
|
||||
this.new_info.gender_name = info.label;
|
||||
this.new_info.gender = info.value;
|
||||
},
|
||||
getindustryId: function getindustryId() {
|
||||
var info = d[0];
|
||||
|
@ -1135,7 +1227,7 @@ var _default = {
|
|||
this.current = 2;
|
||||
},
|
||||
getPlan: function getPlan() {
|
||||
var _this2 = this;
|
||||
var _this3 = this;
|
||||
(0, _api.positionList)({
|
||||
association_id: _store.default.state.Gid
|
||||
}).then(function (res) {
|
||||
|
@ -1147,7 +1239,7 @@ var _default = {
|
|||
label: item.position_name
|
||||
};
|
||||
});
|
||||
_this2.positionList = transformedSelectList;
|
||||
_this3.positionList = transformedSelectList;
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
|
@ -1158,7 +1250,7 @@ var _default = {
|
|||
});
|
||||
},
|
||||
getAssociationInfo: function getAssociationInfo() {
|
||||
var _this3 = this;
|
||||
var _this4 = this;
|
||||
(0, _api.associationInfo)({
|
||||
association_id: _store.default.state.Gid
|
||||
}).then(function (res) {
|
||||
|
@ -1168,7 +1260,77 @@ var _default = {
|
|||
if (key.association_desc.indexOf("<img") != -1) {
|
||||
key.association_desc = getApp().addWidthToImages(key.association_desc);
|
||||
}
|
||||
_this3.info = key;
|
||||
_this4.info = key;
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
});
|
||||
},
|
||||
newSubmit: function newSubmit() {
|
||||
if (this.new_info.phone == '') {
|
||||
uni.showToast({
|
||||
title: '请填写手机号码!',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
return;
|
||||
}
|
||||
var phoneNumberRegex = /^1[3-9]\d{9}$/;
|
||||
if (!phoneNumberRegex.test(this.new_info.phone)) {
|
||||
uni.showToast({
|
||||
title: '手机号码输入有误!',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (this.new_info.nikename == '') {
|
||||
uni.showToast({
|
||||
title: '请填写真实姓名!',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (this.new_info.gender == null) {
|
||||
uni.showToast({
|
||||
title: '请选择性别!',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (this.new_info.enterprise_name == '') {
|
||||
uni.showToast({
|
||||
title: '请填写企业名称!',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
return;
|
||||
}
|
||||
this.new_info.association_id = _store.default.state.Gid;
|
||||
this.new_info.openid = uni.getStorageSync('openid');
|
||||
(0, _api.loginAdd)(this.new_info).then(function (res) {
|
||||
if (res.code == 1) {
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '申请成功,请关注站内信通知!',
|
||||
success: function success(res) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/index/index'
|
||||
});
|
||||
}
|
||||
});
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.msg,
|
||||
icon: 'error',
|
||||
duration: 2000
|
||||
});
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
|
|
|
@ -7,10 +7,6 @@
|
|||
"tn-steps": "/tuniao-ui/components/tn-steps/tn-steps",
|
||||
"tn-checkbox": "/tuniao-ui/components/tn-checkbox/tn-checkbox",
|
||||
"tn-button": "/tuniao-ui/components/tn-button/tn-button",
|
||||
"tn-select": "/tuniao-ui/components/tn-select/tn-select",
|
||||
"tn-calendar": "/tuniao-ui/components/tn-calendar/tn-calendar",
|
||||
"tn-image-upload": "/tuniao-ui/components/tn-image-upload/tn-image-upload",
|
||||
"tn-radio-group": "/tuniao-ui/components/tn-radio-group/tn-radio-group",
|
||||
"tn-radio": "/tuniao-ui/components/tn-radio/tn-radio"
|
||||
"tn-select": "/tuniao-ui/components/tn-select/tn-select"
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
|
@ -343,11 +343,6 @@ var _index = _interopRequireDefault(__webpack_require__(/*! @/store/index.js */
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
var _default = {
|
||||
data: function data() {
|
||||
return {
|
||||
|
@ -355,6 +350,8 @@ var _default = {
|
|||
juanMod: false,
|
||||
peiMod: false,
|
||||
//培训付费
|
||||
questionnaireList: [],
|
||||
//问卷列表
|
||||
button: [{
|
||||
text: '取消',
|
||||
backgroundColor: '#E6E6E6',
|
||||
|
@ -402,11 +399,18 @@ var _default = {
|
|||
zhifuDo: function zhifuDo() {
|
||||
this.peiMod = false;
|
||||
var uid = uni.getStorageSync('uid');
|
||||
if (!uid) {
|
||||
uni.showToast({
|
||||
title: '请登录后报名!',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
return;
|
||||
}
|
||||
(0, _api.applicationAdd)({
|
||||
association_id: _index.default.state.Gid,
|
||||
member_id: uid,
|
||||
activity_id: this.id,
|
||||
money: this.info.money
|
||||
activity_id: this.id
|
||||
}).then(function (res) {
|
||||
if (res.code == 1) {
|
||||
uni.showToast({
|
||||
|
@ -431,11 +435,92 @@ var _default = {
|
|||
},
|
||||
juanzhuDo: function juanzhuDo() {
|
||||
this.juanMod = false;
|
||||
var uid = uni.getStorageSync('uid');
|
||||
if (!uid) {
|
||||
uni.showToast({
|
||||
title: '感谢您的捐助!',
|
||||
title: '请登录后捐助!',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
return;
|
||||
}
|
||||
(0, _api.moneyLogAdd)({
|
||||
association_id: _index.default.state.Gid,
|
||||
member_id: uid,
|
||||
activity_id: this.id,
|
||||
money: this.money
|
||||
}).then(function (res) {
|
||||
if (res.code == 1) {
|
||||
uni.showToast({
|
||||
title: '捐助成功!',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.msg,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
});
|
||||
},
|
||||
option_add: function option_add() {
|
||||
var uid = uni.getStorageSync('uid');
|
||||
if (!uid) {
|
||||
uni.showToast({
|
||||
title: '请登录后报名!',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
return;
|
||||
}
|
||||
var that = this;
|
||||
var uid = uni.getStorageSync('uid');
|
||||
var key = this.questionnaireList.map(function (item, index) {
|
||||
if (!('topic' in item)) {
|
||||
return '';
|
||||
} else {
|
||||
return {
|
||||
activity_id: that.id,
|
||||
topic_id: item.id,
|
||||
member_id: uid,
|
||||
option: Array.isArray(item.topic) ? item.topic.join(',') : item.topic
|
||||
};
|
||||
}
|
||||
});
|
||||
for (var i = 0; i < key.length; i++) {
|
||||
if (key[i] == '') {
|
||||
uni.showToast({
|
||||
title: '请填写第[' + (i + 1) + ']个问题',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
return;
|
||||
}
|
||||
}
|
||||
(0, _api.questionnaireAdd)({
|
||||
option: JSON.stringify(key)
|
||||
}).then(function (res) {
|
||||
console.log(res);
|
||||
uni.showToast({
|
||||
title: res.msg,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
});
|
||||
},
|
||||
application_add: function application_add() {
|
||||
var uid = uni.getStorageSync('uid');
|
||||
|
@ -487,6 +572,26 @@ var _default = {
|
|||
key.activity_content = getApp().addWidthToImages(key.activity_content);
|
||||
}
|
||||
_this.info = key;
|
||||
if (_this.info.activity_type == 2) {
|
||||
_this.getEventOption();
|
||||
}
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
});
|
||||
},
|
||||
getEventOption: function getEventOption() {
|
||||
var _this2 = this;
|
||||
(0, _api.questionnaireFind)({
|
||||
activity_id: this.id
|
||||
}).then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
_this2.questionnaireList = res.data;
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -233,7 +233,7 @@ var _default = {
|
|||
getUserApplication: function getUserApplication() {
|
||||
var _this = this;
|
||||
(0, _api.UserApplication)({
|
||||
member_id: 2
|
||||
member_id: this.uid
|
||||
}).then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
|
|
|
@ -138,6 +138,8 @@ var render = function () {
|
|||
var _vm = this
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
var m0 = _vm.msg()
|
||||
var m1 = m0 > 0 ? _vm.msg() : null
|
||||
var g0 = _vm.actList.length
|
||||
var g1 = _vm.actList.length
|
||||
if (!_vm._isMounted) {
|
||||
|
@ -149,6 +151,8 @@ var render = function () {
|
|||
{},
|
||||
{
|
||||
$root: {
|
||||
m0: m0,
|
||||
m1: m1,
|
||||
g0: g0,
|
||||
g1: g1,
|
||||
},
|
||||
|
@ -194,7 +198,9 @@ Object.defineProperty(exports, "__esModule", {
|
|||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 35));
|
||||
var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18));
|
||||
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 37));
|
||||
var _api = __webpack_require__(/*! @/util/api.js */ 33);
|
||||
var _index = _interopRequireDefault(__webpack_require__(/*! @/store/index.js */ 30));
|
||||
//
|
||||
|
@ -390,8 +396,48 @@ var _default = {
|
|||
this.getActivityList();
|
||||
this.getAssociationIndex();
|
||||
this.getCarouselIndex();
|
||||
this.getMsg();
|
||||
},
|
||||
methods: {
|
||||
msg: function msg() {
|
||||
return this.$store.state.msgCount;
|
||||
},
|
||||
getMsg: function getMsg() {
|
||||
var _this = this;
|
||||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
||||
var uid, res;
|
||||
return _regenerator.default.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
uid = uni.getStorageSync('uid');
|
||||
_context.next = 3;
|
||||
return (0, _api.Mailcoent)({
|
||||
member_id: uid
|
||||
});
|
||||
case 3:
|
||||
res = _context.sent;
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
_this.$store.commit('$tStore', {
|
||||
name: 'msgCount',
|
||||
value: res.data
|
||||
});
|
||||
} else {
|
||||
_this.$store.commit('$tStore', {
|
||||
name: 'msgCount',
|
||||
value: 0
|
||||
});
|
||||
}
|
||||
console.log(_index.default.state.msgCount);
|
||||
case 7:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee);
|
||||
}))();
|
||||
},
|
||||
confirm: function confirm(d) {
|
||||
var info = d[0];
|
||||
_index.default.commit('$tStore', {
|
||||
|
@ -411,7 +457,7 @@ var _default = {
|
|||
//this.$emit('childEvent', '修改后的数据');
|
||||
},
|
||||
getAssociationIndex: function getAssociationIndex() {
|
||||
var _this = this;
|
||||
var _this2 = this;
|
||||
(0, _api.associationIndex)().then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
|
@ -426,9 +472,9 @@ var _default = {
|
|||
var foundNumber = transformedSelectList.find(function (element) {
|
||||
return element.value == _index.default.state.Gid;
|
||||
});
|
||||
_this.HomeTitle = foundNumber.label;
|
||||
_this.selectList = transformedSelectList;
|
||||
_this.$parent.childEvent(foundNumber);
|
||||
_this2.HomeTitle = foundNumber.label;
|
||||
_this2.selectList = transformedSelectList;
|
||||
_this2.$parent.childEvent(foundNumber);
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
|
@ -439,13 +485,13 @@ var _default = {
|
|||
});
|
||||
},
|
||||
getCarouselIndex: function getCarouselIndex() {
|
||||
var _this2 = this;
|
||||
var _this3 = this;
|
||||
(0, _api.carouselIndex)({
|
||||
association_id: _index.default.state.Gid
|
||||
}).then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
_this2.carousel_list = res.data;
|
||||
_this3.carousel_list = res.data;
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
|
@ -456,7 +502,7 @@ var _default = {
|
|||
});
|
||||
},
|
||||
getActivityList: function getActivityList() {
|
||||
var _this3 = this;
|
||||
var _this4 = this;
|
||||
(0, _api.activityList)({
|
||||
association_id: _index.default.state.Gid,
|
||||
page: 1,
|
||||
|
@ -464,9 +510,9 @@ var _default = {
|
|||
}).then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
_this3.actList = res.data.ret;
|
||||
_this4.actList = res.data.ret;
|
||||
} else {
|
||||
_this3.actList = [];
|
||||
_this4.actList = [];
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
|
@ -477,7 +523,7 @@ var _default = {
|
|||
});
|
||||
},
|
||||
getNewsGoryList: function getNewsGoryList() {
|
||||
var _this4 = this;
|
||||
var _this5 = this;
|
||||
(0, _api.newsGoryList)({
|
||||
association_id: _index.default.state.Gid
|
||||
}).then(function (res) {
|
||||
|
@ -488,10 +534,10 @@ var _default = {
|
|||
id: 0,
|
||||
name: '最新'
|
||||
});
|
||||
_this4.goryList = key;
|
||||
_this4.type = 1;
|
||||
_this4.gory_id = 0;
|
||||
_this4.getNewsList();
|
||||
_this5.goryList = key;
|
||||
_this5.type = 1;
|
||||
_this5.gory_id = 0;
|
||||
_this5.getNewsList();
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
|
@ -502,7 +548,7 @@ var _default = {
|
|||
});
|
||||
},
|
||||
getNewsList: function getNewsList() {
|
||||
var _this5 = this;
|
||||
var _this6 = this;
|
||||
(0, _api.newsList)({
|
||||
association_id: _index.default.state.Gid,
|
||||
type: this.type,
|
||||
|
@ -512,8 +558,8 @@ var _default = {
|
|||
}).then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
var _this5$news_list;
|
||||
(_this5$news_list = _this5.news_list).push.apply(_this5$news_list, (0, _toConsumableArray2.default)(res.data.ret));
|
||||
var _this6$news_list;
|
||||
(_this6$news_list = _this6.news_list).push.apply(_this6$news_list, (0, _toConsumableArray2.default)(res.data.ret));
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -164,6 +164,8 @@ var _service = _interopRequireDefault(__webpack_require__(/*! ./service.vue */ 8
|
|||
var _pizz = _interopRequireDefault(__webpack_require__(/*! ./pizz.vue */ 93));
|
||||
var _user = _interopRequireDefault(__webpack_require__(/*! ./user.vue */ 98));
|
||||
var _directory = _interopRequireDefault(__webpack_require__(/*! ./directory.vue */ 103));
|
||||
var _api = __webpack_require__(/*! @/util/api.js */ 33);
|
||||
var _index = _interopRequireDefault(__webpack_require__(/*! @/store/index.js */ 30));
|
||||
//
|
||||
//
|
||||
//
|
||||
|
@ -456,6 +458,8 @@ var render = function () {
|
|||
var _vm = this
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
var m0 = _vm.msg()
|
||||
var m1 = m0 > 0 ? _vm.msg() : null
|
||||
var g0 = _vm.actList.length
|
||||
var g1 = _vm.actList.length
|
||||
if (!_vm._isMounted) {
|
||||
|
@ -467,6 +471,8 @@ var render = function () {
|
|||
{},
|
||||
{
|
||||
$root: {
|
||||
m0: m0,
|
||||
m1: m1,
|
||||
g0: g0,
|
||||
g1: g1,
|
||||
},
|
||||
|
@ -510,7 +516,9 @@ Object.defineProperty(exports, "__esModule", {
|
|||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 35));
|
||||
var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18));
|
||||
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 37));
|
||||
var _api = __webpack_require__(/*! @/util/api.js */ 33);
|
||||
var _index = _interopRequireDefault(__webpack_require__(/*! @/store/index.js */ 30));
|
||||
//
|
||||
|
@ -706,8 +714,48 @@ var _default = {
|
|||
this.getActivityList();
|
||||
this.getAssociationIndex();
|
||||
this.getCarouselIndex();
|
||||
this.getMsg();
|
||||
},
|
||||
methods: {
|
||||
msg: function msg() {
|
||||
return this.$store.state.msgCount;
|
||||
},
|
||||
getMsg: function getMsg() {
|
||||
var _this = this;
|
||||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
||||
var uid, res;
|
||||
return _regenerator.default.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
uid = uni.getStorageSync('uid');
|
||||
_context.next = 3;
|
||||
return (0, _api.Mailcoent)({
|
||||
member_id: uid
|
||||
});
|
||||
case 3:
|
||||
res = _context.sent;
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
_this.$store.commit('$tStore', {
|
||||
name: 'msgCount',
|
||||
value: res.data
|
||||
});
|
||||
} else {
|
||||
_this.$store.commit('$tStore', {
|
||||
name: 'msgCount',
|
||||
value: 0
|
||||
});
|
||||
}
|
||||
console.log(_index.default.state.msgCount);
|
||||
case 7:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee);
|
||||
}))();
|
||||
},
|
||||
confirm: function confirm(d) {
|
||||
var info = d[0];
|
||||
_index.default.commit('$tStore', {
|
||||
|
@ -727,7 +775,7 @@ var _default = {
|
|||
//this.$emit('childEvent', '修改后的数据');
|
||||
},
|
||||
getAssociationIndex: function getAssociationIndex() {
|
||||
var _this = this;
|
||||
var _this2 = this;
|
||||
(0, _api.associationIndex)().then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
|
@ -742,9 +790,9 @@ var _default = {
|
|||
var foundNumber = transformedSelectList.find(function (element) {
|
||||
return element.value == _index.default.state.Gid;
|
||||
});
|
||||
_this.HomeTitle = foundNumber.label;
|
||||
_this.selectList = transformedSelectList;
|
||||
_this.$parent.childEvent(foundNumber);
|
||||
_this2.HomeTitle = foundNumber.label;
|
||||
_this2.selectList = transformedSelectList;
|
||||
_this2.$parent.childEvent(foundNumber);
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
|
@ -755,13 +803,13 @@ var _default = {
|
|||
});
|
||||
},
|
||||
getCarouselIndex: function getCarouselIndex() {
|
||||
var _this2 = this;
|
||||
var _this3 = this;
|
||||
(0, _api.carouselIndex)({
|
||||
association_id: _index.default.state.Gid
|
||||
}).then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
_this2.carousel_list = res.data;
|
||||
_this3.carousel_list = res.data;
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
|
@ -772,7 +820,7 @@ var _default = {
|
|||
});
|
||||
},
|
||||
getActivityList: function getActivityList() {
|
||||
var _this3 = this;
|
||||
var _this4 = this;
|
||||
(0, _api.activityList)({
|
||||
association_id: _index.default.state.Gid,
|
||||
page: 1,
|
||||
|
@ -780,9 +828,9 @@ var _default = {
|
|||
}).then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
_this3.actList = res.data.ret;
|
||||
_this4.actList = res.data.ret;
|
||||
} else {
|
||||
_this3.actList = [];
|
||||
_this4.actList = [];
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
|
@ -793,7 +841,7 @@ var _default = {
|
|||
});
|
||||
},
|
||||
getNewsGoryList: function getNewsGoryList() {
|
||||
var _this4 = this;
|
||||
var _this5 = this;
|
||||
(0, _api.newsGoryList)({
|
||||
association_id: _index.default.state.Gid
|
||||
}).then(function (res) {
|
||||
|
@ -804,10 +852,10 @@ var _default = {
|
|||
id: 0,
|
||||
name: '最新'
|
||||
});
|
||||
_this4.goryList = key;
|
||||
_this4.type = 1;
|
||||
_this4.gory_id = 0;
|
||||
_this4.getNewsList();
|
||||
_this5.goryList = key;
|
||||
_this5.type = 1;
|
||||
_this5.gory_id = 0;
|
||||
_this5.getNewsList();
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
|
@ -818,7 +866,7 @@ var _default = {
|
|||
});
|
||||
},
|
||||
getNewsList: function getNewsList() {
|
||||
var _this5 = this;
|
||||
var _this6 = this;
|
||||
(0, _api.newsList)({
|
||||
association_id: _index.default.state.Gid,
|
||||
type: this.type,
|
||||
|
@ -828,8 +876,8 @@ var _default = {
|
|||
}).then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
var _this5$news_list;
|
||||
(_this5$news_list = _this5.news_list).push.apply(_this5$news_list, (0, _toConsumableArray2.default)(res.data.ret));
|
||||
var _this6$news_list;
|
||||
(_this6$news_list = _this6.news_list).push.apply(_this6$news_list, (0, _toConsumableArray2.default)(res.data.ret));
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
|
@ -1785,6 +1833,8 @@ var render = function () {
|
|||
var _vm = this
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
var m0 = _vm.msg()
|
||||
var m1 = m0 > 0 ? _vm.msg() : null
|
||||
if (!_vm._isMounted) {
|
||||
_vm.e0 = function ($event) {
|
||||
_vm.loginMod = true
|
||||
|
@ -1793,6 +1843,15 @@ var render = function () {
|
|||
_vm.loginMod = false
|
||||
}
|
||||
}
|
||||
_vm.$mp.data = Object.assign(
|
||||
{},
|
||||
{
|
||||
$root: {
|
||||
m0: m0,
|
||||
m1: m1,
|
||||
},
|
||||
}
|
||||
)
|
||||
}
|
||||
var recyclableRender = false
|
||||
var staticRenderFns = []
|
||||
|
@ -1974,6 +2033,12 @@ var _store = _interopRequireDefault(__webpack_require__(/*! @/store */ 30));
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
var _default = {
|
||||
data: function data() {
|
||||
return {
|
||||
|
@ -1996,6 +2061,9 @@ var _default = {
|
|||
this.getUserInfo();
|
||||
},
|
||||
methods: {
|
||||
msg: function msg() {
|
||||
return this.$store.state.msgCount;
|
||||
},
|
||||
getUserInfo: function getUserInfo() {
|
||||
var _this = this;
|
||||
(0, _api.getUserIndex)({
|
||||
|
|
|
@ -0,0 +1,323 @@
|
|||
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/index/my_invite"],{
|
||||
|
||||
/***/ 545:
|
||||
/*!***************************************************************!*\
|
||||
!*** E:/云商会/云商会/main.js?{"page":"pages%2Findex%2Fmy_invite"} ***!
|
||||
\***************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(wx, createPage) {
|
||||
|
||||
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
||||
__webpack_require__(/*! uni-pages */ 26);
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
|
||||
var _my_invite = _interopRequireDefault(__webpack_require__(/*! ./pages/index/my_invite.vue */ 546));
|
||||
// @ts-ignore
|
||||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||||
createPage(_my_invite.default);
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["createPage"]))
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 546:
|
||||
/*!********************************************!*\
|
||||
!*** E:/云商会/云商会/pages/index/my_invite.vue ***!
|
||||
\********************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _my_invite_vue_vue_type_template_id_61f04516_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./my_invite.vue?vue&type=template&id=61f04516&scoped=true& */ 547);
|
||||
/* harmony import */ var _my_invite_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./my_invite.vue?vue&type=script&lang=js& */ 549);
|
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _my_invite_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _my_invite_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||
/* harmony import */ var _my_invite_vue_vue_type_style_index_0_id_61f04516_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./my_invite.vue?vue&type=style&index=0&id=61f04516&lang=scss&scoped=true& */ 551);
|
||||
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 42);
|
||||
|
||||
var renderjs
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* normalize component */
|
||||
|
||||
var component = Object(_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
||||
_my_invite_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_my_invite_vue_vue_type_template_id_61f04516_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_my_invite_vue_vue_type_template_id_61f04516_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
false,
|
||||
null,
|
||||
"61f04516",
|
||||
null,
|
||||
false,
|
||||
_my_invite_vue_vue_type_template_id_61f04516_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
|
||||
renderjs
|
||||
)
|
||||
|
||||
component.options.__file = "pages/index/my_invite.vue"
|
||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 547:
|
||||
/*!***************************************************************************************!*\
|
||||
!*** E:/云商会/云商会/pages/index/my_invite.vue?vue&type=template&id=61f04516&scoped=true& ***!
|
||||
\***************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_invite_vue_vue_type_template_id_61f04516_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--17-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!./my_invite.vue?vue&type=template&id=61f04516&scoped=true& */ 548);
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_invite_vue_vue_type_template_id_61f04516_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_invite_vue_vue_type_template_id_61f04516_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_invite_vue_vue_type_template_id_61f04516_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_invite_vue_vue_type_template_id_61f04516_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
||||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 548:
|
||||
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./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--17-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!E:/云商会/云商会/pages/index/my_invite.vue?vue&type=template&id=61f04516&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
|
||||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 292))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 322))
|
||||
},
|
||||
tnButton: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 314))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
if (
|
||||
e.message.indexOf("Cannot find module") !== -1 &&
|
||||
e.message.indexOf(".vue") !== -1
|
||||
) {
|
||||
console.error(e.message)
|
||||
console.error("1. 排查组件名称拼写是否正确")
|
||||
console.error(
|
||||
"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"
|
||||
)
|
||||
console.error(
|
||||
"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件"
|
||||
)
|
||||
} else {
|
||||
throw e
|
||||
}
|
||||
}
|
||||
var render = function () {
|
||||
var _vm = this
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
}
|
||||
var recyclableRender = false
|
||||
var staticRenderFns = []
|
||||
render._withStripped = true
|
||||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 549:
|
||||
/*!*********************************************************************!*\
|
||||
!*** E:/云商会/云商会/pages/index/my_invite.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 _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_invite_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-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!./my_invite.vue?vue&type=script&lang=js& */ 550);
|
||||
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_invite_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_invite_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_invite_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_invite_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||
/* harmony default export */ __webpack_exports__["default"] = (_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_invite_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 550:
|
||||
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-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!E:/云商会/云商会/pages/index/my_invite.vue?vue&type=script&lang=js& ***!
|
||||
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(uni) {
|
||||
|
||||
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _api = __webpack_require__(/*! @/util/api */ 33);
|
||||
var _store = _interopRequireDefault(__webpack_require__(/*! @/store */ 30));
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
var _default = {
|
||||
data: function data() {
|
||||
return {
|
||||
topCurrent: 0,
|
||||
uid: 0,
|
||||
userInfo: {},
|
||||
apiImgUrl: this.$store.state.imgUrl
|
||||
};
|
||||
},
|
||||
onShareAppMessage: function onShareAppMessage() {
|
||||
return {
|
||||
title: this.userInfo.nikename + '邀请你加入【' + this.userInfo.association_name + '】',
|
||||
path: '/pages/index/apply_in?id=' + this.uid + "&association_id=" + this.userInfo.association_id,
|
||||
imageUrl: this.apiImgUrl + this.userInfo.association_image
|
||||
};
|
||||
},
|
||||
onShareTimeline: function onShareTimeline() {
|
||||
// 分享到朋友圈
|
||||
return {
|
||||
title: this.userInfo.nikename + '邀请你加入【' + this.userInfo.association_name + '】',
|
||||
path: '/pages/index/apply_in?id=' + this.uid + "&association_id=" + this.userInfo.association_id,
|
||||
imageUrl: this.apiImgUrl + this.userInfo.association_image
|
||||
};
|
||||
},
|
||||
onLoad: function onLoad() {
|
||||
var u = uni.getStorageSync('uid');
|
||||
this.uid = u;
|
||||
this.getUserInfo();
|
||||
},
|
||||
methods: {
|
||||
getUserInfo: function getUserInfo() {
|
||||
var _this = this;
|
||||
(0, _api.getUserIndex)({
|
||||
member_b_id: this.uid,
|
||||
member_id: this.uid
|
||||
}).then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
_this.userInfo = res.data;
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
});
|
||||
},
|
||||
// 跳转
|
||||
tn: function tn(e) {
|
||||
uni.navigateTo({
|
||||
url: e
|
||||
});
|
||||
},
|
||||
goBack: function goBack() {
|
||||
if (getCurrentPages().length > 1) {
|
||||
uni.navigateBack();
|
||||
} else {
|
||||
uni.redirectTo({
|
||||
url: '/pages/index/index'
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
exports.default = _default;
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 551:
|
||||
/*!******************************************************************************************************!*\
|
||||
!*** E:/云商会/云商会/pages/index/my_invite.vue?vue&type=style&index=0&id=61f04516&lang=scss&scoped=true& ***!
|
||||
\******************************************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_invite_vue_vue_type_style_index_0_id_61f04516_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-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--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./my_invite.vue?vue&type=style&index=0&id=61f04516&lang=scss&scoped=true& */ 552);
|
||||
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_invite_vue_vue_type_style_index_0_id_61f04516_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_invite_vue_vue_type_style_index_0_id_61f04516_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_invite_vue_vue_type_style_index_0_id_61f04516_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_invite_vue_vue_type_style_index_0_id_61f04516_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||
/* harmony default export */ __webpack_exports__["default"] = (_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_invite_vue_vue_type_style_index_0_id_61f04516_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 552:
|
||||
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-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--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!E:/云商会/云商会/pages/index/my_invite.vue?vue&type=style&index=0&id=61f04516&lang=scss&scoped=true& ***!
|
||||
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
if(false) { var cssReload; }
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
},[[545,"common/runtime","common/vendor"]]]);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/my_invite.js.map
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"navigationBarTitleText": "智慧云商协",
|
||||
"enablePullDownRefresh": false,
|
||||
"usingComponents": {
|
||||
"tn-nav-bar": "/tuniao-ui/components/tn-nav-bar/tn-nav-bar",
|
||||
"tn-tabs": "/tuniao-ui/components/tn-tabs/tn-tabs",
|
||||
"tn-button": "/tuniao-ui/components/tn-button/tn-button"
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
<view class="template-edit tn-safe-area-inset-bottom data-v-61f04516"><tn-nav-bar vue-id="47ce42a0-1" isBack="{{false}}" backTitle bottomShadow="{{true}}" backgroundColor="#FFFFFF" class="data-v-61f04516" bind:__l="__l" vue-slots="{{['default']}}"><view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left data-v-61f04516"><view data-event-opts="{{[['tap',[['goBack']]]]}}" style="padding-left:15rpx;" bindtap="__e" class="data-v-61f04516"><text class="tn-icon-left data-v-61f04516" style="font-size:40rpx;"></text></view><view class="tn-margin-top data-v-61f04516" style="text-shadow:1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;"><tn-tabs vue-id="{{('47ce42a0-2')+','+('47ce42a0-1')}}" list="{{[{name:'邀请入会'}]}}" current="{{topCurrent}}" activeColor="#000" bold="{{false}}" fontSize="{{36}}" class="data-v-61f04516" bind:__l="__l"></tn-tabs></view></view></tn-nav-bar><view class="tn-safe-area-inset-bottom data-v-61f04516" style="{{'padding-top:'+(vuex_custom_bar_height+'px')+';'}}"><view style="padding:50rpx;" class="data-v-61f04516"><view class="data-v-61f04516"><tn-button vue-id="47ce42a0-3" backgroundColor="#82B2FF" height="80rpx" shadow="{{true}}" fontColor="#ffffff" width="100%" class="data-v-61f04516" bind:__l="__l" vue-slots="{{['default']}}">生成二维码</tn-button></view><view style="margin-top:40rpx;" class="data-v-61f04516"><tn-button vue-id="47ce42a0-4" open-type="share" backgroundColor="#82B2FF" height="80rpx" shadow="{{true}}" fontColor="#ffffff" width="100%" class="data-v-61f04516" bind:__l="__l" vue-slots="{{['default']}}">转发到微信好友</tn-button></view></view><view style="padding:20rpx 40rpx;" class="data-v-61f04516"><view style="font-size:32rpx;" class="data-v-61f04516">我邀请的会员</view><view class="data-v-61f04516"><view class="tn-flex tn-flex-center tn-flex-col-center data-v-61f04516" style="padding:30rpx;width:100%;"><view class="data-v-61f04516"><image style="width:100rpx;height:100rpx;border-radius:50%;" src="/static/def.png" class="data-v-61f04516"></image></view><view style="width:100%;" class="data-v-61f04516"><view class="tn-flex tn-flex-col-center tn-flex-row-between data-v-61f04516"><view style="margin-left:20rpx;color:#000000;" class="data-v-61f04516"><view style="font-size:35rpx;" class="data-v-61f04516">王小明</view></view></view></view></view></view></view></view><view class="tn-tabbar-height data-v-61f04516"></view></view>
|
|
@ -0,0 +1,31 @@
|
|||
@charset "UTF-8";
|
||||
/**
|
||||
* 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量
|
||||
* 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
|
||||
* Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用
|
||||
*/
|
||||
/* 底部悬浮按钮 start*/
|
||||
.tn-tabbar-height.data-v-61f04516 {
|
||||
min-height: 100rpx;
|
||||
height: calc(120rpx + env(safe-area-inset-bottom) / 2);
|
||||
}
|
||||
.tn-footerfixed.data-v-61f04516 {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
bottom: calc(30rpx + env(safe-area-inset-bottom));
|
||||
z-index: 1024;
|
||||
box-shadow: 0 1rpx 6rpx rgba(0, 0, 0, 0);
|
||||
}
|
||||
/* 底部悬浮按钮 end*/
|
||||
/* 标签内容 start*/
|
||||
.tn-tag-content__item.data-v-61f04516 {
|
||||
display: inline-block;
|
||||
line-height: 45rpx;
|
||||
padding: 10rpx 30rpx;
|
||||
margin: 20rpx 20rpx 5rpx 0rpx;
|
||||
}
|
||||
.tn-tag-content__item--prefix.data-v-61f04516 {
|
||||
padding-right: 10rpx;
|
||||
}
|
||||
/* 标签内容 end*/
|
||||
|
|
@ -59,6 +59,8 @@ var render = function () {
|
|||
var _vm = this
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
var m0 = _vm.msg()
|
||||
var m1 = m0 > 0 ? _vm.msg() : null
|
||||
if (!_vm._isMounted) {
|
||||
_vm.e0 = function ($event) {
|
||||
_vm.loginMod = true
|
||||
|
@ -67,6 +69,15 @@ var render = function () {
|
|||
_vm.loginMod = false
|
||||
}
|
||||
}
|
||||
_vm.$mp.data = Object.assign(
|
||||
{},
|
||||
{
|
||||
$root: {
|
||||
m0: m0,
|
||||
m1: m1,
|
||||
},
|
||||
}
|
||||
)
|
||||
}
|
||||
var recyclableRender = false
|
||||
var staticRenderFns = []
|
||||
|
@ -250,6 +261,12 @@ var _store = _interopRequireDefault(__webpack_require__(/*! @/store */ 30));
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
var _default = {
|
||||
data: function data() {
|
||||
return {
|
||||
|
@ -272,6 +289,9 @@ var _default = {
|
|||
this.getUserInfo();
|
||||
},
|
||||
methods: {
|
||||
msg: function msg() {
|
||||
return this.$store.state.msgCount;
|
||||
},
|
||||
getUserInfo: function getUserInfo() {
|
||||
var _this = this;
|
||||
(0, _api.getUserIndex)({
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -3,6 +3,41 @@
|
|||
"condition": {
|
||||
"miniprogram": {
|
||||
"list": [
|
||||
{
|
||||
"name": "apply",
|
||||
"pathName": "pages/index/apply_in",
|
||||
"query": "id=3&association_id=1",
|
||||
"launchMode": "default",
|
||||
"scene": null
|
||||
},
|
||||
{
|
||||
"name": "pages/index/my_invite",
|
||||
"pathName": "pages/index/my_invite",
|
||||
"query": "",
|
||||
"launchMode": "default",
|
||||
"scene": null
|
||||
},
|
||||
{
|
||||
"name": "pages/index/event_info",
|
||||
"pathName": "pages/index/event_info",
|
||||
"query": "id=1",
|
||||
"launchMode": "default",
|
||||
"scene": null
|
||||
},
|
||||
{
|
||||
"name": "pages/index/event_info",
|
||||
"pathName": "pages/index/event_info",
|
||||
"query": "id=6",
|
||||
"launchMode": "default",
|
||||
"scene": null
|
||||
},
|
||||
{
|
||||
"name": "pages/index/event_info",
|
||||
"pathName": "pages/index/event_info",
|
||||
"query": "id=7",
|
||||
"launchMode": "default",
|
||||
"scene": null
|
||||
},
|
||||
{
|
||||
"name": "pages/index/event_info",
|
||||
"pathName": "pages/index/event_info",
|
||||
|
|
|
@ -1,744 +1 @@
|
|||
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["tuniao-ui/components/tn-calendar/tn-calendar"],{
|
||||
|
||||
/***/ 415:
|
||||
/*!*******************************************************************!*\
|
||||
!*** E:/云商会/云商会/tuniao-ui/components/tn-calendar/tn-calendar.vue ***!
|
||||
\*******************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _tn_calendar_vue_vue_type_template_id_26db8440_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./tn-calendar.vue?vue&type=template&id=26db8440&scoped=true& */ 416);
|
||||
/* harmony import */ var _tn_calendar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./tn-calendar.vue?vue&type=script&lang=js& */ 418);
|
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _tn_calendar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _tn_calendar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||
/* harmony import */ var _tn_calendar_vue_vue_type_style_index_0_id_26db8440_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./tn-calendar.vue?vue&type=style&index=0&id=26db8440&lang=scss&scoped=true& */ 421);
|
||||
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 42);
|
||||
|
||||
var renderjs
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* normalize component */
|
||||
|
||||
var component = Object(_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
||||
_tn_calendar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_tn_calendar_vue_vue_type_template_id_26db8440_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_tn_calendar_vue_vue_type_template_id_26db8440_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
false,
|
||||
null,
|
||||
"26db8440",
|
||||
null,
|
||||
false,
|
||||
_tn_calendar_vue_vue_type_template_id_26db8440_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
|
||||
renderjs
|
||||
)
|
||||
|
||||
component.options.__file = "tuniao-ui/components/tn-calendar/tn-calendar.vue"
|
||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 416:
|
||||
/*!**************************************************************************************************************!*\
|
||||
!*** E:/云商会/云商会/tuniao-ui/components/tn-calendar/tn-calendar.vue?vue&type=template&id=26db8440&scoped=true& ***!
|
||||
\**************************************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_calendar_vue_vue_type_template_id_26db8440_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--17-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!./tn-calendar.vue?vue&type=template&id=26db8440&scoped=true& */ 417);
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_calendar_vue_vue_type_template_id_26db8440_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_calendar_vue_vue_type_template_id_26db8440_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_calendar_vue_vue_type_template_id_26db8440_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_calendar_vue_vue_type_template_id_26db8440_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
||||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 417:
|
||||
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./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--17-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!E:/云商会/云商会/tuniao-ui/components/tn-calendar/tn-calendar.vue?vue&type=template&id=26db8440&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
|
||||
try {
|
||||
components = {
|
||||
tnPopup: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-popup/tn-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-popup/tn-popup")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-popup/tn-popup.vue */ 481))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
if (
|
||||
e.message.indexOf("Cannot find module") !== -1 &&
|
||||
e.message.indexOf(".vue") !== -1
|
||||
) {
|
||||
console.error(e.message)
|
||||
console.error("1. 排查组件名称拼写是否正确")
|
||||
console.error(
|
||||
"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"
|
||||
)
|
||||
console.error(
|
||||
"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件"
|
||||
)
|
||||
} else {
|
||||
throw e
|
||||
}
|
||||
}
|
||||
var render = function () {
|
||||
var _vm = this
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
var l0 = _vm.__map(_vm.daysArr, function (item, index) {
|
||||
var $orig = _vm.__get_orig(item)
|
||||
var m0 = _vm.disabledChoose(_vm.year, _vm.month, index + 1)
|
||||
var m1 = _vm.colorValue(index, "bg")
|
||||
var m2 = _vm.colorValue(index, "text")
|
||||
return {
|
||||
$orig: $orig,
|
||||
m0: m0,
|
||||
m1: m1,
|
||||
m2: m2,
|
||||
}
|
||||
})
|
||||
_vm.$mp.data = Object.assign(
|
||||
{},
|
||||
{
|
||||
$root: {
|
||||
l0: l0,
|
||||
},
|
||||
}
|
||||
)
|
||||
}
|
||||
var recyclableRender = false
|
||||
var staticRenderFns = []
|
||||
render._withStripped = true
|
||||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 418:
|
||||
/*!********************************************************************************************!*\
|
||||
!*** E:/云商会/云商会/tuniao-ui/components/tn-calendar/tn-calendar.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 _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_calendar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-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!./tn-calendar.vue?vue&type=script&lang=js& */ 419);
|
||||
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_calendar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_calendar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_calendar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_calendar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||
/* harmony default export */ __webpack_exports__["default"] = (_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_calendar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 419:
|
||||
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-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!E:/云商会/云商会/tuniao-ui/components/tn-calendar/tn-calendar.vue?vue&type=script&lang=js& ***!
|
||||
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(uni) {
|
||||
|
||||
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _calendar = _interopRequireDefault(__webpack_require__(/*! ../../libs/utils/calendar.js */ 420));
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
var _default = {
|
||||
name: 'tn-calendar',
|
||||
props: {
|
||||
// 双向绑定控制组件弹出与收起
|
||||
value: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
// 模式
|
||||
// date -> 单日期 range -> 日期范围
|
||||
mode: {
|
||||
type: String,
|
||||
default: 'date'
|
||||
},
|
||||
// 是否允许切换年份
|
||||
changeYear: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
// 是否允许切换月份
|
||||
changeMonth: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
// 可切换的最大年份
|
||||
maxYear: {
|
||||
type: [Number, String],
|
||||
default: 2100
|
||||
},
|
||||
// 可切换的最小年份
|
||||
minYear: {
|
||||
type: [Number, String],
|
||||
default: 1970
|
||||
},
|
||||
// 最小日期(不在范围被不允许选择)
|
||||
minDate: {
|
||||
type: String,
|
||||
default: '1970-01-01'
|
||||
},
|
||||
// 最大日期,如果为空则默认为今天
|
||||
maxDate: {
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
// 切换月份按钮的颜色
|
||||
monthArrowColor: {
|
||||
type: String,
|
||||
default: '#AAAAAA'
|
||||
},
|
||||
// 切换年份按钮的颜色
|
||||
yearArrowColor: {
|
||||
type: String,
|
||||
default: '#C8C8C8'
|
||||
},
|
||||
// 默认字体颜色
|
||||
color: {
|
||||
type: String,
|
||||
default: '#080808'
|
||||
},
|
||||
// 选中|起始结束日期背景颜色
|
||||
activeBgColor: {
|
||||
type: String,
|
||||
default: '#01BEFF'
|
||||
},
|
||||
// 选中|起始结束日期文字颜色
|
||||
activeColor: {
|
||||
type: String,
|
||||
default: '#FFFFFF'
|
||||
},
|
||||
// 范围日期内的背景颜色
|
||||
rangeBgColor: {
|
||||
type: String,
|
||||
default: '#E6E6E655'
|
||||
},
|
||||
// 范围日期内的文字颜色
|
||||
rangeColor: {
|
||||
type: String,
|
||||
default: '#01BEFF'
|
||||
},
|
||||
// 起始日期显示的文字,mode=range时生效
|
||||
startText: {
|
||||
type: String,
|
||||
default: '开始'
|
||||
},
|
||||
// 结束日期显示的文字,mode=range时生效
|
||||
endText: {
|
||||
type: String,
|
||||
default: '结束'
|
||||
},
|
||||
// 按钮背景颜色
|
||||
btnColor: {
|
||||
type: String,
|
||||
default: '#01BEFF'
|
||||
},
|
||||
// 农历文字的颜色
|
||||
lunarColor: {
|
||||
type: String,
|
||||
default: '#AAAAAA'
|
||||
},
|
||||
// 选中日期是否有选中效果
|
||||
isActiveCurrent: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
// 切换年月是否触发事件,mode=date时生效
|
||||
isChange: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
// 是否显示农历
|
||||
showLunar: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
// 顶部提示文字
|
||||
toolTips: {
|
||||
type: String,
|
||||
default: '请选择日期'
|
||||
},
|
||||
// 显示圆角的大小
|
||||
borderRadius: {
|
||||
type: Number,
|
||||
default: 8
|
||||
},
|
||||
// 是否开启底部安全区适配,开启的话,会在iPhoneX机型底部添加一定的内边距
|
||||
safeAreaInsetBottom: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
// 是否可以通过点击遮罩进行关闭
|
||||
maskCloseable: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
// zIndex
|
||||
zIndex: {
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
// 是否显示关闭按钮
|
||||
closeBtn: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
dateChange: function dateChange() {
|
||||
return "".concat(this.mode, "-").concat(this.minDate, "-").concat(this.maxDate);
|
||||
},
|
||||
elIndex: function elIndex() {
|
||||
return this.zIndex ? this.zIndex : this.$tn.zIndex.popup;
|
||||
},
|
||||
colorValue: function colorValue() {
|
||||
var _this = this;
|
||||
return function (index, type) {
|
||||
var color = type === 'bg' ? '' : _this.color;
|
||||
var day = index + 1;
|
||||
var date = "".concat(_this.year, "-").concat(_this.month, "-").concat(day);
|
||||
var timestamp = new Date(date.replace(/\-/g, '/')).getTime();
|
||||
var start = _this.startDate.replace(/\-/g, '/');
|
||||
var end = _this.endDate.replace(/\-/g, '/');
|
||||
if (_this.mode === 'date' && _this.isActiveCurrent && _this.activeDate == date || _this.startDate == date || _this.endDate == date) {
|
||||
color = type === 'bg' ? _this.activeBgColor : _this.activeColor;
|
||||
} else if (_this.endDate && timestamp > new Date(start).getTime() && timestamp < new Date(end).getTime()) {
|
||||
color = type === 'bg' ? _this.rangeBgColor : _this.rangeColor;
|
||||
}
|
||||
return color;
|
||||
};
|
||||
}
|
||||
},
|
||||
data: function data() {
|
||||
return {
|
||||
// 星期几,1-7
|
||||
weekday: 1,
|
||||
weekdayArr: [],
|
||||
// 星期对应的中文
|
||||
weekDayZh: ['日', '一', '二', '三', '四', '五', '六'],
|
||||
// 当前月有多少天
|
||||
days: 0,
|
||||
daysArr: [],
|
||||
year: 2021,
|
||||
month: 0,
|
||||
day: 0,
|
||||
startYear: 0,
|
||||
startMonth: 0,
|
||||
startDay: 0,
|
||||
endYear: 0,
|
||||
endMonth: 0,
|
||||
endDay: 0,
|
||||
today: '',
|
||||
activeDate: '',
|
||||
startDate: '',
|
||||
endDate: '',
|
||||
min: null,
|
||||
max: null,
|
||||
// 日期标题
|
||||
dateTitle: '',
|
||||
// 标记是否已经选择了开始日期
|
||||
chooseStart: false
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
dateChange: function dateChange() {
|
||||
this.init();
|
||||
}
|
||||
},
|
||||
created: function created() {
|
||||
this.init();
|
||||
},
|
||||
methods: {
|
||||
// 初始化
|
||||
init: function init() {
|
||||
var now = new Date();
|
||||
this.year = now.getFullYear();
|
||||
this.month = now.getMonth() + 1;
|
||||
this.day = now.getDate();
|
||||
this.today = "".concat(this.year, "-").concat(this.month, "-").concat(this.day);
|
||||
this.activeDate = this.today;
|
||||
this.min = this.initDate(this.minDate);
|
||||
this.max = this.initDate(this.maxDate || this.today);
|
||||
this.startDate = '';
|
||||
this.startYear = 0;
|
||||
this.startMonth = 0;
|
||||
this.startDay = 0;
|
||||
this.endDate = '';
|
||||
this.endYear = 0;
|
||||
this.endMonth = 0;
|
||||
this.endDay = 0;
|
||||
this.chooseStart = false;
|
||||
this.changeData();
|
||||
},
|
||||
// 切换月份
|
||||
changeMonthHandler: function changeMonthHandler(add) {
|
||||
if (add) {
|
||||
var month = this.month + 1;
|
||||
var year = month > 12 ? this.year + 1 : this.year;
|
||||
if (!this.checkRange(year)) {
|
||||
this.month = month > 12 ? 1 : month;
|
||||
this.year = year;
|
||||
this.changeData();
|
||||
}
|
||||
} else {
|
||||
var _month = this.month - 1;
|
||||
var _year = _month < 1 ? this.year - 1 : this.year;
|
||||
if (!this.checkRange(_year)) {
|
||||
this.month = _month < 1 ? 12 : _month;
|
||||
this.year = _year;
|
||||
this.changeData();
|
||||
}
|
||||
}
|
||||
},
|
||||
// 切换年份
|
||||
changeYearHandler: function changeYearHandler(add) {
|
||||
var year = add ? this.year + 1 : this.year - 1;
|
||||
if (!this.checkRange(year)) {
|
||||
this.year = year;
|
||||
this.changeData();
|
||||
}
|
||||
},
|
||||
// 日期点击事件
|
||||
dateClick: function dateClick(day) {
|
||||
day += 1;
|
||||
if (!this.disabledChoose(this.year, this.month, day)) {
|
||||
this.day = day;
|
||||
var date = "".concat(this.year, "-").concat(this.month, "-").concat(day);
|
||||
if (this.mode === 'date') {
|
||||
this.activeDate = date;
|
||||
} else {
|
||||
var startTimeCompare = new Date(date.replace(/\-/g, '/')).getTime() < new Date(this.startDate.replace(/\-/g, '/')).getTime();
|
||||
if (!this.chooseStart || startTimeCompare) {
|
||||
this.startDate = date;
|
||||
this.startYear = this.year;
|
||||
this.startMonth = this.month;
|
||||
this.startDay = this.day;
|
||||
this.endYear = 0;
|
||||
this.endMonth = 0;
|
||||
this.endDay = 0;
|
||||
this.endDate = '';
|
||||
this.activeDate = '';
|
||||
this.chooseStart = true;
|
||||
} else {
|
||||
this.endDate = date;
|
||||
this.endYear = this.year;
|
||||
this.endMonth = this.month;
|
||||
this.endDay = this.day;
|
||||
this.chooseStart = false;
|
||||
}
|
||||
}
|
||||
this.daysArr = this.handleDaysArr();
|
||||
}
|
||||
},
|
||||
// 修改日期数据
|
||||
changeData: function changeData() {
|
||||
this.days = this.getMonthDay(this.year, this.month);
|
||||
this.daysArr = this.handleDaysArr();
|
||||
this.weekday = this.getMonthFirstWeekDay(this.year, this.month);
|
||||
this.weekdayArr = this.generateArray(1, this.weekday);
|
||||
this.dateTitle = "".concat(this.year, "\u5E74").concat(this.month, "\u6708");
|
||||
if (this.isChange && this.mode === 'date') {
|
||||
this.handleBtnClick(true);
|
||||
}
|
||||
},
|
||||
// 处理按钮点击
|
||||
handleBtnClick: function handleBtnClick(show) {
|
||||
if (!show) {
|
||||
this.close();
|
||||
}
|
||||
if (this.mode === 'date') {
|
||||
var arr = this.activeDate.split('-');
|
||||
var year = this.isChange ? this.year : Number(arr[0]);
|
||||
var month = this.isChange ? this.month : Number(arr[1]);
|
||||
var day = this.isChange ? this.day : Number(arr[2]);
|
||||
var days = this.getMonthDay(year, month);
|
||||
var result = "".concat(year, "-").concat(this.formatNumber(month), "-").concat(this.formatNumber(day));
|
||||
var weekText = this.getWeekText(result);
|
||||
var isToday = false;
|
||||
if ("".concat(year, "-").concat(month, "-").concat(day) === this.today) {
|
||||
isToday = true;
|
||||
}
|
||||
this.$emit('change', {
|
||||
year: year,
|
||||
month: month,
|
||||
day: day,
|
||||
days: days,
|
||||
week: weekText,
|
||||
isToday: isToday,
|
||||
date: result,
|
||||
// 是否为切换年月操作
|
||||
switch: show
|
||||
});
|
||||
} else {
|
||||
if (!this.startDate || !this.endDate) return;
|
||||
var startMonth = this.formatNumber(this.startMonth);
|
||||
var startDay = this.formatNumber(this.startDay);
|
||||
var startDate = "".concat(this.startYear, "-").concat(startMonth, "-").concat(startDay);
|
||||
var startWeek = this.getWeekText(startDate);
|
||||
var endMonth = this.formatNumber(this.endMonth);
|
||||
var endDay = this.formatNumber(this.endDay);
|
||||
var endDate = "".concat(this.endYear, "-").concat(endMonth, "-").concat(endDay);
|
||||
var endWeek = this.getWeekText(endDate);
|
||||
this.$emit('change', {
|
||||
startYear: this.startYear,
|
||||
startMonth: this.startMonth,
|
||||
startDay: this.startDay,
|
||||
startDate: startDate,
|
||||
startWeek: startWeek,
|
||||
endYear: this.endYear,
|
||||
endMonth: this.endMonth,
|
||||
endDay: this.endDay,
|
||||
endDate: endDate,
|
||||
endWeek: endWeek
|
||||
});
|
||||
}
|
||||
},
|
||||
// 判断是否允许选择
|
||||
disabledChoose: function disabledChoose(year, month, day) {
|
||||
var flag = true;
|
||||
var date = "".concat(year, "/").concat(month, "/").concat(day);
|
||||
var min = "".concat(this.min.year, "/").concat(this.min.month, "/").concat(this.min.day);
|
||||
var max = "".concat(this.max.year, "/").concat(this.max.month, "/").concat(this.max.day);
|
||||
var timestamp = new Date(date).getTime();
|
||||
if (timestamp >= new Date(min).getTime() && timestamp <= new Date(max).getTime()) {
|
||||
flag = false;
|
||||
}
|
||||
return flag;
|
||||
},
|
||||
// 检查是否在日期范围内
|
||||
checkRange: function checkRange(year) {
|
||||
var overstep = false;
|
||||
if (year < this.minYear || year > this.maxYear) {
|
||||
uni.showToast({
|
||||
title: '所选日期超出范围',
|
||||
icon: 'none'
|
||||
});
|
||||
overstep = true;
|
||||
}
|
||||
return overstep;
|
||||
},
|
||||
// 处理日期
|
||||
initDate: function initDate(date) {
|
||||
var fdate = date.split('-');
|
||||
return {
|
||||
year: Number(fdate[0] || 1970),
|
||||
month: Number(fdate[1] || 1),
|
||||
day: Number(fdate[2] || 1)
|
||||
};
|
||||
},
|
||||
// 处理日期数组
|
||||
handleDaysArr: function handleDaysArr() {
|
||||
var _this2 = this;
|
||||
var days = this.generateArray(1, this.days);
|
||||
var daysArr = days.map(function (item) {
|
||||
var bottomInfo = _this2.showLunar ? _calendar.default.solar2lunar(_this2.year, _this2.month, item).IDayCn : '';
|
||||
var color = _this2.showLunar ? _this2.lunarColor : _this2.activeColor;
|
||||
if (_this2.mode === 'date' && _this2.day == item || _this2.mode === 'range' && (_this2.startDay == item || _this2.endDay == item)) {
|
||||
color = _this2.activeColor;
|
||||
}
|
||||
if (_this2.mode === 'range') {
|
||||
if (_this2.startDay == item && _this2.startDay != _this2.endDay) {
|
||||
bottomInfo = _this2.startText;
|
||||
}
|
||||
if (_this2.endDay == item) {
|
||||
bottomInfo = _this2.endText;
|
||||
}
|
||||
}
|
||||
return {
|
||||
day: item,
|
||||
color: color,
|
||||
bottomInfo: bottomInfo
|
||||
};
|
||||
});
|
||||
return daysArr;
|
||||
},
|
||||
// 获取对应月有多少天
|
||||
getMonthDay: function getMonthDay(year, month) {
|
||||
return new Date(year, month, 0).getDate();
|
||||
},
|
||||
// 获取对应月的第一天时星期几
|
||||
getMonthFirstWeekDay: function getMonthFirstWeekDay(year, month) {
|
||||
return new Date("".concat(year, "/").concat(month, "/01 00:00:00")).getDay();
|
||||
},
|
||||
// 获取对应星期的文本
|
||||
getWeekText: function getWeekText(date) {
|
||||
date = new Date("".concat(date.replace(/\-/g, '/'), " 00:00:00"));
|
||||
var week = date.getDay();
|
||||
return '星期' + this.weekDayZh[week];
|
||||
},
|
||||
// 生成日期天数数组
|
||||
generateArray: function generateArray(start, end) {
|
||||
return Array.from(new Array(end + 1).keys()).slice(start);
|
||||
},
|
||||
// 格式化数字
|
||||
formatNumber: function formatNumber(num) {
|
||||
return num < 10 ? '0' + num : num + '';
|
||||
},
|
||||
// 关闭窗口
|
||||
close: function close() {
|
||||
this.$emit('input', false);
|
||||
}
|
||||
}
|
||||
};
|
||||
exports.default = _default;
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 421:
|
||||
/*!*****************************************************************************************************************************!*\
|
||||
!*** E:/云商会/云商会/tuniao-ui/components/tn-calendar/tn-calendar.vue?vue&type=style&index=0&id=26db8440&lang=scss&scoped=true& ***!
|
||||
\*****************************************************************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_calendar_vue_vue_type_style_index_0_id_26db8440_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-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--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tn-calendar.vue?vue&type=style&index=0&id=26db8440&lang=scss&scoped=true& */ 422);
|
||||
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_calendar_vue_vue_type_style_index_0_id_26db8440_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_calendar_vue_vue_type_style_index_0_id_26db8440_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_calendar_vue_vue_type_style_index_0_id_26db8440_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_calendar_vue_vue_type_style_index_0_id_26db8440_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||
/* harmony default export */ __webpack_exports__["default"] = (_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_calendar_vue_vue_type_style_index_0_id_26db8440_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 422:
|
||||
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-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--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!E:/云商会/云商会/tuniao-ui/components/tn-calendar/tn-calendar.vue?vue&type=style&index=0&id=26db8440&lang=scss&scoped=true& ***!
|
||||
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
if(false) { var cssReload; }
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/tuniao-ui/components/tn-calendar/tn-calendar.js.map
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'tuniao-ui/components/tn-calendar/tn-calendar-create-component',
|
||||
{
|
||||
'tuniao-ui/components/tn-calendar/tn-calendar-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('2')['createComponent'](__webpack_require__(415))
|
||||
})
|
||||
},
|
||||
[['tuniao-ui/components/tn-calendar/tn-calendar-create-component']]
|
||||
]);
|
||||
Component({})
|
|
@ -1,873 +1 @@
|
|||
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["tuniao-ui/components/tn-image-upload/tn-image-upload"],{
|
||||
|
||||
/***/ 423:
|
||||
/*!***************************************************************************!*\
|
||||
!*** E:/云商会/云商会/tuniao-ui/components/tn-image-upload/tn-image-upload.vue ***!
|
||||
\***************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _tn_image_upload_vue_vue_type_template_id_2546f4ca_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./tn-image-upload.vue?vue&type=template&id=2546f4ca&scoped=true& */ 424);
|
||||
/* harmony import */ var _tn_image_upload_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./tn-image-upload.vue?vue&type=script&lang=js& */ 426);
|
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _tn_image_upload_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _tn_image_upload_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||
/* harmony import */ var _tn_image_upload_vue_vue_type_style_index_0_id_2546f4ca_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./tn-image-upload.vue?vue&type=style&index=0&id=2546f4ca&lang=scss&scoped=true& */ 437);
|
||||
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 42);
|
||||
|
||||
var renderjs
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* normalize component */
|
||||
|
||||
var component = Object(_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
||||
_tn_image_upload_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_tn_image_upload_vue_vue_type_template_id_2546f4ca_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_tn_image_upload_vue_vue_type_template_id_2546f4ca_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
false,
|
||||
null,
|
||||
"2546f4ca",
|
||||
null,
|
||||
false,
|
||||
_tn_image_upload_vue_vue_type_template_id_2546f4ca_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
|
||||
renderjs
|
||||
)
|
||||
|
||||
component.options.__file = "tuniao-ui/components/tn-image-upload/tn-image-upload.vue"
|
||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 424:
|
||||
/*!**********************************************************************************************************************!*\
|
||||
!*** E:/云商会/云商会/tuniao-ui/components/tn-image-upload/tn-image-upload.vue?vue&type=template&id=2546f4ca&scoped=true& ***!
|
||||
\**********************************************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_image_upload_vue_vue_type_template_id_2546f4ca_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--17-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!./tn-image-upload.vue?vue&type=template&id=2546f4ca&scoped=true& */ 425);
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_image_upload_vue_vue_type_template_id_2546f4ca_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_image_upload_vue_vue_type_template_id_2546f4ca_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_image_upload_vue_vue_type_template_id_2546f4ca_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_image_upload_vue_vue_type_template_id_2546f4ca_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
||||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 425:
|
||||
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./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--17-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!E:/云商会/云商会/tuniao-ui/components/tn-image-upload/tn-image-upload.vue?vue&type=template&id=2546f4ca&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
|
||||
try {
|
||||
components = {
|
||||
tnLineProgress: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-line-progress/tn-line-progress */ "tuniao-ui/components/tn-line-progress/tn-line-progress").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-line-progress/tn-line-progress.vue */ 495))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
if (
|
||||
e.message.indexOf("Cannot find module") !== -1 &&
|
||||
e.message.indexOf(".vue") !== -1
|
||||
) {
|
||||
console.error(e.message)
|
||||
console.error("1. 排查组件名称拼写是否正确")
|
||||
console.error(
|
||||
"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"
|
||||
)
|
||||
console.error(
|
||||
"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件"
|
||||
)
|
||||
} else {
|
||||
throw e
|
||||
}
|
||||
}
|
||||
var render = function () {
|
||||
var _vm = this
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
var l0 = _vm.showUploadList
|
||||
? _vm.__map(_vm.lists, function (item, index) {
|
||||
var $orig = _vm.__get_orig(item)
|
||||
var g0 = _vm.$tn.string.getLengthUnitValue(_vm.width)
|
||||
var g1 = _vm.$tn.string.getLengthUnitValue(_vm.height)
|
||||
return {
|
||||
$orig: $orig,
|
||||
g0: g0,
|
||||
g1: g1,
|
||||
}
|
||||
})
|
||||
: null
|
||||
_vm.$initSSP()
|
||||
var g2 = _vm.lists.length
|
||||
var g3 =
|
||||
_vm.maxCount > g2 && !_vm.customBtn
|
||||
? _vm.$tn.string.getLengthUnitValue(_vm.width)
|
||||
: null
|
||||
var g4 =
|
||||
_vm.maxCount > g2 && !_vm.customBtn
|
||||
? _vm.$tn.string.getLengthUnitValue(_vm.height)
|
||||
: null
|
||||
_vm.$mp.data = Object.assign(
|
||||
{},
|
||||
{
|
||||
$root: {
|
||||
l0: l0,
|
||||
g2: g2,
|
||||
g3: g3,
|
||||
g4: g4,
|
||||
},
|
||||
}
|
||||
)
|
||||
if (_vm.$scope.data.scopedSlotsCompiler === "augmented") {
|
||||
_vm.$setSSP("file", {
|
||||
file: _vm.lists,
|
||||
})
|
||||
}
|
||||
_vm.$callSSP()
|
||||
}
|
||||
var recyclableRender = false
|
||||
var staticRenderFns = []
|
||||
render._withStripped = true
|
||||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 426:
|
||||
/*!****************************************************************************************************!*\
|
||||
!*** E:/云商会/云商会/tuniao-ui/components/tn-image-upload/tn-image-upload.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 _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_image_upload_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-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!./tn-image-upload.vue?vue&type=script&lang=js& */ 427);
|
||||
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_image_upload_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_image_upload_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_image_upload_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_image_upload_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||
/* harmony default export */ __webpack_exports__["default"] = (_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_image_upload_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 427:
|
||||
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-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!E:/云商会/云商会/tuniao-ui/components/tn-image-upload/tn-image-upload.vue?vue&type=script&lang=js& ***!
|
||||
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(uni, uniCloud) {
|
||||
|
||||
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 35));
|
||||
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 37));
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
var _default2 = {
|
||||
name: 'tn-image-upload',
|
||||
props: {
|
||||
// 已上传的文件列表
|
||||
fileList: {
|
||||
type: Array,
|
||||
default: function _default() {
|
||||
return [];
|
||||
}
|
||||
},
|
||||
isUniCloud: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
// 上传图片地址
|
||||
action: {
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
// 上传文件的字段名称
|
||||
name: {
|
||||
type: String,
|
||||
default: 'file'
|
||||
},
|
||||
// 头部信息
|
||||
header: {
|
||||
type: Object,
|
||||
default: function _default() {
|
||||
return {};
|
||||
}
|
||||
},
|
||||
// 携带的参数
|
||||
formData: {
|
||||
type: Object,
|
||||
default: function _default() {
|
||||
return {};
|
||||
}
|
||||
},
|
||||
// 是否禁用
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
// 是否自动上传
|
||||
autoUpload: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
// 最大上传数量
|
||||
maxCount: {
|
||||
type: Number,
|
||||
default: 9
|
||||
},
|
||||
// 是否显示组件自带的图片预览
|
||||
showUploadList: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
// 预览上传图片的裁剪模式
|
||||
imageMode: {
|
||||
type: String,
|
||||
default: 'aspectFill'
|
||||
},
|
||||
// 点击图片是否全屏预览
|
||||
previewFullImage: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
// 是否显示进度条
|
||||
showProgress: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
// 是否显示删除按钮
|
||||
deleteable: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
// 删除按钮图标
|
||||
deleteIcon: {
|
||||
type: String,
|
||||
default: 'close'
|
||||
},
|
||||
// 删除按钮的背景颜色
|
||||
deleteBackgroundColor: {
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
// 删除按钮的颜色
|
||||
deleteColor: {
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
// 上传区域提示文字
|
||||
uploadText: {
|
||||
type: String,
|
||||
default: '选择图片'
|
||||
},
|
||||
// 显示toast提示
|
||||
showTips: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
// 自定义选择图标按钮
|
||||
customBtn: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
// 预览图片和选择图片区域的宽度
|
||||
width: {
|
||||
type: Number,
|
||||
default: 200
|
||||
},
|
||||
// 预览图片和选择图片区域的高度
|
||||
height: {
|
||||
type: Number,
|
||||
default: 200
|
||||
},
|
||||
// 选择图片的尺寸
|
||||
// 参考上传文档 https://uniapp.dcloud.io/api/media/image
|
||||
sizeType: {
|
||||
type: Array,
|
||||
default: function _default() {
|
||||
return ['original', 'compressed'];
|
||||
}
|
||||
},
|
||||
// 图片来源
|
||||
sourceType: {
|
||||
type: Array,
|
||||
default: function _default() {
|
||||
return ['album', 'camera'];
|
||||
}
|
||||
},
|
||||
// 是否可以多选
|
||||
multiple: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
// 文件大小(byte)
|
||||
maxSize: {
|
||||
type: Number,
|
||||
default: 10 * 1024 * 1024
|
||||
},
|
||||
// 允许上传的类型
|
||||
limitType: {
|
||||
type: Array,
|
||||
default: function _default() {
|
||||
return ['png', 'jpg', 'jpeg', 'webp', 'gif', 'image'];
|
||||
}
|
||||
},
|
||||
// 是否自定转换为json
|
||||
toJson: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
// 上传前钩子函数,每个文件上传前都会执行
|
||||
beforeUpload: {
|
||||
type: Function,
|
||||
default: null
|
||||
},
|
||||
// 删除文件前钩子函数
|
||||
beforeRemove: {
|
||||
type: Function,
|
||||
default: null
|
||||
},
|
||||
index: {
|
||||
type: [Number, String],
|
||||
default: ''
|
||||
}
|
||||
},
|
||||
computed: {},
|
||||
data: function data() {
|
||||
return {
|
||||
lists: [],
|
||||
uploading: false
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
fileList: {
|
||||
handler: function handler(val) {
|
||||
var _this = this;
|
||||
val.map(function (value) {
|
||||
// 首先检查内部是否已经添加过这张图片,因为外部绑定了一个对象给fileList的话(对象引用),进行修改外部fileList时,
|
||||
// 会触发watch,导致重新把原来的图片再次添加到this.lists
|
||||
// 数组的some方法意思是,只要数组元素有任意一个元素条件符合,就返回true,而另一个数组的every方法的意思是数组所有元素都符合条件才返回true
|
||||
var tmp = _this.lists.some(function (listVal) {
|
||||
return listVal.url === value.url;
|
||||
});
|
||||
// 如果内部没有这张图片,则添加到内部
|
||||
!tmp && _this.lists.push({
|
||||
url: value.url,
|
||||
error: false,
|
||||
progress: 100
|
||||
});
|
||||
});
|
||||
},
|
||||
immediate: true
|
||||
},
|
||||
lists: function lists(val) {
|
||||
this.$emit('on-list-change', val, this.index);
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 清除列表
|
||||
clear: function clear() {
|
||||
this.lists = [];
|
||||
},
|
||||
// 重新上传队列中上传失败所有文件
|
||||
reUpload: function reUpload() {
|
||||
this.uploadFile();
|
||||
},
|
||||
// 选择图片
|
||||
selectFile: function selectFile() {
|
||||
var _this2 = this;
|
||||
if (this.disabled) return;
|
||||
var _this$name = this.name,
|
||||
name = _this$name === void 0 ? '' : _this$name,
|
||||
maxCount = this.maxCount,
|
||||
multiple = this.multiple,
|
||||
maxSize = this.maxSize,
|
||||
sizeType = this.sizeType,
|
||||
lists = this.lists,
|
||||
camera = this.camera,
|
||||
compressed = this.compressed,
|
||||
sourceType = this.sourceType;
|
||||
var chooseFile = null;
|
||||
var newMaxCount = maxCount - lists.length;
|
||||
// 只选择图片的时候使用 chooseImage 来实现
|
||||
chooseFile = new Promise(function (resolve, reject) {
|
||||
uni.chooseImage({
|
||||
count: multiple ? newMaxCount > 9 ? 9 : newMaxCount : 1,
|
||||
sourceType: sourceType,
|
||||
sizeType: sizeType,
|
||||
success: resolve,
|
||||
fail: reject
|
||||
});
|
||||
});
|
||||
chooseFile.then(function (res) {
|
||||
var file = null;
|
||||
var listOldLength = lists.length;
|
||||
res.tempFiles.map(function (val, index) {
|
||||
if (!_this2.checkFileExt(val)) return;
|
||||
|
||||
// 是否超出最大限制数量
|
||||
if (!multiple && index >= 1) return;
|
||||
if (val.size > maxSize) {
|
||||
_this2.$emit('on-oversize', val, lists, _this2.index);
|
||||
_this2.showToast('超出可允许文件大小');
|
||||
} else {
|
||||
if (maxCount <= lists.length) {
|
||||
_this2.$emit('on-exceed', val, lists, _this2.index);
|
||||
_this2.showToast('超出最大允许的文件数');
|
||||
return;
|
||||
}
|
||||
lists.push({
|
||||
url: val.path,
|
||||
progress: 0,
|
||||
error: false,
|
||||
file: val,
|
||||
extension: val.path.substring(val.path.lastIndexOf(".")) //图片文件后缀名
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
_this2.$emit('on-choose-complete', _this2.lists, _this2.index);
|
||||
if (_this2.autoUpload) _this2.uploadFile(listOldLength);
|
||||
}).catch(function (err) {
|
||||
_this2.$emit('on-choose-fail', err);
|
||||
});
|
||||
},
|
||||
// 提示用户信息
|
||||
showToast: function showToast(message) {
|
||||
var force = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
||||
if (this.showTips || force) {
|
||||
this.$tn.message.toast(message);
|
||||
}
|
||||
},
|
||||
// 手动上传,通过ref进行调用
|
||||
upload: function upload() {
|
||||
this.uploadFile();
|
||||
},
|
||||
// 对失败图片进行再次上传
|
||||
retry: function retry(index) {
|
||||
this.lists[index].progress = 0;
|
||||
this.lists[index].error = false;
|
||||
this.lists[index].response = null;
|
||||
this.$tn.message.loading('重新上传');
|
||||
this.uploadFile(index);
|
||||
},
|
||||
// 上传文件
|
||||
uploadFile: function uploadFile() {
|
||||
var _arguments = arguments,
|
||||
_this3 = this;
|
||||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
||||
var index, that, beforeResponse, task, _task;
|
||||
return _regenerator.default.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
index = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : 0;
|
||||
that = _this3;
|
||||
if (!_this3.disabled) {
|
||||
_context.next = 4;
|
||||
break;
|
||||
}
|
||||
return _context.abrupt("return");
|
||||
case 4:
|
||||
if (!_this3.uploading) {
|
||||
_context.next = 6;
|
||||
break;
|
||||
}
|
||||
return _context.abrupt("return");
|
||||
case 6:
|
||||
if (!(index >= _this3.lists.length)) {
|
||||
_context.next = 9;
|
||||
break;
|
||||
}
|
||||
_this3.$emit('on-uploaded', _this3.lists, _this3.index);
|
||||
return _context.abrupt("return");
|
||||
case 9:
|
||||
if (!(_this3.lists[index].progress === 100)) {
|
||||
_context.next = 13;
|
||||
break;
|
||||
}
|
||||
_this3.lists[index].uploadTask = null;
|
||||
if (_this3.autoUpload) _this3.uploadFile(index + 1);
|
||||
return _context.abrupt("return");
|
||||
case 13:
|
||||
if (!(_this3.beforeUpload && typeof _this3.beforeUpload === 'function')) {
|
||||
_context.next = 24;
|
||||
break;
|
||||
}
|
||||
// 在微信,支付宝等环境(H5正常),会导致父组件定义的函数体中的this变成子组件的this
|
||||
// 通过bind()方法,绑定父组件的this,让this的this为父组件的上下文
|
||||
// 因为upload组件可能会被嵌套在其他组件内,比如tn-form,这时this.$parent其实为tn-form的this,
|
||||
// 非页面的this,所以这里需要往上历遍,一直寻找到最顶端的$parent,这里用了this.$u.$parent.call(this)
|
||||
beforeResponse = _this3.beforeUpload.bind(_this3.$tn.$parent.call(_this3))(index, _this3.lists); // 判断是否返回了Promise
|
||||
if (!(!!beforeResponse && typeof beforeResponse.then === 'function')) {
|
||||
_context.next = 20;
|
||||
break;
|
||||
}
|
||||
_context.next = 18;
|
||||
return beforeResponse.then(function (res) {
|
||||
// promise返回成功,不进行操作继续
|
||||
}).catch(function (err) {
|
||||
// 进入catch回调的话,继续下一张
|
||||
return _this3.uploadFile(index + 1);
|
||||
});
|
||||
case 18:
|
||||
_context.next = 24;
|
||||
break;
|
||||
case 20:
|
||||
if (!(beforeResponse === false)) {
|
||||
_context.next = 24;
|
||||
break;
|
||||
}
|
||||
return _context.abrupt("return", _this3.uploadFile(index + 1));
|
||||
case 24:
|
||||
if (!_this3.isUniCloud) {
|
||||
_context.next = 31;
|
||||
break;
|
||||
}
|
||||
//如果是uinCloud
|
||||
_this3.lists[index].error = false;
|
||||
_this3.uploading = true;
|
||||
// 创建上传对象
|
||||
task = uniCloud.uploadFile({
|
||||
filePath: that.lists[index].url,
|
||||
cloudPath: that.$tn.uuid() + that.lists[index].extension,
|
||||
//随机文件名+文件后缀
|
||||
onUploadProgress: function onUploadProgress(progressEvent) {
|
||||
if (progressEvent.loaded > 0) {
|
||||
that.lists[index].progress = Math.round(progressEvent.loaded * 100 / progressEvent.total);
|
||||
that.$emit('on-progress', progressEvent, index, that.lists, that.index);
|
||||
}
|
||||
},
|
||||
success: function success(res) {
|
||||
if (res.success) {
|
||||
that.lists[index].response = res;
|
||||
that.lists[index].progress = 100;
|
||||
that.lists[index].error = false;
|
||||
that.$emit('success', res, index, that.lists, that.index);
|
||||
} else {
|
||||
that.uploadError(index, res);
|
||||
}
|
||||
},
|
||||
fail: function fail(err) {
|
||||
that.uploadError(index, err);
|
||||
},
|
||||
complete: function complete(res) {
|
||||
// this.$t.message.closeLoading()
|
||||
that.uploading = false;
|
||||
that.uploadFile(index + 1);
|
||||
that.$emit('on-change', res, index, that.lists, that.index);
|
||||
}
|
||||
});
|
||||
that.lists[index].uploadTask = task;
|
||||
_context.next = 39;
|
||||
break;
|
||||
case 31:
|
||||
if (_this3.action) {
|
||||
_context.next = 34;
|
||||
break;
|
||||
}
|
||||
_this3.showToast('请配置上传地址', true);
|
||||
return _context.abrupt("return");
|
||||
case 34:
|
||||
_this3.lists[index].error = false;
|
||||
_this3.uploading = true;
|
||||
// 创建上传对象
|
||||
_task = uni.uploadFile({
|
||||
url: _this3.action,
|
||||
filePath: _this3.lists[index].url,
|
||||
name: _this3.name,
|
||||
formData: _this3.formData,
|
||||
header: _this3.header,
|
||||
success: function success(res) {
|
||||
// 判断啊是否为json字符串,将其转换为json格式
|
||||
var data = _this3.toJson && _this3.$tn.test.jsonString(res.data) ? JSON.parse(res.data) : res.data;
|
||||
if (![200, 201, 204].includes(res.statusCode)) {
|
||||
_this3.uploadError(index, data);
|
||||
} else {
|
||||
_this3.lists[index].response = data;
|
||||
_this3.lists[index].progress = 100;
|
||||
_this3.lists[index].error = false;
|
||||
_this3.$emit('on-success', data, index, _this3.lists, _this3.index);
|
||||
}
|
||||
},
|
||||
fail: function fail(err) {
|
||||
_this3.uploadError(index, err);
|
||||
},
|
||||
complete: function complete(res) {
|
||||
_this3.$tn.message.closeLoading();
|
||||
_this3.uploading = false;
|
||||
_this3.uploadFile(index + 1);
|
||||
_this3.$emit('on-change', res, index, _this3.lists, _this3.index);
|
||||
}
|
||||
});
|
||||
_this3.lists[index].uploadTask = _task;
|
||||
_task.onProgressUpdate(function (res) {
|
||||
if (res.progress > 0) {
|
||||
_this3.lists[index].progress = res.progress;
|
||||
_this3.$emit('on-progress', res, index, _this3.lists, _this3.index);
|
||||
}
|
||||
});
|
||||
case 39:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee);
|
||||
}))();
|
||||
},
|
||||
// 上传失败
|
||||
uploadError: function uploadError(index, err) {
|
||||
this.lists[index].progress = 0;
|
||||
this.lists[index].error = true;
|
||||
this.lists[index].response = null;
|
||||
this.showToast('上传失败,请重试');
|
||||
this.$emit('on-error', err, index, this.lists, this.index);
|
||||
},
|
||||
// 删除一个图片
|
||||
deleteItem: function deleteItem(index) {
|
||||
var _this4 = this;
|
||||
if (!this.deleteable) return;
|
||||
this.$tn.message.modal('提示', '您确定要删除吗?', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
||||
var beforeResponse;
|
||||
return _regenerator.default.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
if (!(_this4.beforeRemove && typeof _this4.beforeRemove === 'function')) {
|
||||
_context2.next = 10;
|
||||
break;
|
||||
}
|
||||
beforeResponse = _this4.beforeRemove.bind(_this4.$tn.$parent.call(_this4))(index, _this4.lists); // 判断是否返回promise
|
||||
if (!(!!beforeResponse && typeof beforeResponse.then === 'function')) {
|
||||
_context2.next = 7;
|
||||
break;
|
||||
}
|
||||
_context2.next = 5;
|
||||
return beforeResponse.then(function (res) {
|
||||
// promise返回成功不进行操作
|
||||
_this4.handlerDeleteItem(index);
|
||||
}).catch(function (err) {
|
||||
_this4.showToast('删除操作被中断');
|
||||
});
|
||||
case 5:
|
||||
_context2.next = 8;
|
||||
break;
|
||||
case 7:
|
||||
if (beforeResponse === false) {
|
||||
_this4.showToast('删除操作被中断');
|
||||
} else {
|
||||
_this4.handlerDeleteItem(index);
|
||||
}
|
||||
case 8:
|
||||
_context2.next = 11;
|
||||
break;
|
||||
case 10:
|
||||
_this4.handlerDeleteItem(index);
|
||||
case 11:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
}
|
||||
}, _callee2);
|
||||
})), true);
|
||||
},
|
||||
// 移除文件操作
|
||||
handlerDeleteItem: function handlerDeleteItem(index) {
|
||||
// 如果文件正在上传中,终止上传任务
|
||||
if (this.lists[index].progress < 100 && this.lists[index].progress > 0) {
|
||||
typeof this.lists[index].uploadTask !== 'undefined' && this.lists[index].uploadTask.abort();
|
||||
}
|
||||
this.lists.splice(index, 1);
|
||||
this.$forceUpdate();
|
||||
this.$emit('on-remove', index, this.lists, this.index);
|
||||
this.showToast('删除成功');
|
||||
},
|
||||
// 移除文件,通过ref手动形式进行调用
|
||||
remove: function remove(index) {
|
||||
if (!this.deleteable) return;
|
||||
// 判断索引合法
|
||||
if (index >= 0 && index < this.lists.length) {
|
||||
this.lists.splice(index, 1);
|
||||
}
|
||||
},
|
||||
// 预览图片
|
||||
doPreviewImage: function doPreviewImage(url, index) {
|
||||
var _this5 = this;
|
||||
if (!this.previewFullImage) return;
|
||||
var images = this.lists.map(function (item) {
|
||||
return item.url || item.path;
|
||||
});
|
||||
uni.previewImage({
|
||||
urls: images,
|
||||
current: url,
|
||||
success: function success() {
|
||||
_this5.$emit('on-preview', url, _this5.lists, _this5.index);
|
||||
},
|
||||
fail: function fail() {
|
||||
_this5.showToast('预览图片失败');
|
||||
}
|
||||
});
|
||||
},
|
||||
// 检查文件后缀是否合法
|
||||
checkFileExt: function checkFileExt(file) {
|
||||
// 是否为合法后缀
|
||||
var noArrowExt = false;
|
||||
// 后缀名
|
||||
var fileExt = '';
|
||||
var reg = /.+\./;
|
||||
fileExt = file.path.replace(reg, '').toLowerCase();
|
||||
noArrowExt = this.limitType.some(function (ext) {
|
||||
return ext.toLowerCase() === fileExt;
|
||||
});
|
||||
if (!noArrowExt) this.showToast("\u4E0D\u652F\u6301".concat(fileExt, "\u683C\u5F0F\u7684\u6587\u4EF6"));
|
||||
return noArrowExt;
|
||||
}
|
||||
}
|
||||
};
|
||||
exports.default = _default2;
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/uni-cloud/dist/index.js */ 428)["default"]))
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 437:
|
||||
/*!*************************************************************************************************************************************!*\
|
||||
!*** E:/云商会/云商会/tuniao-ui/components/tn-image-upload/tn-image-upload.vue?vue&type=style&index=0&id=2546f4ca&lang=scss&scoped=true& ***!
|
||||
\*************************************************************************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_image_upload_vue_vue_type_style_index_0_id_2546f4ca_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-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--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tn-image-upload.vue?vue&type=style&index=0&id=2546f4ca&lang=scss&scoped=true& */ 438);
|
||||
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_image_upload_vue_vue_type_style_index_0_id_2546f4ca_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_image_upload_vue_vue_type_style_index_0_id_2546f4ca_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_image_upload_vue_vue_type_style_index_0_id_2546f4ca_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_image_upload_vue_vue_type_style_index_0_id_2546f4ca_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||
/* harmony default export */ __webpack_exports__["default"] = (_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tn_image_upload_vue_vue_type_style_index_0_id_2546f4ca_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 438:
|
||||
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-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--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!E:/云商会/云商会/tuniao-ui/components/tn-image-upload/tn-image-upload.vue?vue&type=style&index=0&id=2546f4ca&lang=scss&scoped=true& ***!
|
||||
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
if(false) { var cssReload; }
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/tuniao-ui/components/tn-image-upload/tn-image-upload.js.map
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'tuniao-ui/components/tn-image-upload/tn-image-upload-create-component',
|
||||
{
|
||||
'tuniao-ui/components/tn-image-upload/tn-image-upload-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('2')['createComponent'](__webpack_require__(423))
|
||||
})
|
||||
},
|
||||
[['tuniao-ui/components/tn-image-upload/tn-image-upload-create-component']]
|
||||
]);
|
||||
Component({})
|
|
@ -28,3 +28,9 @@ export const MaillogIndex = data => request.post('/move/maillog/index', data, fa
|
|||
export const MaillogUpdate = data => request.post('/move/maillog/update', data, false);
|
||||
|
||||
export const MaillogUpdateState = data => request.post('/move/maillog/updatestate', data, false);
|
||||
|
||||
export const questionnaireFind = data => request.post('/move/questionnaire/questionnairefind', data, false);
|
||||
export const questionnaireAdd = data => request.post('/move/questionnaire/appAdd', data, false);
|
||||
export const moneyLogAdd = data => request.post('/move/money_log/add', data, false);
|
||||
export const Mailcoent = data => request.post('/move/Maillog/mailcoent', data, false);
|
||||
export const MemberList = data => request.post('/move/association/memberList', data, false);
|
||||
|
|
Loading…
Reference in New Issue