memberIndex.vue 57 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978
  1. <template>
  2. <view class="containers column hb flex-1 hidden">
  3. <view class="headbox">
  4. <view style="padding: 10px 10px 0 10px;" class="mb20">
  5. <view>
  6. <u-subsection class="subsection" :list="list" :current="current" bgColor="#e7f1fe" activeColor="#1677ff" :fontSize="15" :bold="false" @change="sectionChange"></u-subsection>
  7. </view>
  8. <!-- <view style="width: 70%;">
  9. <u-subsection class="subsection" :list="list" :current="current" bgColor="#e7f1fe" activeColor="#1677ff"
  10. :fontSize="15" :bold="false" @change="sectionChange" ></u-subsection>
  11. </view> -->
  12. <view style="margin-top: 10px;" class="justify-between align-center" v-if="!viewload">
  13. <u-search placeholder="搜索微信名称、手机、标签" v-model="keyword" :showAction="false" height="30px" @search='searchKeyword'></u-search>
  14. <view v-if="current!==0" class="fs24 ml20" @click="blackSel()">{{!isShowSelectAll?'批量管理':'取消批量'}}</view>
  15. </view>
  16. <view class="x-bc" v-if="current==0">
  17. <u-tabs :list="list2" :current='currentType' :lineWidth="40" lineColor="#1677ff" :activeStyle="activeStyle" :inactiveStyle="inactiveStyle" @click="clickTypeTab"></u-tabs>
  18. <view class="participate-order x-f">
  19. <image :src="imgPath+'/app/images/order_icon2.png'" mode="aspectFill" v-if="searchTypeIndex == 0 || searchTypeIndex == 2"></image>
  20. <image :src="imgPath+'/app/images/order_icon.png'" mode="aspectFill" v-else></image>
  21. <picker @change="bindPickerChange" :value="searchTypeIndex" :range="typeArray">
  22. {{typeoption[searchTypeIndex]}}
  23. </picker>
  24. </view>
  25. </view>
  26. <view class="tagbox x-bc" v-if="current==0">
  27. <view class="tagbox-left x-f">
  28. <!-- <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> -->
  29. <view v-if="showCompanytag.length<=0" style="color: #888;" class="ml30">请点击筛选,选择标签</view>
  30. <view class="tagbox-list x-f">
  31. <view class="tagbox-item x-f" v-for="(item,index) in showCompanytag" :key='item.tagId' :class="item.checked?'checked-bg':''">
  32. {{item.tagName}}
  33. </view>
  34. </view>
  35. </view>
  36. <view class="tagbox-right x-f" @click="openPop('tag')">筛选<u-icon name="arrow-down" color="#1677ff" size="12"></u-icon></view>
  37. </view>
  38. </view>
  39. <view v-if="current==0&&!viewload">
  40. <dropdownPanel :filterData='filterData' @onClick="getactNav" :itemname='itemname' @onChange="onChange" @confirm="confirm" @reset="reset" :ispopshow='ispopshow' :top="tops">
  41. <view v-if="filterData[searchbarNav].type == 'userStatus'">
  42. <view class="boxnav x-bc">
  43. <view class="boxnav-item" v-for="(item,index) in filterData[searchbarNav].option" :key="index">
  44. <view class="boxnav-item-info one-t"
  45. :class="userStatusIndex == index ? 'boxnav-active':''" @click="handleParamItem('userStatus',index,item.id)">{{item.label}}</view>
  46. </view>
  47. </view>
  48. </view>
  49. <view v-if="filterData[searchbarNav].type == 'registerTime'">
  50. <view class="boxnav x-bc ">
  51. <view class="boxnav-item" style="width: 25%;" v-for="(item,index) in filterData[searchbarNav].option" :key="index">
  52. <view class="boxnav-item-info one-t" :class="registerTimeIndex == index ? 'boxnav-active':''" @click="handleParamItem('registerTime',index)">{{item.label}}</view>
  53. </view>
  54. <view class="boxnav-item x-ac" style="width: 100%;" v-show="registerTimeIndex == 4">
  55. <view class="calendar-day x-c" @click="$refs.calendar.open()">
  56. <u-icon name="calendar" color="#999" size="20"></u-icon>{{queryParam.startTime || '选择日期'}}
  57. </view>
  58. <view class="calendar-day x-c" @click="$refs.calendar.open()">
  59. <u-icon name="calendar" color="#999" size="20"></u-icon>{{queryParam.endTime || '选择日期'}}
  60. </view>
  61. </view>
  62. </view>
  63. </view>
  64. <view v-if="filterData[searchbarNav].type == 'watchStatus'">
  65. <view class="boxnav x-bc">
  66. <view class="boxnav-item" v-for="(item,index) in filterData[searchbarNav].option" :key="index">
  67. <view class="boxnav-item-info one-t" :class="watchStatusIndex == index ? 'boxnav-active':''" @click="handleParamItem('watchStatus',index)">{{item.label}}</view>
  68. </view>
  69. </view>
  70. </view>
  71. <view v-if="filterData[searchbarNav].type == 'courseStatus'">
  72. <view class="boxnav x-bc">
  73. <view class="boxnav-item" v-for="(item,index) in filterData[searchbarNav].option" :key="index">
  74. <view class="boxnav-item-info one-t" :class="courseStatusIndex == index ? 'boxnav-active':''" @click="handleParamItem('courseStatus',index)">{{item.label}}</view>
  75. </view>
  76. </view>
  77. </view>
  78. <view v-if="filterData[searchbarNav].type == 'project'">
  79. <view class="boxnav x-bc">
  80. <view class="boxnav-item" v-for="(item,index) in filterData[searchbarNav].option" :key="index">
  81. <view class="boxnav-item-info one-t" :class="projectStatusIndex == index ? 'boxnav-active':''" @click="handleParamItem('project',index,item.id)">{{item.label}}</view>
  82. </view>
  83. </view>
  84. </view>
  85. </dropdownPanel>
  86. </view>
  87. </view>
  88. <view class="">
  89. <uni-calendar ref="calendar" :clear-date="true" :date="date" :insert="false" :lunar="false"
  90. :startDate="$u.timeFormat(new Date().getTime() - (3600 * 24 * 365 * 1000), 'yyyy-mm-dd')" :range='true'
  91. @confirm="confirmCalendar" :endDate="$u.timeFormat(new Date().getTime(), 'yyyy-mm-dd')" />
  92. </view>
  93. <view class="">
  94. <!-- 搜索选择弹窗/标签筛选 -->
  95. <u-popup :show="showPop" :round="12" @close="closePop" class="model" :zIndex="10076" style="flex: 0;">
  96. <view class="popbox">
  97. <view class="popbox-head">
  98. <u-icon class="close-circle" name="close-circle" color="#ccc" size="24"
  99. @click="closePop"></u-icon>
  100. {{popTitle}}
  101. </view>
  102. <view class="popbox-body">
  103. <view class="radiobox" v-show="popTitle == '搜索选择'">
  104. <label class="radiobox-item x-bc mbline" v-for="(item, index) in array" :key="item.value"
  105. @click="bindTypeChange(index)">
  106. <view>{{item.name}}</view>
  107. <radio :value="item.value" :checked="index === typeIndex"
  108. style="transform:scale(0.75)" />
  109. </label>
  110. </view>
  111. <!-- <input placeholder="请输入标签 多个标签用 , 隔开" /> -->
  112. <view class="mb20" v-if="current==0">
  113. <u-search placeholder="请输入标签 多个标签用 , 隔开" v-model="tagkeywords" :showAction="false" height="30px" @search='getcompanyTag'></u-search>
  114. </view>
  115. <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"
  116. :upper-threshold="100" :lower-threshold="100" @refresherabort="triggereds = false"
  117. @scrolltolower="reachBottoms">
  118. <view class="tagbox-list x-f">
  119. <view class="tagbox-item x-f tag-active" v-if="companytag.length<=0">暂无标签</view>
  120. <view class="mlr10 mb10" v-for="(item,index) in companytag" :key='item.tagId'>
  121. <u-tag :text="item.tagName" :plain="!item.checked" :name="index" @click="chooseTag(index)"></u-tag>
  122. </view>
  123. </view>
  124. <view class="center fs24 mt20">
  125. <text class="mr20" @click="getTagpage('last')">上一页</text>
  126. <text class="base-color-red">{{pagetag.pageNum}}/{{pagetag.pages}}</text>
  127. <text class="ml20" @click="getTagpage('next')">下一页</text>
  128. </view>
  129. </scroll-view>
  130. </view>
  131. <view class="popbox-footer x-bc">
  132. <button class="popbox-footer-btn" @click="resetPop" v-show="popTitle == '标签筛选'">重置</button>
  133. <button class="popbox-footer-btn" @click="closePop" v-show="popTitle == '搜索选择'">取消</button>
  134. <button class="popbox-footer-btn con-btn" @click="confirmPop">确定</button>
  135. </view>
  136. </view>
  137. </u-popup>
  138. </view>
  139. <view class="userbox column hb hidden flex-1">
  140. <!-- <mescroll-body bottom="0" ref="mescrollRef" @init="mescrollInit" :down="downOption" :up="upOption" @down="downCallback" @up="upCallback"> -->
  141. <view class="userlist column hb hidden flex-1">
  142. <vipUserItem :viplist='userList' :isShowSelectAll="isShowSelectAll" @changeItem="changeItem" @getuserId='singleChange' @getlableId='singleChangeLable' @change='changesinglevip' @getuserIds='singleDelete' @pullDownRefresh="getfsuserListdata('refresh')"
  143. @changelistname="getfsuserListdata('more')" @reachBottom="getfsuserListdata()" @changePageOptions="e=>pageOptions=e" :pageOptions="pageOptions" :status="status"
  144. @changeStatus="e=>status=e" class="pb2 hb" />
  145. <view class="justify-between base-bg-f foot-select pb40" v-if="isShowSelectAll">
  146. <view class="align-center justify-between" v-if="isShowSelectAll">
  147. <u-checkbox-group @change="selectAll">
  148. <u-checkbox :checked="isSelectAll" shape="circle" activeColor="#FF6C47" :name="true" label="全选" labelColor="#333" /><text class="fs24 base-color-9 ml12">已选 {{selectedCount}}
  149. 个</text>
  150. </u-checkbox-group>
  151. </view>
  152. <view class="justify-center ">
  153. <button class="base-bg-red radius100 colorf h62 fs28 lh62 mlr10" @click="changeProhibit" v-if="current==0">禁用</button>
  154. <button class="base-bg-red radius100 colorf h62 fs28 lh62 mlr10" @click="changeblack" v-else>取消禁用</button>
  155. <button class="base-bg-blue radius100 colorf h62 fs28 lh62" @click="changetagall" v-if="current==0">改标签</button>
  156. <!-- <button class="base-bg-f radius100 base-color-red h62 ml10 fs28 lh60"
  157. style="border: #ef4c50 solid 2rpx;"
  158. @click="changevipuser" v-if="current==0">更换归属</button> -->
  159. </view>
  160. </view>
  161. </view>
  162. <!-- </mescroll-body> -->
  163. </view>
  164. <!-- <u-picker :show="showTagSelect" :columns="companytag" keyName="tag" @cancel='showTagSelect=false'
  165. @confirm='singleChangeLable' ></u-picker> -->
  166. <view>
  167. <u-popup :show="projectbox" :round="12" @close="projectbox = false" :zIndex="10074" style="flex: 0;">
  168. <view class="pb120">
  169. <view class="center bold fs32 mt30">选择项目</view>
  170. <view class="p20 justify-start mb60" style="flex-wrap: wrap">
  171. <view class="plr16 ptb8 u-border mlr10 radius8 " :class="projectId==item.dictValue?'probgsel':'probg'"
  172. v-for="(item,index) in projectList" :key="index" @click="selproject(item)">
  173. {{item.dictLabel}}
  174. </view>
  175. </view>
  176. <view class="quedingpro" @click="submitPro">确定</view>
  177. </view>
  178. </u-popup>
  179. <u-popup :show="showTagSelect" @close='closetagselect' :closeOnClickOverlay='true' mode="bottom"
  180. style="z-index: 999;">
  181. <view class=" w100 bgf pb120" style="width: 100%;">
  182. <view class="plr28 ptb16 justify-between" style="flex-direction: row-reverse">
  183. <u-icon class="" name="close-circle" color="#ccc" size="24" @click="closetagselect"></u-icon>
  184. </view>
  185. <view class="mb20">
  186. <u-search placeholder="请输入标签 多个标签用 , 隔开" v-model="tagchangekeywords" :showAction="false"
  187. height="30px" @search='getcompanyTags'></u-search>
  188. </view>
  189. <scroll-view scroll-y="true" class="hb" :refresher-enabled="isEnableds"
  190. :refresher-triggered="triggeredsA" refresher-background="rgba(0,0,0,0)"
  191. @refresherrefresh="pullDownRefreshsA" @refresherrestore="triggeredsA = false"
  192. :upper-threshold="100" :lower-threshold="100" @refresherabort="triggeredsA = false">
  193. <view class="justify-start p32 wrap">
  194. <view class="mlr10 mt10 " v-for="(item,index) in changetag" :key='item.tagId'>
  195. <u-tag :text="item.tag" :plain="!item.checked" :name="index"
  196. @click="choosechangeTag"></u-tag>
  197. </view>
  198. </view>
  199. <view class="center fs24 mt20">
  200. <text class="mr20" @click="getTagpageS('last')">上一页</text>
  201. <text class="base-color-red">{{pagetagA.pageNum}}/{{pagetagA.pages}}</text>
  202. <text class="ml20" @click="getTagpageS('next')">下一页</text>
  203. </view>
  204. </scroll-view>
  205. <view class="justify-between p32 " :class="isShowSelectAll?'pb120':''">
  206. <view class="changetagbtn base-bg-f8" @click="showTagSelect=!showTagSelect">取消</view>
  207. <view class="changetagbtn colorf base-bg-blue" @click="suretagchangeAll">确定</view>
  208. </view>
  209. </view>
  210. </u-popup>
  211. </view>
  212. <view class="invite-member" :style="{right:vipInviteshow?'-72rpx':'20rpx'}">
  213. <image :src="imgPath+'/app/images/invite-member-icon.png'" mode="aspectFill" @click="vipInvite"
  214. style="position: relative;" class="intimg"> </image>
  215. <image :src="imgPath+'/app/image/tc_close_icon.png'" class="falseimg" @click="showinimg"></image>
  216. </view>
  217. <view class="">
  218. <!-- 邀请弹窗 -->
  219. <u-popup :show="invitePop" :round="12" @close="invitePop = false" :zIndex="10074" style="flex: 0;">
  220. <view class="popbox">
  221. <view class="popbox-head">
  222. <u-icon class="close-circle" name="close-circle" color="#ccc" size="24"
  223. @click="invitePop = false"></u-icon>
  224. 分享方式
  225. </view>
  226. <view class="popbox-body">
  227. <view class="choosetitle x-bc">
  228. <view>选择标签</view>
  229. <view v-if="sharetaglist" style="color:#1677ff" @click="addtag(0)">{{zhanshitag}}</view>
  230. <view class="x-f" style="color:#1677ff;" v-else @click="addtag(0)">
  231. <u-icon name="plus" color="#1677ff" size="14" style="margin-right: 5px;"></u-icon>添加标签
  232. </view>
  233. </view>
  234. <view class="invitetip">选择标签,当会员注册成功后,即可自动打标签</view>
  235. <!-- <view class="tagbox-list x-f" style="margin-top: 10px;margin-left: 0px;">
  236. <view class="tagbox-item x-f" @click="chooseTag">未打标签</view>
  237. <view class="tagbox-item x-f tag-active">未打标签</view>
  238. </view> -->
  239. <!--#ifdef MP-WEIXIN-->
  240. <view class="justify-center" style="margin-top: 10px;">
  241. <!--#endif-->
  242. <!--#ifdef H5-->
  243. <view class="justify-center" style="margin-top: 10px;">
  244. <!--#endif-->
  245. <!-- <view class="x-bc " style="margin-top: 30px;"> -->
  246. <!--#ifdef MP-WEIXIN-->
  247. <view class="sharePop-item y-f " style="text-align: center;">
  248. <!--#endif-->
  249. <!--#ifdef H5-->
  250. <view class="sharePop-item y-f card-share" @click="shareimg"
  251. style="text-align: center;">
  252. <!--#endif-->
  253. <image :src="imgPath+'/app/images/card_icon.png'" mode="aspectFill"
  254. style="width: 80rpx; height: 80rpx;margin-top: 20rpx;">
  255. </image>
  256. <!-- <view style="font-weight: bold;margin-bottom: 4px;"
  257. v-if="imgname=='医建宝'">生成卡片</view>
  258. <view style="font-size: 12px;color: #888;"
  259. v-if="imgname=='医建宝'">指导分享轻松转发</view> -->
  260. <!-- #ifdef MP-WEIXIN -->
  261. <!-- <button open-type="share" class="share" v-if="imgname=='医建宝'">分享卡片</button> -->
  262. <!-- #endif -->
  263. <!-- <view class='u-border radius100 plr20 ptb10' @click="copyPageLink"
  264. v-if="imgname!=='医建宝'">复制页面地址</view> -->
  265. <view class='u-border radius100 plr20 ptb10' @click="copyPageLink"
  266. >复制页面地址</view>
  267. </view>
  268. <!--#ifdef H5-->
  269. <view class="sharePop-item y-f " @click="buildimg" style="text-align: center;">
  270. <image :src="imgPath+'/app/images/poster_icon.png'" mode="aspectFill"></image>
  271. <view style="font-weight: bold;margin-bottom: 4px;">生成海报</view>
  272. <view style="font-size: 12px;color: #888;">保存海报美观宣传</view>
  273. </view>
  274. <view class="sharePop-item y-f " @click="copyLink" style="text-align: center;">
  275. <image :src="imgPath+'/app/images/link_icon.png'" mode="aspectFill"></image>
  276. <view style="font-weight: bold;margin-bottom: 4px;">复制链接</view>
  277. <view style="font-size: 12px;color: #888; ">生成链接一键复制</view>
  278. </view>
  279. <!--#endif-->
  280. </view>
  281. </view>
  282. </view>
  283. </u-popup>
  284. <!-- 设置链接有效时长弹窗 -->
  285. <u-modal :show="setTimeShow" content='content' class="model" @confirm="confirmTime">
  286. <view class="setTimebox">
  287. <view class="timetip">不传默认以系统参数为准</view>
  288. <view class="x-f">
  289. <text style="margin-right: 20px;">链接有效时长(分钟)</text>
  290. <u-input fontSize="14px" placeholder="链接有效时长" border="none" v-model="time"
  291. maxlength="5"></u-input>
  292. </view>
  293. </view>
  294. </u-modal>
  295. <!-- 长按保存海报 -->
  296. <u-popup :show="setImg" @close="closeimg" :round="12">
  297. <view class="w100 h500 center">
  298. <image :src="codeLink.url" mode="aspectFill"></image>
  299. </view>
  300. <view class="justify-around mb40">
  301. <view class="column justify-center align-center" @click="downimg">
  302. <image :src="imgPath+'/app/image/downicon.png'" class="w80 h80"></image>
  303. <view class="mt10">长按图片保存</view>
  304. </view>
  305. </view>
  306. </u-popup>
  307. <!-- 卡片分享引导 -->
  308. <u-overlay :show="showzhidao" @click="showzhidao = false" style="z-index: 9999;">
  309. <view class="point-box">
  310. <view class="imgshe">
  311. <image :src="imgPath+'/app/image/point.png'" class="w300 h300"></image>
  312. </view>
  313. <view class="column colorf fs32 xu-box fs40
  314. align-center justify-center">
  315. <view class="justify-center">点击右上角
  316. <image :src="imgPath+'/app/image/wxmore.png'" class="w50 h50 mlr10"></image>
  317. </view>
  318. <view class="mt20">选择 “转发给朋友”</view>
  319. <view style="color: #cbcbcb;" class="fs28 mt40">点击任意位置关闭弹窗</view>
  320. </view>
  321. </view>
  322. </u-overlay>
  323. <!-- 更改归属 -->
  324. <u-picker :show="showcol" :columns="columns" @cancel='showcol=!showcol' @confirm='receiveA'
  325. keyName="nickName"></u-picker>
  326. <u-loading-page :loading="viewload" iconSize="32" loadingColor="#3c9cff" fontSize="20"
  327. :loading-text="loadingtext"></u-loading-page>
  328. </view>
  329. </view>
  330. </template>
  331. <script>
  332. import {
  333. getfsuserList,
  334. getcompanyTaglist,
  335. Addblacklist,
  336. changeLable,
  337. getvipNum,
  338. changevipUser,
  339. getgroupList,
  340. becomeVipuser,
  341. becomeVipuserImg,
  342. getusersales,
  343. removebalcklist,
  344. getallTags,
  345. getprojectlist,
  346. copyuniLink,
  347. getlinkCode
  348. } from "@/api/manageCompany.js";
  349. import vipUserItem from "../components/vipUserItem.vue"
  350. import dropdownPanel from "../components/dropdownPanel.vue"
  351. // import wx from 'weixin-js-sdk'
  352. export default {
  353. components: {
  354. vipUserItem,
  355. dropdownPanel,
  356. },
  357. data() {
  358. return {
  359. viewload: true,
  360. loadingtext: "数据加载中...",
  361. showcol: false,
  362. setImg: false,
  363. columns: [],
  364. showTagSelect: false,
  365. list: [{
  366. name: '会员(0)',
  367. }, {
  368. name: '小黑屋(0)'
  369. },
  370. {
  371. name: '黑名单(0)'
  372. }
  373. ],
  374. userList: [],
  375. current: 0,
  376. keyword: "",
  377. companytag: [],
  378. showCompanytag: [],
  379. selectedList: [], //已经选中标签列表
  380. list2: [{
  381. name: '全部',
  382. }, {
  383. name: '今日新增',
  384. }, {
  385. name: '今日完播'
  386. }, {
  387. name: '未看过课'
  388. }],
  389. currentType: 0,
  390. activeStyle: {
  391. color: '#1677ff',
  392. fontSize: '14px',
  393. fontWeight: 'bold'
  394. },
  395. inactiveStyle: {
  396. fontSize: '14px'
  397. },
  398. searchTypeIndex: 0,
  399. typeArrays: ['连续缺课天数多到少', '连续缺课天数少到多', '按注册时间晚到早', '会员姓名0-9-A-Z'],
  400. typeArray: ['按注册时间晚到早', '会员姓名0-9-A-Z'],
  401. typeoption: ['注册时间', '会员姓名'],
  402. array: [{
  403. value: '0',
  404. name: '关联搜索',
  405. },
  406. {
  407. value: '1',
  408. name: '精准搜索'
  409. }
  410. ],
  411. typeIndex: 0,
  412. popTitle: '搜索选择',
  413. showPop: false,
  414. filterData: [{
  415. name: '销售',
  416. value: 0,
  417. type: 'userStatus',
  418. option: [{
  419. label: '全部',
  420. id: ''
  421. }, ]
  422. },
  423. {
  424. name: '注册',
  425. value: 1,
  426. type: 'registerTime',
  427. option: [{
  428. label: '全部',
  429. }, {
  430. label: '今天',
  431. }, {
  432. label: '昨天',
  433. }, {
  434. label: '近7天',
  435. }, {
  436. label: '自定义',
  437. }]
  438. }, {
  439. name: '看课',
  440. value: 2,
  441. type: 'watchStatus',
  442. option: [{
  443. label: '全部',
  444. }, {
  445. label: '未看过课',
  446. }, {
  447. label: '正常看课',
  448. }, {
  449. label: '停止看课',
  450. }]
  451. },
  452. {
  453. name: '缺课',
  454. value: 3,
  455. type: 'courseStatus',
  456. option: [{
  457. label: '全部',
  458. }, {
  459. label: '已缺课',
  460. }, {
  461. label: '未缺课',
  462. }]
  463. },
  464. {
  465. name: '项目',
  466. value: 4,
  467. type: 'project',
  468. option: [{
  469. label: '全部',
  470. id: ''
  471. }]
  472. },
  473. {
  474. name: '批量',
  475. value: 5,
  476. type: 'piliang',
  477. special: true,
  478. stopPrevent: true
  479. }
  480. ],
  481. searchbarNav: 0,
  482. userStatusIndex: 0,
  483. registerTimeIndex: 0,
  484. watchStatusIndex: 0,
  485. courseStatusIndex: 0,
  486. projectStatusIndex: 0,
  487. selprojectId: '',
  488. showCalendar: false,
  489. date: '',
  490. mode: 'range',
  491. queryParam: {
  492. typeIndex: 0,
  493. startTime: '',
  494. endTime: ''
  495. },
  496. mescroll: null,
  497. downOption: {
  498. use: true,
  499. auto: false
  500. },
  501. upOption: {
  502. onScroll: false,
  503. use: true, // 是否启用上拉加载; 默认true
  504. auto: true,
  505. page: {
  506. pae: 0, // 当前页码,默认0,回调之前会加1,即callback(page)会从1开始
  507. size: 10 // 每页数据的数量,默认10
  508. },
  509. noMoreSize: 10, // 配置列表的总数量要大于等于5条才显示'-- END --'的提示
  510. textNoMore: "已经到底了",
  511. empty: {
  512. icon: 'https://cos.his.cdwjyyh.com/fs/20240423/cf4a86b913a04341bb44e34bb4d37aa2.png',
  513. tip: '暂无数据'
  514. }
  515. },
  516. dataList: [],
  517. invitePop: false,
  518. setTimeShow: false,
  519. time: "",
  520. user: {},
  521. idx: [],
  522. todayday: uni.$u.timeFormat(new Date(), 'yyyy-mm-dd'),
  523. startTime: '',
  524. endTime: '',
  525. isShowSelectAll: false, //是否显示全选
  526. isSelectAll: false, //是否全选
  527. ispopshow: false,
  528. selectidAll: [],
  529. changetag: [],
  530. selectidtag: '',
  531. itemname: '',
  532. userid: '',
  533. groupid: [],
  534. pageOptions: {
  535. pageNum: 1,
  536. pageSize: 8,
  537. },
  538. status: 'loadmore',
  539. sharetag: 1,
  540. sharetaglist: [],
  541. codeLink: [],
  542. zhanshitag: '',
  543. copyLinks: '',
  544. showzhidao: false,
  545. imgs: this.$store.state.imgpath + '/app/image/logoshare.png',
  546. currentIsBlack: 1,
  547. tagpageNum: 1,
  548. tagpageSize: 16,
  549. triggereds: false,
  550. statusA: 'loadmore',
  551. isEnableds: true,
  552. pagetag: [],
  553. tagkeywords: '',
  554. salesid: '',
  555. tagchangekeywords: '',
  556. tagpageNums: 1,
  557. tagpageSizes: 16,
  558. triggeredsA: false,
  559. statusAs: 'loadmore',
  560. isEnabledsA: true,
  561. pagetagA: [],
  562. tops: '464rpx',
  563. showInvite: false,
  564. vipInviteshow: false,
  565. projectbox:false,
  566. projectList:{},
  567. projectId:'',
  568. projectCode:''
  569. }
  570. },
  571. // onLoad() {
  572. // // #ifdef MP-WEIXIN
  573. // uni.showShareMenu({
  574. // withShareTicket: true,
  575. // menus: ['shareAppMessage']
  576. // });
  577. // // #endif
  578. // },
  579. mounted() {
  580. this.getsalelist()
  581. this.user = uni.getStorageSync("companyUserInfo") ? JSON.parse(uni.getStorageSync("companyUserInfo")) : {},
  582. this.getvipListnum()
  583. this.userList = []
  584. this.getfsuserListdata()
  585. this.getprojectlistsA()
  586. },
  587. onShow() {
  588. // #ifdef H5
  589. this.getjssdklist()
  590. // #endif
  591. },
  592. // 这个是分享聊天
  593. // onShareAppMessage() {
  594. // return {
  595. // title:this.$store.state.logoname+'小程序的'+this.user.userName + '邀请您成为会员!',
  596. // path: '/pages/user/users/becomeVIP?companyId=' +
  597. // this.user.companyId + '&companyUserId=' + this.user.userId + '&tagids=' + this.sharetaglist,
  598. // imageUrl: this.imgs,
  599. // }
  600. // },
  601. computed: {
  602. selectedCount() {
  603. return this.userList.filter(item => item.checked).length;
  604. },
  605. imgPath() {
  606. return this.$store.state.imgpath
  607. },
  608. imgname() {
  609. return this.$store.state.logoname
  610. },
  611. appid() {
  612. return this.$store.state.appid
  613. },
  614. },
  615. methods: {
  616. getlinkCodes(){
  617. getlinkCode().then(res=>{
  618. if(res.code){
  619. this.projectCode=res.code
  620. console.log(this.projectCode)
  621. setTimeout(()=>{
  622. this.setlnk()
  623. },100)
  624. }
  625. })
  626. },
  627. setlnk(){
  628. let params={
  629. companyId: this.user.companyId,
  630. companyUserId: this.user.userId,
  631. tagids: this.sharetaglist,
  632. projectCode: this.projectCode,
  633. projectId: this.projectId,
  634. }
  635. const pages = '/pages_course/becomeVIP?becomeVip='+JSON.stringify(params)
  636. console.log(pages)
  637. const data={
  638. // appid:'wx503cf8ab31f83dd4',
  639. appid:this.appid,//医健宝
  640. linkStr:pages
  641. }
  642. copyuniLink(data).then(res=>{
  643. if(res.code==200){
  644. uni.hideLoading();
  645. setTimeout(() => {
  646. uni.setClipboardData({
  647. data:res.data,
  648. success: () => {
  649. uni.showToast({
  650. title: '链接已复制',
  651. icon: 'none',
  652. duration: 2000
  653. });
  654. },
  655. fail: () => {
  656. uni.showToast({
  657. title: '复制失败',
  658. icon: 'none'
  659. });
  660. }
  661. });
  662. }, 200)
  663. }else{
  664. uni.hideLoading();
  665. uni.showToast({
  666. title: res.msg,
  667. icon: 'none'
  668. });
  669. }
  670. })
  671. },
  672. copyPageLink(){
  673. uni.showLoading({
  674. title: "处理中..."
  675. });
  676. this.getlinkCodes()
  677. },
  678. submitPro() {
  679. if (this.projectId == '') {
  680. uni.showToast({
  681. title: '请选择项目',
  682. icon: 'none',
  683. duration: 1000
  684. });
  685. return
  686. }
  687. this.projectbox = false
  688. this.invitePop = true
  689. const pages = '/pages_course/becomeVIP?companyId=' +this.user.companyId
  690. +"&projectId=" +this.projectId+ '&companyUserId=' + this.user.userId + '&tagids=' + this.sharetaglist
  691. this.$emit('childEvent', pages);
  692. },
  693. selproject(item) {
  694. this.projectId = item.dictValue
  695. },
  696. getprojectlistsA() {
  697. const oldlist = this.filterData[4].option
  698. const data = {
  699. key: 'sys_course_project'
  700. }
  701. getprojectlist(data).then(res => {
  702. if (res.code == 200) {
  703. const list = res.data
  704. this.filterData[4].option = oldlist.concat(list.map(item => {
  705. return {
  706. id: item.dictValue,
  707. label: item.dictLabel
  708. };
  709. }));
  710. console.log('1212121212', this.filterData[4].option)
  711. } else {
  712. uni.showToast({
  713. title: res.msg,
  714. icon: 'none',
  715. });
  716. }
  717. })
  718. },
  719. getprojectlists() {
  720. const data = {
  721. key: 'sys_course_project'
  722. }
  723. getprojectlist(data).then(res => {
  724. // this.projectList=res.data
  725. this.projectList = res.data.map(item => {
  726. return {
  727. ...item,
  728. checked: false,
  729. }
  730. })
  731. console.log(this.projectList)
  732. })
  733. },
  734. sharecard() {
  735. console.log(11)
  736. },
  737. changetagall() {
  738. this.showTagSelect = !this.showTagSelect
  739. this.tagchangekeywords = ''
  740. this.selectidtag = ''
  741. this.showInvite = false
  742. this.sharetag = 1
  743. this.getalltagtaglist()
  744. },
  745. getTagpageS(type) {
  746. if (type == 'last') {
  747. if (this.tagpageNums >= 2) {
  748. this.tagpageNums--
  749. this.getalltagtaglist()
  750. } else {
  751. uni.showToast({
  752. title: '已经是第一页',
  753. icon: 'none',
  754. duration: 1000
  755. });
  756. }
  757. } else {
  758. if (this.tagpageNums < this.pagetagA.pages) {
  759. this.tagpageNums++
  760. this.getalltagtaglist()
  761. } else {
  762. uni.showToast({
  763. title: '已经是最后一页',
  764. icon: 'none',
  765. duration: 1000
  766. });
  767. }
  768. }
  769. },
  770. getcompanyTags(value) {
  771. this.tagchangekeywords = value
  772. this.getalltagtaglist()
  773. },
  774. singleDelete(data) {
  775. this.pageOptions.pageNum = 1
  776. this.$emit('update:parentValue', '新值');
  777. this.userList = []
  778. this.selectidAll[0] = data
  779. this.changeblack()
  780. },
  781. changeblack() {
  782. // console.log(this.selectidAll[0])
  783. //取消禁用
  784. if (this.selectidAll.length < 1) {
  785. uni.showToast({
  786. icon: 'none',
  787. title: '所选列表为空'
  788. })
  789. return
  790. }
  791. removebalcklist(this.selectidAll).then(res => {
  792. if (res.code == 200) {
  793. this.pageOptions.pageNum = 1
  794. // console.log(this.pageOptions.pageNum)
  795. this.getfsuserListdata('refresh')
  796. // 创建一个在**秒后执行的定时器
  797. const timer = setTimeout(function() {
  798. uni.showToast({
  799. icon: 'none',
  800. title: '取消禁用成功'
  801. })
  802. }, 200);
  803. this.getvipListnum()
  804. this.isShowSelectAll = false
  805. this.isSelectAll = false
  806. } else {
  807. uni.showToast({
  808. icon: 'none',
  809. title: res.msg
  810. })
  811. }
  812. })
  813. },
  814. blackSel() {
  815. this.isShowSelectAll = !this.isShowSelectAll
  816. // if (data.value == 4) {
  817. // this.itemname = data.name
  818. // this.isShowSelectAll = !this.isShowSelectAll
  819. // } else {
  820. // this.isShowSelectAll = false
  821. // }
  822. },
  823. getsalelist() {
  824. const oldlist = this.filterData[0].option
  825. getusersales().then(res => {
  826. if (res.code == 200) {
  827. const list = res.data
  828. this.filterData[0].option = oldlist.concat(list.map(item => {
  829. return {
  830. id: item.userId,
  831. label: item.nickName
  832. };
  833. }));
  834. // this.filterData[0].option=list.map(item => {
  835. // return {
  836. // id: item.userId,
  837. // label: item.nickName
  838. // };
  839. // })
  840. } else {
  841. uni.showToast({
  842. title: res.msg,
  843. icon: 'none',
  844. });
  845. }
  846. })
  847. },
  848. getTagpage(type) {
  849. if (type == 'last') {
  850. if (this.tagpageNum >= 2) {
  851. this.tagpageNum--
  852. this.getcompanyTag()
  853. } else {
  854. uni.showToast({
  855. title: '已经是第一页',
  856. icon: 'none',
  857. duration: 1000
  858. });
  859. }
  860. } else {
  861. if (this.tagpageNum < this.pagetag.pages) {
  862. this.tagpageNum++
  863. this.getcompanyTag()
  864. } else {
  865. uni.showToast({
  866. title: '已经是最后一页',
  867. icon: 'none',
  868. duration: 1000
  869. });
  870. }
  871. }
  872. },
  873. //标签展示下拉
  874. pullDownRefreshs() {
  875. // 下拉
  876. this.triggereds = true; //下拉了状态为true
  877. setTimeout(() => {
  878. this.triggereds = false;
  879. uni.stopPullDownRefresh()
  880. this.tagpageNum = 1;
  881. this.getcompanyTag('refresh') //触底 不穿执行else
  882. // 请求接口里面需要判断是不是最后一页 是最后一页 status赋值为‘loadmore’没有更多了
  883. // 请求接口
  884. }, 1000)
  885. },
  886. getjssdklist() {
  887. const param = {
  888. url: window.location.href
  889. }
  890. getSDK(param).then(res => {
  891. wx.config({
  892. appId: res.data.appId, // 必填,公众号的唯一标识
  893. timestamp: res.data.timestamp, // 必填,生成签名的时间戳
  894. nonceStr: res.data.nonceStr, // 必填,生成签名的随机串
  895. signature: res.data.signature, // 必填,签名
  896. jsApiList: ["updateAppMessageShareData"] // 必填,需要使用的JS接口列表
  897. });
  898. })
  899. },
  900. shareimg() {
  901. //分享好友
  902. this.getlink()
  903. let self = this
  904. // 配置--你到时候把配置全局 --就是这些东西 调接口拿
  905. wx.ready(function() { //需在用户可能点击分享按钮前就先调用
  906. wx.updateAppMessageShareData({
  907. title: self.user.userName + "邀请您成为会员", // 分享标题
  908. desc: self.user.deptName, // 分享描述
  909. link: self.copyLinks,
  910. imgUrl: self.codeLink.url || self.imgs, // 分享图标
  911. success: function(res) {
  912. self.showzhidao = true
  913. self.setImg = false
  914. self.showShare = false
  915. // 设置成功
  916. uni.showToast({
  917. title: '卡片已生成',
  918. icon: 'none',
  919. duration: 1000
  920. });
  921. },
  922. fail: function(err) {
  923. console.log(err);
  924. uni.showToast({
  925. title: '卡片生成失败,请重试',
  926. icon: 'none',
  927. duration: 2000
  928. })
  929. }
  930. })
  931. });
  932. },
  933. downimg() {},
  934. closeimg() {
  935. this.setImg = false
  936. this.invitePop = false
  937. },
  938. buildimg() {
  939. this.setImg = !this.setImg
  940. this.getshareimg()
  941. },
  942. addtag(add) {
  943. this.sharetag = add
  944. this.showTagSelect = !this.showTagSelect
  945. this.invitePop = !this.invitePop
  946. this.showInvite = true
  947. this.getalltagtaglist()
  948. },
  949. changevipuser() {
  950. this.showcol = !this.showcol
  951. this.getgrouplist()
  952. },
  953. getgrouplist() {
  954. //获取群管列表
  955. getgroupList().then(res => {
  956. if (res.code == 200) {
  957. this.columns = [res.data]
  958. // console.log(this.columns)
  959. } else {
  960. uni.showToast({
  961. icon: 'none',
  962. title: res.msg
  963. })
  964. }
  965. })
  966. },
  967. changeall() {
  968. //更换全部会员
  969. console.log(1)
  970. const param = {
  971. companyId: this.user.companyId,
  972. companyUserId: this.userid,
  973. userId: this.groupid
  974. }
  975. changevipUser(param).then(res => {
  976. if (res.code == 200) {
  977. uni.showToast({
  978. icon: 'none',
  979. title: '更换会员归属成功'
  980. })
  981. } else {
  982. uni.showToast({
  983. icon: 'none',
  984. title: res.msg
  985. })
  986. }
  987. })
  988. },
  989. receiveA(e) {
  990. console.log(e)
  991. this.userid = e.value[0].userId
  992. if (this.isShowSelectAll == true) {
  993. this.groupid = this.selectidAll
  994. this.changeall()
  995. this.showcol = !this.showcol
  996. setTimeout(() => {
  997. this.getfsuserListdata()
  998. }, 200)
  999. } else {
  1000. this.changeall()
  1001. this.showcol = !this.showcol
  1002. this.getfsuserListdata()
  1003. }
  1004. this.isSelectAll = false
  1005. },
  1006. getvipListnum() {
  1007. getvipNum().then(res => {
  1008. if (res.code == 200) {
  1009. this.list[0].name = "会员" + '(' + res.data.number + ')'
  1010. this.list[1].name = "小黑屋" + '(' + res.data.smallBlackNum + ')'
  1011. this.list[2].name = "黑名单" + '(' + res.data.blackNum + ')'
  1012. } else {
  1013. uni.showToast({
  1014. icon: 'none',
  1015. title: res.msg
  1016. })
  1017. }
  1018. })
  1019. },
  1020. getactNav(data) {
  1021. if (data.value == 5) {
  1022. this.itemname = data.name
  1023. this.isShowSelectAll = !this.isShowSelectAll
  1024. } else {
  1025. this.isShowSelectAll = false
  1026. }
  1027. },
  1028. closetagselect() {
  1029. this.showTagSelect = !this.showTagSelect
  1030. },
  1031. suretagchangeAll() {
  1032. if (this.sharetag == 0) {
  1033. this.sharetaglist = this.changetag.filter(item => item.checked).map(v => v.tagId).join(',')
  1034. this.showTagSelect = !this.showTagSelect
  1035. this.zhanshitag = this.changetag.filter(item => item.checked).map(v => v.tag).join(',')
  1036. // console.log(this.sharetaglist)
  1037. const pages = '/pages_course/becomeVIP?companyId=' +this.user.companyId
  1038. +"&projectId=" +this.projectId+ '&companyUserId=' + this.user.userId + '&tagids=' + this.sharetaglist
  1039. this.$emit('childEvent', pages);
  1040. console.log(pages)
  1041. } else {
  1042. //多选改标签确认按钮
  1043. this.showTagSelect = !this.showTagSelect
  1044. if (this.selectidAll.length == 0) {
  1045. uni.showToast({
  1046. icon: 'none',
  1047. title: '未选中用户'
  1048. })
  1049. return
  1050. }
  1051. this.selectidtag = this.changetag.filter(item => item.checked).map(v => v.tagId)
  1052. this.changeLabelmore()
  1053. }
  1054. if (this.showInvite) {
  1055. this.invitePop = true
  1056. }
  1057. },
  1058. singleChangeLable(data) {
  1059. this.showTagSelect = !this.showTagSelect
  1060. this.selectidAll[0] = data
  1061. this.tagchangekeywords = ''
  1062. this.selectidtag = []
  1063. this.sharetag = 1
  1064. this.showInvite = false
  1065. this.getalltagtaglist()
  1066. },
  1067. getalltagtaglist(type) {
  1068. //获取公司标签列表
  1069. const data = {
  1070. pageNum: this.tagpageNums,
  1071. pageSize: this.tagpageSizes,
  1072. keyword: this.tagchangekeywords
  1073. }
  1074. getallTags(data).then(res => {
  1075. if (res.code == 200) {
  1076. const dataList = res.data.list.map(item => {
  1077. return {
  1078. ...item,
  1079. checked: false,
  1080. }
  1081. })
  1082. if (type == 'refresh') {
  1083. this.changetag = dataList
  1084. } else {
  1085. this.changetag = dataList
  1086. }
  1087. if (res.data.isLastPage) {
  1088. this.statusAs = 'nomore'
  1089. } else {
  1090. this.statusAs = 'loadmore'
  1091. }
  1092. this.pagetagA = res.data
  1093. } else {
  1094. uni.showToast({
  1095. icon: 'none',
  1096. title: res.msg
  1097. })
  1098. }
  1099. })
  1100. },
  1101. changesinglevip(data) {
  1102. this.showcol = !this.showcol
  1103. // console.log(data)
  1104. this.groupid[0] = data
  1105. this.getgrouplist()
  1106. },
  1107. changeLabelmore() {
  1108. //改标签选择按钮
  1109. const params = {
  1110. tagIds: this.selectidtag,
  1111. userCompanyUserIds: this.selectidAll
  1112. }
  1113. changeLable(params).then(res => {
  1114. if (res.code == 200) {
  1115. this.userList = []
  1116. this.getfsuserListdata('refresh')
  1117. const timer = setTimeout(function() {
  1118. uni.showToast({
  1119. icon: 'none',
  1120. title: '标签更改成功'
  1121. })
  1122. }, 500);
  1123. this.isSelectAll = false
  1124. this.selectedCount = 0
  1125. } else {
  1126. uni.showToast({
  1127. icon: 'none',
  1128. title: res.msg
  1129. })
  1130. }
  1131. })
  1132. },
  1133. changeOwnership() {
  1134. //更换归属(经销商功能)
  1135. },
  1136. getcompanyTag(type) {
  1137. this.companytag = []
  1138. this.tagkeywords = this.tagkeywords.replace(/,/g, ',')
  1139. const data = {
  1140. pageNum: this.tagpageNum,
  1141. pageSize: this.tagpageSize,
  1142. keyword: this.tagkeywords
  1143. }
  1144. getcompanyTaglist(data).then(res => {
  1145. if (res.code == 200) {
  1146. // this.showCompanytag = res.data.list
  1147. const dataList = res.data.list.map(item => {
  1148. return {
  1149. ...item,
  1150. checked: false,
  1151. }
  1152. })
  1153. if (type == 'refresh') {
  1154. this.companytag = dataList
  1155. } else {
  1156. this.companytag = [...this.companytag, ...dataList]
  1157. }
  1158. if (res.data.isLastPage) {
  1159. this.statusA = 'nomore'
  1160. } else {
  1161. this.statusA = 'loadmore'
  1162. }
  1163. this.pagetag = res.data
  1164. } else {
  1165. uni.showToast({
  1166. icon: 'none',
  1167. title: res.msg
  1168. })
  1169. }
  1170. })
  1171. },
  1172. getfsuserListdata(type) {
  1173. // this.userList=[]
  1174. const param = {
  1175. userId: this.user.userId,
  1176. tabValue: this.currentType,
  1177. registerStartTime: this.startTime, //注册开始
  1178. registerEndTime: this.endTime, //注册结束
  1179. watchCourseType: this.watchStatusIndex,
  1180. missCourseStatus: this.courseStatusIndex,
  1181. projectId: this.selprojectId,
  1182. keyword: this.keyword,
  1183. tagIds: this.idx,
  1184. status: this.currentIsBlack,
  1185. companyUserId: this.salesid,
  1186. continueMissCourseSort: this.searchTypeIndex,
  1187. ...this.pageOptions
  1188. }
  1189. getfsuserList(param).then(res => {
  1190. if (res.code == 200) {
  1191. this.viewload = false
  1192. let dataList = res.data.list.map(item => {
  1193. return {
  1194. ...item,
  1195. checked: false,
  1196. }
  1197. })
  1198. if (type == 'refresh') {
  1199. this.userList = dataList
  1200. } else if (type == 'more') {
  1201. this.userList = dataList
  1202. } else {
  1203. this.userList = [...this.userList, ...dataList]
  1204. }
  1205. if (res.data.isLastPage) {
  1206. this.status = 'nomore'
  1207. } else {
  1208. this.status = 'loadmore'
  1209. }
  1210. } else {
  1211. uni.showToast({
  1212. icon: 'none',
  1213. title: res.msg
  1214. })
  1215. }
  1216. })
  1217. },
  1218. onChange(index) {
  1219. if (index == 5) return
  1220. this.searchbarNav = index
  1221. },
  1222. searchKeyword(value) {
  1223. this.keyword = value
  1224. this.userList = []
  1225. this.pageOptions.pageNum = 1
  1226. this.getfsuserListdata()
  1227. },
  1228. singleChange(data) {
  1229. this.userList = []
  1230. this.selectidAll[0] = data
  1231. this.changeProhibit()
  1232. },
  1233. changeProhibit() {
  1234. //批量禁用选择按钮
  1235. if (this.selectidAll.length < 1) {
  1236. uni.showToast({
  1237. icon: 'none',
  1238. title: '所选列表为空'
  1239. })
  1240. return
  1241. }
  1242. Addblacklist(this.selectidAll).then(res => {
  1243. if (res.code == 200) {
  1244. this.pageOptions.pageNum = 1
  1245. this.getfsuserListdata('refresh')
  1246. // 创建一个在**秒后执行的定时器
  1247. const timer = setTimeout(function() {
  1248. uni.showToast({
  1249. icon: 'none',
  1250. title: '禁用成功'
  1251. })
  1252. }, 200);
  1253. this.getvipListnum()
  1254. // this.isShowSelectAll = false
  1255. this.isSelectAll = false
  1256. } else {
  1257. uni.showToast({
  1258. icon: 'none',
  1259. title: res.msg
  1260. })
  1261. }
  1262. })
  1263. },
  1264. // 全选
  1265. selectAll() {
  1266. // 先设置全选
  1267. this.isSelectAll = !this.isSelectAll
  1268. // 然后设置列表 checked没得this不会报错吗 这是返回新数组
  1269. console.log(this.isSelectAll)
  1270. this.userList = this.userList.map(item => {
  1271. // 每一项的 checked为 全选的状态
  1272. return {
  1273. ...item,
  1274. checked: this.isSelectAll
  1275. }
  1276. })
  1277. this.selectidAll = this.userList.filter(item => item.checked).map(item => item.userCompanyUserId)
  1278. console.log(this.isSelectAll)
  1279. },
  1280. // 单选 /反选
  1281. changeItem(i) {
  1282. let arr = {
  1283. ...this.userList[i],
  1284. checked: !this.userList[i].checked
  1285. }
  1286. this.$set(this.userList, i, arr)
  1287. this.selectidAll = this.userList.filter(item => item.checked).map(item => item.userCompanyUserId)
  1288. console.log(this.selectidAll)
  1289. this.isSelectAll = this.userList.every(item => item.checked)
  1290. if (this.isSelectAll) {
  1291. this.userList = this.userList.map(item => {
  1292. return {
  1293. ...item,
  1294. checked: this.isSelectAll
  1295. }
  1296. })
  1297. }
  1298. this.selectidAll = this.userList.filter(item => item.checked).map(item => item.userCompanyUserId)
  1299. },
  1300. reset() {
  1301. //重置时间选择等筛选
  1302. const type = this.filterData[this.searchbarNav].type
  1303. console.log(this.registerTimeIndex)
  1304. if (type == 'registerTime') {
  1305. this.registerTimeIndex = ''
  1306. this.endTime = ''
  1307. this.startTime = ''
  1308. this.getfsuserListdata('refresh')
  1309. // console.log(this.getfsuserListdata())
  1310. } else if (type == 'watchStatus') {
  1311. this.watchStatusIndex = 0
  1312. this.getfsuserListdata('refresh')
  1313. } else if (type == 'userStatus') {
  1314. this.userStatusIndex = 0
  1315. this.salesid = ''
  1316. this.getfsuserListdata('refresh')
  1317. } else if (type == 'courseStatus') {
  1318. this.courseStatusIndex = 0
  1319. this.getfsuserListdata('refresh')
  1320. } else if (type == 'project') {
  1321. this.selprojectId = ''
  1322. this.projectStatusIndex = 0
  1323. this.getfsuserListdata("refresh")
  1324. } else {
  1325. }
  1326. },
  1327. confirm(e) {
  1328. this.pageOptions.pageNum = 1
  1329. this.userList = []
  1330. const type = this.filterData[this.searchbarNav].type
  1331. const value = this.registerTimeIndex
  1332. if (type == 'registerTime') {
  1333. if (value == 0) {
  1334. this.startTime = ''
  1335. this.endTime = ''
  1336. this.getfsuserListdata('refresh')
  1337. } else if (value == 1) {
  1338. this.startTime = this.todayday + ' 00:00:00'
  1339. this.endTime = this.todayday + ' 23:59:59'
  1340. this.getfsuserListdata('refresh')
  1341. } else if (value == 2) {
  1342. let yesterday = new Date();
  1343. yesterday.setDate(yesterday.getDate() - 1);
  1344. this.startTime = uni.$u.timeFormat(yesterday, 'yyyy-mm-dd') + ' 00:00:00'
  1345. this.endTime = uni.$u.timeFormat(yesterday, 'yyyy-mm-dd') + ' 23:59:59'
  1346. this.getfsuserListdata('refresh')
  1347. } else if (value == 3) {
  1348. let yesterday = new Date();
  1349. yesterday.setDate(yesterday.getDate() - 6);
  1350. this.startTime = uni.$u.timeFormat(yesterday, 'yyyy-mm-dd') + ' 00:00:00'
  1351. this.endTime = this.todayday + ' 23:59:59'
  1352. this.getfsuserListdata('refresh')
  1353. } else {
  1354. this.getfsuserListdata('refresh')
  1355. }
  1356. } else if (type == 'watchStatus') {
  1357. // this.watchStatusIndex=value
  1358. this.getfsuserListdata()
  1359. // console.log(this.filterData)
  1360. } else if (type == 'userStatus') {
  1361. if (this.userStatusIndex == 0) {
  1362. this.salesid = ''
  1363. this.getfsuserListdata('refresh')
  1364. } else {
  1365. this.getfsuserListdata('refresh')
  1366. }
  1367. // console.log(this.userStatusIndex)
  1368. } else if (type == 'courseStatus') {
  1369. this.getfsuserListdata('refresh')
  1370. console.log(this.courseStatusIndex)
  1371. } else if (type == 'project') {
  1372. if (this.projectStatusIndex == 0) {
  1373. this.selprojectId = ''
  1374. this.getfsuserListdata('refresh')
  1375. } else {
  1376. this.getfsuserListdata('refresh')
  1377. }
  1378. console.log(this.projectStatusIndex)
  1379. }
  1380. // this.mescroll.resetUpScroll()
  1381. },
  1382. handleParamItem(type, index, id) {
  1383. if (type == 'registerTime') {
  1384. this.registerTimeIndex = index
  1385. } else if (type == 'watchStatus') {
  1386. this.watchStatusIndex = index
  1387. // console.log('watchStatus',index)
  1388. } else if (type == 'userStatus') {
  1389. this.userStatusIndex = index
  1390. this.salesid = id
  1391. console.log(this.salesid)
  1392. } else if (type == 'courseStatus') {
  1393. this.courseStatusIndex = index
  1394. } else if (type == 'project') {
  1395. this.selprojectId = id
  1396. this.projectStatusIndex = index
  1397. } else {
  1398. this.ispopshow = false
  1399. }
  1400. },
  1401. sectionChange(index) {
  1402. this.current = index;
  1403. this.currentType = 0
  1404. this.startTime = '' //注册开始
  1405. this.endTime = '' //注册结束
  1406. this.watchStatusIndex = 0
  1407. this.salesid = ''
  1408. this.courseStatusIndex = 0
  1409. this.selprojectId = ''
  1410. this.keyword = ''
  1411. this.idx = []
  1412. this.pageOptions.pageNum = 1
  1413. this.isShowSelectAll = false
  1414. this.userList = []
  1415. if (index == 0) {
  1416. // 0小黑屋 1正常 2拉黑
  1417. this.currentIsBlack = 1
  1418. this.getfsuserListdata("refresh")
  1419. } else if (index == 1) {
  1420. this.currentIsBlack = 0
  1421. this.getfsuserListdata("refresh")
  1422. } else {
  1423. this.currentIsBlack = 2
  1424. this.getfsuserListdata("refresh")
  1425. }
  1426. this.isSelectAll=false
  1427. this.getvipListnum()
  1428. },
  1429. clickTypeTab(e) {
  1430. this.currentType = e.index
  1431. this.userList = []
  1432. // 在这里更新
  1433. this.pageOptions.pageNum = 1
  1434. this.getfsuserListdata()
  1435. },
  1436. bindPickerChange(e) {
  1437. console.log('picker发送选择改变,携带值为', e.detail.value)
  1438. this.userList = []
  1439. this.searchTypeIndex = e.detail.value
  1440. this.getfsuserListdata()
  1441. },
  1442. openPop(type) {
  1443. this.popTitle = type == 'search' ? '搜索选择' : type == 'tag' ? '标签筛选' : ''
  1444. this.typeIndex = this.queryParam.typeIndex
  1445. this.showPop = true
  1446. if (type == 'tag') {
  1447. this.getcompanyTag()
  1448. }
  1449. },
  1450. closePop() {
  1451. this.showPop = false
  1452. },
  1453. resetPop(i) {
  1454. this.idx = []
  1455. this.tagkeywords = ''
  1456. this.tagpageNum = 1
  1457. this.showCompanytag = []
  1458. this.companytag.forEach(tag => {
  1459. tag.checked = false; // 将所有标签的show属性重置为true
  1460. });
  1461. this.showPop = false
  1462. this.$nextTick(() => {
  1463. this.getcompanyTag()
  1464. this.getfsuserListdata()
  1465. })
  1466. },
  1467. closeCalendar() {
  1468. this.showCalendar = false
  1469. },
  1470. confirmCalendar(e) {
  1471. // this.startTime = e[0]
  1472. // this.endTime = e[e.length-1]
  1473. this.showCalendar = false
  1474. this.queryParam.startTime = e.range.after
  1475. this.queryParam.endTime = e.range.before
  1476. this.endTime = e.range.before + ' 23:59:59'
  1477. this.startTime = e.range.after + ' 00:00:00'
  1478. console.log(e)
  1479. // this.getCount()
  1480. },
  1481. bindTypeChange(i) {
  1482. this.typeIndex = i
  1483. },
  1484. confirmPop() {
  1485. this.queryParam.typeIndex = this.typeIndex
  1486. this.showPop = false
  1487. this.showCompanytag = this.companytag.filter(item => item.checked)
  1488. this.idx = this.showCompanytag.map(v => v.tagId)
  1489. //filtter(过滤) 筛选所有checked==true的 然后map返回每一项的id
  1490. if (this.idx.length == 0) {
  1491. this.showCompanytag = this.companytag
  1492. }
  1493. this.$nextTick(() => {
  1494. this.getfsuserListdata("refresh")
  1495. })
  1496. },
  1497. chooseTag(i) {
  1498. this.companytag[i].checked = !this.companytag[i].checked
  1499. },
  1500. choosechangeTag(i) {
  1501. this.changetag[i].checked = !this.changetag[i].checked
  1502. },
  1503. vipInvite() {
  1504. if (!this.vipInviteshow) {
  1505. // this.invitePop = true
  1506. // this.getlink('preload')
  1507. // this.getjssdklist()
  1508. this.getprojectlists()
  1509. // this.invitePop = true
  1510. this.projectId=''
  1511. this.projectbox=true
  1512. this.sharetaglist = null
  1513. } else {
  1514. this.vipInviteshow = false
  1515. }
  1516. },
  1517. showinimg() {
  1518. this.vipInviteshow = true
  1519. },
  1520. copyLink() {
  1521. this.setTimeShow = true
  1522. },
  1523. confirmTime() {
  1524. this.setTimeShow = false
  1525. this.showShare = false
  1526. console.log(this.showInvite)
  1527. this.getshareLink()
  1528. },
  1529. getshareimg() {
  1530. //生成海报
  1531. this.getlink()
  1532. this.codeLink = ''
  1533. uni.showLoading({
  1534. title: '正在生成中...'
  1535. })
  1536. const url = window.location.href.split('#')[0]
  1537. const param = {
  1538. companyId: this.user.companyId,
  1539. companyUserId: this.user.userId,
  1540. realLink: url + '#/pages/user/users/becomeVIP' + '?companyId=' +
  1541. this.user.companyId + '&companyUserId=' + this.user.userId + '&tagids=' + this.sharetaglist,
  1542. tagIds: this.sharetaglist,
  1543. }
  1544. becomeVipuserImg(param).then(res => {
  1545. if (res.code == 200) {
  1546. this.codeLink = res.posterImage
  1547. console.log(res)
  1548. } else {
  1549. uni.showToast({
  1550. title: res.msg,
  1551. icon: 'none',
  1552. duration: 2000
  1553. });
  1554. }
  1555. })
  1556. },
  1557. getlink(type) {
  1558. //生成链接
  1559. const param = {
  1560. companyId: this.user.companyId,
  1561. companyUserId: this.user.userId,
  1562. tagids: this.sharetaglist,
  1563. limitTime: this.time
  1564. }
  1565. const url = window.location.href.split('#')[0]
  1566. // console.log(url)
  1567. this.copyLinks = url + '#/pages/user/users/becomeVIP' + '?companyId=' +
  1568. this.user.companyId + '&companyUserId=' + this.user.userId + '&tagids=' + this.sharetaglist
  1569. },
  1570. getshareLink() {
  1571. //生成链接
  1572. this.copyLinks = []
  1573. const param = {
  1574. code: '',
  1575. companyId: this.user.companyId,
  1576. companyUserId: this.user.userId,
  1577. tagids: this.sharetaglist,
  1578. limitTime: this.time
  1579. }
  1580. const url = window.location.href.split('#')[0]
  1581. console.log(url)
  1582. this.copyLinks = url + '#/pages/user/users/becomeVIP' + '?companyId=' +
  1583. this.user.companyId + '&companyUserId=' + this.user.userId + '&tagids=' + this.sharetaglist
  1584. console.log(this.copyLinks)
  1585. setTimeout(() => {
  1586. uni.setClipboardData({
  1587. data: String(this.copyLinks),
  1588. success: () => {
  1589. uni.showToast({
  1590. title: '复制成功',
  1591. icon: 'none',
  1592. duration: 2000
  1593. });
  1594. setTimeout(() => {
  1595. this.invitePop = false
  1596. }, 200)
  1597. },
  1598. })
  1599. }, 100)
  1600. },
  1601. mescrollInit(mescroll) {
  1602. this.mescroll = mescroll;
  1603. },
  1604. /*下拉刷新的回调 */
  1605. downCallback(mescroll) {
  1606. mescroll.resetUpScroll()
  1607. },
  1608. upCallback(page) {
  1609. //联网加载数据
  1610. var that = this;
  1611. var data = {
  1612. courseId: this.courseId,
  1613. status: '',
  1614. pageNum: page.num,
  1615. pageSize: page.size
  1616. };
  1617. uni.showLoading({
  1618. title: "加载中..."
  1619. })
  1620. },
  1621. }
  1622. }
  1623. </script>
  1624. <style lang="scss" scoped>
  1625. .probg{
  1626. color: #666;
  1627. }
  1628. .probgsel{
  1629. background-color: #1677ff;
  1630. color: #fff;
  1631. border: none;
  1632. }
  1633. .quedingpro{
  1634. background-color: #1677ff;
  1635. color: #fff;
  1636. border-radius: 80rpx;
  1637. height: 80rpx;
  1638. line-height: 80rpx;
  1639. width: 60%;
  1640. margin: 0 auto;
  1641. margin-top: 40rpx;
  1642. text-align: center;
  1643. }
  1644. .card-share {
  1645. position: relative;
  1646. }
  1647. .share {
  1648. display: inline-block;
  1649. position: absolute;
  1650. bottom: 0;
  1651. left: 0;
  1652. width: 100%;
  1653. height: 55%;
  1654. opacity: 0;
  1655. }
  1656. .imgshe {
  1657. display: flex;
  1658. flex-direction: row-reverse
  1659. }
  1660. .point-box {
  1661. height: 100%;
  1662. width: 100%;
  1663. .xu-box {
  1664. border: #f5f5f5 4rpx dashed;
  1665. padding: 20rpx 20rpx;
  1666. }
  1667. }
  1668. .codeimg {
  1669. position: absolute;
  1670. z-index: 9999;
  1671. left: 40rpx;
  1672. top: 40rpx;
  1673. }
  1674. #codeurl {
  1675. position: relative;
  1676. }
  1677. .checked-bg {
  1678. border: 1px solid #1677ff !important;
  1679. color: #1677ff !important;
  1680. background-color: #e7f1fe !important;
  1681. }
  1682. .changetagbtn {
  1683. width: 45%;
  1684. height: 80rpx;
  1685. border-radius: 50rpx;
  1686. text-align: center;
  1687. line-height: 80rpx;
  1688. }
  1689. ::v-deep {
  1690. .foot-select {
  1691. width:calc(100% - 40rpx) ;
  1692. padding: 20rpx 20rpx;
  1693. padding-bottom: 60rpx;
  1694. z-index: 10000 !important;
  1695. position: fixed;
  1696. bottom: 0;
  1697. margin-left: -24rpx !important;
  1698. }
  1699. }
  1700. ::v-deep {
  1701. .model .u-fade-enter-active {
  1702. z-index: 10075 !important;
  1703. }
  1704. }
  1705. ::v-deep {
  1706. .uni-calendar__mask {
  1707. z-index: 11000 !important;
  1708. }
  1709. .uni-calendar__content {
  1710. z-index: 12000 !important;
  1711. }
  1712. }
  1713. .containers {
  1714. font-family: PingFang SC, PingFang SC;
  1715. font-weight: 400;
  1716. font-size: 14px;
  1717. color: #222222;
  1718. height: 100%;
  1719. overflow: hidden;
  1720. }
  1721. .boxnav {
  1722. flex-wrap: wrap;
  1723. padding: 0 0 0 10px;
  1724. &-item {
  1725. width: 50%;
  1726. overflow: hidden;
  1727. }
  1728. &-item-info {
  1729. border: 1px solid #f5f5f5;
  1730. text-align: center;
  1731. color: #222;
  1732. background-color: #f5f5f5;
  1733. border-radius: 3px;
  1734. padding: 5px;
  1735. margin: 0 10px 10px 0;
  1736. }
  1737. &-active {
  1738. border: 1px solid #1677ff !important;
  1739. color: #1677ff !important;
  1740. background-color: #e7f1fe !important;
  1741. }
  1742. }
  1743. .calendar-day {
  1744. font-family: PingFang SC, PingFang SC;
  1745. font-weight: 400;
  1746. font-size: 12px;
  1747. color: #999;
  1748. flex: 1;
  1749. min-height: 30px;
  1750. background-color: #f5f5f5;
  1751. border-radius: 4px;
  1752. margin: 0 10px 10px 0;
  1753. }
  1754. .setTimebox {
  1755. font-family: PingFang SC, PingFang SC;
  1756. font-weight: 400;
  1757. font-size: 14px;
  1758. width: fit-content;
  1759. height: fit-content;
  1760. }
  1761. .timetip {
  1762. font-family: PingFang SC, PingFang SC;
  1763. font-weight: 400;
  1764. font-size: 14px;
  1765. color: #2979ff;
  1766. text-align: center;
  1767. margin-bottom: 5px;
  1768. }
  1769. .popbox {
  1770. background-color: #fff;
  1771. border-radius: 12px;
  1772. font-family: PingFang SC, PingFang SC;
  1773. font-weight: 400;
  1774. font-size: 14px;
  1775. color: #333;
  1776. padding-bottom: 120rpx;
  1777. &-head {
  1778. padding: 15px;
  1779. font-weight: bold;
  1780. font-size: 15px;
  1781. text-align: center;
  1782. position: relative;
  1783. }
  1784. .close-circle {
  1785. position: absolute;
  1786. right: 10px;
  1787. top: 50%;
  1788. transform: translateY(-50%);
  1789. }
  1790. &-body {
  1791. padding: 10px 10px;
  1792. }
  1793. .radiobox {
  1794. &-item {
  1795. padding: 10px 0;
  1796. border-bottom: 1px solid #f5f5f5;
  1797. &:last-child {
  1798. border-bottom: none;
  1799. }
  1800. }
  1801. }
  1802. &-footer {
  1803. padding: 15px 0;
  1804. }
  1805. &-footer-btn {
  1806. flex: 1;
  1807. height: 44px;
  1808. line-height: 44px;
  1809. margin: 0 10px;
  1810. border-radius: 50px;
  1811. border: none;
  1812. font-family: PingFang SC, PingFang SC;
  1813. font-weight: 400;
  1814. font-size: 14px;
  1815. color: #333;
  1816. &::after {
  1817. border: none;
  1818. }
  1819. }
  1820. .con-btn {
  1821. background-color: #1677ff;
  1822. color: #fff;
  1823. }
  1824. .choosetitle {
  1825. font-family: PingFang SC, PingFang SC;
  1826. font-weight: 400;
  1827. font-size: 15px;
  1828. color: #333;
  1829. }
  1830. .invitetip {
  1831. margin-top: 10px;
  1832. background-color: #ebf5fb;
  1833. color: #1677ff;
  1834. padding: 5px 10px;
  1835. border-radius: 5px;
  1836. }
  1837. .sharePop-item {
  1838. padding: 0 10px;
  1839. box-sizing: border-box;
  1840. font-family: PingFang SC, PingFang SC;
  1841. font-weight: 400;
  1842. font-size: 14px;
  1843. display: inline-flex !important;
  1844. image {
  1845. height: 48px;
  1846. width: 48px;
  1847. margin-bottom: 10px;
  1848. }
  1849. }
  1850. }
  1851. .headbox {
  1852. background-color: #fff;
  1853. .subsection {
  1854. height: 45px;
  1855. padding: 4px;
  1856. }
  1857. .participate-order {
  1858. font-size: 12px;
  1859. image {
  1860. width: 15px;
  1861. height: 15px;
  1862. }
  1863. }
  1864. }
  1865. .tag-active {
  1866. background-color: #ffeceb !important;
  1867. color: #f93e3e !important;
  1868. border: 1px solid #f93e3e !important;
  1869. }
  1870. .tagbox {
  1871. padding-top: 10rpx;
  1872. font-size: 12px;
  1873. color: #1677ff;
  1874. &-list {
  1875. margin: 0 0 -6px 6px;
  1876. flex-wrap: wrap;
  1877. }
  1878. &-item {
  1879. height: 26px;
  1880. padding: 0 8px;
  1881. margin: 0 6px 6px 0;
  1882. border-radius: 4px;
  1883. background-color: #f5f5f5;
  1884. color: #999;
  1885. border: 1px solid #f5f5f5;
  1886. box-sizing: border-box;
  1887. font-size: 12px;
  1888. }
  1889. }
  1890. .invite-member {
  1891. height: 55px;
  1892. width: 50px;
  1893. position: fixed;
  1894. bottom: 110px;
  1895. right: 10px;
  1896. cursor: pointer;
  1897. .intimg {
  1898. width: 50px;
  1899. height: 55px;
  1900. }
  1901. }
  1902. .invite-members {
  1903. right: -68rpx;
  1904. }
  1905. .falseimg {
  1906. position: absolute;
  1907. width: 30rpx;
  1908. height: 30rpx;
  1909. top: 0rpx;
  1910. right: -8rpx;
  1911. }
  1912. .userlist {
  1913. padding: 24rpx;
  1914. }
  1915. </style>