212206213邓泽玉

master
dengzeyu 3 months ago
parent 42bbe65049
commit 3c1fbf22c1

3
.idea/.gitignore vendored

@ -0,0 +1,3 @@
# 默认忽略的文件
/shelf/
/workspace.xml

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/machine.iml" filepath="$PROJECT_DIR$/.idea/machine.iml" />
</modules>
</component>
</project>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

@ -1,7 +1,7 @@
// components/goods-list/goods-list.js
Component({
/**
* 组件的属性列表
* 212206213邓泽玉组件的属性列表
*/
properties: {
goodsData:{
@ -11,14 +11,14 @@ Component({
},
/**
* 组件的初始数据
* 组件的初始数据212206213邓泽玉
*/
data: {
},
/**
* 组件的方法列表
* 组件的方法列表212206213邓泽玉
*/
methods: {

@ -3,6 +3,9 @@
padding: 5px;
box-sizing: border-box;
}
/**
* 列表的样式212206213邓泽玉
*/
.list .item {
width: 48%;
@ -12,11 +15,11 @@
background: #fff;
margin: 2px 1%;
}
/**列表项目的样式**/
.list .item .goods_img image {
width: 100%;
}
/**货物信息名字**/
.list .item .goods_info .goods_name {
font-size: 14px;
text-align: left;
@ -29,7 +32,7 @@
display: -webkit-box;
word-break: break-all;
}
/**货物价格**/
.list .item .goods_info .goods_price {
font-style: normal;
font-family: JDZH-Regular, sans-serif;
@ -38,7 +41,7 @@
line-height: 1.5rem;
color: #ff4142;
}
/**新货物的信息**/
.list .item .goods_info .goods_price text{
font-size: 1rem;
}

@ -1,5 +1,7 @@
const { getBanner,getGoods } = require("../../api/index.js")
/**
邓泽玉212206213
**/
Page({
data: {
value: "",

Loading…
Cancel
Save