mirror of
https://gitee.com/ShopeX/ECShopX_mobile-frontend
synced 2026-08-12 06:15:38 +08:00
style(custom): code formatting
This commit is contained in:
@@ -1,19 +1,5 @@
|
||||
<!-- +----------------------------------------------------------------------
|
||||
| ECShopX open source E-commerce
|
||||
| ECShopX 开源商城系统
|
||||
+----------------------------------------------------------------------
|
||||
| Copyright (c) 2003-2025 ShopeX,Inc.All rights reserved.
|
||||
+----------------------------------------------------------------------
|
||||
| Corporate Website: https://www.shopex.cn
|
||||
+----------------------------------------------------------------------
|
||||
| Licensed under the Apache License, Version 2.0
|
||||
| http://www.apache.org/licenses/LICENSE-2.0
|
||||
+----------------------------------------------------------------------
|
||||
| The removal of shopeX copyright information without authorization is prohibited.
|
||||
| 未经授权不可去除shopeX商派相关版权
|
||||
+----------------------------------------------------------------------
|
||||
| Author: shopeX Team <mkt@shopex.cn>
|
||||
| Contact: 400-821-3106
|
||||
+----------------------------------------------------------------------
|
||||
-->
|
||||
<view class="_root {{selectable?'_select':''}}" style="{{containerStyle}}"><slot wx:if="{{!nodes[0]}}"/><node id="_root" childs="{{nodes}}" opts="{{[lazyLoad,loadingImg,errorImg,showImgMenu]}}" catchadd="_add"/></view>
|
||||
/**
|
||||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||||
* See LICENSE file for license details.
|
||||
*/
|
||||
<view class="_root {{selectable?'_select':''}}" style="{{containerStyle}}"><slot wx:if="{{!nodes[0]}}"/><node id="_root" childs="{{nodes}}" opts="{{[lazyLoad,loadingImg,errorImg,showImgMenu]}}" catchadd="_add"/></view>
|
||||
|
||||
@@ -1,19 +1,5 @@
|
||||
<!-- +----------------------------------------------------------------------
|
||||
| ECShopX open source E-commerce
|
||||
| ECShopX 开源商城系统
|
||||
+----------------------------------------------------------------------
|
||||
| Copyright (c) 2003-2025 ShopeX,Inc.All rights reserved.
|
||||
+----------------------------------------------------------------------
|
||||
| Corporate Website: https://www.shopex.cn
|
||||
+----------------------------------------------------------------------
|
||||
| Licensed under the Apache License, Version 2.0
|
||||
| http://www.apache.org/licenses/LICENSE-2.0
|
||||
+----------------------------------------------------------------------
|
||||
| The removal of shopeX copyright information without authorization is prohibited.
|
||||
| 未经授权不可去除shopeX商派相关版权
|
||||
+----------------------------------------------------------------------
|
||||
| Author: shopeX Team <mkt@shopex.cn>
|
||||
| Contact: 400-821-3106
|
||||
+----------------------------------------------------------------------
|
||||
-->
|
||||
<wxs module="use">var e={abbr:!0,b:!0,big:!0,code:!0,del:!0,em:!0,i:!0,ins:!0,label:!0,q:!0,small:!0,span:!0,strong:!0,sub:!0,sup:!0};module.exports=function(n){return!n.c&&(!n.children||"a"===n.name||!e[n.name]&&-1===(n.attrs.style||"").indexOf("inline"))};</wxs><template name="el"><block wx:if="{{n.name==='img'}}"><image wx:if="{{(opts[1]&&!ctrl[i])||ctrl[i]<0}}" class="_img" style="{{n.attrs.style}}" src="{{ctrl[i]<0?opts[2]:opts[1]}}" mode="widthFix"/><image id="{{n.attrs.id}}" class="_img {{n.attrs.class}}" style="{{ctrl[i]===-1?'display:none;':''}}width:{{ctrl[i]||1}}px;height:1px;{{n.attrs.style}}" src="{{n.attrs.src}}" mode="{{n.h?'':'widthFix'}}" lazy-load="{{opts[0]}}" webp="{{n.webp}}" show-menu-by-longpress="{{opts[3]&&!n.attrs.ignore}}" data-i="{{i}}" bindload="imgLoad" binderror="mediaError" catchtap="imgTap" bindlongpress="noop"/></block><text wx:elif="{{n.text}}" user-select="{{n.us}}" decode>{{n.text}}</text><text wx:elif="{{n.name==='br'}}">\n</text><view wx:elif="{{n.name==='a'}}" id="{{n.attrs.id}}" class="{{n.attrs.href?'_a ':''}}{{n.attrs.class}}" hover-class="_hover" style="display:inline;{{n.attrs.style}}" data-i="{{i}}" catchtap="linkTap"><node childs="{{n.children}}" opts="{{opts}}" style="display:inherit"/></view><video wx:elif="{{n.name==='video'}}" id="{{n.attrs.id}}" class="{{n.attrs.class}}" style="{{n.attrs.style}}" autoplay="{{n.attrs.autoplay}}" controls="{{n.attrs.controls}}" loop="{{n.attrs.loop}}" muted="{{n.attrs.muted}}" poster="{{n.attrs.poster}}" src="{{n.src[ctrl[i]||0]}}" data-i="{{i}}" bindplay="play" binderror="mediaError"/><audio wx:elif="{{n.name==='audio'}}" id="{{n.attrs.id}}" class="{{n.attrs.class}}" style="{{n.attrs.style}}" author="{{n.attrs.author}}" controls="{{n.attrs.controls}}" loop="{{n.attrs.loop}}" name="{{n.attrs.name}}" poster="{{n.attrs.poster}}" src="{{n.src[ctrl[i]||0]}}" data-i="{{i}}" bindplay="play" binderror="mediaError"/><rich-text wx:else id="{{n.attrs.id}}" style="{{n.f}}" nodes="{{[n]}}"/></template><block wx:for="{{childs}}" wx:for-item="n1" wx:for-index="i1" wx:key="i1"><template wx:if="{{use(n1)}}" is="el" data="{{n:n1,i:''+i1,opts:opts,ctrl:ctrl}}"/><view wx:else id="{{n1.attrs.id}}" class="_{{n1.name}} {{n1.attrs.class}}" style="{{n1.attrs.style}}"><block wx:for="{{n1.children}}" wx:for-item="n2" wx:for-index="i2" wx:key="i2"><template wx:if="{{use(n2)}}" is="el" data="{{n:n2,i:i1+'_'+i2,opts:opts,ctrl:ctrl}}"/><view wx:else id="{{n2.attrs.id}}" class="_{{n2.name}} {{n2.attrs.class}}" style="{{n2.attrs.style}}"><block wx:for="{{n2.children}}" wx:for-item="n3" wx:for-index="i3" wx:key="i3"><template wx:if="{{use(n3)}}" is="el" data="{{n:n3,i:i1+'_'+i2+'_'+i3,opts:opts,ctrl:ctrl}}"/><view wx:else id="{{n3.attrs.id}}" class="_{{n3.name}} {{n3.attrs.class}}" style="{{n3.attrs.style}}"><block wx:for="{{n3.children}}" wx:for-item="n4" wx:for-index="i4" wx:key="i4"><template wx:if="{{use(n4)}}" is="el" data="{{n:n4,i:i1+'_'+i2+'_'+i3+'_'+i4,opts:opts,ctrl:ctrl}}"/><view wx:else id="{{n4.attrs.id}}" class="_{{n4.name}} {{n4.attrs.class}}" style="{{n4.attrs.style}}"><block wx:for="{{n4.children}}" wx:for-item="n5" wx:for-index="i5" wx:key="i5"><template wx:if="{{use(n5)}}" is="el" data="{{n:n5,i:i1+'_'+i2+'_'+i3+'_'+i4+'_'+i5,opts:opts,ctrl:ctrl}}"/><node wx:else id="{{n5.attrs.id}}" class="_{{n5.name}} {{n5.attrs.class}}" style="{{n5.attrs.style}}" childs="{{n5.children}}" opts="{{opts}}"/></block></view></block></view></block></view></block></view></block>
|
||||
/**
|
||||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||||
* See LICENSE file for license details.
|
||||
*/
|
||||
<wxs module="use">var e={abbr:!0,b:!0,big:!0,code:!0,del:!0,em:!0,i:!0,ins:!0,label:!0,q:!0,small:!0,span:!0,strong:!0,sub:!0,sup:!0};module.exports=function(n){return!n.c&&(!n.children||"a"===n.name||!e[n.name]&&-1===(n.attrs.style||"").indexOf("inline"))};</wxs><template name="el"><block wx:if="{{n.name==='img'}}"><image wx:if="{{(opts[1]&&!ctrl[i])||ctrl[i]<0}}" class="_img" style="{{n.attrs.style}}" src="{{ctrl[i]<0?opts[2]:opts[1]}}" mode="widthFix"/><image id="{{n.attrs.id}}" class="_img {{n.attrs.class}}" style="{{ctrl[i]===-1?'display:none;':''}}width:{{ctrl[i]||1}}px;height:1px;{{n.attrs.style}}" src="{{n.attrs.src}}" mode="{{n.h?'':'widthFix'}}" lazy-load="{{opts[0]}}" webp="{{n.webp}}" show-menu-by-longpress="{{opts[3]&&!n.attrs.ignore}}" data-i="{{i}}" bindload="imgLoad" binderror="mediaError" catchtap="imgTap" bindlongpress="noop"/></block><text wx:elif="{{n.text}}" user-select="{{n.us}}" decode>{{n.text}}</text><text wx:elif="{{n.name==='br'}}">\n</text><view wx:elif="{{n.name==='a'}}" id="{{n.attrs.id}}" class="{{n.attrs.href?'_a ':''}}{{n.attrs.class}}" hover-class="_hover" style="display:inline;{{n.attrs.style}}" data-i="{{i}}" catchtap="linkTap"><node childs="{{n.children}}" opts="{{opts}}" style="display:inherit"/></view><video wx:elif="{{n.name==='video'}}" id="{{n.attrs.id}}" class="{{n.attrs.class}}" style="{{n.attrs.style}}" autoplay="{{n.attrs.autoplay}}" controls="{{n.attrs.controls}}" loop="{{n.attrs.loop}}" muted="{{n.attrs.muted}}" poster="{{n.attrs.poster}}" src="{{n.src[ctrl[i]||0]}}" data-i="{{i}}" bindplay="play" binderror="mediaError"/><audio wx:elif="{{n.name==='audio'}}" id="{{n.attrs.id}}" class="{{n.attrs.class}}" style="{{n.attrs.style}}" author="{{n.attrs.author}}" controls="{{n.attrs.controls}}" loop="{{n.attrs.loop}}" name="{{n.attrs.name}}" poster="{{n.attrs.poster}}" src="{{n.src[ctrl[i]||0]}}" data-i="{{i}}" bindplay="play" binderror="mediaError"/><rich-text wx:else id="{{n.attrs.id}}" style="{{n.f}}" nodes="{{[n]}}"/></template><block wx:for="{{childs}}" wx:for-item="n1" wx:for-index="i1" wx:key="i1"><template wx:if="{{use(n1)}}" is="el" data="{{n:n1,i:''+i1,opts:opts,ctrl:ctrl}}"/><view wx:else id="{{n1.attrs.id}}" class="_{{n1.name}} {{n1.attrs.class}}" style="{{n1.attrs.style}}"><block wx:for="{{n1.children}}" wx:for-item="n2" wx:for-index="i2" wx:key="i2"><template wx:if="{{use(n2)}}" is="el" data="{{n:n2,i:i1+'_'+i2,opts:opts,ctrl:ctrl}}"/><view wx:else id="{{n2.attrs.id}}" class="_{{n2.name}} {{n2.attrs.class}}" style="{{n2.attrs.style}}"><block wx:for="{{n2.children}}" wx:for-item="n3" wx:for-index="i3" wx:key="i3"><template wx:if="{{use(n3)}}" is="el" data="{{n:n3,i:i1+'_'+i2+'_'+i3,opts:opts,ctrl:ctrl}}"/><view wx:else id="{{n3.attrs.id}}" class="_{{n3.name}} {{n3.attrs.class}}" style="{{n3.attrs.style}}"><block wx:for="{{n3.children}}" wx:for-item="n4" wx:for-index="i4" wx:key="i4"><template wx:if="{{use(n4)}}" is="el" data="{{n:n4,i:i1+'_'+i2+'_'+i3+'_'+i4,opts:opts,ctrl:ctrl}}"/><view wx:else id="{{n4.attrs.id}}" class="_{{n4.name}} {{n4.attrs.class}}" style="{{n4.attrs.style}}"><block wx:for="{{n4.children}}" wx:for-item="n5" wx:for-index="i5" wx:key="i5"><template wx:if="{{use(n5)}}" is="el" data="{{n:n5,i:i1+'_'+i2+'_'+i3+'_'+i4+'_'+i5,opts:opts,ctrl:ctrl}}"/><node wx:else id="{{n5.attrs.id}}" class="_{{n5.name}} {{n5.attrs.class}}" style="{{n5.attrs.style}}" childs="{{n5.children}}" opts="{{opts}}"/></block></view></block></view></block></view></block></view></block>
|
||||
|
||||
@@ -1,21 +1,7 @@
|
||||
<!-- +----------------------------------------------------------------------
|
||||
| ECShopX open source E-commerce
|
||||
| ECShopX 开源商城系统
|
||||
+----------------------------------------------------------------------
|
||||
| Copyright (c) 2003-2025 ShopeX,Inc.All rights reserved.
|
||||
+----------------------------------------------------------------------
|
||||
| Corporate Website: https://www.shopex.cn
|
||||
+----------------------------------------------------------------------
|
||||
| Licensed under the Apache License, Version 2.0
|
||||
| http://www.apache.org/licenses/LICENSE-2.0
|
||||
+----------------------------------------------------------------------
|
||||
| The removal of shopeX copyright information without authorization is prohibited.
|
||||
| 未经授权不可去除shopeX商派相关版权
|
||||
+----------------------------------------------------------------------
|
||||
| Author: shopeX Team <mkt@shopex.cn>
|
||||
| Contact: 400-821-3106
|
||||
+----------------------------------------------------------------------
|
||||
-->
|
||||
/**
|
||||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||||
* See LICENSE file for license details.
|
||||
*/
|
||||
<view wx:if="{{innerShow}}" class="sp-wx-privacy">
|
||||
<view class="modal-container">
|
||||
<view class="privacy__hd">
|
||||
|
||||
@@ -1,28 +1,14 @@
|
||||
<!-- +----------------------------------------------------------------------
|
||||
| ECShopX open source E-commerce
|
||||
| ECShopX 开源商城系统
|
||||
+----------------------------------------------------------------------
|
||||
| Copyright (c) 2003-2025 ShopeX,Inc.All rights reserved.
|
||||
+----------------------------------------------------------------------
|
||||
| Corporate Website: https://www.shopex.cn
|
||||
+----------------------------------------------------------------------
|
||||
| Licensed under the Apache License, Version 2.0
|
||||
| http://www.apache.org/licenses/LICENSE-2.0
|
||||
+----------------------------------------------------------------------
|
||||
| The removal of shopeX copyright information without authorization is prohibited.
|
||||
| 未经授权不可去除shopeX商派相关版权
|
||||
+----------------------------------------------------------------------
|
||||
| Author: shopeX Team <mkt@shopex.cn>
|
||||
| Contact: 400-821-3106
|
||||
+----------------------------------------------------------------------
|
||||
-->
|
||||
/**
|
||||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||||
* See LICENSE file for license details.
|
||||
*/
|
||||
<!--**
|
||||
* author: Di (微信小程序开发工程师)
|
||||
* organization: WeAppDev(微信小程序开发论坛)(http://weappdev.com)
|
||||
* 垂直微信小程序开发交流社区
|
||||
*
|
||||
*
|
||||
* github地址: https://github.com/icindy/wxParse
|
||||
*
|
||||
*
|
||||
* for: 微信小程序富文本解析
|
||||
* detail : http://weappdev.com/t/wxparse-alpha0-1-html-markdown/184
|
||||
*/-->
|
||||
@@ -982,4 +968,4 @@
|
||||
<template is="WxEmojiView" data="{{item}}" />
|
||||
</block>
|
||||
|
||||
</template>
|
||||
</template>
|
||||
|
||||
@@ -1,28 +1,14 @@
|
||||
<!-- +----------------------------------------------------------------------
|
||||
| ECShopX open source E-commerce
|
||||
| ECShopX 开源商城系统
|
||||
+----------------------------------------------------------------------
|
||||
| Copyright (c) 2003-2025 ShopeX,Inc.All rights reserved.
|
||||
+----------------------------------------------------------------------
|
||||
| Corporate Website: https://www.shopex.cn
|
||||
+----------------------------------------------------------------------
|
||||
| Licensed under the Apache License, Version 2.0
|
||||
| http://www.apache.org/licenses/LICENSE-2.0
|
||||
+----------------------------------------------------------------------
|
||||
| The removal of shopeX copyright information without authorization is prohibited.
|
||||
| 未经授权不可去除shopeX商派相关版权
|
||||
+----------------------------------------------------------------------
|
||||
| Author: shopeX Team <mkt@shopex.cn>
|
||||
| Contact: 400-821-3106
|
||||
+----------------------------------------------------------------------
|
||||
-->
|
||||
/**
|
||||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||||
* See LICENSE file for license details.
|
||||
*/
|
||||
<!--**
|
||||
* author: Di (微信小程序开发工程师)
|
||||
* organization: WeAppDev(微信小程序开发论坛)(http://weappdev.com)
|
||||
* 垂直微信小程序开发交流社区
|
||||
*
|
||||
*
|
||||
* github地址: https://github.com/icindy/wxParse
|
||||
*
|
||||
*
|
||||
* for: 微信小程序富文本解析
|
||||
* detail : http://weappdev.com/t/wxparse-alpha0-1-html-markdown/184
|
||||
*/-->
|
||||
@@ -982,4 +968,4 @@
|
||||
<template is="WxEmojiView" data="{{item}}" />
|
||||
</block>
|
||||
|
||||
</template>
|
||||
</template>
|
||||
|
||||
@@ -1,28 +1,14 @@
|
||||
<!-- +----------------------------------------------------------------------
|
||||
| ECShopX open source E-commerce
|
||||
| ECShopX 开源商城系统
|
||||
+----------------------------------------------------------------------
|
||||
| Copyright (c) 2003-2025 ShopeX,Inc.All rights reserved.
|
||||
+----------------------------------------------------------------------
|
||||
| Corporate Website: https://www.shopex.cn
|
||||
+----------------------------------------------------------------------
|
||||
| Licensed under the Apache License, Version 2.0
|
||||
| http://www.apache.org/licenses/LICENSE-2.0
|
||||
+----------------------------------------------------------------------
|
||||
| The removal of shopeX copyright information without authorization is prohibited.
|
||||
| 未经授权不可去除shopeX商派相关版权
|
||||
+----------------------------------------------------------------------
|
||||
| Author: shopeX Team <mkt@shopex.cn>
|
||||
| Contact: 400-821-3106
|
||||
+----------------------------------------------------------------------
|
||||
-->
|
||||
/**
|
||||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||||
* See LICENSE file for license details.
|
||||
*/
|
||||
<!--**
|
||||
* author: Di (微信小程序开发工程师)
|
||||
* organization: WeAppDev(微信小程序开发论坛)(http://weappdev.com)
|
||||
* 垂直微信小程序开发交流社区
|
||||
*
|
||||
*
|
||||
* github地址: https://github.com/icindy/wxParse
|
||||
*
|
||||
*
|
||||
* for: 微信小程序富文本解析
|
||||
* detail : http://weappdev.com/t/wxparse-alpha0-1-html-markdown/184
|
||||
*/-->
|
||||
@@ -982,4 +968,4 @@
|
||||
<template is="WxEmojiView" data="{{item}}" />
|
||||
</block>
|
||||
|
||||
</template>
|
||||
</template>
|
||||
|
||||
@@ -1,21 +1,7 @@
|
||||
<!-- +----------------------------------------------------------------------
|
||||
| ECShopX open source E-commerce
|
||||
| ECShopX 开源商城系统
|
||||
+----------------------------------------------------------------------
|
||||
| Copyright (c) 2003-2025 ShopeX,Inc.All rights reserved.
|
||||
+----------------------------------------------------------------------
|
||||
| Corporate Website: https://www.shopex.cn
|
||||
+----------------------------------------------------------------------
|
||||
| Licensed under the Apache License, Version 2.0
|
||||
| http://www.apache.org/licenses/LICENSE-2.0
|
||||
+----------------------------------------------------------------------
|
||||
| The removal of shopeX copyright information without authorization is prohibited.
|
||||
| 未经授权不可去除shopeX商派相关版权
|
||||
+----------------------------------------------------------------------
|
||||
| Author: shopeX Team <mkt@shopex.cn>
|
||||
| Contact: 400-821-3106
|
||||
+----------------------------------------------------------------------
|
||||
-->
|
||||
/**
|
||||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||||
* See LICENSE file for license details.
|
||||
*/
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
||||
Reference in New Issue
Block a user