Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxuelai
wechatapp.shangjiadao.com
Commits
2e3fa692
Commit
2e3fa692
authored
Jun 15, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
''
parent
57966f31
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
510 additions
and
32 deletions
+510
-32
index.js
components/advertisement/index.js
+222
-0
index.json
components/advertisement/index.json
+3
-0
index.wxml
components/advertisement/index.wxml
+23
-0
index.wxss
components/advertisement/index.wxss
+201
-0
api.js
constants/api.js
+2
-0
constants.js
constants/constants.js
+4
-4
common.js
service/common.js
+21
-1
index.wxml
src/pages/calendarthemeindex/index.wxml
+2
-2
index.wxss
src/pages/calendarthemeindex/index.wxss
+2
-2
index.wxml
src/pages/circleindex/index.wxml
+2
-2
index.wxss
src/pages/circleindex/index.wxss
+2
-2
index.wxml
src/pages/clockdetail/index.wxml
+2
-2
index.wxss
src/pages/clockdetail/index.wxss
+2
-2
index.wxml
src/pages/growthrecord/index.wxml
+2
-2
index.wxss
src/pages/growthrecord/index.wxss
+2
-2
index.wxml
src/pages/morethemeindex/index.wxml
+2
-2
index.wxss
src/pages/morethemeindex/index.wxss
+2
-2
index.wxss
src/pages/readthemeindex/index.wxss
+2
-2
index.wxml
src/pages/themeindex/index.wxml
+2
-2
index.wxss
src/pages/themeindex/index.wxss
+2
-2
index.json
ucenter/index.json
+2
-1
index.wxml
ucenter/index.wxml
+6
-0
No files found.
components/advertisement/index.js
0 → 100644
View file @
2e3fa692
import
{
judgeJoinAd
,
joinAdPost
}
from
'../../service/common.js'
;
import
{
getwechatmobile
}
from
'../../service/customer/activity.js'
;
import
regexp
from
'../../constants/regexp.js'
;
var
app
=
getApp
();
Component
({
data
:
{
imageRoot
:
app
.
globalData
.
imageRoot
,
imageVersion
:
app
.
globalData
.
imageVersion
,
localImageRoot
:
"../../images"
,
retract
:
false
,
diashow
:
false
,
floatBallShow
:
false
,
name
:
''
,
mobile
:
''
,
sessionCode
:
''
},
properties
:
{
schoolname
:
{
type
:
String
,
value
:
''
},
sid
:
{
type
:
Number
,
value
:
''
},
},
created
()
{
//
},
attached
()
{
},
detached
()
{
// this.judgeIsClock();
},
ready
()
{
this
.
judgeJoinAd
();
const
that
=
this
;
wx
.
login
({
success
(
res
)
{
const
sessionCode
=
res
.
code
;
that
.
setData
({
sessionCode
:
sessionCode
})
}
})
},
pageLifetimes
:
{
show
()
{
},
hide
()
{
},
resize
()
{
},
},
methods
:
{
retract
()
{
this
.
setData
({
diashow
:
true
})
},
hideDia
()
{
this
.
setData
({
diashow
:
false
})
},
judgeJoinAd
()
{
judgeJoinAd
({
source_id
:
this
.
data
.
sid
,
school_id
:
this
.
data
.
sid
,
source_type
:
5
}).
then
((
res
)
=>
{
const
{
data
,
code
}
=
res
;
if
(
code
==
200
&&
data
)
{
this
.
triggerEvent
(
'isjoinedadd'
)
}
else
{
this
.
setData
({
floatBallShow
:
true
})
}
})
},
commit
()
{
if
(
this
.
data
.
name
.
trim
()
==
''
)
{
wx
.
showToast
({
title
:
'姓名不能为空'
,
icon
:
'none'
})
return
;
}
if
(
this
.
data
.
mobile
.
trim
()
==
''
)
{
wx
.
showToast
({
title
:
'手机号不能为空'
,
icon
:
'none'
})
return
;
}
if
(
!
regexp
.
mobile
.
test
(
this
.
data
.
mobile
.
trim
()))
{
wx
.
showToast
({
title
:
'请输入正确的手机号'
,
icon
:
'none'
})
return
;
}
joinAdPost
({
source_type
:
5
,
source_id
:
this
.
data
.
sid
,
name
:
this
.
data
.
name
,
mobile
:
this
.
data
.
mobile
,
school_id
:
this
.
data
.
sid
,
}).
then
((
res
)
=>
{
const
{
code
,
data
}
=
res
;
if
(
code
==
200
)
{
wx
.
showToast
({
title
:
'加入成功'
})
this
.
setData
({
floatBallShow
:
false
,
diashow
:
false
})
}
else
{
wx
.
showToast
({
title
:
'加入失败'
,
icon
:
'none'
})
this
.
setData
({
diashow
:
false
})
}
}).
catch
(()
=>
{
this
.
setData
({
diashow
:
false
})
wx
.
showToast
({
title
:
'加入失败'
,
icon
:
'none'
})
})
},
nameInput
(
e
)
{
const
{
value
}
=
e
.
detail
;
this
.
setData
({
name
:
value
.
length
>
15
?
value
.
substr
(
0
,
15
)
:
value
})
},
mobileInput
(
e
)
{
const
{
value
}
=
e
.
detail
;
this
.
setData
({
mobile
:
value
})
},
getPhoneNumber
(
e
)
{
const
that
=
this
;
const
{
encryptedData
,
iv
}
=
e
.
detail
;
if
(
!
encryptedData
){
wx
.
login
({
success
(
res
)
{
const
sessionCode
=
res
.
code
;
that
.
setData
({
sessionCode
:
sessionCode
})
}
})
return
}
// 开始
wx
.
showLoading
({
title
:
'手机号码获取中...'
,
})
getwechatmobile
({
code
:
that
.
data
.
sessionCode
,
encryptData
:
encryptedData
,
iv
}).
then
((
res
)
=>
{
wx
.
hideLoading
();
const
{
code
,
data
}
=
res
;
if
(
code
==
200
&&
data
&&
data
.
mobile
)
{
wx
.
login
({
success
(
res
)
{
const
sessionCode
=
res
.
code
;
that
.
setData
({
sessionCode
:
sessionCode
})
}
})
this
.
setData
({
mobile
:
data
.
mobile
})
}
else
{
wx
.
showToast
({
title
:
'手机号获取失败,请手动填写获重新获取'
})
wx
.
login
({
success
(
res
)
{
const
sessionCode
=
res
.
code
;
that
.
setData
({
sessionCode
:
sessionCode
})
}
})
}
}).
catch
((
err
)
=>
{
wx
.
hideLoading
();
wx
.
showToast
({
title
:
'手机号获取失败,请手动填写获重新获取'
})
})
// 结束
},
},
})
\ No newline at end of file
components/advertisement/index.json
0 → 100644
View file @
2e3fa692
{
"component"
:
true
}
\ No newline at end of file
components/advertisement/index.wxml
0 → 100644
View file @
2e3fa692
<view class="advertisement" hover-class="none" hover-stop-propagation="false">
<view class="floatball {{retract ? 'retract' : 'unretract'}}" hover-class="none" hover-stop-propagation="false" bindtap="retract" wx:if="{{floatBallShow}}">
<image class="manheader" src="{{imageRoot}}advertisement/manheader.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="jointext" src="{{imageRoot}}advertisement/jointext.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="arrowright" src="{{imageRoot}}advertisement/arrowright.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
</view>
<view class="advertisedia" hover-class="none" hover-stop-propagation="false" wx:if="{{diashow}}">
<view class="mask" hover-class="none" hover-stop-propagation="false" bindtap="hideDia"></view>
<view class="dia-content" hover-class="none" hover-stop-propagation="false">
<image class="diaheader" src="{{imageRoot}}advertisement/diaheader.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<view class="diadesc" hover-class="none" hover-stop-propagation="false">您是否也想获得该老师的指导?</view>
<view class="inputitem name" hover-class="none" hover-stop-propagation="false">
<input type="text" class="inputtext" placeholder="输入您的姓名" value="{{name}}" bindinput="nameInput" placeholder-class="placeholder-class"/>
</view>
<view class="inputitem mobile" hover-class="none" hover-stop-propagation="false">
<input type="number" maxlength="11" class="inputtext" placeholder="输入您手机号" value="{{mobile}}" bindinput="mobileInput" placeholder-class="placeholder-class"/>
<button class="getmobile" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">一键获取</button>
</view>
<view class="warn-text" hover-class="none" hover-stop-propagation="false">老师会通过您留下的信息联系您</view>
<view class="submitbtn" hover-class="none" hover-stop-propagation="false" bindtap="commit">提交</view>
</view>
</view>
</view>
\ No newline at end of file
components/advertisement/index.wxss
0 → 100644
View file @
2e3fa692
@keyframes manmove {
0% {
transform: translateY(0);
}
25% {
transform: translateY(-2px);
}
50% {
transform: translateY(-4px);
}
75% {
transform: translateY(-2px);
}
100% {
transform: translateY(0);
}
}
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes jointextbreak {
0% {
transform: scale(1);
}
25% {
transform: scale(1.05);
}
50% {
transform: scale(1.1);
}
75% {
transform: scale(1.05);
}
100% {
transform: scale(1);
}
}
.advertisement {
position: fixed;
top: -100rpx;
left: 0;
z-index: 999;
}
.floatball {
position: fixed;
width: 80px;
height: 36px;
right: 0%;
bottom: 340rpx;
background:linear-gradient(90deg,rgba(255,210,71,1) 0%,rgba(255,174,2,1) 100%);
border-radius: 18px 0 0 18px;
z-index: 100;
display: flex;
align-items: center;
padding-left: 5px;
transition: right 0.5s;
}
.floatball .manheader {
width: 26px;
height: 26px;
display: block;
margin-right: 4px;
animation: manmove 1s linear infinite forwards;
}
.floatball .jointext {
width: 34px;
height: 23px;
display: block;
margin-right: 4px;
}
.floatball .arrowright {
width: 4px;
height: 10px;
display: block;
}
.floatball.unretract .jointext {
animation: jointextbreak 1s linear infinite forwards;
}
.floatball.unretract .manheader {
}
.floatball.retract {
right: -46px;
opacity: 0.5;
}
.advertisedia {
position: fixed;
z-index: 101;
width: 100%;
height: 100%;
left: 0;
top: 0;
display: flex;
align-items: center;
justify-content: center;
animation: fadeIn 0.5s linear forwards;
}
.advertisedia .mask {
width: 100%;
height: 100%;
left: 0;
top: 0;
background-color: rgba(0,0,0,0.5);
position: absolute;
z-index: 1;
}
.advertisedia .dia-content{
width: 594rpx;
height: 704rpx;
background-color: #fff;
border-radius: 20rpx;
position: relative;
z-index: 2;
overflow: hidden;
padding-top: 145rpx;
}
.dia-content .diaheader {
position: absolute;
width: 100%;
height: 136rpx;
left: 0;
top: 0;
}
.diadesc {
text-align: center;
line-height: 1;
color: rgba(0,0,0,0.8);
font-size: 24rpx;
text-align: center;
margin-bottom: 138rpx;
}
.inputitem {
width: 450rpx;
height: 70rpx;
margin: 0 auto;
border-radius: 35rpx;
background-color: #F7F7F9;
overflow: hidden;
display: flex;
align-items: center;
justify-content: space-between;
}
.placeholder-class {
color: #858585;
font-size: 26rpx;
}
.inputitem .inputtext {
display: block;
width: 100%;
height: 70rpx;
line-height: 70rpx;
font-size: 26rpx;
padding: 0 30rpx;
}
.inputitem.name {
margin-bottom: 36rpx;
}
.inputitem.mobile {
margin-bottom: 47rpx;
}
.inputitem.mobile .inputtext{
width: 280rpx;
}
.inputitem.mobile .getmobile {
padding: 0;
margin: 0;
width: 142rpx;
height: 54rpx;
border-radius: 27rpx;
text-align: center;
line-height: 54rpx;
background-color: #FFC600;
color: #000000;
font-size: 24rpx;
letter-spacing: 2rpx;
margin-right: 8rpx;
}
.dia-content .warn-text {
color: #858585;
font-size: 22rpx;
text-align: center;
line-height: 1;
margin-bottom: 42rpx;
}
.submitbtn {
width: 231rpx;
height: 68rpx;
border-radius: 34rpx;
background-color: #FFD146;
text-align: center;
line-height: 68rpx;
color: #000000;
font-weight: 700;
letter-spacing: 2rpx;
margin: 0 auto;
}
\ No newline at end of file
constants/api.js
View file @
2e3fa692
...
...
@@ -7,6 +7,8 @@ const apis = {
activityLog
:
`
${
api
}
common/data/log`
,
integralLog
:
`
${
api
}
common/data/consumer`
,
getActivities
:
`
${
api
}
common/activities`
,
judgeJoinAd
:
`
${
api
}
student/website/ad/showMy`
,
joinAdPost
:
`
${
api
}
student/website/ad`
,
customer
:
{
integral
:
{
myIntegral
:
`
${
api
}
student/integral/me`
,
...
...
constants/constants.js
View file @
2e3fa692
export
default
{
imageRoot
:
'https://cdn.img.shangjiadao.cn/source/images/dakav4/'
,
host
:
'https://wx.m.shangjiadao.cn/daka'
,
host2
:
'https://wx.m.shangjiadao.cn'
,
//
host: 'https://wx.m.shangjiadao.cn/daka',
//
host2: 'https://wx.m.shangjiadao.cn',
storageVersion
:
'3.0'
,
imageVersion
:
'20190605'
,
//
host: 'https://clock.wp53.cn',
//
host2: 'https://test.wp53.cn',
host
:
'https://clock.wp53.cn'
,
host2
:
'https://test.wp53.cn'
,
appId
:
'wxc1246ea029394785'
,
miniProgram
:
{
clock
:
'wxdeee20e52a1fd7ee'
...
...
service/common.js
View file @
2e3fa692
...
...
@@ -305,6 +305,24 @@ function getActivities () {
needToken
:
true
})
}
function
judgeJoinAd
(
data
)
{
return
wxRequest
({
url
:
apis
.
judgeJoinAd
,
data
,
method
:
'GET'
,
errorresolve
:
2
,
needToken
:
true
})
}
function
joinAdPost
(
data
)
{
return
wxRequest
({
url
:
apis
.
joinAdPost
,
data
,
method
:
'POST'
,
errorresolve
:
2
,
needToken
:
true
})
}
export
{
cOssAccess
,
getCircleUserShow
,
...
...
@@ -334,5 +352,7 @@ export {
pointsInOut
,
rankPoints
,
integralLog
,
getActivities
getActivities
,
judgeJoinAd
,
joinAdPost
}
\ No newline at end of file
src/pages/calendarthemeindex/index.wxml
View file @
2e3fa692
<wxs src="./../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="theme-index-container clearfix">
<view class="ad-box" hover-class="none" hover-stop-propagation="false" wx:if="{{adInfo.status == 1 && adShow &&circleInfo.school_id!=activtySchoolInfo.sid}}">
<
!-- <
view class="ad-box" hover-class="none" hover-stop-propagation="false" wx:if="{{adInfo.status == 1 && adShow &&circleInfo.school_id!=activtySchoolInfo.sid}}">
<image class="adimg" animation="{{attentionAnim}}" bindtap="toGetAd"
src="{{imageRoot}}2c/circleindex/adimg.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"
lazy-load="false" binderror="" bindload=""></image>
<image class="closeicon" bindtap="closeAd" src="{{imageRoot}}2c/common/closeicon.png?{{imageVersion}}"
mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
</view>
</view>
-->
<view class="container-top-box" hover-class="none" hover-stop-propagation="false">
<view class="yellow-box" hover-class="none" hover-stop-propagation="false"></view>
<view class="nav-box" hover-class="none" hover-stop-propagation="false">
...
...
src/pages/calendarthemeindex/index.wxss
View file @
2e3fa692
...
...
@@ -7,7 +7,7 @@
overflow-x: hidden;
}
.theme-index-container .ad-box {
/*
.theme-index-container .ad-box {
position: fixed;
z-index: 200;
top: 330rpx;
...
...
@@ -27,7 +27,7 @@
position: absolute;
top: -20rpx;
right: -20rpx;
}
}
*/
.theme-index-title {
background-color: #fff;
...
...
src/pages/circleindex/index.wxml
View file @
2e3fa692
<wxs src="./../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="circle-index-container clearfix">
<view class="ad-box" hover-class="none" hover-stop-propagation="false" wx:if="{{adInfo.status == 1 && adShow && sid!=activtySchoolInfo.sid}}">
<
!-- <
view class="ad-box" hover-class="none" hover-stop-propagation="false" wx:if="{{adInfo.status == 1 && adShow && sid!=activtySchoolInfo.sid}}">
<image class="adimg" animation="{{attentionAnim}}" bindtap="toGetAd" src="{{imageRoot}}2c/circleindex/adimg.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="closeicon" bindtap="closeAd" src="{{imageRoot}}2c/common/closeicon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
</view>
</view>
-->
<view class="header-box" hover-class="none" hover-stop-propagation="false">
<view class="joinclassbox clearfix" hover-class="none" hover-stop-propagation="false" wx:if="{{auditStatus != 3}}">
<view class="joinclassbtn" hover-class="none" hover-stop-propagation="false" bindtap="joinClass">
...
...
src/pages/circleindex/index.wxss
View file @
2e3fa692
...
...
@@ -34,7 +34,7 @@
padding: 5rpx 0;
color: #828E9CFF;
}
.circle-index-container .ad-box {
/*
.circle-index-container .ad-box {
position: fixed;
z-index: 200;
top: 353rpx;
...
...
@@ -52,7 +52,7 @@
position: absolute;
top: -20rpx;
right: -20rpx;
}
}
*/
.circle-index-container .header-box {
padding: 17rpx 0 0 0;
background-color: #FFD146;
...
...
src/pages/clockdetail/index.wxml
View file @
2e3fa692
...
...
@@ -7,10 +7,10 @@
班级
</view>
</view>
<view class="ad-box" hover-class="none" hover-stop-propagation="false" wx:if="{{adInfo.status == 1 && adShow &&clock.school_id!=activtySchoolInfo.sid}}">
<
!-- <
view class="ad-box" hover-class="none" hover-stop-propagation="false" wx:if="{{adInfo.status == 1 && adShow &&clock.school_id!=activtySchoolInfo.sid}}">
<image class="adimg" animation="{{attentionAnim}}" bindtap="toGetAd" src="{{imageRoot}}2c/circleindex/adimg.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="closeicon" bindtap="closeAd" src="{{imageRoot}}2c/common/closeicon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
</view>
</view>
-->
<!-- <view class="ad-box" hover-class="none" hover-stop-propagation="false" wx:if="{{clock.school_id==activtySchoolInfo.sid&&activtySchoolInfo.tid==tid&&!isReceived}}">
<image class="adimg" animation="{{attentionAnim}}" bindtap="showatvDailog" src="{{imageRoot}}2c/circleindex/adimg.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
</view> -->
...
...
src/pages/clockdetail/index.wxss
View file @
2e3fa692
...
...
@@ -29,7 +29,7 @@ to {background: scale(1,1);}
padding: 0 30rpx;
box-shadow:0px 5rpx 24rpx 0px rgba(100,211,190,1);
}
.ad-box {
/*
.ad-box {
position: fixed;
z-index: 200;
top: 353rpx;
...
...
@@ -47,7 +47,7 @@ to {background: scale(1,1);}
position: absolute;
top: -20rpx;
right: -20rpx;
}
}
*/
.submitbtn {
display: inline-block;
height: 70rpx;
...
...
src/pages/growthrecord/index.wxml
View file @
2e3fa692
<wxs src="./../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="growth-record-container clearfix" wx:if="{{!noUserinfo}}">
<view class="ad-box" hover-class="none" hover-stop-propagation="false" wx:if="{{adInfo.status == 1 && adShow && filterType == 1 &&sid!=activtySchoolInfo.sid}}">
<
!-- <
view class="ad-box" hover-class="none" hover-stop-propagation="false" wx:if="{{adInfo.status == 1 && adShow && filterType == 1 &&sid!=activtySchoolInfo.sid}}">
<image class="adimg" animation="{{attentionAnim}}" bindtap="toGetAd" src="{{imageRoot}}2c/circleindex/adimg.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="closeicon" bindtap="closeAd" src="{{imageRoot}}2c/common/closeicon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
</view>
</view>
-->
<view class="person-info-box" hover-class="none" hover-stop-propagation="false">
<view class="person-info-content" hover-class="none" hover-stop-propagation="false">
<image class="person-avator" src="{{filter.imagify(userInfo.avatar, 'image/resize,w_160/format,jpg')}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
...
...
src/pages/growthrecord/index.wxss
View file @
2e3fa692
...
...
@@ -47,7 +47,7 @@
max-width: 100%;
overflow-x: hidden;
}
.growth-record-container .ad-box {
/*
.growth-record-container .ad-box {
position: fixed;
z-index: 200;
top: 353rpx;
...
...
@@ -65,7 +65,7 @@
position: absolute;
top: -20rpx;
right: -20rpx;
}
}
*/
.person-info-box {
padding: 41rpx 0 0 25rpx;
/* background-color: #62D1BA; */
...
...
src/pages/morethemeindex/index.wxml
View file @
2e3fa692
<wxs src="./../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="theme-index-container clearfix">
<view class="ad-box" hover-class="none" hover-stop-propagation="false"
<
!-- <
view class="ad-box" hover-class="none" hover-stop-propagation="false"
wx:if="{{adInfo.status == 1 && adShow && circleInfo.school_id!=activtySchoolInfo.sid}}">
<image class="adimg" animation="{{attentionAnim}}" bindtap="toGetAd"
src="{{imageRoot}}2c/circleindex/adimg.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"
lazy-load="false" binderror="" bindload=""></image>
<image class="closeicon" bindtap="closeAd" src="{{imageRoot}}2c/common/closeicon.png?{{imageVersion}}"
mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
</view>
</view>
-->
<view class="container-top-box" hover-class="none" hover-stop-propagation="false">
<view class="yellow-box" hover-class="none" hover-stop-propagation="false">
<view class="title-box" hover-class="none" hover-stop-propagation="false">{{moreTheme.title}}</view>
...
...
src/pages/morethemeindex/index.wxss
View file @
2e3fa692
...
...
@@ -59,7 +59,7 @@
overflow-x: hidden;
}
.theme-index-container .ad-box {
/*
.theme-index-container .ad-box {
position: fixed;
z-index: 200;
top: 330rpx;
...
...
@@ -79,7 +79,7 @@
position: absolute;
top: -20rpx;
right: -20rpx;
}
}
*/
.theme-index-title {
background-color: #fff;
...
...
src/pages/readthemeindex/index.wxss
View file @
2e3fa692
...
...
@@ -6,7 +6,7 @@
max-width: 100%;
overflow-x: hidden;
}
.theme-index-container .ad-box {
/*
.theme-index-container .ad-box {
position: fixed;
z-index: 200;
top: 330rpx;
...
...
@@ -24,7 +24,7 @@
position: absolute;
top: -20rpx;
right: -20rpx;
}
}
*/
.theme-index-title {
background-color: #fff;
padding: 0 25rpx;
...
...
src/pages/themeindex/index.wxml
View file @
2e3fa692
<wxs src="./../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="theme-index-container clearfix">
<view class="ad-box" hover-class="none" hover-stop-propagation="false" wx:if="{{adInfo.status == 1 && adShow && circleInfo.school_id!=activtySchoolInfo.sid}}">
<
!-- <
view class="ad-box" hover-class="none" hover-stop-propagation="false" wx:if="{{adInfo.status == 1 && adShow && circleInfo.school_id!=activtySchoolInfo.sid}}">
<image class="adimg" animation="{{attentionAnim}}" bindtap="toGetAd"
src="{{imageRoot}}2c/circleindex/adimg.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"
lazy-load="false" binderror="" bindload=""></image>
<image class="closeicon" bindtap="closeAd" src="{{imageRoot}}2c/common/closeicon.png?{{imageVersion}}"
mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
</view>
</view>
-->
<view class="container-top-box" hover-class="none" hover-stop-propagation="false">
<view class="yellow-box" hover-class="none" hover-stop-propagation="false"></view>
<view class="nav-box" hover-class="none" hover-stop-propagation="false">
...
...
src/pages/themeindex/index.wxss
View file @
2e3fa692
...
...
@@ -11,7 +11,7 @@ to {background: scale(1,1);}
max-width: 100%;
overflow-x: hidden;
}
.theme-index-container .ad-box {
/*
.theme-index-container .ad-box {
position: fixed;
z-index: 200;
top: 330rpx;
...
...
@@ -29,7 +29,7 @@ to {background: scale(1,1);}
position: absolute;
top: -20rpx;
right: -20rpx;
}
}
*/
.theme-index-title {
background-color: #fff;
padding: 0 25rpx 15rpx 0;
...
...
ucenter/index.json
View file @
2e3fa692
...
...
@@ -3,6 +3,7 @@
"navigationBarBackgroundColor"
:
"#FFD146"
,
"usingComponents"
:
{
"btabbar"
:
"../components/ctabbar"
,
"activity-bar"
:
"../../components/activitybar"
"activity-bar"
:
"../../components/activitybar"
,
"advertisement"
:
"../../components/advertisement"
}
}
\ No newline at end of file
ucenter/index.wxml
View file @
2e3fa692
...
...
@@ -154,4 +154,10 @@
>
</activity-bar>
</view>
<view class="" wx:if="{{sid != 0}}" hover-class="none" hover-stop-propagation="false">
<advertisement
sid="{{sid}}"
>
</advertisement>
</view>
</view>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment