Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Y
yongxinda-h5
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
刘旭
yongxinda-h5
Commits
d7130a00
提交
d7130a00
authored
11月 07, 2022
作者:
刘旭
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
提交代码
上级
40809de5
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
26 行增加
和
19 行删除
+26
-19
goodsItem.vue
src/components/goodsItem.vue
+3
-3
index2.vue
src/pages/category/index2.vue
+3
-3
items.vue
src/pages/category/items.vue
+5
-5
index.vue
src/pages/goods/index.vue
+5
-5
index.vue
src/pages/index/index.vue
+9
-2
config.ts
src/utils/config.ts
+1
-1
没有找到文件。
src/components/goodsItem.vue
浏览文件 @
d7130a00
...
...
@@ -11,10 +11,10 @@
<text
style=
"color: #646566;"
>
{{
brief
}}
</text>
</view>
<view
class=
"price"
>
<
text
class=
"new-price"
>
¥
{{
retailPrice
?.
toFixed
(
2
)
}}
</text
>
<text
v-if=
"counterPrice != 0"
class=
"old-price"
>
<
!--
<text
class=
"new-price"
>
¥
{{
counterPrice
?.
toFixed
(
2
)
}}
</text>
--
>
<
!--
<
text
v-if=
"counterPrice != 0"
class=
"old-price"
>
¥
{{
counterPrice
?.
toFixed
(
2
)
}}
</text>
</text>
-->
</view>
</view>
</view>
...
...
src/pages/category/index2.vue
浏览文件 @
d7130a00
...
...
@@ -52,10 +52,10 @@
<text
style=
"color: #646566;"
>
{{
item
.
brief
}}
</text>
</view>
<view
class=
"price"
>
<
text
class=
"new-price"
>
¥
{{
item
.
retailPrice
.
toFixed
(
2
)
}}
</text
>
<text
v-if=
"counterPrice != 0"
class=
"old-price"
>
<
!--
<text
class=
"new-price"
>
¥
{{
item
.
counterPrice
.
toFixed
(
2
)
}}
</text>
--
>
<
!--
<
text
v-if=
"counterPrice != 0"
class=
"old-price"
>
¥
{{
item
.
counterPrice
.
toFixed
(
2
)
}}
</text>
</text>
-->
</view>
</view>
</view>
...
...
src/pages/category/items.vue
浏览文件 @
d7130a00
...
...
@@ -43,14 +43,14 @@
<view
style=
"color: #969799;"
>
{{
item
.
brief
}}
</view>
</view>
<view
class=
"details-bottom"
>
<text
style=
"font-size: 32rpx; margin-right: 8rpx;"
>
¥
{{
item
.
retail
Price
}}
</text>
<text
<
!--
<
text
style=
"font-size: 32rpx; margin-right: 8rpx;"
>
¥
{{
item
.
counter
Price
}}
</text>
-->
<!--
<text
style=
"font-size: 24rpx; text-decoration: line-through; color: #969799;"
>
¥
{{
item
.
counterPrice
}}
</text>
</text>
-->
</view>
</view>
</view>
...
...
src/pages/goods/index.vue
浏览文件 @
d7130a00
...
...
@@ -23,17 +23,17 @@
</uni-row>
<uni-row>
<uni-col
:span=
"5"
>
<text
class=
"goods-price"
>
<
!--
<
text
class=
"goods-price"
>
<text
class=
"unit"
>
¥
</text>
<text
class=
"price"
>
{{
detailData
?.
info
.
retail
Price
.
toFixed
(
2
)
}}
</text>
</text>
<text
class=
"price"
>
{{
detailData
?.
info
.
counter
Price
.
toFixed
(
2
)
}}
</text>
</text>
-->
</uni-col>
<uni-col
:span=
"3"
style=
"margin-top: 18rpx; margin-left: 20rpx;"
>
<
!--
<
uni-col
:span=
"3"
style=
"margin-top: 18rpx; margin-left: 20rpx;"
>
<text
class=
"goods-cost-price"
>
<text
class=
"unit"
>
¥
</text>
<text
class=
"price"
>
{{
detailData
?.
info
.
counterPrice
.
toFixed
(
2
)
}}
</text>
</text>
</uni-col>
</uni-col>
-->
</uni-row>
</view>
...
...
src/pages/index/index.vue
浏览文件 @
d7130a00
...
...
@@ -75,10 +75,10 @@
<uni-col>
<uni-row>
<uni-col
:span=
"24"
>
<text
class=
"goods-price"
>
<
!--
<
text
class=
"goods-price"
>
<text
class=
"unit"
>
¥
</text>
<text
class=
"price"
>
{{
item
.
counterPrice
}}
</text>
</text>
</text>
-->
</uni-col>
<!--
<uni-col
:span=
"12"
>
<text
class=
"goods-sales-count"
>
...
...
@@ -199,6 +199,13 @@ initIndex();
<
style
lang=
"scss"
>
.grid
{
padding
:
16rpx
;
.grid-text
{
width
:
90%
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
word-break
:
break-all
;
}
}
.text
{
...
...
src/utils/config.ts
浏览文件 @
d7130a00
...
...
@@ -2,7 +2,7 @@ const CONFIG: any = {
// 开发环境配置
development
:
{
assetsPath
:
'http://192.168.0.23'
,
// 静态资源路径
baseUrl
:
'http://192.168.0.
23
'
,
// 后台接口请求地址
baseUrl
:
'http://192.168.0.
9:8089
'
,
// 后台接口请求地址
hostUrl
:
'http://192.168.0.23'
,
// H5地址(前端运行地址)
websocketUrl
:
''
,
// websocket服务端地址
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论