feat: 添加微信群

This commit is contained in:
eric
2022-12-10 19:13:05 +08:00
parent c1f5807fad
commit b287c4da8e
10 changed files with 153 additions and 126 deletions

2
dist/app.js vendored

File diff suppressed because one or more lines are too long

120
dist/base.wxml vendored
View File

@@ -137,14 +137,6 @@
<block>{{i.v}}</block>
</template>
<template name="tmpl_0_channel-video">
<channel-video autoplay="{{i.autoplay}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
<block wx:for="{{i.cn}}" wx:key="sid">
<template is="{{xs.e(cid+1)}}" data="{{i:item,l:l}}" />
</block>
</channel-video>
</template>
<template name="tmpl_0_container">
<template is="{{xs.a(0, i.nn, l)}}" data="{{i:i,cid:0,l:xs.f(l,i.nn)}}" />
</template>
@@ -205,14 +197,6 @@
</scroll-view>
</template>
<template name="tmpl_1_channel-video">
<channel-video autoplay="{{i.autoplay}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
<block wx:for="{{i.cn}}" wx:key="sid">
<template is="{{xs.e(cid+1)}}" data="{{i:item,l:l}}" />
</block>
</channel-video>
</template>
<template name="tmpl_1_container">
<template is="{{xs.a(1, i.nn, l)}}" data="{{i:i,cid:1,l:xs.f(l,i.nn)}}" />
</template>
@@ -273,14 +257,6 @@
</scroll-view>
</template>
<template name="tmpl_2_channel-video">
<channel-video autoplay="{{i.autoplay}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
<block wx:for="{{i.cn}}" wx:key="sid">
<template is="{{xs.e(cid+1)}}" data="{{i:item,l:l}}" />
</block>
</channel-video>
</template>
<template name="tmpl_2_container">
<template is="{{xs.a(2, i.nn, l)}}" data="{{i:i,cid:2,l:xs.f(l,i.nn)}}" />
</template>
@@ -341,14 +317,6 @@
</scroll-view>
</template>
<template name="tmpl_3_channel-video">
<channel-video autoplay="{{i.autoplay}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
<block wx:for="{{i.cn}}" wx:key="sid">
<template is="{{xs.e(cid+1)}}" data="{{i:item,l:l}}" />
</block>
</channel-video>
</template>
<template name="tmpl_3_container">
<template is="{{xs.a(3, i.nn, l)}}" data="{{i:i,cid:3,l:xs.f(l,i.nn)}}" />
</template>
@@ -401,14 +369,6 @@
</text>
</template>
<template name="tmpl_4_channel-video">
<channel-video autoplay="{{i.autoplay}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
<block wx:for="{{i.cn}}" wx:key="sid">
<template is="{{xs.e(cid+1)}}" data="{{i:item,l:l}}" />
</block>
</channel-video>
</template>
<template name="tmpl_4_container">
<template is="{{xs.a(4, i.nn, l)}}" data="{{i:i,cid:4,l:xs.f(l,i.nn)}}" />
</template>
@@ -461,14 +421,6 @@
</text>
</template>
<template name="tmpl_5_channel-video">
<channel-video autoplay="{{i.autoplay}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
<block wx:for="{{i.cn}}" wx:key="sid">
<template is="{{xs.e(cid+1)}}" data="{{i:item,l:l}}" />
</block>
</channel-video>
</template>
<template name="tmpl_5_container">
<template is="{{xs.a(5, i.nn, l)}}" data="{{i:i,cid:5,l:xs.f(l,i.nn)}}" />
</template>
@@ -513,14 +465,6 @@
</text>
</template>
<template name="tmpl_6_channel-video">
<channel-video autoplay="{{i.autoplay}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
<block wx:for="{{i.cn}}" wx:key="sid">
<template is="{{xs.e(cid+1)}}" data="{{i:item,l:l}}" />
</block>
</channel-video>
</template>
<template name="tmpl_6_container">
<template is="{{xs.a(6, i.nn, l)}}" data="{{i:i,cid:6,l:xs.f(l,i.nn)}}" />
</template>
@@ -565,14 +509,6 @@
</text>
</template>
<template name="tmpl_7_channel-video">
<channel-video autoplay="{{i.autoplay}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
<block wx:for="{{i.cn}}" wx:key="sid">
<template is="{{xs.e(cid+1)}}" data="{{i:item,l:l}}" />
</block>
</channel-video>
</template>
<template name="tmpl_7_container">
<template is="{{xs.a(7, i.nn, l)}}" data="{{i:i,cid:7,l:xs.f(l,i.nn)}}" />
</template>
@@ -617,14 +553,6 @@
</text>
</template>
<template name="tmpl_8_channel-video">
<channel-video autoplay="{{i.autoplay}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
<block wx:for="{{i.cn}}" wx:key="sid">
<template is="{{xs.e(cid+1)}}" data="{{i:item,l:l}}" />
</block>
</channel-video>
</template>
<template name="tmpl_8_container">
<template is="{{xs.a(8, i.nn, l)}}" data="{{i:i,cid:8,l:xs.f(l,i.nn)}}" />
</template>
@@ -669,14 +597,6 @@
</text>
</template>
<template name="tmpl_9_channel-video">
<channel-video autoplay="{{i.autoplay}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
<block wx:for="{{i.cn}}" wx:key="sid">
<template is="{{xs.e(cid+1)}}" data="{{i:item,l:l}}" />
</block>
</channel-video>
</template>
<template name="tmpl_9_container">
<template is="{{xs.a(9, i.nn, l)}}" data="{{i:i,cid:9,l:xs.f(l,i.nn)}}" />
</template>
@@ -721,14 +641,6 @@
</text>
</template>
<template name="tmpl_10_channel-video">
<channel-video autoplay="{{i.autoplay}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
<block wx:for="{{i.cn}}" wx:key="sid">
<template is="{{xs.e(cid+1)}}" data="{{i:item,l:l}}" />
</block>
</channel-video>
</template>
<template name="tmpl_10_container">
<template is="{{xs.a(10, i.nn, l)}}" data="{{i:i,cid:10,l:xs.f(l,i.nn)}}" />
</template>
@@ -773,14 +685,6 @@
</text>
</template>
<template name="tmpl_11_channel-video">
<channel-video autoplay="{{i.autoplay}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
<block wx:for="{{i.cn}}" wx:key="sid">
<template is="{{xs.e(cid+1)}}" data="{{i:item,l:l}}" />
</block>
</channel-video>
</template>
<template name="tmpl_11_container">
<template is="{{xs.a(11, i.nn, l)}}" data="{{i:i,cid:11,l:xs.f(l,i.nn)}}" />
</template>
@@ -825,14 +729,6 @@
</text>
</template>
<template name="tmpl_12_channel-video">
<channel-video autoplay="{{i.autoplay}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
<block wx:for="{{i.cn}}" wx:key="sid">
<template is="{{xs.e(cid+1)}}" data="{{i:item,l:l}}" />
</block>
</channel-video>
</template>
<template name="tmpl_12_container">
<template is="{{xs.a(12, i.nn, l)}}" data="{{i:i,cid:12,l:xs.f(l,i.nn)}}" />
</template>
@@ -877,14 +773,6 @@
</text>
</template>
<template name="tmpl_13_channel-video">
<channel-video autoplay="{{i.autoplay}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
<block wx:for="{{i.cn}}" wx:key="sid">
<template is="{{xs.e(cid+1)}}" data="{{i:item,l:l}}" />
</block>
</channel-video>
</template>
<template name="tmpl_13_container">
<template is="{{xs.a(13, i.nn, l)}}" data="{{i:i,cid:13,l:xs.f(l,i.nn)}}" />
</template>
@@ -929,14 +817,6 @@
</text>
</template>
<template name="tmpl_14_channel-video">
<channel-video autoplay="{{i.autoplay}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
<block wx:for="{{i.cn}}" wx:key="sid">
<template is="{{xs.e(cid+1)}}" data="{{i:item,l:l}}" />
</block>
</channel-video>
</template>
<template name="tmpl_14_container">
<template is="{{xs.a(14, i.nn, l)}}" data="{{i:i,cid:14,l:xs.f(l,i.nn)}}" />
</template>

