Commit e9622412 by liimin

Merge branch 'v1.0.0' of http://192.168.3.233:8090/saas/mini-program/hmd into v1.0.0

2 parents 5da3bfe3 ab44df63
......@@ -2,6 +2,10 @@ import api from '../request/http'
module.exports = {
getServiceCode(data) {
return api.fetch('dracIm.api.entmicro.findMiniProgramIm',data)
return api.fetch('dracIm.api.entmicro.findMiniProgramIm', data)
},
/**智能外呼-联系人 */
findByActivityIdAndPhone(data) {
return api.fetch('dracIm.api.entmicro.findByActivityIdAndPhone', data)
}
}
\ No newline at end of file
.layout {
padding: 40rpx 40rpx 100rpx;
}
.layout .logo {
width: 190rpx;
height: 48rpx;
margin-bottom: 32rpx;
}
.layout .box {
height: 1068rpx;
background: #ffffff;
border-radius: 16rpx;
box-sizing: border-box;
padding: 32rpx;
}
.box .merchant {
font-size: 36rpx;
color: #333333;
font-weight: 600;
}
.box .merchant .icon {
width: 96rpx;
height: 96rpx;
border-radius: 100%;
overflow: hidden;
margin-right: 16rpx;
flex-shrink: 0;
}
.box .merchant .name {
animation: show-text 2s forwards;
}
@keyframes show-text {
0% {
width: 0;
}
100% {
width: calc(100% - 112rpx);
}
}
.box .qr-box {
height: 624rpx;
/* background: #f8f8f8; */
border-radius: 16rpx;
margin: 32rpx 0 48rpx;
flex-direction: column;
justify-content: center;
}
.box .qr-box .text {
font-size: 28rpx;
color: #727272;
width: 450rpx;
text-align: left;
}
.qr-box .icon {
width: 42rpx;
height: 48rpx;
margin: 32rpx 0 26rpx;
}
.qr-box .qr {
width: 310rpx;
height: 310rpx;
background-color: #fff;
position: relative;
}
.qr-box .qr .btn{
position: absolute;
width: 112rpx;
height: 112rpx;
}
.qr-box .refresh{
color: #5850FF;
font-size: 24rpx;
margin: 8rpx 0 12rpx;
}
.box .title {
font-size: 28rpx;
color: #c2c2c2;
text-align: center;
margin-bottom: 32rpx;
}
.box .list {
display: grid;
grid-template-columns: repeat(2, 1fr);
font-size: 28rpx;
color: #727272;
gap: 20rpx 0;
}
.box .list .item .icon {
width: 24rpx;
height: 24rpx;
margin-right: 8rpx;
}
.layout > .tips {
font-size: 24rpx;
color: #a2a2a2;
margin-top: 64rpx;
text-align: center;
}
@import "../../serviceCode/serviceCode.scss";
\ No newline at end of file
<view class="layout">
<view class="box">
<view class="merchant flex">
<view class="icon">
<glsx-image webp src="pages/default-merchant.png"></glsx-image>
</view>
<block wx:if="{{detail.merchantName}}">
<view class="name text-hide">{{detail.merchantName}}</view>
</block>
</view>
<view class="qr-box flex">
<view class="text">“您好,我是您的专属服务顾问。长按识别二维码,添加我的企业微信”</view>
<view class="icon">
<glsx-image webp src="pages/qr-icon.png"></glsx-image>
<view class="bg">
<glsx-image src="home/service/box-bg.png"></glsx-image>
</view>
<view class="icon">
<glsx-image src="home/service/portrait.png"></glsx-image>
</view>
<view class="name">
<glsx-image src="home/service/name.png"></glsx-image>
</view>
<view class="title x-center">
<glsx-image src="home/service/title.png"></glsx-image>
</view>
<view class="sub-title x-center">
<glsx-image src="home/service/sub-title.png"></glsx-image>
</view>
<view class="line x-center">
<glsx-image src="home/service/line.png"></glsx-image>
</view>
<view class="receive x-center">
<glsx-image src="home/service/receive.png"></glsx-image>
</view>
<view class="qr-box x-center">
<glsx-image src="home/service/qr-box.png"></glsx-image>
<view class="qr x-center">
<glsx-image webp src="{{detail.url}}" show-menu-by-longpress="{{detail.url}}" bindlongtap="longtap"></glsx-image>
</view>
<view class="qr">
<glsx-image webp src="{{detail.url || 'pages/qr.png'}}" show-menu-by-longpress="{{detail.url}}" bindlongtap="longtap"></glsx-image>
<block wx:if="{{!userInfo || !detail.url}}">
<view class="btn box-center" bindtap="refresh">
<glsx-image webp src="pages/btn.png"></glsx-image>
</view>
</block>
<view class="wx-tips">
<glsx-image src="home/service/wx.png"></glsx-image>
</view>
<block wx:if="{{!userInfo}}">
<view class="refresh">
点击刷新,重新授权
</view>
</block>
</view>
<view class="title">— 添加我的企业微信可获得以下服务 —</view>
<view class="list">
<block wx:for="{{list}}" wx:key="index">
<view class="item text-center">
<view class="icon">
<glsx-image webp src="pages/active-icon.png"></glsx-image>
</view>
{{item}}
</view>
</block>
</view>
<view class="qr-bg x-center">
<glsx-image src="home/service/qr-icon.png"></glsx-image>
</view>
<view class="tips">
<glsx-image src="home/service/tips.png"></glsx-image>
</view>
</view>
<view class="tips">—— 顾客至上 服务第一 ——</view>
</view>
\ No newline at end of file
/* pages/serviceCode/serviceCode.wxss */
.layout {
padding: 40rpx 40rpx 100rpx;
}
.layout .logo {
width: 190rpx;
height: 48rpx;
margin-bottom: 32rpx;
}
.layout .box {
height: 1068rpx;
background: #ffffff;
border-radius: 16rpx;
box-sizing: border-box;
padding: 32rpx;
}
.box .merchant {
font-size: 36rpx;
color: #333333;
font-weight: 600;
}
.box .merchant .icon {
width: 96rpx;
height: 96rpx;
border-radius: 100%;
overflow: hidden;
margin-right: 16rpx;
flex-shrink: 0;
}
.box .merchant .name {
animation: show-text 2s forwards;
}
@keyframes show-text {
0% {
width: 0;
height: 1443rpx;
&::after{
position: fixed;
width: 100vw;
height: 100%;
left: 0;
top: 0;
background-color: rgb(186,9,16);
content: '';
z-index: -10;
}
100% {
width: calc(100% - 112rpx);
.box{
margin: 0 50rpx;
height: 1276rpx;
position: relative;
.bg{
width: 100%;
height: 100%;
position: absolute;
z-index: -9;
left: 0;
top: 0;
}
.icon{
position: absolute;
left: 46rpx;
top: 78rpx;
width: 80rpx;
height: 80rpx;
}
.name{
position: absolute;
top: 107rpx;
left: 139rpx;
width: 191rpx;
height: 24rpx;
}
.title{
position: absolute;
top: 204rpx;
width: 438rpx;
height: 54rpx;
}
.sub-title{
position: absolute;
top: 290rpx;
width: 424rpx;
height: 117rpx;
}
.line{
position: absolute;
width: 339rpx;
height: 3rpx;
top: 486rpx;
}
.receive{
position: absolute;
width: 121rpx;
height: 29rpx;
top: 473rpx;
}
.qr-box{
position: absolute;
top: 526rpx;
width: 312rpx;
height: 312rpx;
.wx-tips{
position: absolute;
left: 59rpx;
bottom: 16rpx;
width: 206rpx;
height: 22rpx;
}
.qr{
position: absolute;
width: 230rpx;
height: 230rpx;
top: 33rpx;
}
}
.qr-bg{
position: absolute;
top: 559rpx;
width: 559rpx;
height: 235rpx;
z-index: -1;
}
.tips{
position: absolute;
right: 0;
bottom: -34rpx;
width: 285rpx;
height: 17rpx;
}
}
}
.box .qr-box {
height: 624rpx;
/* background: #f8f8f8; */
border-radius: 16rpx;
margin: 32rpx 0 48rpx;
flex-direction: column;
justify-content: center;
}
.box .qr-box .text {
font-size: 28rpx;
color: #727272;
width: 450rpx;
text-align: left;
}
.qr-box .icon {
width: 42rpx;
height: 48rpx;
margin: 32rpx 0 26rpx;
}
.qr-box .qr {
width: 310rpx;
height: 310rpx;
background-color: #fff;
position: relative;
}
.qr-box .qr .btn{
position: absolute;
width: 112rpx;
height: 112rpx;
}
.qr-box .refresh{
color: #5850FF;
font-size: 24rpx;
margin: 8rpx 0 12rpx;
}
.box .title {
font-size: 28rpx;
color: #c2c2c2;
text-align: center;
margin-bottom: 32rpx;
}
.box .list {
display: grid;
grid-template-columns: repeat(2, 1fr);
font-size: 28rpx;
color: #727272;
gap: 20rpx 0;
}
.box .list .item .icon {
width: 24rpx;
height: 24rpx;
margin-right: 8rpx;
}
.layout > .tips {
font-size: 24rpx;
color: #a2a2a2;
margin-top: 64rpx;
text-align: center;
}
}
\ No newline at end of file
<view class="layout">
<view class="box">
<view class="merchant flex">
<view class="icon">
<glsx-image webp src="pages/default-merchant.png"></glsx-image>
</view>
<block wx:if="{{detail.merchantName}}">
<view class="name text-hide">{{detail.merchantName}}</view>
</block>
</view>
<view class="qr-box flex">
<view class="text">“您好,我是您的专属服务顾问。长按识别二维码,添加我的企业微信”</view>
<view class="icon">
<glsx-image webp src="pages/qr-icon.png"></glsx-image>
<view class="bg">
<glsx-image src="home/service/box-bg.png"></glsx-image>
</view>
<view class="icon">
<glsx-image src="home/service/portrait.png"></glsx-image>
</view>
<view class="name">
<glsx-image src="home/service/name.png"></glsx-image>
</view>
<view class="title x-center">
<glsx-image src="home/service/title.png"></glsx-image>
</view>
<view class="sub-title x-center">
<glsx-image src="home/service/sub-title.png"></glsx-image>
</view>
<view class="line x-center">
<glsx-image src="home/service/line.png"></glsx-image>
</view>
<view class="receive x-center">
<glsx-image src="home/service/receive.png"></glsx-image>
</view>
<view class="qr-box x-center">
<glsx-image src="home/service/qr-box.png"></glsx-image>
<view class="qr x-center">
<glsx-image webp src="{{detail.url}}" show-menu-by-longpress="{{detail.url}}" bindlongtap="longtap"></glsx-image>
</view>
<view class="qr">
<glsx-image webp src="{{detail.url || 'pages/qr.png'}}" show-menu-by-longpress="{{detail.url}}" bindlongtap="longtap"></glsx-image>
<block wx:if="{{!userInfo || !detail.url}}">
<view class="btn box-center" bindtap="refresh">
<glsx-image webp src="pages/btn.png"></glsx-image>
</view>
</block>
<view class="wx-tips">
<glsx-image src="home/service/wx.png"></glsx-image>
</view>
<block wx:if="{{!userInfo}}">
<view class="refresh">
点击刷新,重新授权
</view>
</block>
</view>
<view class="title">— 添加我的企业微信可获得以下服务 —</view>
<view class="list">
<block wx:for="{{list}}" wx:key="index">
<view class="item text-center">
<view class="icon">
<glsx-image webp src="pages/active-icon.png"></glsx-image>
</view>
{{item}}
</view>
</block>
</view>
<view class="qr-bg x-center">
<glsx-image src="home/service/qr-icon.png"></glsx-image>
</view>
<view class="tips">
<glsx-image src="home/service/tips.png"></glsx-image>
</view>
</view>
<view class="tips">—— 顾客至上 服务第一 ——</view>
</view>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!