当前位置:网站首页>Powerful avatar making artifact wechat applet
Powerful avatar making artifact wechat applet
2022-07-03 12:42:00 【Programmer - Nan】
This is a relatively rich avatar making applet seen at present
Have rich templates , A variety of basic classifications
Support direct access to wechat avatars , Or upload pictures directly
In addition, if uploaded, it can also support multiple functions such as image modification and editing
And take out CPS, Take a taxi CPS, Restaurant CPS, Movie tickets, etc CPS function
In addition, it supports more applet recommendations , Better drainage for other small programs
design sketch


<view class="cu-modal {
{modalName?'show':''}}" wx:if="{
{modalName}}">
<view class="cu-dialog">
<view class="cu-bar bg-white justify-end">
<view class="content-login"> reminder </view>
<view bindtap="hideModal" class="action">
<text class="cuIcon-close text-red"></text>
</view>
</view>
<view class="padding-xl">
<button bindtap="handleLogin" class="btn-an cu-btn-login round bg-red button-hover "> Please authorize login first </button>
</view>
</view>
</view>
<view class="content">
<view class="loading" wx:if="{
{loadingDH}}">
<view class="thorui-loading__2">
<view class="thorui-ani__1"></view>
<view class="thorui-ani__2"></view>
<view></view>
</view>
</view>
<view class="btns">
<view class="header" wx:if="{
{!loadingDH}}">
<view class="canvas" style="background-image: url({
{uploadImgUrl}});background-size:100% 100%;" wx:if="{
{SucaiImg}}">
<image src="{
{SucaiImg}}"></image>
</view>
<image class="canvas" src="{
{uploadImgUrl}}" wx:else></image>
<canvas canvasId="myAvatar" class="canvas" style="top:-1000px"></canvas>
</view>
</view>
</view>
<view>
<view class="grid col-2 padding-sm">
<view class=" text-center">
<button bindtap="handleLogin" class=" cu-btn round bg-z-gray shadow-blur button-hover" style="height: 30px;">
<image class="login-img margin-right-xs" src="../../static/image/wx_icon.png"></image>
<text class="text-white text-sm"> Authorized wechat Avatar </text>
</button>
</view>
<view class=" text-center">
<button bindtap="upimg" class=" cu-btn round bg-z-gray shadow-blur button-hover " style="height: 30px;">
<image class="login-img margin-right-xs" src="../../static/image//tp_icon.png"></image>
<text class="text-white text-sm"> Select upload image </text>
</button>
</view>
</view>
<scroll-view bindscrolltolower="scrollToLower" class="scrollView" lowerThreshold="30" scrollY="true" style="height:{
{scrollHeight}}px;background: #ffffff;" upperThreshold="0">
<view class="grid col-4 grid-square padding-lr-xs">
<view wx:if="{
{imgData.length>0}}" wx:for="{
{imgData}}" wx:key="index">
<image bind:tap="chooseImg" class="imgList {
{selSucaiIndex==index?'selClass':'selNo'}}" data-id="{
{item.id}}" data-index="{
{index}}" data-item="{
{item.is_lock?'lock':''}}" data-url="{
{item.image_url}}" lazyLoad="true" mode="aspectFill" src="{
{item.image_url}}"></image>
<image bindtap="suo" class="suo" src="../../image/suo.png" wx:if="{
{item.is_lock}}"></image>
</view>
</view>
</scroll-view>
</view>
<view class="grid col-2 btn-view">
<view class=" text-center">
<button class="btn-an cu-btn-an round bg-z-gray shadow-blur button-hover " openType="share" style="width: 90%;">
<text class="text-white text-df cuIcon-forward margin-right-xs"></text>
<text class="text-white text-df"> Friends share </text>
</button>
</view>
<view class=" text-center">
<button bindtap="handleSaveImg" class="btn-an cu-btn-an round bg-z-gray shadow-blur button-hover " style="width: 90%;">
<text class="text-white text-df cuIcon-check margin-right-xs"></text>
<text class="text-white text-df"> Make sure to generate </text>
</button>
</view>
</view>
Source code acquisition method
Q Group 1:1084039861
Q Group 2:598199629
Thank you for reading , Feel good about it ~
边栏推荐
- 云计算未来 — 云原生
- 02_ Lock the code, and don't let the "lock" become a worry
- JVM memory model
- 4. Wireless in vivo nano network: electromagnetic propagation model and key points of sensor deployment
- Kung Fu pays off, and learning is done
- 剑指Offer06. 从尾到头打印链表
- Define a list, store n integers, and calculate the length, maximum value, minimum value and average value of the list
- Xctf mobile--app1 problem solving
- Swift return type is a function of function
- 电压环对 PFC 系统性能影响分析
猜你喜欢

Wechat applet pages always report errors when sending values to the background. It turned out to be this pit!

Solve the problem of VI opening files with ^m at the end

If you can't learn, you have to learn. Jetpack compose writes an im app (I)

阿里大于发送短信(用户微服务--消息微服务)

【计网】第三章 数据链路层(2)流量控制与可靠传输、停止等待协议、后退N帧协议(GBN)、选择重传协议(SR)

T430 toss and install OS majave 10.14

剑指Offer06. 从尾到头打印链表

Alibaba is bigger than sending SMS (user microservice - message microservice)

With pictures and texts, summarize the basic review of C language in detail, so that all kinds of knowledge points are clear at a glance?

Application of ncnn Neural Network Computing Framework in Orange Pi 3 Lts Development Board
随机推荐
剑指Offer04. 二维数组中的查找【中等】
【计网】第三章 数据链路层(2)流量控制与可靠传输、停止等待协议、后退N帧协议(GBN)、选择重传协议(SR)
云计算未来 — 云原生
With pictures and texts, summarize the basic review of C language in detail, so that all kinds of knowledge points are clear at a glance?
Sword finger offer06 Print linked list from end to end
temp
阿里大于发送短信(用户微服务--消息微服务)
Redhat5 installing socket5 proxy server
Enable SASL authentication for memcached
Adult adult adult
Using swift language features, write a pseudo-random number generator casually
Use Tencent cloud IOT platform to connect custom esp8266 IOT devices (realized by Tencent continuous control switch)
强大的头像制作神器微信小程序
手机号码变成空号导致亚马逊账号登陆两步验证失败的恢复网址及方法
Swift Error Handling
Flinksql can directly create tables and read MySQL or Kafka data on the client side, but how can it automatically flow and calculate?
Sword finger offer05 Replace spaces
(最新版) Wifi分销多开版+安装框架
Tensorflow binary installation & Failure
2020-11_ Technical experience set