Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e427027d
authored
Oct 14, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
替换图片路径
1 parent
df410953
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
22 additions
and
10 deletions
login/accountItems/accountItems.scss
login/accountItems/accountItems.wxml
login/index/components/Agree/Agree.js
login/index/components/Agree/Agree.wxml
login/index/components/Box/Box.js
login/index/components/Box/Box.wxml
login/index/components/TypeList/TypeList.js
login/index/components/TypeList/TypeList.wxml
login/index/index.scss
login/loading/loading.scss
login/loading/loading.wxml
login/accountItems/accountItems.scss
View file @
e427027
...
@@ -16,7 +16,7 @@ page {
...
@@ -16,7 +16,7 @@ page {
content
:
''
;
content
:
''
;
width
:
100%
;
width
:
100%
;
height
:
486rpx
;
height
:
486rpx
;
background
:
url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/login/bg.
png
')
no-repeat
;
background
:
url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/login/bg.
webp
')
no-repeat
;
background-size
:
100%
486rpx
;
background-size
:
100%
486rpx
;
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
...
...
login/accountItems/accountItems.wxml
View file @
e427027
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
{{item.merchantName}}{{item.isSuper?'(超管)':item.userType==1?'(商户号)':'(员工号)'}}
{{item.merchantName}}{{item.isSuper?'(超管)':item.userType==1?'(商户号)':'(员工号)'}}
</view>
</view>
<view class="icon">
<view class="icon">
<image src="
https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/
login/radio.png" />
<image src="
{{IMGURL}}
login/radio.png" />
</view>
</view>
<view class='radio' />
<view class='radio' />
</view>
</view>
...
...
login/index/components/Agree/Agree.js
View file @
e427027
// login/index/components/Agree/Agree.js
// login/index/components/Agree/Agree.js
import
{
imgUrlMixin
}
from
'~/mixins/index'
Component
({
Component
({
behaviors
:
[
imgUrlMixin
],
options
:
{
options
:
{
styleIsolation
:
'shared'
styleIsolation
:
'shared'
},
},
...
...
login/index/components/Agree/Agree.wxml
View file @
e427027
<block wx:if="{{show}}">
<block wx:if="{{show}}">
<view class="agree text-center">
<view class="agree text-center">
<view class="icon {{agree}}" bindtap="agree">
<view class="icon {{agree}}" bindtap="agree">
<image
src="https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/
login/radio.png"></image>
<image
webp src="{{IMGURL}}
login/radio.png"></image>
</view>
</view>
<block wx:if="{{text}}">{{text}}</block>
<block wx:if="{{text}}">{{text}}</block>
<block wx:else>
<block wx:else>
...
...
login/index/components/Box/Box.js
View file @
e427027
...
@@ -7,8 +7,10 @@ import {
...
@@ -7,8 +7,10 @@ import {
}
from
'~/login/lib/index'
}
from
'~/login/lib/index'
import
md5
from
'~/utils/lib/md5'
import
md5
from
'~/utils/lib/md5'
import
network
from
'~/utils/network'
import
network
from
'~/utils/network'
import
{
imgUrlMixin
}
from
'~/mixins/index'
let
thisPage
let
thisPage
Component
({
Component
({
behaviors
:
[
imgUrlMixin
],
options
:
{
options
:
{
styleIsolation
:
'shared'
styleIsolation
:
'shared'
},
},
...
...
login/index/components/Box/Box.wxml
View file @
e427027
<view class="box">
<view class="box">
<block wx:if="{{loginType == 0}}">
<block wx:if="{{loginType == 0}}">
<image webp class="img opacity-view" src="
https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/login/login.png
" />
<image webp class="img opacity-view" src="
{{IMGURL}}login/login.webp
" />
</block>
</block>
<block wx:else>
<block wx:else>
<view class="input-box opacity-view">
<view class="input-box opacity-view">
...
...
login/index/components/TypeList/TypeList.js
View file @
e427027
// login/index/components/TypeList.js
// login/index/components/TypeList.js
import
{
imgUrlMixin
}
from
'~/mixins/index'
Component
({
Component
({
behaviors
:
[
imgUrlMixin
],
/**
/**
* 组件的属性列表
* 组件的属性列表
*/
*/
...
...
login/index/components/TypeList/TypeList.wxml
View file @
e427027
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<block wx:for="{{loginList}}" wx:key="index">
<block wx:for="{{loginList}}" wx:key="index">
<block wx:if="{{loginType != index}}">
<block wx:if="{{loginType != index}}">
<view class="item" bindtap="changLoginType" data-index="{{index}}">
<view class="item" bindtap="changLoginType" data-index="{{index}}">
<image class="icon"
src="https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/
login/icon-{{index}}.png"></image>
<image class="icon"
webp src="{{IMGURL}}
login/icon-{{index}}.png"></image>
{{item}}
{{item}}
</view>
</view>
</block>
</block>
...
...
login/index/index.scss
View file @
e427027
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
content
:
''
;
content
:
''
;
width
:
100%
;
width
:
100%
;
height
:
486rpx
;
height
:
486rpx
;
background
:
url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/login/bg.
png
')
no-repeat
;
background
:
url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/login/bg.
webp
')
no-repeat
;
background-size
:
100%
486rpx
;
background-size
:
100%
486rpx
;
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
...
...
login/loading/loading.scss
View file @
e427027
.layout
{
.layout
{
width
:
100vw
;
width
:
100vw
;
height
:
100vh
;
height
:
100vh
;
display
:
grid
;
display
:
flex
;
place-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
flex-direction
:
column
;
background-color
:
#fff
;
.loading
{
.loading
{
height
:
48rpx
;
height
:
48rpx
;
...
...
login/loading/loading.wxml
View file @
e427027
<view class="layout">
<view class="layout">
<view class="loading">
<image webp src="https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/login/index-loading.webp" mode="widthFix" ></image>
<!-- <view class="loading">
<block wx:for="{{4}}" wx:key="index">
<block wx:for="{{4}}" wx:key="index">
<view></view>
<view></view>
</block>
</block>
</view>
</view>
-->
</view>
</view>
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment