Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
u011369184
shopxo-uniapp
提交
c3344d93
S
shopxo-uniapp
项目概览
u011369184
/
shopxo-uniapp
与 Fork 源项目一致
Fork自
纵之格 / shopxo-uniapp
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
shopxo-uniapp
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
c3344d93
编写于
8月 13, 2023
作者:
G
gongfuxiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
适配新的会员等级插件
上级
d2798893
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
29 addition
and
40 deletion
+29
-40
pages/plugins/activity/detail/detail.vue
pages/plugins/activity/detail/detail.vue
+1
-1
pages/plugins/membershiplevelvip/index/index.vue
pages/plugins/membershiplevelvip/index/index.vue
+18
-16
pages/plugins/signin/index-detail/index-detail.css
pages/plugins/signin/index-detail/index-detail.css
+4
-0
pages/plugins/signin/index-detail/index-detail.vue
pages/plugins/signin/index-detail/index-detail.vue
+6
-23
未找到文件。
pages/plugins/activity/detail/detail.vue
浏览文件 @
c3344d93
...
...
@@ -3,7 +3,7 @@
<view
v-if=
"(data || null) != null"
>
<view
class=
"padding-horizontal-main padding-top-main"
>
<!-- 基础信息 -->
<view
class=
"base-container tc pr padding-main border-radius-main bg-main oh spacing-mb"
:style=
"'background-color:'+data.color+' !important;background-image:url('+
data.cover
+')'"
>
<view
class=
"base-container tc pr padding-main border-radius-main bg-main oh spacing-mb"
:style=
"'background-color:'+data.color+' !important;background-image:url('+
(data.banner || data.cover)
+')'"
>
<view
class=
"text cr-white pa bs-bb text-size wh-auto ht-auto"
>
{{
data
.
describe
}}
</view>
</view>
...
...
pages/plugins/membershiplevelvip/index/index.vue
浏览文件 @
c3344d93
<
template
>
<view>
<view
v-if=
"(data_base || null) != null"
>
<view
class=
"banner tc oh pr wh-auto"
:style=
"'background-image: url(' + d
ata_base.banner
_bg_images + ');'"
>
<view
class=
"banner tc oh pr wh-auto"
:style=
"'background-image: url(' + d
efault_images_data.default
_bg_images + ');'"
>
<!-- 标题 -->
<view
v-if=
"(data_base.banner_top_title || null) != null"
class=
"banner-title single-text text-size-lg margin-top-xxxl"
>
{{
data_base
.
banner_top_title
}}
...
...
@@ -14,9 +14,9 @@
</button>
</navigator>
<!--
数据
列表 -->
<view
v-if=
"(
data_list || null) != null && data_list
.length > 0"
class=
"data-list oh margin-top-xxxl"
>
<block
v-for=
"(item, index) in
data_list
"
:key=
"index"
class=
"item fl"
>
<!--
介绍
列表 -->
<view
v-if=
"(
introduce_data || null) != null && introduce_data
.length > 0"
class=
"data-list oh margin-top-xxxl"
>
<block
v-for=
"(item, index) in
introduce_data
"
:key=
"index"
class=
"item fl"
>
<view
class=
"item fl tc padding-main border-radius-main bg-white"
>
<view
class=
"single-text cr-base text-size fw-b"
>
{{
item
.
name
}}
</view>
<view
class=
"multi-text cr-grey margin-top-sm"
>
{{
item
.
desc
}}
</view>
...
...
@@ -53,8 +53,9 @@
data_bottom_line_status
:
false
,
data_list_loding_status
:
1
,
data_list_loding_msg
:
''
,
data_list
:
[],
data_base
:
null
,
introduce_data
:
[],
data_base
:
null
,
default_images_data
:
null
,
// 自定义分享信息
share_info
:
{}
};
...
...
@@ -85,12 +86,11 @@
// 获取数据
get_data_list
()
{
var
self
=
this
;
uni
.
showLoading
({
title
:
'
加载中...
'
});
if
(
self
.
data_list
.
length
<=
0
)
{
self
.
setData
({
if
(
this
.
introduce_data
.
length
<=
0
)
{
this
.
setData
({
data_list_loding_status
:
1
});
}
...
...
@@ -104,9 +104,10 @@
uni
.
stopPullDownRefresh
();
if
(
res
.
data
.
code
==
0
)
{
var
data
=
res
.
data
.
data
;
self
.
setData
({
data_base
:
data
.
base
||
null
,
data_list
:
data
.
data
||
[],
this
.
setData
({
data_base
:
data
.
base
||
null
,
default_images_data
:
data
.
default_images_data
||
null
,
introduce_data
:
data
.
introduce_data
||
[],
data_list_loding_msg
:
''
,
data_list_loding_status
:
0
,
data_bottom_line_status
:
true
...
...
@@ -118,7 +119,8 @@
share_info
:
{
title
:
this
.
data_base
.
seo_title
||
this
.
data_base
.
application_name
,
desc
:
this
.
data_base
.
seo_desc
,
path
:
'
/pages/plugins/membershiplevelvip/index/index
'
path
:
'
/pages/plugins/membershiplevelvip/index/index
'
,
img
:
this
.
default_images_data
.
default_bg_images
||
this
.
default_images_data
.
default_logo
||
''
}
});
...
...
@@ -130,12 +132,12 @@
}
}
}
else
{
self
.
setData
({
this
.
setData
({
data_bottom_line_status
:
false
,
data_list_loding_status
:
2
,
data_list_loding_msg
:
res
.
data
.
msg
});
if
(
app
.
globalData
.
is_login_check
(
res
.
data
,
self
,
'
get_data_list
'
))
{
if
(
app
.
globalData
.
is_login_check
(
res
.
data
,
this
,
'
get_data_list
'
))
{
app
.
globalData
.
showToast
(
res
.
data
.
msg
);
}
}
...
...
@@ -146,7 +148,7 @@
fail
:
()
=>
{
uni
.
hideLoading
();
uni
.
stopPullDownRefresh
();
self
.
setData
({
this
.
setData
({
data_bottom_line_status
:
false
,
data_list_loding_status
:
2
,
data_list_loding_msg
:
'
服务器请求出错
'
...
...
pages/plugins/signin/index-detail/index-detail.css
浏览文件 @
c3344d93
...
...
@@ -77,4 +77,8 @@
.coming-tips-container
image
{
max-width
:
100%
;
margin-top
:
60
rpx
;
}
.coming-tips-content
{
bottom
:
30
rpx
;
left
:
calc
(
50%
-
82
rpx
);
}
\ No newline at end of file
pages/plugins/signin/index-detail/index-detail.vue
浏览文件 @
c3344d93
...
...
@@ -36,11 +36,6 @@
</view>
</view>
<!-- 广告图片 -->
<view
v-if=
"(data.right_images || null) != null"
class=
"spacing-mb"
>
<image
class=
"wh-auto dis-block border-radius-main"
:src=
"data.right_images"
mode=
"widthFix"
@
tap=
"right_images_event"
></image>
</view>
<!-- 公告信息 -->
<view
v-if=
"(data_base.signin_desc || null) != null && data_base.signin_desc.length > 0"
class=
"spacing-mb"
>
<view
class=
"notice-content"
>
...
...
@@ -60,13 +55,13 @@
<!-- 签到成功提示信息 -->
<view
v-if=
"is_success_tips == 1"
class=
"coming-tips-container am-text-center"
>
<view
class=
"coming-content tc"
>
<view
class=
"coming-content tc
pr
"
>
<view
class=
"icon-close-submit pa"
@
tap=
"coming_success_close_event"
>
<icon
type=
"clear"
size=
"46rpx"
></icon>
</view>
<image
:src=
"
static_url+'coming-success-icon.png'
"
mode=
"widthFix"
></image>
<view
class=
"coming-tips-content"
>
<text
class=
"
bg-white cr-red round padding-top-sm padding-bottom-sm padding-horizontal-main
"
>
获得
<text>
{{
coming_integral
}}
</text>
积分
</text>
<image
:src=
"
data.success_icon
"
mode=
"widthFix"
></image>
<view
class=
"coming-tips-content
pa
"
>
<text
class=
"
cr-red text-size-lg
"
>
获得
<text>
{{
coming_integral
}}
</text>
积分
</text>
</view>
</view>
</view>
...
...
@@ -85,12 +80,9 @@
import
componentNoData
from
"
../../../../components/no-data/no-data
"
;
import
componentBottomLine
from
"
../../../../components/bottom-line/bottom-line
"
;
import
componentGoodsList
from
"
../../../../components/goods-list/goods-list
"
;
var
static_url
=
app
.
globalData
.
get_static_url
(
'
signin
'
,
true
);
export
default
{
data
()
{
return
{
static_url
:
static_url
,
data_bottom_line_status
:
false
,
data_list_loding_status
:
1
,
data_list_loding_msg
:
''
,
...
...
@@ -153,7 +145,7 @@
data
:
data
.
data
||
null
,
team_signin_data
:
data
.
team_signin_data
||
null
,
user_signin_data
:
data
.
user_signin_data
||
null
,
is_already_coming
:
(
data
.
user_signin_data
||
null
)
!=
null
&&
(
data
.
user_signin_data
.
integral
||
0
)
>
0
?
1
:
0
,
is_already_coming
:
(
data
.
user_signin_data
||
null
)
!=
null
&&
(
data
.
user_signin_data
.
current_day
||
0
)
==
1
?
1
:
0
,
data_list_loding_msg
:
''
,
data_list_loding_status
:
0
,
data_bottom_line_status
:
true
...
...
@@ -167,7 +159,7 @@
desc
:
this
.
data
.
seo_desc
,
path
:
'
/pages/plugins/signin/index-detail/index-detail
'
,
query
:
'
id=
'
+
this
.
data
.
id
,
img
:
this
.
data
.
right_images
img
:
this
.
data
.
bg_images
||
this
.
data
.
logo
||
''
}
});
}
...
...
@@ -313,15 +305,6 @@
}
});
}
},
// 图片事件
right_images_event
(
e
)
{
if
((
this
.
data
.
right_images_url
||
null
)
!=
null
)
{
uni
.
navigateTo
({
url
:
this
.
data
.
right_images_url
});
}
}
}
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录