Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
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
viitto
mallapp
Commits
9bf91384
Commit
9bf91384
authored
Oct 18, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式修改
parent
d937e94f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
174 additions
and
107 deletions
+174
-107
style44.vue
components/cats/style44.vue
+2
-10
address2.vue
pages/address/address2.vue
+129
-57
goods.vue
pages/goods/goods.vue
+43
-37
goods2.vue
pages/goods/goods2.vue
+0
-3
No files found.
components/cats/style44.vue
View file @
9bf91384
...
...
@@ -84,7 +84,6 @@
v-if=
"cx.marketingLogo.iswords&&cx.marketingLogo.iswords==2&& cx.marketingLogo.ico!=''"
mode=
"heightFix"
:src=
"cx.marketingLogo.ico"
style=
" height: 12px;margin-right: 5px"
/>
<view
style=
"color: #FF4048;background: #fdf6ec;padding: 0 5px;display: inline-block;height: 32rpx;font-size: 20rpx;margin-right: 5rpx;"
v-if=
"cx.freeShippingFullMoneyPinkage>0 || cx.freeShippingFullNumPinkage>0"
>
...
...
@@ -113,9 +112,7 @@
{{
cx
.
price_content
}}
</div>
<div
v-if=
"u.TenantId!=27"
class=
"sell"
>
{{
cx
.
sales
}}
</div>
</div>
<div
v-if=
"u.TenantId!=27"
@
click
.
stop=
"showSkuHandler(cx)"
class=
"right"
>
<!-- todo 点击加入购物车-->
<u-icon
name=
"cart-circle-o"
size=
"44"
:color=
"mainColor"
/>
...
...
@@ -144,8 +141,6 @@
</view>
</view>
</
template
>
</div>
<u-divider
v-if=
"isover"
:margin-top=
"20"
:margin-bottom=
"20"
>
没有更多商品了
</u-divider>
</scroll-view>
...
...
@@ -193,7 +188,6 @@
index2
:
-
1
,
index22
:
-
1
,
textColor
:
"#F0F0F0"
,
mask
:
false
,
mainColor
:
""
,
activeStyle
:
""
,
...
...
@@ -273,7 +267,7 @@
},
res
=>
{
this
.
loading
=
false
;
console
.
log
(
"resggg4444444"
,
res
);
//
console.log("resggg4444444", res);
if
(
res
.
resultCode
==
1
)
{
this
.
subjectslist
=
res
.
data
}
...
...
@@ -294,9 +288,6 @@
}
else
{
this
.
mask
=
false
}
// if (i == 1) {
// this.initlist(i)
// }
},
// 内容点击
// 年级不限
...
...
@@ -398,6 +389,7 @@
}
else
{
uni
.
navigateTo
({
url
:
"/pages/goods/goods?GoodsId="
+
item
.
id
// url: "/pages/goods/goods?id="
});
}
}
...
...
pages/address/address2.vue
View file @
9bf91384
<
template
>
<view
style=
"position: relative;"
class=
"view-box"
>
<view
class=
"box"
>
<view
class=
"box-img"
>
<
!--
<
view
class=
"box-img"
>
<image
style=
"width: 100rpx; height: 50rpx;;"
src=
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653464014000_713.png'
mode=
"aspectFill"
></image>
</view>
</view>
-->
<view
class=
"box-bg"
>
<input
class=
"uni-input inputM"
style=
'margin-left: 10px;margin-top: 5px;'
v-model=
"rules.StuName"
<view
class=
"title"
>
学员姓名
</view>
<input
class=
"uni-input inputM"
placeholder-class=
"placeholderClass"
v-model=
"rules.StuName"
placeholder=
"请输入学员姓名"
maxlength=
"5"
/>
</view>
<view
class=
"box-bg"
>
<view>
性别
</view>
<view
class=
"gender-name"
>
性别
</view>
<view
class=
"xingbie"
>
<text
v-for=
"(item, i) in goodsist"
:key=
"i"
@
click=
"gende(item,i)"
:class=
"[index==i?'gender':'gender2'] "
>
{{
item
.
name
}}
</text>
</view>
</view>
<view
class=
"box-bg"
@
click=
"formType(0)"
>
<input
class=
"uni-input inputM"
style=
'margin-left: 10px;margin-top: 5px;'
v-model=
"rules.StuBirth"
placeholder=
"公历生日"
/>
<view
class=
"title"
>
公历生日
</view>
<input
class=
"uni-input inputM"
placeholder-class=
"placeholderClass"
v-model=
"rules.StuBirth"
placeholder=
"请选择"
/>
<view>
<u-icon
name=
"arrow"
color=
"#9F9F9F"
size=
"20"
></u-icon>
</view>
</view>
<view
class=
"box-bg"
>
<input
type=
"number"
class=
"uni-input inputM"
style=
'margin-left: 10px;margin-top: 5px;'
v-model=
"rules.StuTel"
placeholder=
"请输入手机号"
maxlength=
"11"
/>
<view
class=
"title"
>
手机号码
</view>
<input
type=
"number"
placeholder-class=
"placeholderClass"
class=
"uni-input inputM"
v-model=
"rules.StuTel"
placeholder=
"输入11位手机号"
maxlength=
"11"
/>
</view>
<view
class=
"box-bg"
>
<input
class=
"uni-input inputM"
style=
'margin-left: 10px;margin-top: 5px;'
v-model=
"rules.BaseCondition"
placeholder=
"就读学校"
/>
<view
class=
"title"
>
就读学校
</view>
<input
class=
"uni-input inputM"
placeholder-class=
"placeholderClass"
v-model=
"rules.BaseCondition"
placeholder=
"请选择"
/>
<view>
<u-icon
@
click=
"formType(1)"
name=
"arrow"
color=
"#9F9F9F"
size=
"20"
></u-icon>
</view>
</view>
<view
class=
"box-bg"
@
click=
"formType(2)"
>
<input
maxlength=
"0"
disabled=
'true'
class=
"uni-input inputM"
style=
'margin-left: 10px;margin-top: 5px;'
v-model=
"rules.DemandPoint"
placeholder=
"就读年级"
/>
<view
class=
"title"
>
就读年级
</view>
<input
maxlength=
"0"
disabled=
'true'
placeholder-class=
"placeholderClass"
class=
"uni-input inputM"
v-model=
"rules.DemandPoint"
placeholder=
"请选择"
/>
<view>
<u-icon
name=
"arrow"
color=
"#9F9F9F"
size=
"20"
></u-icon>
</view>
</view>
<view
class=
"box-bg"
@
click=
"formType(3)"
>
<input
maxlength=
"0"
class=
"uni-input inputM"
disabled=
'true'
style=
'margin-left: 10px;margin-top: 5px;'
v-model=
"rules.School_Id"
placeholder=
"报名校区"
/>
<view
class=
"title"
>
报名校区
</view>
<input
maxlength=
"0"
placeholder-class=
"placeholderClass"
class=
"uni-input inputM"
disabled=
'true'
v-model=
"rules.School_Id"
placeholder=
"请选择"
/>
<view>
<u-icon
name=
"arrow"
color=
"#9F9F9F"
size=
"20"
></u-icon>
</view>
</view>
<view
class=
"box-bg"
>
<input
class=
"uni-input inputM"
style=
'margin-left: 10px;margin-top: 5px;'
v-model=
"rules.ConsultingResults"
placeholder=
"如何知道进阶思维"
/>
<view
class=
"box-bg2"
>
<view
class=
"title"
>
如何知道进阶思维
</view>
<textarea
class=
"uni-input2 inputM"
type=
"textarea"
placeholder-class=
"placeholderClass"
v-model=
"rules.ConsultingResults"
placeholder=
"请输入"
/>
</view>
<!-- 日历弹窗 -->
<uni-calendar
v-show=
"show"
ref=
"calendar"
:insert=
"false"
@
confirm=
"confirm"
@
close=
"close"
/>
...
...
@@ -311,10 +332,37 @@
</
script
>
<
style
>
.gender-name
{
font-size
:
30
rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#282828
}
.placeholderClass
{
font-size
:
30
rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#C8C8C8
;
}
.title
{
padding-right
:
51
rpx
;
font-size
:
30
rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#282828
;
}
.uni-input
{
margin-left
:
0
rpx
!important
;
flex
:
1
;
font-size
:
30
rpx
;
}
.uni-input2
{
height
:
108
rpx
;
margin-left
:
0
rpx
!important
;
flex
:
1
;
line-height
:
40
rpx
;
font-size
:
30
rpx
;
}
.school
{
font-size
:
22
rpx
;
}
...
...
@@ -328,26 +376,29 @@
}
.view-box
{
padding-top
:
40
rpx
;
background-color
:
#
EEF1FA
;
/* padding-top: 40rpx; */
background-color
:
#
F5F5F5
;
min-height
:
100vh
;
padding-bottom
:
59
rpx
;
}
.submit-box
{
/* margin-top: 50rpx; */
width
:
80%
;
width
:
280
rpx
;
height
:
88
rpx
;
background
:
#C91727
;
border-radius
:
44px
;
display
:
flex
;
justify-content
:
center
;
font-size
:
22
rpx
;
color
:
#fff
;
position
:
fixed
;
bottom
:
19
0
rpx
;
bottom
:
6
0
rpx
;
left
:
50%
;
transform
:
translate
(
-50%
,
0%
);
background-color
:
#138BF9
;
border-radius
:
10
rpx
;
height
:
60
rpx
;
align-items
:
center
;
font-weight
:
500
;
font-size
:
30
rpx
;
color
:
#FFF
;
}
.list2
{
...
...
@@ -366,14 +417,13 @@
}
.box
{
width
:
90%
;
border-radius
:
10
rpx
;
margin-top
:
50
rpx
;
background
:
#FFFFFF
;
padding-left
:
20
rpx
;
padding-right
:
20
rpx
;
/* width: 90%; */
padding-bottom
:
110
rpx
;
padding-top
:
63
rpx
;
padding-left
:
50
rpx
;
padding-right
:
50
rpx
;
margin
:
auto
;
padding-bottom
:
80
rpx
;
/* padding-bottom: 34rpx; */
border-radius
:
20
rpx
;
}
...
...
@@ -387,49 +437,71 @@
}
.xingbie
{
width
:
185
rpx
;
/* width: 185rpx; */
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
margin-left
:
110
rpx
;
width
:
160
rpx
;
}
.gender
{
border
:
10
rpx
;
background-color
:
#E5F3FE
;
width
:
80
rpx
;
height
:
20px
;
font-size
:
30
rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#282828
;
width
:
55
rpx
;
height
:
55
rpx
;
background
:
#16CFEA
;
border-radius
:
50%
;
display
:
inline-block
;
text-align
:
center
;
line-height
:
20px
;
border-radius
:
5
rpx
;
font-size
:
22
rpx
;
line-height
:
55
rpx
}
.gender2
{
border
:
10
rpx
;
background-color
:
#5455
;
width
:
80
rpx
;
height
:
20px
;
font-size
:
30
rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#C8C8C8
;
width
:
55
rpx
;
height
:
55
rpx
;
background
:
#F5F5F5
;
border-radius
:
50%
;
display
:
inline-block
;
text-align
:
center
;
line-height
:
20
px
;
border-radius
:
5
rpx
;
font-size
:
22
rpx
;
line-height
:
55
r
px
;
/* margin-left: 49rpx; */
}
.box-bg
{
border-radius
:
10
rpx
;
border
:
1px
solid
#9F9F9F
;
margin-bottom
:
20
rpx
;
height
:
60
rpx
;
line-height
:
60
rpx
;
height
:
88
rpx
;
line-height
:
88
rpx
;
background
:
#FFFFFF
;
border-radius
:
44
rpx
;
margin-bottom
:
42
rpx
;
display
:
flex
;
align-items
:
center
;
padding-left
:
20
rpx
;
justify-content
:
space-between
;
padding-right
:
20
rpx
;
padding-left
:
51
rpx
;
/* justify-content: space-between; */
padding-right
:
52
rpx
;
}
.box-bg2
{
height
:
224
rpx
;
line-height
:
88
rpx
;
background
:
#FFFFFF
;
border-radius
:
44
rpx
;
margin-bottom
:
42
rpx
;
/* display: flex;
align-items: center; */
padding-left
:
51
rpx
;
/* justify-content: space-between; */
padding-right
:
52
rpx
;
}
.box-img
{
display
:
flex
;
justify-content
:
center
;
...
...
pages/goods/goods.vue
View file @
9bf91384
...
...
@@ -172,7 +172,9 @@
<view
class=
"teacher2"
>
<view
class=
"teacher3"
>
<view
class=
"teacher4"
v-if=
'g.edu_data.TeacherName'
>
{{g.edu_data.TeacherName}}
</view>
<view
class=
"teacher5"
><rich-text
:nodes=
"g.edu_data.TeacherInfo"
></rich-text></view>
<view
class=
"teacher5"
>
<rich-text
:nodes=
"g.edu_data.TeacherInfo"
></rich-text>
</view>
</view>
<!-- <view class="teacher4">
<u-icon name="arrow" :size="32" color="#111"></u-icon>
...
...
@@ -237,7 +239,8 @@
</view>
<!-- id27结束 -->
<view
class=
"sku-box u-skeleton-rect"
style=
"margin: 0;padding: 10px;"
v-if=
"g.friendUrl!=null && g.friendUrl!=''&&setting.is_show_korea==0 &&u.TenantId!=27"
@
click=
"goCoiling(g.friendUrl)"
>
v-if=
"g.friendUrl!=null && g.friendUrl!=''&&setting.is_show_korea==0 &&u.TenantId!=27"
@
click=
"goCoiling(g.friendUrl)"
>
<image
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/goodsCoiling.png"
style=
"width: 100%;height: 68px;"
/>
</view>
...
...
@@ -312,12 +315,14 @@
<view
class=
"label"
>
发货地
</view>
<view
class=
"content"
>
{{g.sendArea }}
</view>
</view>
<view
class=
"sku-box u-skeleton-rect"
v-if=
"setting.is_express == '1'&&setting.is_show_korea==0&&u.TenantId!=27"
>
<view
class=
"sku-box u-skeleton-rect"
v-if=
"setting.is_express == '1'&&setting.is_show_korea==0&&u.TenantId!=27"
>
<view
class=
"label"
>
快递
</view>
<view
class=
"content"
>
{{ g.express == '' ? '免运费' : '¥' + g.express }}
</view>
</view>
<view
class=
"sku-box u-skeleton-rect"
style=
"margin-top: -10;"
v-if=
"g.goods_marketing.shipping != ''&&u.TenantId!=27"
>
<view
class=
"sku-box u-skeleton-rect"
style=
"margin-top: -10;"
v-if=
"g.goods_marketing.shipping != ''&&u.TenantId!=27"
>
<view
class=
"label"
>
包邮
</view>
<view
class=
"content"
>
{{ g.goods_marketing.shipping }}
</view>
</view>
...
...
@@ -364,7 +369,8 @@
<view
class=
"ucontent"
>
{{ comments[0].Content }}
</view>
</view>
</view>
<u-divider
v-if=
'u.TenantId!=27'
:margin-top=
"20"
:margin-bottom=
"20"
bg-color=
"transparent"
>
商品详情
</u-divider>
<u-divider
v-if=
'u.TenantId!=27'
:margin-top=
"20"
:margin-bottom=
"20"
bg-color=
"transparent"
>
商品详情
</u-divider>
<view
class=
"details"
v-if=
'u.TenantId!=27'
>
<h-parse
v-if=
"AppletID!=5"
:content=
"detailContent"
@
navigate=
"clickDescription"
></h-parse>
<!-- 甲鹤等于5 -->
...
...
@@ -398,7 +404,8 @@
<view
class=
"goodComentBtn"
@
click=
"submitCommit"
>
提交留言
</view>
</view>
</
template
>
<u-divider
v-if=
'u.TenantId!=27'
:margin-top=
"20"
:margin-bottom=
"20"
bg-color=
"transparent"
>
或许你喜欢
</u-divider>
<u-divider
v-if=
'u.TenantId!=27'
:margin-top=
"20"
:margin-bottom=
"20"
bg-color=
"transparent"
>
或许你喜欢
</u-divider>
<view
v-if=
'u.TenantId!=27'
style=
"width: calc(100vw - 20px); margin-left: 10px; overflow: hidden;"
>
<goodlist
:list=
"recommend"
></goodlist>
</view>
...
...
@@ -413,18 +420,21 @@
:good-id=
"id"
:total-stock=
"g.totalStock"
:status=
"g.status"
@
buy=
"buy"
>
</kotragoodsaction>
</
template
>
<goodsku
v-if=
"!loading && showSku&&u.TenantId!=27"
border-radius=
"10"
v-model=
"showSku"
:mask-close-able=
"true"
:safe-area-inset-bottom=
"true"
:good=
"g"
:option-type=
"ot"
:skued=
"currentSku"
@
close=
"closeSkuChosen"
>
<goodsku
v-if=
"!loading && showSku&&u.TenantId!=27"
border-radius=
"10"
v-model=
"showSku"
:mask-close-able=
"true"
:safe-area-inset-bottom=
"true"
:good=
"g"
:option-type=
"ot"
:skued=
"currentSku"
@
close=
"closeSkuChosen"
>
</goodsku>
<
template
v-if=
"u&&u.TenantId==27"
>
<goodsku2
v-if=
"!loading && showSku"
border-radius=
"10"
v-model=
"showSku"
:mask-close-able=
"true"
:safe-area-inset-bottom=
"true"
:good=
"g"
:option-type=
"ot"
:skued=
"currentSku"
@
close=
"closeSkuChosen"
>
:safe-area-inset-bottom=
"true"
:good=
"g"
:option-type=
"ot"
:skued=
"currentSku"
@
close=
"closeSkuChosen"
>
</goodsku2>
</
template
>
<
template
v-else
>
<goodsku
v-if=
"!loading && showSku"
border-radius=
"10"
v-model=
"showSku"
:mask-close-able=
"true"
:safe-area-inset-bottom=
"true"
:good=
"g"
:option-type=
"ot"
:skued=
"currentSku"
@
close=
"closeSkuChosen"
>
:safe-area-inset-bottom=
"true"
:good=
"g"
:option-type=
"ot"
:skued=
"currentSku"
@
close=
"closeSkuChosen"
>
</goodsku>
</
template
>
</view>
...
...
@@ -433,7 +443,6 @@
@
close=
"closeShare"
></share>
<auth
v-if=
"showAuth"
@
changeuserinfo=
"reloadUserinfo"
@
gbAuth=
"gbAuth"
></auth>
<coupon
v-if=
"showCoupons"
:coupon-message=
"couponMessage"
@
goLook=
"goLook"
@
closeBtn=
"closeBtn"
></coupon>
</view>
</template>
...
...
@@ -534,7 +543,6 @@
onLoad
(
option
)
{
this
.
opTionObj
=
option
;
console
.
log
(
option
,
"option"
);
if
(
option
&&
option
.
id
)
{
this
.
id
=
option
.
id
?
option
.
id
:
29
;
//40887 59512 46942
}
else
{
...
...
@@ -597,12 +605,9 @@
this
.
init
();
this
.
initPage
();
this
.
getVipId
();
this
.
mc
=
this
.
$uiConfig
.
mainColor
;
this
.
secondary
=
this
.
$uiConfig
.
secondary
;
this
.
setting
=
uni
.
getStorageSync
(
"basedata"
).
mall
.
setting
;
wx
.
showShareMenu
({
withShareTicket
:
true
,
menus
:
[
"shareAppMessage"
,
"shareTimeline"
],
...
...
@@ -672,8 +677,6 @@
setTimeout
(()
=>
{
this
.
initImages
();
},
3000
);
},
methods
:
{
// counter() {
...
...
@@ -1084,20 +1087,23 @@
</
script
>
<
style
>
.the-top
{
.the-top
{
position
:
absolute
;
top
:
82%
;
right
:
0%
;
width
:
50px
;
height
:
50px
;
}
.information-list
{
.information-list
{
color
:
#999
;
margin-bottom
:
50
rpx
;
}
.information-list2
{
.information-list2
{
margin-left
:
50
rpx
;
}
.teacher
{
display
:
flex
;
justify-content
:
space-between
;
...
...
pages/goods/goods2.vue
View file @
9bf91384
...
...
@@ -477,7 +477,6 @@ export default {
this
.
opTionObj
=
option
;
console
.
log
(
option
,
"option"
);
if
(
option
&&
option
.
id
)
{
this
.
id
=
option
.
id
?
option
.
id
:
29
;
//40887 59512 46942
}
else
{
...
...
@@ -605,8 +604,6 @@ export default {
setTimeout
(()
=>
{
this
.
initImages
();
},
3000
);
},
methods
:
{
clickDescription
(
e
)
{
...
...
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