File diff suppressed because one or more lines are too long

View File

@@ -34,6 +34,8 @@
/*! ../wxs/utils */
/*! ./components/WeGroup */
/*! ./context */
/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */
@@ -116,6 +118,10 @@
!*** ./node_modules/@antmjs/vantui/es/field/wxs.js ***!
\*****************************************************/
/*!*****************************************************!*\
!*** ./src/pages/home/components/WeGroup/index.tsx ***!
\*****************************************************/
/*!******************************************************!*\
!*** ./node_modules/@antmjs/vantui/es/grid/index.js ***!
\******************************************************/

View File

@@ -53,3 +53,52 @@
-ms-flex-pack: justify;
justify-content: space-between;
}
.Swiper-box {
min-height: 150rpx;
}
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/cache-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[2]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[3]!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[5]!./src/pages/home/components/WeGroup/index.scss ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.weGroup {
margin-top: 40rpx;
padding: 20rpx;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
background-color: #f5f5f5;
min-height: 100rpx;
}
.weGroup .left {
width: 50x;
height: 50rpx;
margin-right: 40rpx;
}
.weGroup .right {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
padding-right: 20rpx;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
}
.weGroup .right .rightup {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
}

2
dist/utils.wxs vendored
View File

@@ -1,6 +1,6 @@
module.exports = {
a: function (l, n, s) {
var a = ["7","0","19","5","2","12","6","4","51","52","26","21","48","53","54","channel-video"]
var a = ["7","0","19","5","2","12","6","4","51","52","26","21","48","53","54"]
var b = ["4","51","52","26","21","48","53","54"]
if (a.indexOf(n) === -1) {
l = 0