123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698 |
- <template>
- <view class="container column hb">
- <view class="headbox">
- <view style="padding: 10px 10px 0 10px;" class="mb20">
- <view>
- <u-subsection class="subsection" :list="list" :current="current" bgColor="#e7f1fe"
- activeColor="#1677ff" :fontSize="15" :bold="false" @change="sectionChange"></u-subsection>
- </view>
- <!-- <view style="width: 70%;">
- <u-subsection class="subsection" :list="list" :current="current" bgColor="#e7f1fe" activeColor="#1677ff"
- :fontSize="15" :bold="false" @change="sectionChange" ></u-subsection>
- </view> -->
- <view style="margin-top: 10px;" class="justify-between align-center">
- <u-search placeholder="搜索微信名称、手机、标签" v-model="keyword" :showAction="false" height="30px"
- @search='searchKeyword'></u-search>
- <view v-if="current==1" class="fs24 ml20" @click="blackSel()">{{!isShowSelectAll?'批量管理':'取消批量'}}
- </view>
- </view>
- <view class="x-bc" v-if="current==0">
- <u-tabs :list="list2" :current='currentType' :lineWidth="40" lineColor="#1677ff"
- :activeStyle="activeStyle" :inactiveStyle="inactiveStyle" @click="clickTypeTab"></u-tabs>
- <view class="participate-order x-f">
- <image src="@/static/images/order_icon2.png" mode="aspectFill"
- v-if="searchTypeIndex == 0 || searchTypeIndex == 2"></image>
- <image src="@/static/images/order_icon.png" mode="aspectFill" v-else></image>
- <picker @change="bindPickerChange" :value="searchTypeIndex" :range="typeArray">
- {{typeoption[searchTypeIndex]}}
- </picker>
- </view>
- </view>
- <view class="tagbox x-bc" v-if="current==0">
- <view class="tagbox-left x-f">
- <!-- <view class="x-f" @click="openPop('search')">{{array[queryParam.typeIndex].name}}<u-icon name="arrow-down-fill" color="#2979ff" size="11" style="margin: 0 3px;"></u-icon></view> -->
- <view v-if="showCompanytag.length<=0" style="color: #888;" class="ml30">请点击筛选,选择标签</view>
- <view class="tagbox-list x-f">
- <view class="tagbox-item x-f" v-for="(item,index) in showCompanytag" :key='item.tagId'
- :class="item.checked?'checked-bg':''">
- {{item.tagName}}
- </view>
- </view>
- </view>
- <view class="tagbox-right x-f" @click="openPop('tag')">筛选<u-icon name="arrow-down" color="#1677ff"
- size="12"></u-icon>
- </view>
- </view>
- </view>
- <view v-if="current==0">
- <dropdownPanel :filterData='filterData' @onClick="getactNav" :itemname='itemname' @onChange="onChange"
- @confirm="confirm" @reset="reset" :ispopshow='ispopshow' :top="tops">
- <view v-if="filterData[searchbarNav].type == 'userStatus'">
- <view class="boxnav x-bc">
- <view class="boxnav-item" v-for="(item,index) in filterData[searchbarNav].option"
- :key="index">
- <view class="boxnav-item-info one-t"
- :class="userStatusIndex == index ? 'boxnav-active':''"
- @click="handleParamItem('userStatus',index,item.id)">{{item.label}}</view>
- </view>
- </view>
- </view>
- <view v-if="filterData[searchbarNav].type == 'registerTime'">
- <view class="boxnav x-bc ">
- <view class="boxnav-item" style="width: 25%;"
- v-for="(item,index) in filterData[searchbarNav].option" :key="index">
- <view class="boxnav-item-info one-t"
- :class="registerTimeIndex == index ? 'boxnav-active':''"
- @click="handleParamItem('registerTime',index)">{{item.label}}</view>
- </view>
- <view class="boxnav-item x-ac" style="width: 100%;" v-show="registerTimeIndex == 4">
- <view class="calendar-day x-c" @click="$refs.calendar.open()">
- <u-icon name="calendar" color="#999" size="20"></u-icon>
- {{queryParam.startTime || '选择日期'}}
- </view>
- <view class="calendar-day x-c" @click="$refs.calendar.open()">
- <u-icon name="calendar" color="#999" size="20"></u-icon>
- {{queryParam.endTime || '选择日期'}}
- </view>
- </view>
- </view>
- </view>
- <view v-if="filterData[searchbarNav].type == 'watchStatus'">
- <view class="boxnav x-bc">
- <view class="boxnav-item" v-for="(item,index) in filterData[searchbarNav].option"
- :key="index">
- <view class="boxnav-item-info one-t"
- :class="watchStatusIndex == index ? 'boxnav-active':''"
- @click="handleParamItem('watchStatus',index)">{{item.label}}</view>
- </view>
- </view>
- </view>
- <view v-if="filterData[searchbarNav].type == 'courseStatus'">
- <view class="boxnav x-bc">
- <view class="boxnav-item" v-for="(item,index) in filterData[searchbarNav].option"
- :key="index">
- <view class="boxnav-item-info one-t"
- :class="courseStatusIndex == index ? 'boxnav-active':''"
- @click="handleParamItem('courseStatus',index)">{{item.label}}</view>
- </view>
- </view>
- </view>
- </dropdownPanel>
- </view>
- </view>
- <uni-calendar ref="calendar" :clear-date="true" :date="date" :insert="false" :lunar="false"
- :startDate="$u.timeFormat(new Date().getTime() - (3600 * 24 * 365 * 1000), 'yyyy-mm-dd')" :range='true'
- @confirm="confirmCalendar" :endDate="$u.timeFormat(new Date().getTime(), 'yyyy-mm-dd')" />
- <!-- 搜索选择弹窗/标签筛选 -->
- <u-popup :show="showPop" :round="12" @close="closePop" class="model" :zIndex="10076" style="flex: 0;">
- <view class="popbox">
- <view class="popbox-head">
- <u-icon class="close-circle" name="close-circle" color="#ccc" size="24" @click="closePop"></u-icon>
- {{popTitle}}
- </view>
- <view class="popbox-body">
- <view class="radiobox" v-show="popTitle == '搜索选择'">
- <label class="radiobox-item x-bc mbline" v-for="(item, index) in array" :key="item.value"
- @click="bindTypeChange(index)">
- <view>{{item.name}}</view>
- <radio :value="item.value" :checked="index === typeIndex" style="transform:scale(0.75)" />
- </label>
- </view>
- <!-- <input placeholder="请输入标签 多个标签用 , 隔开" /> -->
- <view class="mb20" v-if="current==0">
- <u-search placeholder="请输入标签 多个标签用 , 隔开" v-model="tagkeywords" :showAction="false"
- height="30px" @search='getcompanyTag'></u-search>
- </view>
- <scroll-view scroll-y="true" class="hb" :refresher-enabled="isEnableds"
- :refresher-triggered="triggereds" refresher-background="rgba(0,0,0,0)"
- @refresherrefresh="pullDownRefreshs" @refresherrestore="triggereds = false"
- :upper-threshold="100" :lower-threshold="100" @refresherabort="triggereds = false"
- @scrolltolower="reachBottoms">
- <view class="tagbox-list x-f">
- <view class="tagbox-item x-f tag-active" v-if="companytag.length<=0">暂无标签</view>
- <view class="mlr10 mb10" v-for="(item,index) in companytag" :key='item.tagId'>
- <u-tag :text="item.tagName" :plain="!item.checked" :name="index"
- @click="chooseTag(index)"></u-tag>
- </view>
- </view>
- <view class="center fs24 mt20">
- <text class="mr20" @click="getTagpage('last')">上一页</text>
- <text class="base-color-red">{{pagetag.pageNum}}/{{pagetag.pages}}</text>
- <text class="ml20" @click="getTagpage('next')">下一页</text>
- </view>
- </scroll-view>
- </view>
- <view class="popbox-footer x-bc">
- <button class="popbox-footer-btn" @click="resetPop" v-show="popTitle == '标签筛选'">重置</button>
- <button class="popbox-footer-btn" @click="closePop" v-show="popTitle == '搜索选择'">取消</button>
- <button class="popbox-footer-btn con-btn" @click="confirmPop">确定</button>
- </view>
- </view>
- </u-popup>
- <view class="userbox column hb hidden ">
- <!-- <mescroll-body bottom="0" ref="mescrollRef" @init="mescrollInit" :down="downOption" :up="upOption" @down="downCallback" @up="upCallback"> -->
- <view class="userlist column hb hidden">
- <vipUserItem :viplist='userList' :isShowSelectAll="isShowSelectAll" @changeItem="changeItem"
- @getuserId='singleChange' @getlableId='singleChangeLable' @change='changesinglevip'
- @getuserIds='singleDelete' @pullDownRefresh="getfsuserListdata('refresh')"
- @changelistname="getfsuserListdata('more')" @reachBottom="getfsuserListdata('more')"
- @changePageOptions="e=>pageOptions=e" :pageOptions="pageOptions" :status="status"
- @changeStatus="e=>status=e" class="pb2" />
- <view class="justify-between base-bg-f foot-select" v-if="isShowSelectAll">
- <view class="align-center justify-between" v-if="isShowSelectAll">
- <u-checkbox-group @change="selectAll">
- <u-checkbox :checked="isSelectAll" shape="circle" activeColor="#FF6C47" :name="true"
- label="全选" labelColor="#333" /><text class="fs24 base-color-9 ml12">已选 {{selectedCount}}
- 个</text>
- </u-checkbox-group>
- </view>
- <view class="justify-center ">
- <button class="base-bg-red radius100 colorf h62 fs28 lh62 mlr10" @click="changeProhibit"
- v-if="current==0">禁用</button>
- <button class="base-bg-red radius100 colorf h62 fs28 lh62 mlr10" @click="changeblack"
- v-else>取消禁用</button>
- <button class="base-bg-blue radius100 colorf h62 fs28 lh62" @click="changetagall"
- v-if="current==0">改标签</button>
- <!-- <button class="base-bg-f radius100 base-color-red h62 ml10 fs28 lh60"
- style="border: #ef4c50 solid 2rpx;"
- @click="changevipuser" v-if="current==0">更换归属</button> -->
- </view>
- </view>
- </view>
- <!-- </mescroll-body> -->
- </view>
- <!-- <u-picker :show="showTagSelect" :columns="companytag" keyName="tag" @cancel='showTagSelect=false'
- @confirm='singleChangeLable' ></u-picker> -->
- <u-popup :show="showTagSelect" @close='closetagselect' :closeOnClickOverlay='true' mode="bottom"
- style="z-index: 999;">
- <view class=" w100 bgf">
- <view class="plr28 ptb16 justify-between" style="flex-direction: row-reverse">
- <u-icon class="" name="close-circle" color="#ccc" size="24" @click="closetagselect"></u-icon>
- </view>
- <view class="mb20">
- <u-search placeholder="请输入标签 多个标签用 , 隔开" v-model="tagchangekeywords" :showAction="false"
- height="30px" @search='getcompanyTags'></u-search>
- </view>
- <scroll-view scroll-y="true" class="hb" :refresher-enabled="isEnableds"
- :refresher-triggered="triggeredsA" refresher-background="rgba(0,0,0,0)"
- @refresherrefresh="pullDownRefreshsA" @refresherrestore="triggeredsA = false" :upper-threshold="100"
- :lower-threshold="100" @refresherabort="triggeredsA = false">
- <view class="justify-start p32 wrap">
- <view class="mlr10 mt10 " v-for="(item,index) in changetag" :key='item.tagId'>
- <u-tag :text="item.tag" :plain="!item.checked" :name="index" @click="choosechangeTag">
- </u-tag>
- </view>
- </view>
- <view class="center fs24 mt20">
- <text class="mr20" @click="getTagpageS('last')">上一页</text>
- <text class="base-color-red">{{pagetagA.pageNum}}/{{pagetagA.pages}}</text>
- <text class="ml20" @click="getTagpageS('next')">下一页</text>
- </view>
- </scroll-view>
- <view class="justify-between p32 " :class="isShowSelectAll?'pb120':''">
- <view class="changetagbtn base-bg-f8" @click="showTagSelect=!showTagSelect">取消</view>
- <view class="changetagbtn colorf base-bg-blue" @click="suretagchangeAll">确定</view>
- </view>
- </view>
- </u-popup>
- <view class="invite-member" :style="{right:vipInviteshow?'-72rpx':'20rpx'}">
- <image src="@/static/images/invite-member-icon.png" mode="aspectFill" @click="vipInvite"
- style="position: relative;" class="intimg"> </image>
- <image src='/static/image/tc_close_icon.png' class="falseimg" @click="showinimg"></image>
- </view>
- <!-- 邀请弹窗 -->
- <u-popup :show="invitePop" :round="12" @close="invitePop = false" :zIndex="10074" style="flex: 0;">
- <view class="popbox">
- <view class="popbox-head">
- <u-icon class="close-circle" name="close-circle" color="#ccc" size="24" @click="invitePop = false">
- </u-icon>
- 分享方式
- </view>
- <view class="popbox-body">
- <view class="choosetitle x-bc">
- <view>选择标签</view>
- <view v-if="sharetaglist" style="color:#1677ff" @click="addtag(0)">{{zhanshitag}}</view>
- <view class="x-f" style="color:#1677ff;" v-else @click="addtag(0)">
- <u-icon name="plus" color="#1677ff" size="14" style="margin-right: 5px;"></u-icon>添加标签
- </view>
- </view>
- <view class="invitetip">选择标签,当会员注册成功后,即可自动打标签</view>
- <!-- <view class="tagbox-list x-f" style="margin-top: 10px;margin-left: 0px;">
- <view class="tagbox-item x-f" @click="chooseTag">未打标签</view>
- <view class="tagbox-item x-f tag-active">未打标签</view>
- </view> -->
- <view class="x-bc" style="margin-top: 30px;">
- <view class="sharePop-item y-f " @click="shareimg" style="text-align: center;">
- <image src="@/static/images/card_icon.png" mode="aspectFill"
- style="width: 80rpx; height: 80rpx;margin-top: 20rpx;"></image>
- <view style="font-weight: bold;margin-bottom: 4px;">生成卡片</view>
- <view style="font-size: 12px;color: #888;">指导分享轻松转发</view>
- </view>
- <view class="sharePop-item y-f " @click="buildimg" style="text-align: center;">
- <image src="@/static/images/poster_icon.png" mode="aspectFill"></image>
- <view style="font-weight: bold;margin-bottom: 4px;">生成海报</view>
- <view style="font-size: 12px;color: #888;">保存海报美观宣传</view>
- </view>
- <view class="sharePop-item y-f " @click="copyLink" style="text-align: center;">
- <image src="@/static/images/link_icon.png" mode="aspectFill"></image>
- <view style="font-weight: bold;margin-bottom: 4px;">复制链接</view>
- <view style="font-size: 12px;color: #888; ">生成链接一键复制</view>
- </view>
- </view>
- </view>
- </view>
- </u-popup>
- <!-- 设置链接有效时长弹窗 -->
- <u-modal :show="setTimeShow" content='content' class="model" @confirm="confirmTime">
- <view class="setTimebox">
- <view class="timetip">不传默认以系统参数为准</view>
- <view class="x-f">
- <text style="margin-right: 20px;">链接有效时长(分钟)</text>
- <u-input fontSize="14px" placeholder="链接有效时长" border="none" v-model="time" maxlength="5"></u-input>
- </view>
- </view>
- </u-modal>
- <!-- 长按保存海报 -->
- <u-popup :show="setImg" @close="closeimg" :round="12">
- <view class="w100 h500 center">
- <image :src="codeLink.url" mode="aspectFill"></image>
- </view>
- <view class="justify-around mb40">
- <view class="column justify-center align-center" @click="downimg">
- <image src='@/static/image/downicon.png' class="w80 h80"></image>
- <view class="mt10">长按图片保存</view>
- </view>
- </view>
- </u-popup>
- <!-- 卡片分享引导 -->
- <u-overlay :show="showzhidao" @click="showzhidao = false" style="z-index: 9999;">
- <view class="point-box">
- <view class="imgshe">
- <image src='@/static/image/point.png' class="w300 h300"></image>
- </view>
- <view class="column colorf fs32 xu-box fs40 align-center justify-center">
- <view class="justify-center">点击右上角
- <image src="@/static/image/wxmore.png" class="w50 h50 mlr10"></image>
- </view>
- <view class="mt20">选择 “转发给朋友”</view>
- <view style="color: #cbcbcb;" class="fs28 mt40">点击任意位置关闭弹窗</view>
- </view>
- </view>
- </u-overlay>
- <!-- 更改归属 -->
- <u-picker :show="showcol" :columns="columns" @cancel='showcol=!showcol' @confirm='receiveA' keyName="nickName">
- </u-picker>
- </view>
- </template>
- <script>
- import {
- getfsuserList,
- getcompanyTaglist,
- Addblacklist,
- changeLable,
- getvipNum,
- changevipUser,
- getgroupList,
- becomeVipuser,
- becomeVipuserImg,
- getSDK,
- getusersales,
- removebalcklist,
- getallTags
- } from "@/api/courseManage.js";
- import vipUserItem from "@/components/vipUserItem.vue"
- import dropdownPanel from "@/components/dropdownPanel.vue"
- import wx from 'weixin-js-sdk'
- export default {
- components: {
- vipUserItem,
- dropdownPanel,
- },
- data() {
- return {
- showcol: false,
- setImg: false,
- columns: [],
- showTagSelect: false,
- list: [{
- name: '会员(0)',
- }, {
- name: '小黑屋(0)'
- }],
- userList: [],
- current: 0,
- keyword: "",
- companytag: [],
- showCompanytag: [],
- selectedList: [], //已经选中标签列表
- list2: [{
- name: '全部',
- }, {
- name: '今日新增',
- }, {
- name: '今日完播'
- }, {
- name: '未看过课'
- }],
- currentType: 0,
- activeStyle: {
- color: '#1677ff',
- fontSize: '14px',
- fontWeight: 'bold'
- },
- inactiveStyle: {
- fontSize: '14px'
- },
- searchTypeIndex: 0,
- typeArray: ['连续缺课天数多到少', '连续缺课天数少到多', '按注册时间晚到早', '会员姓名0-9-A-Z'],
- typeoption: ['连续缺课', '连续缺课', '注册时间', '会员姓名'],
- array: [{
- value: '0',
- name: '关联搜索',
- },
- {
- value: '1',
- name: '精准搜索'
- }
- ],
- typeIndex: 0,
- popTitle: '搜索选择',
- showPop: false,
- filterData: [{
- name: '销售',
- value: 0,
- type: 'userStatus',
- option: [{
- label: '全部',
- id: ''
- }, ]
- },
- {
- name: '注册',
- value: 1,
- type: 'registerTime',
- option: [{
- label: '全部',
- }, {
- label: '今天',
- }, {
- label: '昨天',
- }, {
- label: '近7天',
- }, {
- label: '自定义',
- }]
- }, {
- name: '看课',
- value: 2,
- type: 'watchStatus',
- option: [{
- label: '全部',
- }, {
- label: '未看过课',
- }, {
- label: '正常看课',
- }, {
- label: '停止看课',
- }]
- },
- {
- name: '缺课',
- value: 3,
- type: 'courseStatus',
- option: [{
- label: '全部',
- }, {
- label: '已缺课',
- }, {
- label: '未缺课',
- }]
- },
- {
- name: '批量',
- value: 4,
- type: 'piliang',
- special: true,
- stopPrevent: true
- }
- ],
- searchbarNav: 0,
- userStatusIndex: 0,
- registerTimeIndex: 0,
- watchStatusIndex: 0,
- courseStatusIndex: 0,
- showCalendar: false,
- date: '',
- mode: 'range',
- queryParam: {
- typeIndex: 0,
- startTime: '',
- endTime: ''
- },
- mescroll: null,
- downOption: {
- use: true,
- auto: false
- },
- upOption: {
- onScroll: false,
- use: true, // 是否启用上拉加载; 默认true
- auto: true,
- page: {
- pae: 0, // 当前页码,默认0,回调之前会加1,即callback(page)会从1开始
- size: 10 // 每页数据的数量,默认10
- },
- noMoreSize: 10, // 配置列表的总数量要大于等于5条才显示'-- END --'的提示
- textNoMore: "已经到底了",
- empty: {
- icon: 'https://cos.his.cdwjyyh.com/fs/20240423/cf4a86b913a04341bb44e34bb4d37aa2.png',
- tip: '暂无数据'
- }
- },
- dataList: [],
- invitePop: false,
- setTimeShow: false,
- time: "",
- user: {},
- idx: [],
- todayday: uni.$u.timeFormat(new Date(), 'yyyy-mm-dd'),
- startTime: '',
- endTime: '',
- isShowSelectAll: false, //是否显示全选
- isSelectAll: false, //是否全选
- ispopshow: false,
- selectidAll: [],
- changetag: [],
- selectidtag: '',
- itemname: '',
- userid: '',
- groupid: [],
- pageOptions: {
- pageNum: 1,
- pageSize: 8,
- },
- status: 'loadmore',
- sharetag: 1,
- sharetaglist: [],
- codeLink: [],
- zhanshitag: '',
- copyLinks: '',
- showzhidao: false,
- imgs: 'https://fbylive.obs.cn-southwest-2.myhuaweicloud.com/fs/20250416/1744811256845.png',
- currentIsBlack: false,
- tagpageNum: 1,
- tagpageSize: 16,
- triggereds: false,
- statusA: 'loadmore',
- isEnableds: true,
- pagetag: [],
- tagkeywords: '',
- salesid: '',
- tagchangekeywords: '',
- tagpageNums: 1,
- tagpageSizes: 16,
- triggeredsA: false,
- statusAs: 'loadmore',
- isEnabledsA: true,
- pagetagA: [],
- tops: '464rpx',
- showInvite: false,
- vipInviteshow: false
- }
- },
- onLoad() {
- this.getjssdklist()
- },
- onShow() {
- this.user = uni.getStorageSync("companyUserInfo") ? JSON.parse(uni.getStorageSync("companyUserInfo")) : {}
- this.getcompanyTag()
- this.getvipListnum()
- this.getsalelist()
- this.userList = []
- this.getfsuserListdata()
- },
- mounted() {
- },
- computed: {
- selectedCount() {
- return this.userList.filter(item => item.checked).length;
- },
- },
- methods: {
- changetagall() {
- this.showTagSelect = !this.showTagSelect
- this.tagchangekeywords = ''
- this.selectidtag = ''
- this.showInvite = false
- this.sharetag = 1
- this.getalltagtaglist()
- },
- getTagpageS(type) {
- if (type == 'last') {
- if (this.tagpageNums >= 2) {
- this.tagpageNums--
- this.getalltagtaglist()
- } else {
- uni.showToast({
- title: '已经是第一页',
- icon: 'none',
- duration: 1000
- });
- }
- } else {
- if (this.tagpageNums < this.pagetagA.pages) {
- this.tagpageNums++
- this.getalltagtaglist()
- } else {
- uni.showToast({
- title: '已经是最后一页',
- icon: 'none',
- duration: 1000
- });
- }
- }
- },
- getcompanyTags(value) {
- this.tagchangekeywords = value
- this.getalltagtaglist()
- },
- singleDelete(data) {
- this.pageOptions.pageNum = 1
- this.$emit('update:parentValue', '新值');
- this.userList = []
- this.selectidAll[0] = data
- this.changeblack()
- },
- changeblack() {
- // console.log(this.selectidAll[0])
- //取消禁用
- if (this.selectidAll.length < 1) {
- uni.showToast({
- icon: 'none',
- title: '所选列表为空'
- })
- return
- }
- removebalcklist(this.selectidAll).then(res => {
- if (res.code == 200) {
- this.pageOptions.pageNum = 1
- // console.log(this.pageOptions.pageNum)
- this.getfsuserListdata()
- // 创建一个在**秒后执行的定时器
- const timer = setTimeout(function() {
- uni.showToast({
- icon: 'none',
- title: '取消禁用成功'
- })
- }, 200);
- this.getvipListnum()
- this.isShowSelectAll = false
- } else {
- uni.showToast({
- icon: 'none',
- title: res.msg
- })
- }
- })
- },
- blackSel() {
- this.isShowSelectAll = !this.isShowSelectAll
- // if (data.value == 4) {
- // this.itemname = data.name
- // this.isShowSelectAll = !this.isShowSelectAll
- // } else {
- // this.isShowSelectAll = false
- // }
- },
- getsalelist() {
- const oldlist = this.filterData[0].option
- getusersales().then(res => {
- if (res.code == 200) {
- const list = res.data
- this.filterData[0].option = oldlist.concat(list.map(item => {
- return {
- id: item.userId,
- label: item.nickName
- };
- }));
- } else {
- uni.showToast({
- title: res.msg,
- icon: 'none',
- });
- }
- })
- },
- getTagpage(type) {
- if (type == 'last') {
- if (this.tagpageNum >= 2) {
- this.tagpageNum--
- this.getcompanyTag()
- } else {
- uni.showToast({
- title: '已经是第一页',
- icon: 'none',
- duration: 1000
- });
- }
- } else {
- if (this.tagpageNum < this.pagetag.pages) {
- this.tagpageNum++
- this.getcompanyTag()
- } else {
- uni.showToast({
- title: '已经是最后一页',
- icon: 'none',
- duration: 1000
- });
- }
- }
- },
- //标签展示下拉
- pullDownRefreshs() {
- // 下拉
- this.triggereds = true; //下拉了状态为true
- setTimeout(() => {
- this.triggereds = false;
- uni.stopPullDownRefresh()
- this.tagpageNum = 1;
- this.getcompanyTag('refresh') //触底 不穿执行else
- // 请求接口里面需要判断是不是最后一页 是最后一页 status赋值为‘loadmore’没有更多了
- // 请求接口
- }, 1000)
- },
- getjssdklist() {
- const param = {
- url: window.location.href
- }
- getSDK(param).then(res => {
- wx.config({
- appId: res.data.appId, // 必填,公众号的唯一标识
- timestamp: res.data.timestamp, // 必填,生成签名的时间戳
- nonceStr: res.data.nonceStr, // 必填,生成签名的随机串
- signature: res.data.signature, // 必填,签名
- jsApiList: ["updateAppMessageShareData"] // 必填,需要使用的JS接口列表
- });
- })
- },
- shareimg() {
- //分享好友
- this.getlink()
- let self = this
- // 配置--你到时候把配置全局 --就是这些东西 调接口拿
- wx.ready(function() { //需在用户可能点击分享按钮前就先调用
- wx.updateAppMessageShareData({
- title: self.user.userName + "邀请您成为会员", // 分享标题
- desc: self.user.deptName, // 分享描述
- link: self.copyLinks,
- imgUrl: self.codeLink.url || self.imgs, // 分享图标
- success: function(res) {
- self.showzhidao = true
- self.setImg = false
- self.showShare = false
- // 设置成功
- uni.showToast({
- title: '卡片已生成',
- icon: 'none',
- duration: 1000
- });
- },
- fail: function(err) {
- console.log(err);
- uni.showToast({
- title: '卡片生成失败,请重试',
- icon: 'none',
- duration: 2000
- })
- }
- })
- });
- },
- downimg() {},
- closeimg() {
- this.setImg = false
- this.invitePop = false
- },
- buildimg() {
- this.setImg = !this.setImg
- this.getshareimg()
- },
- addtag(add) {
- this.sharetag = add
- this.showTagSelect = !this.showTagSelect
- this.invitePop = !this.invitePop
- this.showInvite = true
- this.getalltagtaglist()
- },
- changevipuser() {
- this.showcol = !this.showcol
- this.getgrouplist()
- },
- getgrouplist() {
- //获取群管列表
- getgroupList().then(res => {
- if (res.code == 200) {
- this.columns = [res.data]
- // console.log(this.columns)
- } else {
- uni.showToast({
- icon: 'none',
- title: res.msg
- })
- }
- })
- },
- changeall() {
- //更换全部会员
- console.log(1)
- const param = {
- companyId: this.user.companyId,
- companyUserId: this.userid,
- userId: this.groupid
- }
- changevipUser(param).then(res => {
- if (res.code == 200) {
- uni.showToast({
- icon: 'none',
- title: '更换会员归属成功'
- })
- } else {
- uni.showToast({
- icon: 'none',
- title: res.msg
- })
- }
- })
- },
- receiveA(e) {
- console.log(e)
- this.userid = e.value[0].userId
- if (this.isShowSelectAll == true) {
- this.groupid = this.selectidAll
- this.changeall()
- this.showcol = !this.showcol
- setTimeout(() => {
- this.getfsuserListdata()
- }, 200)
- } else {
- this.changeall()
- this.showcol = !this.showcol
- this.getfsuserListdata()
- }
- this.isSelectAll = false
- },
- getvipListnum() {
- getvipNum().then(res => {
- if (res.code == 200) {
- this.list[0].name = "会员" + '(' + res.data.number + ')'
- this.list[1].name = "小黑屋" + '(' + res.data.blackNum + ')'
- } else {
- uni.showToast({
- icon: 'none',
- title: res.msg
- })
- }
- })
- },
- getactNav(data) {
- if (data.value == 4) {
- this.itemname = data.name
- this.isShowSelectAll = !this.isShowSelectAll
- } else {
- this.isShowSelectAll = false
- }
- },
- closetagselect() {
- this.showTagSelect = !this.showTagSelect
- },
- suretagchangeAll() {
- if (this.sharetag == 0) {
- this.sharetaglist = this.changetag.filter(item => item.checked).map(v => v.tagId).join(',')
- this.showTagSelect = !this.showTagSelect
- this.zhanshitag = this.changetag.filter(item => item.checked).map(v => v.tag).join(',')
- // console.log(this.sharetaglist)
- } else {
- //多选改标签确认按钮
- this.showTagSelect = !this.showTagSelect
- if (this.selectidAll.length == 0) {
- uni.showToast({
- icon: 'none',
- title: '未选中用户'
- })
- return
- }
- this.selectidtag = this.changetag.filter(item => item.checked).map(v => v.tagId)
- this.changeLabelmore()
- }
- if (this.showInvite) {
- this.invitePop = true
- }
- },
- singleChangeLable(data) {
- this.showTagSelect = !this.showTagSelect
- this.selectidAll[0] = data
- this.tagchangekeywords = ''
- this.selectidtag = []
- this.sharetag = 1
- this.showInvite = false
- this.getalltagtaglist()
- },
- getalltagtaglist(type) {
- //获取公司标签列表
- const data = {
- pageNum: this.tagpageNums,
- pageSize: this.tagpageSizes,
- keyword: this.tagchangekeywords
- }
- getallTags(data).then(res => {
- if (res.code == 200) {
- const dataList = res.data.list.map(item => {
- return {
- ...item,
- checked: false,
- }
- })
- if (type == 'refresh') {
- this.changetag = dataList
- } else {
- this.changetag = dataList
- }
- if (res.data.isLastPage) {
- this.statusAs = 'nomore'
- } else {
- this.statusAs = 'loadmore'
- }
- this.pagetagA = res.data
- } else {
- uni.showToast({
- icon: 'none',
- title: res.msg
- })
- }
- })
- },
- changesinglevip(data) {
- this.showcol = !this.showcol
- // console.log(data)
- this.groupid[0] = data
- this.getgrouplist()
- },
- changeLabelmore() {
- //改标签选择按钮
- const params = {
- tagIds: this.selectidtag,
- fsUserIds: this.selectidAll
- }
- changeLable(params).then(res => {
- if (res.code == 200) {
- this.userList = []
- this.getfsuserListdata()
- const timer = setTimeout(function() {
- uni.showToast({
- icon: 'none',
- title: '标签更改成功'
- })
- }, 500);
- } else {
- uni.showToast({
- icon: 'none',
- title: res.msg
- })
- }
- })
- },
- changeOwnership() {
- //更换归属(经销商功能)
- },
- getcompanyTag(type) {
- this.companytag = []
- this.tagkeywords = this.tagkeywords.replace(/,/g, ',')
- const data = {
- pageNum: this.tagpageNum,
- pageSize: this.tagpageSize,
- keyword: this.tagkeywords
- }
- getcompanyTaglist(data).then(res => {
- if (res.code == 200) {
- // this.showCompanytag = res.data.list
- const dataList = res.data.list.map(item => {
- return {
- ...item,
- checked: false,
- }
- })
- if (type == 'refresh') {
- this.companytag = dataList
- } else {
- this.companytag = [...this.companytag, ...dataList]
- }
- if (res.data.isLastPage) {
- this.statusA = 'nomore'
- } else {
- this.statusA = 'loadmore'
- }
- this.pagetag = res.data
- } else {
- uni.showToast({
- icon: 'none',
- title: res.msg
- })
- }
- })
- },
- getfsuserListdata(type) {
- // this.userList=[]
- const param = {
- userId: this.user.userId,
- tabValue: this.currentType,
- registerStartTime: this.startTime, //注册开始
- registerEndTime: this.endTime, //注册结束
- watchCourseType: this.watchStatusIndex,
- missCourseStatus: this.courseStatusIndex,
- keyword: this.keyword,
- tagIds: this.idx,
- isBlack: this.currentIsBlack,
- companyUserId: this.salesid,
- continueMissCourseSort: this.searchTypeIndex,
- ...this.pageOptions
- }
- getfsuserList(param).then(res => {
- if (res.code == 200) {
- let dataList = res.data.list.map(item => {
- return {
- ...item,
- checked: false,
- }
- })
- if (type == 'refresh') {
- this.userList = dataList
- } else {
- this.userList = [...this.userList, ...dataList]
- }
- if (res.data.isLastPage) {
- this.status = 'nomore'
- } else {
- this.status = 'loadmore'
- }
- } else {
- uni.showToast({
- icon: 'none',
- title: res.msg
- })
- }
- })
- },
- onChange(index) {
- if (index == 4) return
- this.searchbarNav = index
- },
- searchKeyword(value) {
- this.keyword = value
- this.getfsuserListdata()
- },
- singleChange(data) {
- this.userList = []
- this.selectidAll[0] = data
- this.changeProhibit()
- },
- changeProhibit() {
- //批量禁用选择按钮
- if (this.selectidAll.length < 1) {
- uni.showToast({
- icon: 'none',
- title: '所选列表为空'
- })
- return
- }
- Addblacklist(this.selectidAll).then(res => {
- if (res.code == 200) {
- this.pageOptions.pageNum = 1
- this.getfsuserListdata()
- // 创建一个在**秒后执行的定时器
- const timer = setTimeout(function() {
- uni.showToast({
- icon: 'none',
- title: '禁用成功'
- })
- }, 200);
- this.getvipListnum()
- this.isShowSelectAll = false
- } else {
- uni.showToast({
- icon: 'none',
- title: res.msg
- })
- }
- })
- },
- // 全选
- selectAll() {
- // 先设置全选
- this.isSelectAll = !this.isSelectAll
- // 然后设置列表 checked没得this不会报错吗 这是返回新数组
- console.log(this.isSelectAll)
- this.userList = this.userList.map(item => {
- // 每一项的 checked为 全选的状态
- return {
- ...item,
- checked: this.isSelectAll
- }
- })
- this.selectidAll = this.userList.filter(item => item.checked).map(item => item.userId)
- console.log(this.isSelectAll)
- },
- // 单选 /反选
- changeItem(i) {
- let arr = {
- ...this.userList[i],
- checked: !this.userList[i].checked
- }
- this.$set(this.userList, i, arr)
- this.selectidAll = this.userList.filter(item => item.checked).map(item => item.userId)
- console.log(this.selectidAll)
- this.isSelectAll = this.userList.every(item => item.checked)
- if (this.isSelectAll) {
- this.userList = this.userList.map(item => {
- return {
- ...item,
- checked: this.isSelectAll
- }
- })
- }
- this.selectidAll = this.userList.filter(item => item.checked).map(item => item.userId)
- },
- reset() {
- //重置时间选择等筛选
- const type = this.filterData[this.searchbarNav].type
- console.log(this.registerTimeIndex)
- if (type == 'registerTime') {
- this.registerTimeIndex = ''
- this.endTime = ''
- this.startTime = ''
- this.getfsuserListdata()
- // console.log(this.getfsuserListdata())
- } else if (type == 'watchStatus') {
- this.watchStatusIndex = 0
- this.getfsuserListdata()
- } else if (type == 'userStatus') {
- this.userStatusIndex = 0
- this.salesid = ''
- this.getfsuserListdata()
- } else if (type == 'courseStatus') {
- this.courseStatusIndex = 0
- this.getfsuserListdata()
- } else {
- }
- },
- confirm(e) {
- this.pageOptions.pageNum = 1
- this.userList = []
- const type = this.filterData[this.searchbarNav].type
- const value = this.registerTimeIndex
- if (type == 'registerTime') {
- if (value == 0) {
- this.startTime = ''
- this.endTime = ''
- this.getfsuserListdata()
- } else if (value == 1) {
- this.startTime = this.todayday + ' 00:00:00'
- this.endTime = this.todayday + ' 23:59:59'
- this.getfsuserListdata()
- } else if (value == 2) {
- let yesterday = new Date();
- yesterday.setDate(yesterday.getDate() - 1);
- this.startTime = uni.$u.timeFormat(yesterday, 'yyyy-mm-dd') + ' 00:00:00'
- this.endTime = uni.$u.timeFormat(yesterday, 'yyyy-mm-dd') + ' 23:59:59'
- this.getfsuserListdata()
- } else if (value == 3) {
- let yesterday = new Date();
- yesterday.setDate(yesterday.getDate() - 6);
- this.startTime = uni.$u.timeFormat(yesterday, 'yyyy-mm-dd') + ' 00:00:00'
- this.endTime = this.todayday + ' 23:59:59'
- this.getfsuserListdata()
- } else {
- this.getfsuserListdata()
- }
- } else if (type == 'watchStatus') {
- // this.watchStatusIndex=value
- this.getfsuserListdata()
- // console.log(this.filterData)
- } else if (type == 'userStatus') {
- if (this.userStatusIndex == 0) {
- this.salesid = ''
- this.getfsuserListdata()
- } else {
- this.getfsuserListdata()
- }
- // console.log(this.userStatusIndex)
- } else if (type == 'courseStatus') {
- this.getfsuserListdata()
- console.log(this.courseStatusIndex)
- }
- // this.mescroll.resetUpScroll()
- },
- handleParamItem(type, index, id) {
- if (type == 'registerTime') {
- this.registerTimeIndex = index
- } else if (type == 'watchStatus') {
- this.watchStatusIndex = index
- // console.log('watchStatus',index)
- } else if (type == 'userStatus') {
- this.userStatusIndex = index
- this.salesid = id
- console.log(this.salesid)
- } else if (type == 'courseStatus') {
- this.courseStatusIndex = index
- } else {
- this.ispopshow = false
- }
- },
- sectionChange(index) {
- this.current = index;
- this.currentType = 0
- this.startTime = '' //注册开始
- this.endTime = '' //注册结束
- this.watchStatusIndex = 0
- this.salesid = ''
- this.courseStatusIndex = 0
- this.keyword = ''
- this.idx = []
- this.pageOptions.pageNum = 1
- this.isShowSelectAll = false
- this.userList = []
- if (index == 0) {
- this.currentIsBlack = false
- this.getfsuserListdata()
- } else {
- this.currentIsBlack = true
- this.getfsuserListdata()
- }
- this.getvipListnum()
- },
- clickTypeTab(e) {
- this.currentType = e.index
- this.userList = []
- this.getfsuserListdata()
- },
- bindPickerChange(e) {
- console.log('picker发送选择改变,携带值为', e.detail.value)
- this.userList = []
- this.searchTypeIndex = e.detail.value
- this.getfsuserListdata()
- },
- openPop(type) {
- this.popTitle = type == 'search' ? '搜索选择' : type == 'tag' ? '标签筛选' : ''
- this.typeIndex = this.queryParam.typeIndex
- this.showPop = true
- if (type == 'tag') {}
- },
- closePop() {
- this.showPop = false
- },
- resetPop(i) {
- this.idx = []
- this.tagkeywords = ''
- this.tagpageNum = 1
- this.showCompanytag = []
- this.companytag.forEach(tag => {
- tag.checked = false; // 将所有标签的show属性重置为true
- });
- this.showPop = false
- this.$nextTick(() => {
- this.getcompanyTag()
- this.getfsuserListdata()
- })
- },
- closeCalendar() {
- this.showCalendar = false
- },
- confirmCalendar(e) {
- // this.startTime = e[0]
- // this.endTime = e[e.length-1]
- this.showCalendar = false
- this.queryParam.startTime = e.range.after
- this.queryParam.endTime = e.range.before
- this.endTime = e.range.before + ' 23:59:59'
- this.startTime = e.range.after + ' 00:00:00'
- console.log(e)
- // this.getCount()
- },
- bindTypeChange(i) {
- this.typeIndex = i
- },
- confirmPop() {
- this.queryParam.typeIndex = this.typeIndex
- this.showPop = false
- this.showCompanytag = this.companytag.filter(item => item.checked)
- this.idx = this.showCompanytag.map(v => v.tagId)
- //filtter(过滤) 筛选所有checked==true的 然后map返回每一项的id
- if (this.idx.length == 0) {
- this.showCompanytag = this.companytag
- }
- this.$nextTick(() => {
- this.getfsuserListdata("refresh")
- })
- },
- chooseTag(i) {
- this.companytag[i].checked = !this.companytag[i].checked
- },
- choosechangeTag(i) {
- this.changetag[i].checked = !this.changetag[i].checked
- },
- vipInvite() {
- if (!this.vipInviteshow) {
- this.invitePop = true
- this.sharetaglist = null
- this.getlink('preload')
- this.getjssdklist()
- } else {
- this.vipInviteshow = false
- }
- },
- showinimg() {
- this.vipInviteshow = true
- },
- copyLink() {
- this.setTimeShow = true
- },
- confirmTime() {
- this.setTimeShow = false
- this.showShare = false
- console.log(this.showInvite)
- this.getshareLink()
- },
- getshareimg() {
- //生成海报
- this.getlink()
- this.codeLink = ''
- uni.showLoading({
- title: '正在生成中...'
- })
- const url = window.location.href.split('#')[0]
- const param = {
- companyId: this.user.companyId,
- companyUserId: this.user.userId,
- realLink: url + '#/pages/user/users/becomeVIP' + '?companyId=' +
- this.user.companyId + '&companyUserId=' + this.user.userId + '&tagids=' + this.sharetaglist,
- tagIds: this.sharetaglist,
- }
- becomeVipuserImg(param).then(res => {
- if (res.code == 200) {
- this.codeLink = res.posterImage
- console.log(res)
- } else {
- uni.showToast({
- title: res.msg,
- icon: 'none',
- duration: 2000
- });
- }
- })
- },
- getlink(type) {
- //生成链接
- const param = {
- companyId: this.user.companyId,
- companyUserId: this.user.userId,
- tagids: this.sharetaglist,
- limitTime: this.time
- }
- const url = window.location.href.split('#')[0]
- // console.log(url)
- this.copyLinks = url + '#/pages/user/users/becomeVIP' + '?companyId=' +
- this.user.companyId + '&companyUserId=' + this.user.userId + '&tagids=' + this.sharetaglist
- },
- getshareLink() {
- //生成链接
- this.copyLinks = []
- const param = {
- code: '',
- companyId: this.user.companyId,
- companyUserId: this.user.userId,
- tagids: this.sharetaglist,
- limitTime: this.time
- }
- const url = window.location.href.split('#')[0]
- console.log(url)
- this.copyLinks = url + '#/pages/user/users/becomeVIP' + '?companyId=' +
- this.user.companyId + '&companyUserId=' + this.user.userId + '&tagids=' + this.sharetaglist
- console.log(this.copyLinks)
- setTimeout(() => {
- uni.setClipboardData({
- data: String(this.copyLinks),
- success: () => {
- uni.showToast({
- title: '复制成功',
- icon: 'none',
- duration: 2000
- });
- setTimeout(() => {
- this.invitePop = false
- }, 200)
- },
- })
- }, 100)
- },
- mescrollInit(mescroll) {
- this.mescroll = mescroll;
- },
- /*下拉刷新的回调 */
- downCallback(mescroll) {
- mescroll.resetUpScroll()
- },
- upCallback(page) {
- //联网加载数据
- var that = this;
- var data = {
- courseId: this.courseId,
- status: '',
- pageNum: page.num,
- pageSize: page.size
- };
- uni.showLoading({
- title: "加载中..."
- })
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- .imgshe {
- display: flex;
- flex-direction: row-reverse
- }
- .point-box {
- height: 100%;
- width: 100%;
- .xu-box {
- border: #f5f5f5 4rpx dashed;
- padding: 20rpx 20rpx;
- }
- }
- .codeimg {
- position: absolute;
- z-index: 9999;
- left: 40rpx;
- top: 40rpx;
- }
- #codeurl {
- position: relative;
- }
- .checked-bg {
- border: 1px solid #1677ff !important;
- color: #1677ff !important;
- background-color: #e7f1fe !important;
- }
- .changetagbtn {
- width: 45%;
- height: 80rpx;
- border-radius: 50rpx;
- text-align: center;
- line-height: 80rpx;
- }
- ::v-deep {
- .foot-select {
- width: 100%;
- padding: 20rpx 20rpx;
- z-index: 10000 !important;
- position: fixed;
- bottom: 0;
- margin-left: -24rpx !important;
- }
- }
- ::v-deep {
- .model .u-fade-enter-active {
- z-index: 10075 !important;
- }
- }
- ::v-deep {
- .uni-calendar__mask {
- z-index: 11000 !important;
- }
- .uni-calendar__content {
- z-index: 12000 !important;
- }
- }
- .container {
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 14px;
- color: #222222;
- height: 100%;
- overflow: hidden;
- }
- .boxnav {
- flex-wrap: wrap;
- padding: 0 0 0 10px;
- &-item {
- width: 50%;
- overflow: hidden;
- }
- &-item-info {
- border: 1px solid #f5f5f5;
- text-align: center;
- color: #222;
- background-color: #f5f5f5;
- border-radius: 3px;
- padding: 5px;
- margin: 0 10px 10px 0;
- }
- &-active {
- border: 1px solid #1677ff !important;
- color: #1677ff !important;
- background-color: #e7f1fe !important;
- }
- }
- .calendar-day {
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 12px;
- color: #999;
- flex: 1;
- min-height: 30px;
- background-color: #f5f5f5;
- border-radius: 4px;
- margin: 0 10px 10px 0;
- }
- .setTimebox {
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 14px;
- width: fit-content;
- height: fit-content;
- }
- .timetip {
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 14px;
- color: #2979ff;
- text-align: center;
- margin-bottom: 5px;
- }
- .popbox {
- background-color: #fff;
- border-radius: 12px;
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 14px;
- color: #333;
- &-head {
- padding: 15px;
- font-weight: bold;
- font-size: 15px;
- text-align: center;
- position: relative;
- }
- .close-circle {
- position: absolute;
- right: 10px;
- top: 50%;
- transform: translateY(-50%);
- }
- &-body {
- padding: 10px 10px;
- }
- .radiobox {
- &-item {
- padding: 10px 0;
- border-bottom: 1px solid #f5f5f5;
- &:last-child {
- border-bottom: none;
- }
- }
- }
- &-footer {
- padding: 15px 0;
- }
- &-footer-btn {
- flex: 1;
- height: 44px;
- line-height: 44px;
- margin: 0 10px;
- border-radius: 50px;
- border: none;
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 14px;
- color: #333;
- &::after {
- border: none;
- }
- }
- .con-btn {
- background-color: #1677ff;
- color: #fff;
- }
- .choosetitle {
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 15px;
- color: #333;
- }
- .invitetip {
- margin-top: 10px;
- background-color: #ebf5fb;
- color: #1677ff;
- padding: 5px 10px;
- border-radius: 5px;
- }
- .sharePop-item {
- padding: 0 10px;
- box-sizing: border-box;
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 14px;
- display: inline-flex !important;
- image {
- height: 48px;
- width: 48px;
- margin-bottom: 10px;
- }
- }
- }
- .headbox {
- background-color: #fff;
- flex: 1;
- height: 100%;
- .subsection {
- height: 45px;
- padding: 4px;
- }
- .participate-order {
- font-size: 12px;
- image {
- width: 15px;
- height: 15px;
- }
- }
- }
- .tag-active {
- background-color: #ffeceb !important;
- color: #f93e3e !important;
- border: 1px solid #f93e3e !important;
- }
- .tagbox {
- padding-top: 10rpx;
- font-size: 12px;
- color: #1677ff;
- &-list {
- margin: 0 0 -6px 6px;
- flex-wrap: wrap;
- }
- &-item {
- height: 26px;
- padding: 0 8px;
- margin: 0 6px 6px 0;
- border-radius: 4px;
- background-color: #f5f5f5;
- color: #999;
- border: 1px solid #f5f5f5;
- box-sizing: border-box;
- font-size: 12px;
- }
- }
- .invite-member {
- height: 55px;
- width: 50px;
- position: fixed;
- bottom: 110px;
- right: 10px;
- cursor: pointer;
- .intimg {
- width: 50px;
- height: 55px;
- }
- }
- .invite-members {
- right: -68rpx;
- }
- .falseimg {
- position: absolute;
- width: 30rpx;
- height: 30rpx;
- top: 0rpx;
- right: -8rpx;
- }
- .userlist {
- padding: 24rpx;
- }
- </style>
|