换ubuntu
This commit is contained in:
parent
2688882a3e
commit
888b4ee55c
144
README.md
144
README.md
@ -1,72 +1,72 @@
|
||||
# 德国代购小程序
|
||||
|
||||
### 目录结构
|
||||
- commponents 组件
|
||||
- page 页面
|
||||
- utils 插件
|
||||
- [bin.js](./doc/bin.md)
|
||||
- doc 文档存放
|
||||
## 页面路由
|
||||
- pages/index/index 首页 <br>
|
||||
- pages/shopping/shopping 购物车 <br>
|
||||
组件
|
||||
- index/search 顶部搜索框
|
||||
- index/list 商品列表
|
||||
- index/lsit/commodity 商品单条
|
||||
- index/shopping/shoppingitem 购物车商品信息
|
||||
- pages/search/search 搜索页 <br>
|
||||
组件
|
||||
- index/search 顶部搜索框
|
||||
- search/hot 热门上搜索列表
|
||||
- pages/classify/classify 分类页 <br>
|
||||
组件
|
||||
- classify/list 右侧商品列表
|
||||
- classify/navigation 左侧导航列表
|
||||
- pages/product/product 商品页
|
||||
- pages/personal/personal 我的页面
|
||||
- pages/message/message 个人信息
|
||||
- pages/orderconfirm/orderconfirm 确认订单 <br>
|
||||
组件
|
||||
- orderconfirm/agreement 同意协议
|
||||
- orderconfirm/bottom 订单确认底部
|
||||
- orderconfirm/chooseaddr 选择地址
|
||||
- orderconfirm/chooseway 选择方式
|
||||
- orderconfirm/ordershopinfo 顶部的商品信息
|
||||
- orderconfirm/orderyf 运费
|
||||
- pages/order/order 订单列表<br>
|
||||
组件
|
||||
- order/tab 切换列表
|
||||
- order/commodity 商品信息操作
|
||||
- order/message 商品信息
|
||||
|
||||
- pages/chooseaddr/chooseaddr 选择地址 <br>
|
||||
- chooseaddr/address 地址列表(单个)
|
||||
- chooseaddr/addradd 添加按钮
|
||||
|
||||
- pages/addaddress/addaddress 添加地址 <br>
|
||||
- addaddress/shuru 添加地址的输入的每一项
|
||||
- pages/particulars/particulars 待付款 <br>
|
||||
- particulars/orderchooseaddr 地址
|
||||
- particulars/content 中间所有
|
||||
- particulars/submit 支付
|
||||
- pages/undetermined/undetermined 代发货 <br>
|
||||
- particulars/orderchooseaddr 地址
|
||||
- particulars/content 中间所有
|
||||
- pages/receiving/receiving 待收货 <br>
|
||||
- particulars/orderchooseaddr 地址
|
||||
- particulars/content 中间所有
|
||||
- pages/status/status 物流信息 <br>
|
||||
- order/message 商品信息
|
||||
- particulars/logistics 物流信息
|
||||
- pages/receiving/receiving 已完成 <br>
|
||||
- particulars/orderchooseaddr 地址
|
||||
- particulars/content 中间所有
|
||||
- particulars/logistics 物流信息
|
||||
- pages/sales1/sales1 退货1 <br>
|
||||
- sales/merchandises 商品信息
|
||||
- pages/sales2/sales2 退货3 <br>
|
||||
- sales/merchandises 商品信息
|
||||
|
||||
- pages/member/member 会员商品 <br>
|
||||
- member/membertop 会员商品顶部的字
|
||||
- member/membershop 单个商品
|
||||
# 德国代购小程序
|
||||
|
||||
### 目录结构
|
||||
- commponents 组件
|
||||
- page 页面
|
||||
- utils 插件
|
||||
- [bin.js](./doc/bin.md)
|
||||
- doc 文档存放
|
||||
## 页面路由
|
||||
- pages/index/index 首页 <br>
|
||||
- pages/shopping/shopping 购物车 <br>
|
||||
组件
|
||||
- index/search 顶部搜索框
|
||||
- index/list 商品列表
|
||||
- index/lsit/commodity 商品单条
|
||||
- index/shopping/shoppingitem 购物车商品信息
|
||||
- pages/search/search 搜索页 <br>
|
||||
组件
|
||||
- index/search 顶部搜索框
|
||||
- search/hot 热门上搜索列表
|
||||
- pages/classify/classify 分类页 <br>
|
||||
组件
|
||||
- classify/list 右侧商品列表
|
||||
- classify/navigation 左侧导航列表
|
||||
- pages/product/product 商品页
|
||||
- pages/personal/personal 我的页面
|
||||
- pages/message/message 个人信息
|
||||
- pages/orderconfirm/orderconfirm 确认订单 <br>
|
||||
组件
|
||||
- orderconfirm/agreement 同意协议
|
||||
- orderconfirm/bottom 订单确认底部
|
||||
- orderconfirm/chooseaddr 选择地址
|
||||
- orderconfirm/chooseway 选择方式
|
||||
- orderconfirm/ordershopinfo 顶部的商品信息
|
||||
- orderconfirm/orderyf 运费
|
||||
- pages/order/order 订单列表<br>
|
||||
组件
|
||||
- order/tab 切换列表
|
||||
- order/commodity 商品信息操作
|
||||
- order/message 商品信息
|
||||
|
||||
- pages/chooseaddr/chooseaddr 选择地址 <br>
|
||||
- chooseaddr/address 地址列表(单个)
|
||||
- chooseaddr/addradd 添加按钮
|
||||
|
||||
- pages/addaddress/addaddress 添加地址 <br>
|
||||
- addaddress/shuru 添加地址的输入的每一项
|
||||
- pages/particulars/particulars 待付款 <br>
|
||||
- particulars/orderchooseaddr 地址
|
||||
- particulars/content 中间所有
|
||||
- particulars/submit 支付
|
||||
- pages/undetermined/undetermined 代发货 <br>
|
||||
- particulars/orderchooseaddr 地址
|
||||
- particulars/content 中间所有
|
||||
- pages/receiving/receiving 待收货 <br>
|
||||
- particulars/orderchooseaddr 地址
|
||||
- particulars/content 中间所有
|
||||
- pages/status/status 物流信息 <br>
|
||||
- order/message 商品信息
|
||||
- particulars/logistics 物流信息
|
||||
- pages/receiving/receiving 已完成 <br>
|
||||
- particulars/orderchooseaddr 地址
|
||||
- particulars/content 中间所有
|
||||
- particulars/logistics 物流信息
|
||||
- pages/sales1/sales1 退货1 <br>
|
||||
- sales/merchandises 商品信息
|
||||
- pages/sales2/sales2 退货3 <br>
|
||||
- sales/merchandises 商品信息
|
||||
|
||||
- pages/member/member 会员商品 <br>
|
||||
- member/membertop 会员商品顶部的字
|
||||
- member/membershop 单个商品
|
||||
|
76
app.js
76
app.js
@ -1,39 +1,39 @@
|
||||
//app.js
|
||||
App({
|
||||
onLaunch: function () {
|
||||
// 展示本地存储能力
|
||||
var logs = wx.getStorageSync('logs') || []
|
||||
logs.unshift(Date.now())
|
||||
wx.setStorageSync('logs', logs)
|
||||
|
||||
// 登录
|
||||
wx.login({
|
||||
success: res => {
|
||||
// 发送 res.code 到后台换取 openId, sessionKey, unionId
|
||||
}
|
||||
})
|
||||
// 获取用户信息
|
||||
wx.getSetting({
|
||||
success: res => {
|
||||
if (res.authSetting['scope.userInfo']) {
|
||||
// 已经授权,可以直接调用 getUserInfo 获取头像昵称,不会弹框
|
||||
wx.getUserInfo({
|
||||
success: res => {
|
||||
// 可以将 res 发送给后台解码出 unionId
|
||||
this.globalData.userInfo = res.userInfo
|
||||
|
||||
// 由于 getUserInfo 是网络请求,可能会在 Page.onLoad 之后才返回
|
||||
// 所以此处加入 callback 以防止这种情况
|
||||
if (this.userInfoReadyCallback) {
|
||||
this.userInfoReadyCallback(res)
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
globalData: {
|
||||
userInfo: null
|
||||
}
|
||||
//app.js
|
||||
App({
|
||||
onLaunch: function () {
|
||||
// 展示本地存储能力
|
||||
var logs = wx.getStorageSync('logs') || []
|
||||
logs.unshift(Date.now())
|
||||
wx.setStorageSync('logs', logs)
|
||||
|
||||
// 登录
|
||||
wx.login({
|
||||
success: res => {
|
||||
// 发送 res.code 到后台换取 openId, sessionKey, unionId
|
||||
}
|
||||
})
|
||||
// 获取用户信息
|
||||
wx.getSetting({
|
||||
success: res => {
|
||||
if (res.authSetting['scope.userInfo']) {
|
||||
// 已经授权,可以直接调用 getUserInfo 获取头像昵称,不会弹框
|
||||
wx.getUserInfo({
|
||||
success: res => {
|
||||
// 可以将 res 发送给后台解码出 unionId
|
||||
this.globalData.userInfo = res.userInfo
|
||||
|
||||
// 由于 getUserInfo 是网络请求,可能会在 Page.onLoad 之后才返回
|
||||
// 所以此处加入 callback 以防止这种情况
|
||||
if (this.userInfoReadyCallback) {
|
||||
this.userInfoReadyCallback(res)
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
globalData: {
|
||||
userInfo: null
|
||||
}
|
||||
})
|
102
app.json
102
app.json
@ -1,52 +1,52 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/index/index",
|
||||
"pages/login/login",
|
||||
"pages/search/search",
|
||||
"pages/shopping/shopping",
|
||||
"pages/classify/classify",
|
||||
"pages/product/product",
|
||||
"pages/personal/personal",
|
||||
"pages/message/message",
|
||||
"pages/orderconfirm/orderconfirm",
|
||||
"pages/order/order",
|
||||
"pages/chooseaddr/chooseaddr",
|
||||
"pages/addaddress/addaddress",
|
||||
"pages/particulars/particulars",
|
||||
"pages/undetermined/undetermined",
|
||||
"pages/receiving/receiving",
|
||||
"pages/status/status",
|
||||
"pages/accomplish/accomplish",
|
||||
"pages/sales1/sales1",
|
||||
"pages/sales2/sales2",
|
||||
"pages/member/member",
|
||||
"pages/yue/yue",
|
||||
|
||||
"pages/yongjin/yongjin",
|
||||
|
||||
"pages/share/share"
|
||||
],
|
||||
"window": {
|
||||
"backgroundTextStyle": "light",
|
||||
"navigationBarBackgroundColor": "#fff",
|
||||
"navigationBarTitleText": "WeChat",
|
||||
"navigationBarTextStyle": "black"
|
||||
},
|
||||
"tabBar": {
|
||||
"list": [{
|
||||
"pagePath": "pages/index/index",
|
||||
"text": "首页"
|
||||
}, {
|
||||
"pagePath": "pages/classify/classify",
|
||||
"text": "分类"
|
||||
}, {
|
||||
"pagePath": "pages/shopping/shopping",
|
||||
"text": "购物车"
|
||||
}, {
|
||||
"pagePath": "pages/personal/personal",
|
||||
"text": "我的"
|
||||
}]
|
||||
},
|
||||
"style": "v2",
|
||||
"sitemapLocation": "sitemap.json"
|
||||
{
|
||||
"pages": [
|
||||
"pages/index/index",
|
||||
"pages/login/login",
|
||||
"pages/search/search",
|
||||
"pages/shopping/shopping",
|
||||
"pages/classify/classify",
|
||||
"pages/product/product",
|
||||
"pages/personal/personal",
|
||||
"pages/message/message",
|
||||
"pages/orderconfirm/orderconfirm",
|
||||
"pages/order/order",
|
||||
"pages/chooseaddr/chooseaddr",
|
||||
"pages/addaddress/addaddress",
|
||||
"pages/particulars/particulars",
|
||||
"pages/undetermined/undetermined",
|
||||
"pages/receiving/receiving",
|
||||
"pages/status/status",
|
||||
"pages/accomplish/accomplish",
|
||||
"pages/sales1/sales1",
|
||||
"pages/sales2/sales2",
|
||||
"pages/member/member",
|
||||
"pages/yue/yue",
|
||||
|
||||
"pages/yongjin/yongjin",
|
||||
|
||||
"pages/share/share"
|
||||
],
|
||||
"window": {
|
||||
"backgroundTextStyle": "light",
|
||||
"navigationBarBackgroundColor": "#fff",
|
||||
"navigationBarTitleText": "WeChat",
|
||||
"navigationBarTextStyle": "black"
|
||||
},
|
||||
"tabBar": {
|
||||
"list": [{
|
||||
"pagePath": "pages/index/index",
|
||||
"text": "首页"
|
||||
}, {
|
||||
"pagePath": "pages/classify/classify",
|
||||
"text": "分类"
|
||||
}, {
|
||||
"pagePath": "pages/shopping/shopping",
|
||||
"text": "购物车"
|
||||
}, {
|
||||
"pagePath": "pages/personal/personal",
|
||||
"text": "我的"
|
||||
}]
|
||||
},
|
||||
"style": "v2",
|
||||
"sitemapLocation": "sitemap.json"
|
||||
}
|
714
app.wxss
714
app.wxss
@ -1,357 +1,357 @@
|
||||
|
||||
|
||||
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
||||
|
||||
/* Document
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Correct the line height in all browsers.
|
||||
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
||||
*/
|
||||
|
||||
html {
|
||||
line-height: 1; /* 1 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/* Sections
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the margin in all browsers.
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Render the `main` element consistently in IE.
|
||||
*/
|
||||
|
||||
main {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the font size and margin on `h1` elements within `section` and
|
||||
* `article` contexts in Chrome, Firefox, and Safari.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Add the correct box sizing in Firefox.
|
||||
* 2. Show the overflow in Edge and IE.
|
||||
*/
|
||||
|
||||
hr {
|
||||
box-sizing: content-box; /* 1 */
|
||||
height: 0; /* 1 */
|
||||
overflow: visible; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the inheritance and scaling of font size in all browsers.
|
||||
* 2. Correct the odd `em` font sizing in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
font-family: monospace, monospace; /* 1 */
|
||||
font-size: 1em; /* 2 */
|
||||
}
|
||||
|
||||
/* Text-level semantics
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the gray background on active links in IE 10.
|
||||
*/
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Remove the bottom border in Chrome 57-
|
||||
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
||||
*/
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: none; /* 1 */
|
||||
text-decoration: underline; /* 2 */
|
||||
text-decoration: underline dotted; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct font weight in Chrome, Edge, and Safari.
|
||||
*/
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the inheritance and scaling of font size in all browsers.
|
||||
* 2. Correct the odd `em` font sizing in all browsers.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
samp {
|
||||
font-family: monospace, monospace; /* 1 */
|
||||
font-size: 1em; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent `sub` and `sup` elements from affecting the line height in
|
||||
* all browsers.
|
||||
*/
|
||||
|
||||
sub,
|
||||
sup {
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
/* Embedded content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the border on images inside links in IE 10.
|
||||
*/
|
||||
|
||||
img {
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Change the font styles in all browsers.
|
||||
* 2. Remove the margin in Firefox and Safari.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
font-family: inherit; /* 1 */
|
||||
font-size: 100%; /* 1 */
|
||||
line-height: 1; /* 1 */
|
||||
margin: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the overflow in IE.
|
||||
* 1. Show the overflow in Edge.
|
||||
*/
|
||||
|
||||
button,
|
||||
input {
|
||||
/* 1 */
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
||||
* 1. Remove the inheritance of text transform in Firefox.
|
||||
*/
|
||||
|
||||
button,
|
||||
select {
|
||||
/* 1 */
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the inability to style clickable types in iOS and Safari.
|
||||
*/
|
||||
|
||||
button,
|
||||
[type="button"],
|
||||
[type="reset"],
|
||||
[type="submit"] {
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the inner border and padding in Firefox.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
[type="button"]::-moz-focus-inner,
|
||||
[type="reset"]::-moz-focus-inner,
|
||||
[type="submit"]::-moz-focus-inner {
|
||||
border-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Restore the focus styles unset by the previous rule.
|
||||
*/
|
||||
|
||||
button:-moz-focusring,
|
||||
[type="button"]:-moz-focusring,
|
||||
[type="reset"]:-moz-focusring,
|
||||
[type="submit"]:-moz-focusring {
|
||||
outline: 1px dotted ButtonText;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the padding in Firefox.
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
padding: 0.35em 0.75em 0.625em;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the text wrapping in Edge and IE.
|
||||
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
||||
* 3. Remove the padding so developers are not caught out when they zero out
|
||||
* `fieldset` elements in all browsers.
|
||||
*/
|
||||
|
||||
legend {
|
||||
box-sizing: border-box; /* 1 */
|
||||
color: inherit; /* 2 */
|
||||
display: table; /* 1 */
|
||||
max-width: 100%; /* 1 */
|
||||
padding: 0; /* 3 */
|
||||
white-space: normal; /* 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
||||
*/
|
||||
|
||||
progress {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the default vertical scrollbar in IE 10+.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Add the correct box sizing in IE 10.
|
||||
* 2. Remove the padding in IE 10.
|
||||
*/
|
||||
|
||||
[type="checkbox"],
|
||||
[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the cursor style of increment and decrement buttons in Chrome.
|
||||
*/
|
||||
|
||||
[type="number"]::-webkit-inner-spin-button,
|
||||
[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the odd appearance in Chrome and Safari.
|
||||
* 2. Correct the outline style in Safari.
|
||||
*/
|
||||
|
||||
[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
outline-offset: -2px; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the inner padding in Chrome and Safari on macOS.
|
||||
*/
|
||||
|
||||
[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the inability to style clickable types in iOS and Safari.
|
||||
* 2. Change font properties to `inherit` in Safari.
|
||||
*/
|
||||
|
||||
::-webkit-file-upload-button {
|
||||
-webkit-appearance: button; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
}
|
||||
|
||||
/* Interactive
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Add the correct display in Edge, IE 10+, and Firefox.
|
||||
*/
|
||||
|
||||
details {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*
|
||||
* Add the correct display in all browsers.
|
||||
*/
|
||||
|
||||
summary {
|
||||
display: list-item;
|
||||
}
|
||||
|
||||
/* Misc
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Add the correct display in IE 10+.
|
||||
*/
|
||||
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct display in IE 10.
|
||||
*/
|
||||
|
||||
[hidden] {
|
||||
display: none;
|
||||
}
|
||||
image {
|
||||
background-size: cover;
|
||||
background-image: url("http://luyuan.tk/static/images/TIM%E5%9B%BE%E7%89%8720191214113605.jpg");
|
||||
}
|
||||
|
||||
|
||||
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
||||
|
||||
/* Document
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Correct the line height in all browsers.
|
||||
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
||||
*/
|
||||
|
||||
html {
|
||||
line-height: 1; /* 1 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/* Sections
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the margin in all browsers.
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Render the `main` element consistently in IE.
|
||||
*/
|
||||
|
||||
main {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the font size and margin on `h1` elements within `section` and
|
||||
* `article` contexts in Chrome, Firefox, and Safari.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Add the correct box sizing in Firefox.
|
||||
* 2. Show the overflow in Edge and IE.
|
||||
*/
|
||||
|
||||
hr {
|
||||
box-sizing: content-box; /* 1 */
|
||||
height: 0; /* 1 */
|
||||
overflow: visible; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the inheritance and scaling of font size in all browsers.
|
||||
* 2. Correct the odd `em` font sizing in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
font-family: monospace, monospace; /* 1 */
|
||||
font-size: 1em; /* 2 */
|
||||
}
|
||||
|
||||
/* Text-level semantics
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the gray background on active links in IE 10.
|
||||
*/
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Remove the bottom border in Chrome 57-
|
||||
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
||||
*/
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: none; /* 1 */
|
||||
text-decoration: underline; /* 2 */
|
||||
text-decoration: underline dotted; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct font weight in Chrome, Edge, and Safari.
|
||||
*/
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the inheritance and scaling of font size in all browsers.
|
||||
* 2. Correct the odd `em` font sizing in all browsers.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
samp {
|
||||
font-family: monospace, monospace; /* 1 */
|
||||
font-size: 1em; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent `sub` and `sup` elements from affecting the line height in
|
||||
* all browsers.
|
||||
*/
|
||||
|
||||
sub,
|
||||
sup {
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
/* Embedded content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the border on images inside links in IE 10.
|
||||
*/
|
||||
|
||||
img {
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Change the font styles in all browsers.
|
||||
* 2. Remove the margin in Firefox and Safari.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
font-family: inherit; /* 1 */
|
||||
font-size: 100%; /* 1 */
|
||||
line-height: 1; /* 1 */
|
||||
margin: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the overflow in IE.
|
||||
* 1. Show the overflow in Edge.
|
||||
*/
|
||||
|
||||
button,
|
||||
input {
|
||||
/* 1 */
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
||||
* 1. Remove the inheritance of text transform in Firefox.
|
||||
*/
|
||||
|
||||
button,
|
||||
select {
|
||||
/* 1 */
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the inability to style clickable types in iOS and Safari.
|
||||
*/
|
||||
|
||||
button,
|
||||
[type="button"],
|
||||
[type="reset"],
|
||||
[type="submit"] {
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the inner border and padding in Firefox.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
[type="button"]::-moz-focus-inner,
|
||||
[type="reset"]::-moz-focus-inner,
|
||||
[type="submit"]::-moz-focus-inner {
|
||||
border-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Restore the focus styles unset by the previous rule.
|
||||
*/
|
||||
|
||||
button:-moz-focusring,
|
||||
[type="button"]:-moz-focusring,
|
||||
[type="reset"]:-moz-focusring,
|
||||
[type="submit"]:-moz-focusring {
|
||||
outline: 1px dotted ButtonText;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the padding in Firefox.
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
padding: 0.35em 0.75em 0.625em;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the text wrapping in Edge and IE.
|
||||
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
||||
* 3. Remove the padding so developers are not caught out when they zero out
|
||||
* `fieldset` elements in all browsers.
|
||||
*/
|
||||
|
||||
legend {
|
||||
box-sizing: border-box; /* 1 */
|
||||
color: inherit; /* 2 */
|
||||
display: table; /* 1 */
|
||||
max-width: 100%; /* 1 */
|
||||
padding: 0; /* 3 */
|
||||
white-space: normal; /* 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
||||
*/
|
||||
|
||||
progress {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the default vertical scrollbar in IE 10+.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Add the correct box sizing in IE 10.
|
||||
* 2. Remove the padding in IE 10.
|
||||
*/
|
||||
|
||||
[type="checkbox"],
|
||||
[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the cursor style of increment and decrement buttons in Chrome.
|
||||
*/
|
||||
|
||||
[type="number"]::-webkit-inner-spin-button,
|
||||
[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the odd appearance in Chrome and Safari.
|
||||
* 2. Correct the outline style in Safari.
|
||||
*/
|
||||
|
||||
[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
outline-offset: -2px; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the inner padding in Chrome and Safari on macOS.
|
||||
*/
|
||||
|
||||
[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the inability to style clickable types in iOS and Safari.
|
||||
* 2. Change font properties to `inherit` in Safari.
|
||||
*/
|
||||
|
||||
::-webkit-file-upload-button {
|
||||
-webkit-appearance: button; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
}
|
||||
|
||||
/* Interactive
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Add the correct display in Edge, IE 10+, and Firefox.
|
||||
*/
|
||||
|
||||
details {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*
|
||||
* Add the correct display in all browsers.
|
||||
*/
|
||||
|
||||
summary {
|
||||
display: list-item;
|
||||
}
|
||||
|
||||
/* Misc
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Add the correct display in IE 10+.
|
||||
*/
|
||||
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct display in IE 10.
|
||||
*/
|
||||
|
||||
[hidden] {
|
||||
display: none;
|
||||
}
|
||||
image {
|
||||
background-size: cover;
|
||||
background-image: url("http://luyuan.tk/static/images/TIM%E5%9B%BE%E7%89%8720191214113605.jpg");
|
||||
}
|
||||
|
@ -1,32 +1,32 @@
|
||||
.shuru {
|
||||
width: 670rpx;
|
||||
height: 100rpx;
|
||||
border-bottom: 2rpx solid #E8E8E8;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
line-height: 100rpx;
|
||||
font-size: 28rpx;
|
||||
.left {
|
||||
color: #333333;
|
||||
}
|
||||
.right {
|
||||
margin: auto 0;
|
||||
display: flex;
|
||||
.shuru1 {
|
||||
width: 280rpx;
|
||||
text-align: right;
|
||||
}
|
||||
.shurupla {
|
||||
color: #999999;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.arrow {
|
||||
width: 14rpx;
|
||||
height: 25rpx;
|
||||
background-color: #999999;
|
||||
margin: auto 0;
|
||||
margin-left: 27rpx;
|
||||
}
|
||||
}
|
||||
.shuru {
|
||||
width: 670rpx;
|
||||
height: 100rpx;
|
||||
border-bottom: 2rpx solid #E8E8E8;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
line-height: 100rpx;
|
||||
font-size: 28rpx;
|
||||
.left {
|
||||
color: #333333;
|
||||
}
|
||||
.right {
|
||||
margin: auto 0;
|
||||
display: flex;
|
||||
.shuru1 {
|
||||
width: 280rpx;
|
||||
text-align: right;
|
||||
}
|
||||
.shurupla {
|
||||
color: #999999;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.arrow {
|
||||
width: 14rpx;
|
||||
height: 25rpx;
|
||||
background-color: #999999;
|
||||
margin: auto 0;
|
||||
margin-left: 27rpx;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
.btn {
|
||||
width: 650rpx;
|
||||
height: 98rpx;
|
||||
background: #09BB07;
|
||||
border-radius: 10rpx;
|
||||
margin: 0 auto;
|
||||
font-size: 36rpx;
|
||||
color: white;
|
||||
line-height: 98rpx;
|
||||
text-align: center;
|
||||
.btn {
|
||||
width: 650rpx;
|
||||
height: 98rpx;
|
||||
background: #09BB07;
|
||||
border-radius: 10rpx;
|
||||
margin: 0 auto;
|
||||
font-size: 36rpx;
|
||||
color: white;
|
||||
line-height: 98rpx;
|
||||
text-align: center;
|
||||
}
|
@ -1,79 +1,79 @@
|
||||
.address {
|
||||
width: 690rpx;
|
||||
height: 192rpx;
|
||||
border-bottom: 2rpx solid #EAEAEA;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding-bottom: 27rpx;
|
||||
;
|
||||
.left {
|
||||
width: 576rpx;
|
||||
height: 119rpx;
|
||||
.userinfo {
|
||||
color: #333333;
|
||||
font-size: 26rpx;
|
||||
text-indent: 16xrpx;
|
||||
margin-top: 41rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.username{
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
.username1{
|
||||
width: 140rpx;
|
||||
overflow: hidden;
|
||||
}
|
||||
.tel{
|
||||
margin-right: 6rpx;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
.addr {
|
||||
color: #999999;
|
||||
font-size: 24rpx;
|
||||
text-indent: 30rpx;
|
||||
margin-top: 32rpx;
|
||||
width: 551rpx;
|
||||
margin-left: 20rpx;
|
||||
// display: flex;
|
||||
.select {
|
||||
width: 26rpx;
|
||||
height: 26rpx;
|
||||
margin: auto 0;
|
||||
border-radius: 50%;
|
||||
background-color: #EAEAEA;
|
||||
float: left;
|
||||
margin-right: -14rpx;
|
||||
|
||||
}
|
||||
.selected {
|
||||
background-color: #47C877;
|
||||
}
|
||||
.default {
|
||||
// margin-left: 12rpx;
|
||||
font-size: 24rpx;
|
||||
text-indent: 16rpx;
|
||||
line-height: 60rpx;
|
||||
float: left;
|
||||
}
|
||||
.path {
|
||||
// float: left;
|
||||
line-height: 25rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.line {
|
||||
width: 2rpx;
|
||||
height: 75rpx;
|
||||
background: rgba(211, 211, 211, 1);
|
||||
margin: auto 0;
|
||||
}
|
||||
.right {
|
||||
color: #666666;
|
||||
font-size: 24rpx;
|
||||
line-height: 192rpx;
|
||||
margin-left: 30rpx;
|
||||
margin-right: 21rpx;
|
||||
}
|
||||
.address {
|
||||
width: 690rpx;
|
||||
height: 192rpx;
|
||||
border-bottom: 2rpx solid #EAEAEA;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding-bottom: 27rpx;
|
||||
;
|
||||
.left {
|
||||
width: 576rpx;
|
||||
height: 119rpx;
|
||||
.userinfo {
|
||||
color: #333333;
|
||||
font-size: 26rpx;
|
||||
text-indent: 16xrpx;
|
||||
margin-top: 41rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.username{
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
.username1{
|
||||
width: 140rpx;
|
||||
overflow: hidden;
|
||||
}
|
||||
.tel{
|
||||
margin-right: 6rpx;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
.addr {
|
||||
color: #999999;
|
||||
font-size: 24rpx;
|
||||
text-indent: 30rpx;
|
||||
margin-top: 32rpx;
|
||||
width: 551rpx;
|
||||
margin-left: 20rpx;
|
||||
// display: flex;
|
||||
.select {
|
||||
width: 26rpx;
|
||||
height: 26rpx;
|
||||
margin: auto 0;
|
||||
border-radius: 50%;
|
||||
background-color: #EAEAEA;
|
||||
float: left;
|
||||
margin-right: -14rpx;
|
||||
|
||||
}
|
||||
.selected {
|
||||
background-color: #47C877;
|
||||
}
|
||||
.default {
|
||||
// margin-left: 12rpx;
|
||||
font-size: 24rpx;
|
||||
text-indent: 16rpx;
|
||||
line-height: 60rpx;
|
||||
float: left;
|
||||
}
|
||||
.path {
|
||||
// float: left;
|
||||
line-height: 25rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.line {
|
||||
width: 2rpx;
|
||||
height: 75rpx;
|
||||
background: rgba(211, 211, 211, 1);
|
||||
margin: auto 0;
|
||||
}
|
||||
.right {
|
||||
color: #666666;
|
||||
font-size: 24rpx;
|
||||
line-height: 192rpx;
|
||||
margin-left: 30rpx;
|
||||
margin-right: 21rpx;
|
||||
}
|
||||
}
|
@ -1,14 +1,14 @@
|
||||
Component({
|
||||
properties: {
|
||||
list:Array
|
||||
},
|
||||
data: {},
|
||||
methods: {
|
||||
todetail(a) {
|
||||
console.log(a)
|
||||
wx.navigateTo({
|
||||
url: "/pages/product/product?shopid=" + a.currentTarget.dataset.id
|
||||
})
|
||||
}
|
||||
}
|
||||
Component({
|
||||
properties: {
|
||||
list:Array
|
||||
},
|
||||
data: {},
|
||||
methods: {
|
||||
todetail(a) {
|
||||
console.log(a)
|
||||
wx.navigateTo({
|
||||
url: "/pages/product/product?shopid=" + a.currentTarget.dataset.id
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
|
||||
}
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
|
||||
}
|
||||
}
|
@ -1,63 +1,63 @@
|
||||
.list {
|
||||
padding-left: 20rpx;
|
||||
width: 572rpx;
|
||||
box-sizing: border-box;
|
||||
height: 100vh;
|
||||
.commodity {
|
||||
width: 552rpx;
|
||||
// height: 143rpx;
|
||||
// margin-top: 32rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.content {
|
||||
width: 552rpx;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
// box-shadow: 0 0 24rpx 0 rgba(227, 227, 227, 0.4);
|
||||
border-bottom: 2rpx solid #eaeaea;
|
||||
padding: 30rpx 0;
|
||||
.imgthumb {
|
||||
width: 105rpx;
|
||||
height: 105rpx;
|
||||
margin-left: 40rpx;
|
||||
background-color: #333;
|
||||
}
|
||||
.introduce {
|
||||
width: 336rpx;
|
||||
margin-left: 40rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.towline {
|
||||
overflow: hidden;
|
||||
|
||||
text-overflow: ellipsis;
|
||||
|
||||
display: -webkit-box;
|
||||
|
||||
-webkit-box-orient: vertical;
|
||||
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
> text {
|
||||
font-size: 22rpx;
|
||||
color: #333;
|
||||
margin-bottom: 22rpx;
|
||||
}
|
||||
> view {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
> text:first-child {
|
||||
font-size: 30rpx;
|
||||
color: #dec499;
|
||||
}
|
||||
> text:last-child {
|
||||
font-size: 22rpx;
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.list {
|
||||
padding-left: 20rpx;
|
||||
width: 572rpx;
|
||||
box-sizing: border-box;
|
||||
height: 100vh;
|
||||
.commodity {
|
||||
width: 552rpx;
|
||||
// height: 143rpx;
|
||||
// margin-top: 32rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.content {
|
||||
width: 552rpx;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
// box-shadow: 0 0 24rpx 0 rgba(227, 227, 227, 0.4);
|
||||
border-bottom: 2rpx solid #eaeaea;
|
||||
padding: 30rpx 0;
|
||||
.imgthumb {
|
||||
width: 105rpx;
|
||||
height: 105rpx;
|
||||
margin-left: 40rpx;
|
||||
background-color: #333;
|
||||
}
|
||||
.introduce {
|
||||
width: 336rpx;
|
||||
margin-left: 40rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.towline {
|
||||
overflow: hidden;
|
||||
|
||||
text-overflow: ellipsis;
|
||||
|
||||
display: -webkit-box;
|
||||
|
||||
-webkit-box-orient: vertical;
|
||||
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
> text {
|
||||
font-size: 22rpx;
|
||||
color: #333;
|
||||
margin-bottom: 22rpx;
|
||||
}
|
||||
> view {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
> text:first-child {
|
||||
font-size: 30rpx;
|
||||
color: #dec499;
|
||||
}
|
||||
> text:last-child {
|
||||
font-size: 22rpx;
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,38 +1,38 @@
|
||||
<scroll-view class="list" scroll-y="{{true}}" >
|
||||
<view class="commodity" bindtap="todetail" wx:for="{{list}}" wx:for-index="j" wx:key="{{j}}" data-id="{{item.goods_id}}">
|
||||
<view class="content">
|
||||
<image class="imgthumb " src="{{item.image}}"></image>
|
||||
<view class="introduce">
|
||||
<text class="towline">{{item.goods_name}}</text>
|
||||
<view>
|
||||
<text>¥{{item.shop_price}}</text>
|
||||
<text>加入购物车</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="commodity" bindtap="todetail">
|
||||
<view class="content">
|
||||
<image class="imgthumb "></image>
|
||||
<view class="introduce">
|
||||
<text>产品名称产品名称产品名称产品名称产品名称产品</text>
|
||||
<view>
|
||||
<text>¥657</text>
|
||||
<text>加入购物车</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="commodity" bindtap="todetail">
|
||||
<view class="content">
|
||||
<image class="imgthumb "></image>
|
||||
<view class="introduce">
|
||||
<text>产品名称产品名称产品名称产品名称产品名称产品</text>
|
||||
<view>
|
||||
<text>¥657</text>
|
||||
<text>加入购物车</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<scroll-view class="list" scroll-y="{{true}}" >
|
||||
<view class="commodity" bindtap="todetail" wx:for="{{list}}" wx:for-index="j" wx:key="{{j}}" data-id="{{item.goods_id}}">
|
||||
<view class="content">
|
||||
<image class="imgthumb " src="{{item.image}}"></image>
|
||||
<view class="introduce">
|
||||
<text class="towline">{{item.goods_name}}</text>
|
||||
<view>
|
||||
<text>¥{{item.shop_price}}</text>
|
||||
<text>加入购物车</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="commodity" bindtap="todetail">
|
||||
<view class="content">
|
||||
<image class="imgthumb "></image>
|
||||
<view class="introduce">
|
||||
<text>产品名称产品名称产品名称产品名称产品名称产品</text>
|
||||
<view>
|
||||
<text>¥657</text>
|
||||
<text>加入购物车</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="commodity" bindtap="todetail">
|
||||
<view class="content">
|
||||
<image class="imgthumb "></image>
|
||||
<view class="introduce">
|
||||
<text>产品名称产品名称产品名称产品名称产品名称产品</text>
|
||||
<view>
|
||||
<text>¥657</text>
|
||||
<text>加入购物车</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</scroll-view>
|
@ -1 +1 @@
|
||||
.list{padding-left:20rpx;width:572rpx;box-sizing:border-box;height:100vh}.list .commodity{width:552rpx;display:flex;align-items:center}.list .commodity .content{width:552rpx;height:100%;display:flex;align-items:center;border-bottom:2rpx solid #eaeaea;padding:30rpx 0}.list .commodity .content .imgthumb{width:105rpx;height:105rpx;margin-left:40rpx;background-color:#333}.list .commodity .content .introduce{width:336rpx;margin-left:40rpx;display:flex;flex-direction:column}.list .commodity .content .introduce .towline{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.list .commodity .content .introduce>text{font-size:22rpx;color:#333;margin-bottom:22rpx}.list .commodity .content .introduce>view{display:flex;align-items:center;justify-content:space-between}.list .commodity .content .introduce>view>text:first-child{font-size:30rpx;color:#dec499}.list .commodity .content .introduce>view>text:last-child{font-size:22rpx;color:#999}
|
||||
.list{padding-left:20rpx;width:572rpx;box-sizing:border-box;height:100vh}.list .commodity{width:552rpx;display:flex;align-items:center}.list .commodity .content{width:552rpx;height:100%;display:flex;align-items:center;border-bottom:2rpx solid #eaeaea;padding:30rpx 0}.list .commodity .content .imgthumb{width:105rpx;height:105rpx;margin-left:40rpx;background-color:#333}.list .commodity .content .introduce{width:336rpx;margin-left:40rpx;display:flex;flex-direction:column}.list .commodity .content .introduce .towline{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.list .commodity .content .introduce>text{font-size:22rpx;color:#333;margin-bottom:22rpx}.list .commodity .content .introduce>view{display:flex;align-items:center;justify-content:space-between}.list .commodity .content .introduce>view>text:first-child{font-size:30rpx;color:#dec499}.list .commodity .content .introduce>view>text:last-child{font-size:22rpx;color:#999}
|
||||
|
@ -1,18 +1,18 @@
|
||||
Component({
|
||||
properties: {
|
||||
types: Array
|
||||
},
|
||||
data: {
|
||||
id: 0
|
||||
},
|
||||
methods: {
|
||||
select(a) {
|
||||
// console.log(this.data.a.target.dataset.id)
|
||||
// console.log(a.target.dataset.id)
|
||||
this.setData({
|
||||
id: a.target.dataset.id
|
||||
})
|
||||
this.triggerEvent("select",{id:a.target.dataset.id})
|
||||
}
|
||||
}
|
||||
Component({
|
||||
properties: {
|
||||
types: Array
|
||||
},
|
||||
data: {
|
||||
id: 0
|
||||
},
|
||||
methods: {
|
||||
select(a) {
|
||||
// console.log(this.data.a.target.dataset.id)
|
||||
// console.log(a.target.dataset.id)
|
||||
this.setData({
|
||||
id: a.target.dataset.id
|
||||
})
|
||||
this.triggerEvent("select",{id:a.target.dataset.id})
|
||||
}
|
||||
}
|
||||
})
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
|
||||
}
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
|
||||
}
|
||||
}
|
@ -1,20 +1,20 @@
|
||||
.navigation {
|
||||
width: 188rpx;
|
||||
// margin-right: 2rpx;
|
||||
border-right: 2rpx solid #eaeaea;
|
||||
max-height: 100vh;
|
||||
view{
|
||||
height: 97rpx;
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
border-bottom: 2rpx solid #eaeaea;
|
||||
line-height: 97rpx;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.on{
|
||||
border-left: 5rpx solid #56CC84;
|
||||
color:#56CC84;
|
||||
}
|
||||
.navigation {
|
||||
width: 188rpx;
|
||||
// margin-right: 2rpx;
|
||||
border-right: 2rpx solid #eaeaea;
|
||||
max-height: 100vh;
|
||||
view{
|
||||
height: 97rpx;
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
border-bottom: 2rpx solid #eaeaea;
|
||||
line-height: 97rpx;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.on{
|
||||
border-left: 5rpx solid #56CC84;
|
||||
color:#56CC84;
|
||||
}
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
<scroll-view class="navigation" scroll-y="{{true}}" bind:tap="select" >
|
||||
<view wx:for="{{types}}" data-id="{{index}}" class="{{id == index?'on' : ''}}">{{item.name}}</view>
|
||||
<!-- <view data-id="0" class="{{id == 0?'on' : ''}}">热门商品</view>
|
||||
<view data-id="1" class="{{id == 1?'on' : ''}}">美容健身</view>
|
||||
<view data-id="2" class="{{id == 2?'on' : ''}}">美容健身</view>
|
||||
<view data-id="3" class="{{id == 3?'on' : ''}}">美容健身</view>
|
||||
<view data-id="4" class="{{id == 4?'on' : ''}}">美容健身</view>
|
||||
<view data-id="5" class="{{id == 5?'on' : ''}}">美容健身</view>
|
||||
<view data-id="6" class="{{id == 6?'on' : ''}}">美容健身</view>
|
||||
<view data-id="7" class="{{id == 7?'on' : ''}}">美容健身</view> -->
|
||||
<scroll-view class="navigation" scroll-y="{{true}}" bind:tap="select" >
|
||||
<view wx:for="{{types}}" data-id="{{index}}" class="{{id == index?'on' : ''}}">{{item.name}}</view>
|
||||
<!-- <view data-id="0" class="{{id == 0?'on' : ''}}">热门商品</view>
|
||||
<view data-id="1" class="{{id == 1?'on' : ''}}">美容健身</view>
|
||||
<view data-id="2" class="{{id == 2?'on' : ''}}">美容健身</view>
|
||||
<view data-id="3" class="{{id == 3?'on' : ''}}">美容健身</view>
|
||||
<view data-id="4" class="{{id == 4?'on' : ''}}">美容健身</view>
|
||||
<view data-id="5" class="{{id == 5?'on' : ''}}">美容健身</view>
|
||||
<view data-id="6" class="{{id == 6?'on' : ''}}">美容健身</view>
|
||||
<view data-id="7" class="{{id == 7?'on' : ''}}">美容健身</view> -->
|
||||
</scroll-view>
|
@ -1 +1 @@
|
||||
.navigation{width:188rpx;border-right:2rpx solid #eaeaea;max-height:100vh}.navigation view{height:97rpx;font-size:28rpx;color:#333;border-bottom:2rpx solid #eaeaea;line-height:97rpx;font-weight:bold;text-align:center;box-sizing:border-box}.navigation .on{border-left:5rpx solid #56CC84;color:#56CC84}
|
||||
.navigation{width:188rpx;border-right:2rpx solid #eaeaea;max-height:100vh}.navigation view{height:97rpx;font-size:28rpx;color:#333;border-bottom:2rpx solid #eaeaea;line-height:97rpx;font-weight:bold;text-align:center;box-sizing:border-box}.navigation .on{border-left:5rpx solid #56CC84;color:#56CC84}
|
||||
|
@ -1,18 +1,18 @@
|
||||
Component({
|
||||
properties: {
|
||||
img:String,
|
||||
title:String,
|
||||
id:String,
|
||||
price:String,
|
||||
shopid:String
|
||||
},
|
||||
data: {},
|
||||
methods: {
|
||||
gotodetail(e) {
|
||||
console.log(e.currentTarget.dataset.id)
|
||||
wx.navigateTo({
|
||||
url: "/pages/product/product?shopid="+e.currentTarget.dataset.id
|
||||
})
|
||||
}
|
||||
}
|
||||
Component({
|
||||
properties: {
|
||||
img:String,
|
||||
title:String,
|
||||
id:String,
|
||||
price:String,
|
||||
shopid:String
|
||||
},
|
||||
data: {},
|
||||
methods: {
|
||||
gotodetail(e) {
|
||||
console.log(e.currentTarget.dataset.id)
|
||||
wx.navigateTo({
|
||||
url: "/pages/product/product?shopid="+e.currentTarget.dataset.id
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"component": true
|
||||
{
|
||||
"component": true
|
||||
}
|
@ -1,58 +1,58 @@
|
||||
.commodity {
|
||||
width: 623rpx;
|
||||
height: 143rpx;
|
||||
margin-top: 32rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.content {
|
||||
width: 614rpx;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
box-shadow: 0 0 24rpx 0 rgba(227, 227, 227, 0.4);
|
||||
.imgthumb {
|
||||
width: 105rpx;
|
||||
height: 105rpx;
|
||||
margin-left: 40rpx;
|
||||
background-color: #333;
|
||||
}
|
||||
.introduce {
|
||||
width: 410rpx;
|
||||
margin-left: 40rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
> text {
|
||||
font-size: 26rpx;
|
||||
color: #333;
|
||||
margin-bottom: 22rpx;
|
||||
overflow: hidden;
|
||||
|
||||
text-overflow: ellipsis;
|
||||
|
||||
display: -webkit-box;
|
||||
|
||||
-webkit-box-orient: vertical;
|
||||
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
> view {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
> text:first-child {
|
||||
font-size: 30rpx;
|
||||
color: #dec499;
|
||||
}
|
||||
> text:last-child {
|
||||
font-size: 22rpx;
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.decorate {
|
||||
width: 9rpx;
|
||||
height: 102rpx;
|
||||
background-color: #3fb66e;
|
||||
}
|
||||
}
|
||||
.commodity {
|
||||
width: 623rpx;
|
||||
height: 143rpx;
|
||||
margin-top: 32rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.content {
|
||||
width: 614rpx;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
box-shadow: 0 0 24rpx 0 rgba(227, 227, 227, 0.4);
|
||||
.imgthumb {
|
||||
width: 105rpx;
|
||||
height: 105rpx;
|
||||
margin-left: 40rpx;
|
||||
background-color: #333;
|
||||
}
|
||||
.introduce {
|
||||
width: 410rpx;
|
||||
margin-left: 40rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
> text {
|
||||
font-size: 26rpx;
|
||||
color: #333;
|
||||
margin-bottom: 22rpx;
|
||||
overflow: hidden;
|
||||
|
||||
text-overflow: ellipsis;
|
||||
|
||||
display: -webkit-box;
|
||||
|
||||
-webkit-box-orient: vertical;
|
||||
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
> view {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
> text:first-child {
|
||||
font-size: 30rpx;
|
||||
color: #dec499;
|
||||
}
|
||||
> text:last-child {
|
||||
font-size: 22rpx;
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.decorate {
|
||||
width: 9rpx;
|
||||
height: 102rpx;
|
||||
background-color: #3fb66e;
|
||||
}
|
||||
}
|
||||
|
@ -1,14 +1,14 @@
|
||||
<view class="commodity" bindtap="gotodetail" data-id="{{shopid}}">
|
||||
<view class="content">
|
||||
<image class="imgthumb " src="{{img}}"></image>
|
||||
<view class="introduce">
|
||||
<text class="towline">{{title}}</text>
|
||||
|
||||
<view>
|
||||
<text>¥{{price}}</text>
|
||||
<text>加入购物车</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="decorate"></view>
|
||||
<view class="commodity" bindtap="gotodetail" data-id="{{shopid}}">
|
||||
<view class="content">
|
||||
<image class="imgthumb " src="{{img}}"></image>
|
||||
<view class="introduce">
|
||||
<text class="towline">{{title}}</text>
|
||||
|
||||
<view>
|
||||
<text>¥{{price}}</text>
|
||||
<text>加入购物车</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="decorate"></view>
|
||||
</view>
|
@ -1 +1 @@
|
||||
.commodity{width:623rpx;height:143rpx;margin-top:32rpx;display:flex;align-items:center}.commodity .content{width:614rpx;height:100%;display:flex;align-items:center;box-shadow:0 0 24rpx 0 rgba(227,227,227,0.4)}.commodity .content .imgthumb{width:105rpx;height:105rpx;margin-left:40rpx;background-color:#333}.commodity .content .introduce{width:410rpx;margin-left:40rpx;display:flex;flex-direction:column}.commodity .content .introduce>text{font-size:26rpx;color:#333;margin-bottom:22rpx;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.commodity .content .introduce>view{display:flex;align-items:center;justify-content:space-between}.commodity .content .introduce>view>text:first-child{font-size:30rpx;color:#dec499}.commodity .content .introduce>view>text:last-child{font-size:22rpx;color:#999}.commodity .decorate{width:9rpx;height:102rpx;background-color:#3fb66e}
|
||||
.commodity{width:623rpx;height:143rpx;margin-top:32rpx;display:flex;align-items:center}.commodity .content{width:614rpx;height:100%;display:flex;align-items:center;box-shadow:0 0 24rpx 0 rgba(227,227,227,0.4)}.commodity .content .imgthumb{width:105rpx;height:105rpx;margin-left:40rpx;background-color:#333}.commodity .content .introduce{width:410rpx;margin-left:40rpx;display:flex;flex-direction:column}.commodity .content .introduce>text{font-size:26rpx;color:#333;margin-bottom:22rpx;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.commodity .content .introduce>view{display:flex;align-items:center;justify-content:space-between}.commodity .content .introduce>view>text:first-child{font-size:30rpx;color:#dec499}.commodity .content .introduce>view>text:last-child{font-size:22rpx;color:#999}.commodity .decorate{width:9rpx;height:102rpx;background-color:#3fb66e}
|
||||
|
@ -1,9 +1,9 @@
|
||||
Component({
|
||||
properties: {
|
||||
list:Array
|
||||
},
|
||||
data: {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
Component({
|
||||
properties: {
|
||||
list:Array
|
||||
},
|
||||
data: {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
})
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"commodity":"./commodity/index"
|
||||
}
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"commodity":"./commodity/index"
|
||||
}
|
||||
}
|
@ -1,12 +1,12 @@
|
||||
.list {
|
||||
width: 623rpx;
|
||||
margin-top: 36rpx;
|
||||
.title {
|
||||
font-size: 30rpx;
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
margin-left: 32rpx;
|
||||
// margin-bottom: 32rpx;
|
||||
}
|
||||
|
||||
.list {
|
||||
width: 623rpx;
|
||||
margin-top: 36rpx;
|
||||
.title {
|
||||
font-size: 30rpx;
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
margin-left: 32rpx;
|
||||
// margin-bottom: 32rpx;
|
||||
}
|
||||
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
<view class="list">
|
||||
<text class="title">热门商品</text>
|
||||
<commodity wx:for="{{list}}" title="{{item.goods_name}}" price="{{item.shop_price}}" img="{{item.image}}" shopid="{{item.goods_id}}"></commodity>
|
||||
<view class="list">
|
||||
<text class="title">热门商品</text>
|
||||
<commodity wx:for="{{list}}" title="{{item.goods_name}}" price="{{item.shop_price}}" img="{{item.image}}" shopid="{{item.goods_id}}"></commodity>
|
||||
</view>
|
@ -1 +1 @@
|
||||
.list{width:623rpx;margin-top:36rpx}.list .title{font-size:30rpx;color:#333;font-weight:bold;margin-left:32rpx}
|
||||
.list{width:623rpx;margin-top:36rpx}.list .title{font-size:30rpx;color:#333;font-weight:bold;margin-left:32rpx}
|
||||
|
@ -1,8 +1,8 @@
|
||||
Component({
|
||||
properties: {
|
||||
},
|
||||
data: {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
Component({
|
||||
properties: {
|
||||
},
|
||||
data: {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
})
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"component": true
|
||||
{
|
||||
"component": true
|
||||
}
|
@ -1,23 +1,23 @@
|
||||
.search{
|
||||
width: 613rpx;
|
||||
height: 76rpx;
|
||||
margin-top: 30rpx;
|
||||
box-sizing: border-box;
|
||||
border-radius: 15rpx;
|
||||
display: flex;
|
||||
border:1rpx solid rgba(198,198,198,1);
|
||||
>image{
|
||||
width: 42rpx;
|
||||
height: 42rpx;
|
||||
background-color: #000;
|
||||
margin-left: 40rpx;
|
||||
margin-top: 17rpx;
|
||||
}
|
||||
>input{
|
||||
height: 30rpx;
|
||||
width: 480rpx;
|
||||
margin-top: 20rpx;
|
||||
margin-left: 17rpx;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.search{
|
||||
width: 613rpx;
|
||||
height: 76rpx;
|
||||
margin-top: 30rpx;
|
||||
box-sizing: border-box;
|
||||
border-radius: 15rpx;
|
||||
display: flex;
|
||||
border:1rpx solid rgba(198,198,198,1);
|
||||
>image{
|
||||
width: 42rpx;
|
||||
height: 42rpx;
|
||||
background-color: #000;
|
||||
margin-left: 40rpx;
|
||||
margin-top: 17rpx;
|
||||
}
|
||||
>input{
|
||||
height: 30rpx;
|
||||
width: 480rpx;
|
||||
margin-top: 20rpx;
|
||||
margin-left: 17rpx;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
<view class="search">
|
||||
<image></image>
|
||||
<input type="text" placeholder="输入您要搜索的产品" />
|
||||
<view class="search">
|
||||
<image></image>
|
||||
<input type="text" placeholder="输入您要搜索的产品" />
|
||||
</view>
|
@ -1 +1 @@
|
||||
.search{width:613rpx;height:76rpx;margin-top:30rpx;box-sizing:border-box;border-radius:15rpx;display:flex;border:1rpx solid #c6c6c6}.search>image{width:42rpx;height:42rpx;background-color:#000;margin-left:40rpx;margin-top:17rpx}.search>input{height:30rpx;width:480rpx;margin-top:20rpx;margin-left:17rpx;font-size:30rpx}
|
||||
.search{width:613rpx;height:76rpx;margin-top:30rpx;box-sizing:border-box;border-radius:15rpx;display:flex;border:1rpx solid #c6c6c6}.search>image{width:42rpx;height:42rpx;background-color:#000;margin-left:40rpx;margin-top:17rpx}.search>input{height:30rpx;width:480rpx;margin-top:20rpx;margin-left:17rpx;font-size:30rpx}
|
||||
|
@ -1,30 +1,30 @@
|
||||
.membershop {
|
||||
width: 373rpx;
|
||||
height: 557rpx;
|
||||
background-color: #FBFBFB;
|
||||
.pic {
|
||||
width: 113rpx;
|
||||
height: 256rpx;
|
||||
background-color: white;
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
top: 64rpx;
|
||||
left: 121rpx;
|
||||
}
|
||||
.shopname {
|
||||
width: 273rpx;
|
||||
color: #333333;
|
||||
font-size: 30rpx;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
top: 111rpx;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.pri {
|
||||
position: relative;
|
||||
top: 127rpx;
|
||||
text-align: center;
|
||||
font-size: 30rpx;
|
||||
color: #09BB07;
|
||||
}
|
||||
.membershop {
|
||||
width: 373rpx;
|
||||
height: 557rpx;
|
||||
background-color: #FBFBFB;
|
||||
.pic {
|
||||
width: 113rpx;
|
||||
height: 256rpx;
|
||||
background-color: white;
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
top: 64rpx;
|
||||
left: 121rpx;
|
||||
}
|
||||
.shopname {
|
||||
width: 273rpx;
|
||||
color: #333333;
|
||||
font-size: 30rpx;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
top: 111rpx;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.pri {
|
||||
position: relative;
|
||||
top: 127rpx;
|
||||
text-align: center;
|
||||
font-size: 30rpx;
|
||||
color: #09BB07;
|
||||
}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
<view class="membershop">
|
||||
<image class="pic"></image>
|
||||
<view class="shopname">产品名产品名产品名
|
||||
产品名产品名</view>
|
||||
<view class="pri">$123</view>
|
||||
<view class="membershop">
|
||||
<image class="pic"></image>
|
||||
<view class="shopname">产品名产品名产品名
|
||||
产品名产品名</view>
|
||||
<view class="pri">$123</view>
|
||||
</view>
|
@ -1,9 +1,9 @@
|
||||
.membertop {
|
||||
width: 100%;
|
||||
height: 86rpx;
|
||||
border-top: 2rpx solid #E8E8E8;
|
||||
color: #999999;
|
||||
font-size: 24rpx;
|
||||
line-height: 86rpx;
|
||||
text-indent: 30rpx;
|
||||
.membertop {
|
||||
width: 100%;
|
||||
height: 86rpx;
|
||||
border-top: 2rpx solid #E8E8E8;
|
||||
color: #999999;
|
||||
font-size: 24rpx;
|
||||
line-height: 86rpx;
|
||||
text-indent: 30rpx;
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
Component({
|
||||
properties: {},
|
||||
data: {},
|
||||
methods: {
|
||||
todetail() {
|
||||
wx.navigateTo({
|
||||
url: "/pages/undetermined/undetermined"
|
||||
})
|
||||
}
|
||||
}
|
||||
Component({
|
||||
properties: {},
|
||||
data: {},
|
||||
methods: {
|
||||
todetail() {
|
||||
wx.navigateTo({
|
||||
url: "/pages/undetermined/undetermined"
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"message":"../message/index"
|
||||
}
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"message":"../message/index"
|
||||
}
|
||||
}
|
@ -1,81 +1,81 @@
|
||||
.commodity {
|
||||
margin-top: 20rpx;
|
||||
background-color: #fff;
|
||||
.message {
|
||||
padding: 35rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-bottom: 1rpx solid #F2F2F2;
|
||||
.image {
|
||||
width: 141rpx;
|
||||
height: 150rpx;
|
||||
background-color: #000;
|
||||
margin-left: 34rpx;
|
||||
}
|
||||
.introduce {
|
||||
margin-left: 32rpx;
|
||||
height: 120rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
width: 362rpx;
|
||||
.title {
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
}
|
||||
.count {
|
||||
font-size: 24rpx;
|
||||
color: #999;
|
||||
display: flex;
|
||||
> view {
|
||||
margin-right: 27rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.parameter {
|
||||
width: 150rpx;
|
||||
height: 120rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
align-items: flex-end;
|
||||
}
|
||||
}
|
||||
.aggregate{
|
||||
display: flex;
|
||||
box-sizing: border-box;
|
||||
padding: 30rpx;
|
||||
justify-content: flex-end;
|
||||
font-size: 22rpx;
|
||||
color: #999;
|
||||
height: 78rpx;
|
||||
border-bottom: 1rpx solid #F2F2F2;
|
||||
|
||||
>text{
|
||||
color: #333;
|
||||
margin: 0 5rpx;
|
||||
}
|
||||
}
|
||||
.operation{
|
||||
height: 84rpx;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
padding:0 30rpx;
|
||||
align-items: center;
|
||||
.button{
|
||||
width: 133rpx;
|
||||
height: 51rpx;
|
||||
border:2rpx solid #999999;
|
||||
border-radius: 26rpx;
|
||||
text-align: center;
|
||||
font-size: 22rpx;
|
||||
color:#999999;
|
||||
line-height: 51rpx;
|
||||
margin-right: 8rpx;
|
||||
}
|
||||
.hlight{
|
||||
border:2rpx solid rgba(71,200,119,1);
|
||||
color: #47C877;
|
||||
}
|
||||
}
|
||||
.commodity {
|
||||
margin-top: 20rpx;
|
||||
background-color: #fff;
|
||||
.message {
|
||||
padding: 35rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-bottom: 1rpx solid #F2F2F2;
|
||||
.image {
|
||||
width: 141rpx;
|
||||
height: 150rpx;
|
||||
background-color: #000;
|
||||
margin-left: 34rpx;
|
||||
}
|
||||
.introduce {
|
||||
margin-left: 32rpx;
|
||||
height: 120rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
width: 362rpx;
|
||||
.title {
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
}
|
||||
.count {
|
||||
font-size: 24rpx;
|
||||
color: #999;
|
||||
display: flex;
|
||||
> view {
|
||||
margin-right: 27rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.parameter {
|
||||
width: 150rpx;
|
||||
height: 120rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
align-items: flex-end;
|
||||
}
|
||||
}
|
||||
.aggregate{
|
||||
display: flex;
|
||||
box-sizing: border-box;
|
||||
padding: 30rpx;
|
||||
justify-content: flex-end;
|
||||
font-size: 22rpx;
|
||||
color: #999;
|
||||
height: 78rpx;
|
||||
border-bottom: 1rpx solid #F2F2F2;
|
||||
|
||||
>text{
|
||||
color: #333;
|
||||
margin: 0 5rpx;
|
||||
}
|
||||
}
|
||||
.operation{
|
||||
height: 84rpx;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
padding:0 30rpx;
|
||||
align-items: center;
|
||||
.button{
|
||||
width: 133rpx;
|
||||
height: 51rpx;
|
||||
border:2rpx solid #999999;
|
||||
border-radius: 26rpx;
|
||||
text-align: center;
|
||||
font-size: 22rpx;
|
||||
color:#999999;
|
||||
line-height: 51rpx;
|
||||
margin-right: 8rpx;
|
||||
}
|
||||
.hlight{
|
||||
border:2rpx solid rgba(71,200,119,1);
|
||||
color: #47C877;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,14 +1,14 @@
|
||||
<view class="commodity" bindtap="todetail">
|
||||
<message></message>
|
||||
<view class="aggregate">
|
||||
共计1件商品 合计:
|
||||
<text>¥29.80</text>
|
||||
(含运费¥0.00)
|
||||
</view>
|
||||
<view class="operation">
|
||||
<view class="button">评价</view>
|
||||
|
||||
<view class="button hlight">评价</view>
|
||||
|
||||
</view>
|
||||
<view class="commodity" bindtap="todetail">
|
||||
<message></message>
|
||||
<view class="aggregate">
|
||||
共计1件商品 合计:
|
||||
<text>¥29.80</text>
|
||||
(含运费¥0.00)
|
||||
</view>
|
||||
<view class="operation">
|
||||
<view class="button">评价</view>
|
||||
|
||||
<view class="button hlight">评价</view>
|
||||
|
||||
</view>
|
||||
</view>
|
@ -1 +1 @@
|
||||
.commodity{margin-top:20rpx;background-color:#fff}.commodity .message{padding:35rpx;display:flex;align-items:center;border-bottom:1rpx solid #F2F2F2}.commodity .message .image{width:141rpx;height:150rpx;background-color:#000;margin-left:34rpx}.commodity .message .introduce{margin-left:32rpx;height:120rpx;display:flex;flex-direction:column;justify-content:space-between;width:362rpx}.commodity .message .introduce .title{font-size:28rpx;color:#333}.commodity .message .introduce .count{font-size:24rpx;color:#999;display:flex}.commodity .message .introduce .count>view{margin-right:27rpx}.commodity .message .parameter{width:150rpx;height:120rpx;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end}.commodity .aggregate{display:flex;box-sizing:border-box;padding:30rpx;justify-content:flex-end;font-size:22rpx;color:#999;height:78rpx;border-bottom:1rpx solid #F2F2F2}.commodity .aggregate>text{color:#333;margin:0 5rpx}.commodity .operation{height:84rpx;display:flex;justify-content:flex-end;padding:0 30rpx;align-items:center}.commodity .operation .button{width:133rpx;height:51rpx;border:2rpx solid #999999;border-radius:26rpx;text-align:center;font-size:22rpx;color:#999999;line-height:51rpx;margin-right:8rpx}.commodity .operation .hlight{border:2rpx solid #47c877;color:#47C877}
|
||||
.commodity{margin-top:20rpx;background-color:#fff}.commodity .message{padding:35rpx;display:flex;align-items:center;border-bottom:1rpx solid #F2F2F2}.commodity .message .image{width:141rpx;height:150rpx;background-color:#000;margin-left:34rpx}.commodity .message .introduce{margin-left:32rpx;height:120rpx;display:flex;flex-direction:column;justify-content:space-between;width:362rpx}.commodity .message .introduce .title{font-size:28rpx;color:#333}.commodity .message .introduce .count{font-size:24rpx;color:#999;display:flex}.commodity .message .introduce .count>view{margin-right:27rpx}.commodity .message .parameter{width:150rpx;height:120rpx;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end}.commodity .aggregate{display:flex;box-sizing:border-box;padding:30rpx;justify-content:flex-end;font-size:22rpx;color:#999;height:78rpx;border-bottom:1rpx solid #F2F2F2}.commodity .aggregate>text{color:#333;margin:0 5rpx}.commodity .operation{height:84rpx;display:flex;justify-content:flex-end;padding:0 30rpx;align-items:center}.commodity .operation .button{width:133rpx;height:51rpx;border:2rpx solid #999999;border-radius:26rpx;text-align:center;font-size:22rpx;color:#999999;line-height:51rpx;margin-right:8rpx}.commodity .operation .hlight{border:2rpx solid #47c877;color:#47C877}
|
||||
|
@ -1,8 +1,8 @@
|
||||
Component({
|
||||
properties: {
|
||||
},
|
||||
data: {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
Component({
|
||||
properties: {
|
||||
},
|
||||
data: {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
})
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"component": true
|
||||
{
|
||||
"component": true
|
||||
}
|
@ -1,40 +1,40 @@
|
||||
.message {
|
||||
padding: 35rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-bottom: 1rpx solid #F2F2F2;
|
||||
.image {
|
||||
width: 141rpx;
|
||||
height: 150rpx;
|
||||
background-color: #000;
|
||||
margin-left: 34rpx;
|
||||
}
|
||||
.introduce {
|
||||
margin-left: 32rpx;
|
||||
height: 120rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
width: 362rpx;
|
||||
.title {
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
}
|
||||
.count {
|
||||
font-size: 24rpx;
|
||||
color: #999;
|
||||
display: flex;
|
||||
> view {
|
||||
margin-right: 27rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.parameter {
|
||||
width: 150rpx;
|
||||
height: 120rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
align-items: flex-end;
|
||||
}
|
||||
.message {
|
||||
padding: 35rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-bottom: 1rpx solid #F2F2F2;
|
||||
.image {
|
||||
width: 141rpx;
|
||||
height: 150rpx;
|
||||
background-color: #000;
|
||||
margin-left: 34rpx;
|
||||
}
|
||||
.introduce {
|
||||
margin-left: 32rpx;
|
||||
height: 120rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
width: 362rpx;
|
||||
.title {
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
}
|
||||
.count {
|
||||
font-size: 24rpx;
|
||||
color: #999;
|
||||
display: flex;
|
||||
> view {
|
||||
margin-right: 27rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.parameter {
|
||||
width: 150rpx;
|
||||
height: 120rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
align-items: flex-end;
|
||||
}
|
||||
}
|
@ -1,14 +1,14 @@
|
||||
<view class="message">
|
||||
<image class="image"></image>
|
||||
<view class="introduce">
|
||||
<view class="title">001|德国双心药房版 胶原蛋白美容口服液养颜</view>
|
||||
<view class="count">
|
||||
<view>30只</view>
|
||||
<view>1.0356kg</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="parameter">
|
||||
<view class="price">¥29.80</view>
|
||||
<view class="num">x2</view>
|
||||
</view>
|
||||
<view class="message">
|
||||
<image class="image"></image>
|
||||
<view class="introduce">
|
||||
<view class="title">001|德国双心药房版 胶原蛋白美容口服液养颜</view>
|
||||
<view class="count">
|
||||
<view>30只</view>
|
||||
<view>1.0356kg</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="parameter">
|
||||
<view class="price">¥29.80</view>
|
||||
<view class="num">x2</view>
|
||||
</view>
|
||||
</view>
|
@ -1 +1 @@
|
||||
.message{padding:35rpx;display:flex;align-items:center;border-bottom:1rpx solid #F2F2F2}.message .image{width:141rpx;height:150rpx;background-color:#000;margin-left:34rpx}.message .introduce{margin-left:32rpx;height:120rpx;display:flex;flex-direction:column;justify-content:space-between;width:362rpx}.message .introduce .title{font-size:28rpx;color:#333}.message .introduce .count{font-size:24rpx;color:#999;display:flex}.message .introduce .count>view{margin-right:27rpx}.message .parameter{width:150rpx;height:120rpx;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end}
|
||||
.message{padding:35rpx;display:flex;align-items:center;border-bottom:1rpx solid #F2F2F2}.message .image{width:141rpx;height:150rpx;background-color:#000;margin-left:34rpx}.message .introduce{margin-left:32rpx;height:120rpx;display:flex;flex-direction:column;justify-content:space-between;width:362rpx}.message .introduce .title{font-size:28rpx;color:#333}.message .introduce .count{font-size:24rpx;color:#999;display:flex}.message .introduce .count>view{margin-right:27rpx}.message .parameter{width:150rpx;height:120rpx;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end}
|
||||
|
@ -1,8 +1,8 @@
|
||||
Component({
|
||||
properties: {
|
||||
},
|
||||
data: {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
Component({
|
||||
properties: {
|
||||
},
|
||||
data: {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
})
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"commodity": "../commodity",
|
||||
"van-tab": "../utils/dist/tab/index",
|
||||
"van-tabs": "../utils/dist/tabs/index"
|
||||
}
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"commodity": "../commodity",
|
||||
"van-tab": "../utils/dist/tab/index",
|
||||
"van-tabs": "../utils/dist/tabs/index"
|
||||
}
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
.tab {
|
||||
width: 750rpx;
|
||||
.tab {
|
||||
width: 750rpx;
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
<van-tabs class="tab" swipe-threshold="5">
|
||||
<van-tab title="待付款">
|
||||
<commodity></commodity>
|
||||
</van-tab>
|
||||
<van-tab title="代发货"></van-tab>
|
||||
<van-tab title="待收货"> </van-tab>
|
||||
<van-tab title="已完成"> </van-tab>
|
||||
<van-tab title="售后"> </van-tab>
|
||||
<van-tabs class="tab" swipe-threshold="5">
|
||||
<van-tab title="待付款">
|
||||
<commodity></commodity>
|
||||
</van-tab>
|
||||
<van-tab title="代发货"></van-tab>
|
||||
<van-tab title="待收货"> </van-tab>
|
||||
<van-tab title="已完成"> </van-tab>
|
||||
<van-tab title="售后"> </van-tab>
|
||||
</van-tabs>
|
@ -1 +1 @@
|
||||
.tab{width:750rpx}
|
||||
.tab{width:750rpx}
|
||||
|
@ -1,19 +1,19 @@
|
||||
.agree {
|
||||
width: 690rpx;
|
||||
// height: 96rpx;
|
||||
line-height: 96rpx;
|
||||
display: flex;
|
||||
// border-bottom: 2rpx solid #EAEAEA;
|
||||
margin: 0 auto;
|
||||
color: #999999;
|
||||
font-size: 26rpx;
|
||||
.select {
|
||||
width: 26rpx;
|
||||
height: 26rpx;
|
||||
margin: auto 0;
|
||||
border-radius: 50%;
|
||||
background-color: #EAEAEA;
|
||||
margin-right: 25rpx;
|
||||
margin-left: 31rpx;
|
||||
}
|
||||
.agree {
|
||||
width: 690rpx;
|
||||
// height: 96rpx;
|
||||
line-height: 96rpx;
|
||||
display: flex;
|
||||
// border-bottom: 2rpx solid #EAEAEA;
|
||||
margin: 0 auto;
|
||||
color: #999999;
|
||||
font-size: 26rpx;
|
||||
.select {
|
||||
width: 26rpx;
|
||||
height: 26rpx;
|
||||
margin: auto 0;
|
||||
border-radius: 50%;
|
||||
background-color: #EAEAEA;
|
||||
margin-right: 25rpx;
|
||||
margin-left: 31rpx;
|
||||
}
|
||||
}
|
@ -1,21 +1,21 @@
|
||||
.bottom {
|
||||
width: 100%;
|
||||
height: 99rpx;
|
||||
line-height: 99rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
border-top: 2rpx solid #EAEAEA;
|
||||
font-size: 28rpx;
|
||||
.left {
|
||||
margin-left: 59rpx;
|
||||
.pri {
|
||||
color: #E0C79D;
|
||||
font-size: 26rpx;
|
||||
margin-left: 19rpx;
|
||||
}
|
||||
}
|
||||
.right {
|
||||
color: #4CC97D;
|
||||
margin-right: 38rpx;
|
||||
}
|
||||
.bottom {
|
||||
width: 100%;
|
||||
height: 99rpx;
|
||||
line-height: 99rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
border-top: 2rpx solid #EAEAEA;
|
||||
font-size: 28rpx;
|
||||
.left {
|
||||
margin-left: 59rpx;
|
||||
.pri {
|
||||
color: #E0C79D;
|
||||
font-size: 26rpx;
|
||||
margin-left: 19rpx;
|
||||
}
|
||||
}
|
||||
.right {
|
||||
color: #4CC97D;
|
||||
margin-right: 38rpx;
|
||||
}
|
||||
}
|
@ -1,33 +1,33 @@
|
||||
.orderchooseaddr {
|
||||
width: 690rpx;
|
||||
height: 148rpx;
|
||||
margin: 0 auto;
|
||||
border-bottom: 2rpx solid #EAEAEA;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.left {
|
||||
width: 572rpx;
|
||||
height: 80rpx;
|
||||
.userinfo {
|
||||
color: #333333;
|
||||
font-size: 26rpx;
|
||||
text-indent: 30rpx;
|
||||
margin-top: 41rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.addr {
|
||||
color: #999999;
|
||||
font-size: 24rpx;
|
||||
text-indent: 30rpx;
|
||||
margin-top: 32rpx;
|
||||
}
|
||||
}
|
||||
.right {
|
||||
width: 17rpx;
|
||||
height: 30rpx;
|
||||
background-color: #D3D3D3;
|
||||
margin: auto 0;
|
||||
margin-right: 19rpx;
|
||||
}
|
||||
.orderchooseaddr {
|
||||
width: 690rpx;
|
||||
height: 148rpx;
|
||||
margin: 0 auto;
|
||||
border-bottom: 2rpx solid #EAEAEA;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.left {
|
||||
width: 572rpx;
|
||||
height: 80rpx;
|
||||
.userinfo {
|
||||
color: #333333;
|
||||
font-size: 26rpx;
|
||||
text-indent: 30rpx;
|
||||
margin-top: 41rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.addr {
|
||||
color: #999999;
|
||||
font-size: 24rpx;
|
||||
text-indent: 30rpx;
|
||||
margin-top: 32rpx;
|
||||
}
|
||||
}
|
||||
.right {
|
||||
width: 17rpx;
|
||||
height: 30rpx;
|
||||
background-color: #D3D3D3;
|
||||
margin: auto 0;
|
||||
margin-right: 19rpx;
|
||||
}
|
||||
}
|
@ -1,30 +1,30 @@
|
||||
.chooseway {
|
||||
width: 690rpx;
|
||||
height: 96rpx;
|
||||
line-height: 96rpx;
|
||||
display: flex;
|
||||
border-bottom: 2rpx solid #EAEAEA;
|
||||
margin: 0 auto;
|
||||
.item {
|
||||
display: flex;
|
||||
margin-right: 90rpx;
|
||||
.select {
|
||||
width: 26rpx;
|
||||
height: 26rpx;
|
||||
margin: auto 0;
|
||||
border-radius: 50%;
|
||||
background-color: #EAEAEA;
|
||||
}
|
||||
.selected {
|
||||
background-color: #47C877;
|
||||
}
|
||||
.way {
|
||||
color: #333333;
|
||||
font-size: 26rpx;
|
||||
text-indent: 17rpx;
|
||||
}
|
||||
}
|
||||
.item1 {
|
||||
margin-left: 31rpx;
|
||||
}
|
||||
.chooseway {
|
||||
width: 690rpx;
|
||||
height: 96rpx;
|
||||
line-height: 96rpx;
|
||||
display: flex;
|
||||
border-bottom: 2rpx solid #EAEAEA;
|
||||
margin: 0 auto;
|
||||
.item {
|
||||
display: flex;
|
||||
margin-right: 90rpx;
|
||||
.select {
|
||||
width: 26rpx;
|
||||
height: 26rpx;
|
||||
margin: auto 0;
|
||||
border-radius: 50%;
|
||||
background-color: #EAEAEA;
|
||||
}
|
||||
.selected {
|
||||
background-color: #47C877;
|
||||
}
|
||||
.way {
|
||||
color: #333333;
|
||||
font-size: 26rpx;
|
||||
text-indent: 17rpx;
|
||||
}
|
||||
}
|
||||
.item1 {
|
||||
margin-left: 31rpx;
|
||||
}
|
||||
}
|
@ -1,42 +1,42 @@
|
||||
.shopinfo {
|
||||
width: 690rpx;
|
||||
height: 218rpx;
|
||||
border-bottom: 2rpx solid #EAEAEA;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
.pic {
|
||||
width: 150rpx;
|
||||
height: 163rpx;
|
||||
background-color: #EAEAEA;
|
||||
margin-right: 40rpx;
|
||||
}
|
||||
.right {
|
||||
width: 402rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
margin-top: 6rpx;
|
||||
.shopname {
|
||||
font-size: 28rpx;
|
||||
font-weight: bold;
|
||||
line-height: 39rpx;
|
||||
}
|
||||
.down {
|
||||
margin-bottom: 50rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.shopdesc {
|
||||
color: #666666;
|
||||
font-size: 24rpx;
|
||||
.size {
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
}
|
||||
.pri {
|
||||
color: #E1C89F;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.shopinfo {
|
||||
width: 690rpx;
|
||||
height: 218rpx;
|
||||
border-bottom: 2rpx solid #EAEAEA;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
.pic {
|
||||
width: 150rpx;
|
||||
height: 163rpx;
|
||||
background-color: #EAEAEA;
|
||||
margin-right: 40rpx;
|
||||
}
|
||||
.right {
|
||||
width: 402rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
margin-top: 6rpx;
|
||||
.shopname {
|
||||
font-size: 28rpx;
|
||||
font-weight: bold;
|
||||
line-height: 39rpx;
|
||||
}
|
||||
.down {
|
||||
margin-bottom: 50rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.shopdesc {
|
||||
color: #666666;
|
||||
font-size: 24rpx;
|
||||
.size {
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
}
|
||||
.pri {
|
||||
color: #E1C89F;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,13 +1,13 @@
|
||||
<view class="shopinfo">
|
||||
<image class="pic"></image>
|
||||
<view class="right">
|
||||
<view class="shopname">产品产品产品产品产品产品产品产品产品产品产品产品产品</view>
|
||||
<view class="down">
|
||||
<view class="shopdesc">
|
||||
<text class="size">规格10ml</text>
|
||||
<text> 0.04kg</text>
|
||||
</view>
|
||||
<view class="pri">¥657</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="shopinfo">
|
||||
<image class="pic"></image>
|
||||
<view class="right">
|
||||
<view class="shopname">产品产品产品产品产品产品产品产品产品产品产品产品产品</view>
|
||||
<view class="down">
|
||||
<view class="shopdesc">
|
||||
<text class="size">规格10ml</text>
|
||||
<text> 0.04kg</text>
|
||||
</view>
|
||||
<view class="pri">¥657</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
@ -1,17 +1,17 @@
|
||||
.orderyf {
|
||||
width: 690rpx;
|
||||
height: 96rpx;
|
||||
line-height: 96rpx;
|
||||
display: flex;
|
||||
border-bottom: 2rpx solid #EAEAEA;
|
||||
margin: 0 auto;
|
||||
justify-content: space-between;
|
||||
font-size: 28rpx;
|
||||
.left {
|
||||
margin-left: 31rpx
|
||||
}
|
||||
.right {
|
||||
margin-right: 20rpx;
|
||||
;
|
||||
}
|
||||
.orderyf {
|
||||
width: 690rpx;
|
||||
height: 96rpx;
|
||||
line-height: 96rpx;
|
||||
display: flex;
|
||||
border-bottom: 2rpx solid #EAEAEA;
|
||||
margin: 0 auto;
|
||||
justify-content: space-between;
|
||||
font-size: 28rpx;
|
||||
.left {
|
||||
margin-left: 31rpx
|
||||
}
|
||||
.right {
|
||||
margin-right: 20rpx;
|
||||
;
|
||||
}
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
Component({
|
||||
properties: {
|
||||
},
|
||||
data: {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
Component({
|
||||
properties: {
|
||||
},
|
||||
data: {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
})
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"message":"../../order/message/index"
|
||||
}
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"message":"../../order/message/index"
|
||||
}
|
||||
}
|
@ -1,38 +1,38 @@
|
||||
.content {
|
||||
background-color: #fff;
|
||||
width: 750rpx;
|
||||
// height: ;
|
||||
padding-bottom: 33rpx;
|
||||
|
||||
.aggregate {
|
||||
display: flex;
|
||||
box-sizing: border-box;
|
||||
padding: 30rpx;
|
||||
justify-content: flex-end;
|
||||
font-size: 22rpx;
|
||||
color: #999;
|
||||
height: 78rpx;
|
||||
border-bottom: 1rpx solid #f2f2f2;
|
||||
|
||||
> text {
|
||||
color: #333;
|
||||
margin: 0 5rpx;
|
||||
}
|
||||
}
|
||||
.message {
|
||||
display: flex;
|
||||
padding: 0 30rpx;
|
||||
justify-content: space-between;
|
||||
font-size: 26rpx;
|
||||
color: #333;
|
||||
align-items: center;
|
||||
height: 77rpx;
|
||||
border-bottom: 1rpx solid #f2f2f2;
|
||||
}
|
||||
.leave {
|
||||
display: flex;
|
||||
height: 77rpx;
|
||||
padding: 0 30rpx;
|
||||
align-items: center;
|
||||
}
|
||||
.content {
|
||||
background-color: #fff;
|
||||
width: 750rpx;
|
||||
// height: ;
|
||||
padding-bottom: 33rpx;
|
||||
|
||||
.aggregate {
|
||||
display: flex;
|
||||
box-sizing: border-box;
|
||||
padding: 30rpx;
|
||||
justify-content: flex-end;
|
||||
font-size: 22rpx;
|
||||
color: #999;
|
||||
height: 78rpx;
|
||||
border-bottom: 1rpx solid #f2f2f2;
|
||||
|
||||
> text {
|
||||
color: #333;
|
||||
margin: 0 5rpx;
|
||||
}
|
||||
}
|
||||
.message {
|
||||
display: flex;
|
||||
padding: 0 30rpx;
|
||||
justify-content: space-between;
|
||||
font-size: 26rpx;
|
||||
color: #333;
|
||||
align-items: center;
|
||||
height: 77rpx;
|
||||
border-bottom: 1rpx solid #f2f2f2;
|
||||
}
|
||||
.leave {
|
||||
display: flex;
|
||||
height: 77rpx;
|
||||
padding: 0 30rpx;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
@ -1,24 +1,24 @@
|
||||
<view class="content">
|
||||
<message></message>
|
||||
<view class="aggregate">
|
||||
共计1件商品 合计:
|
||||
<text>¥29.80</text>
|
||||
(含运费¥0.00)
|
||||
</view>
|
||||
<view class="message">
|
||||
<text>订单编号</text>
|
||||
<text>123456789123456789</text>
|
||||
</view>
|
||||
<view class="message">
|
||||
<text>下单时间</text>
|
||||
<text>2018-10-01 18:00:06</text>
|
||||
</view>
|
||||
<view class="message">
|
||||
<text>配送方式</text>
|
||||
<text>快递 免邮</text>
|
||||
</view>
|
||||
<view class="leave">
|
||||
<text>备注:</text>
|
||||
<input type="text" placeholder="填写你需要对我们说的" />
|
||||
</view>
|
||||
<view class="content">
|
||||
<message></message>
|
||||
<view class="aggregate">
|
||||
共计1件商品 合计:
|
||||
<text>¥29.80</text>
|
||||
(含运费¥0.00)
|
||||
</view>
|
||||
<view class="message">
|
||||
<text>订单编号</text>
|
||||
<text>123456789123456789</text>
|
||||
</view>
|
||||
<view class="message">
|
||||
<text>下单时间</text>
|
||||
<text>2018-10-01 18:00:06</text>
|
||||
</view>
|
||||
<view class="message">
|
||||
<text>配送方式</text>
|
||||
<text>快递 免邮</text>
|
||||
</view>
|
||||
<view class="leave">
|
||||
<text>备注:</text>
|
||||
<input type="text" placeholder="填写你需要对我们说的" />
|
||||
</view>
|
||||
</view>
|
@ -1 +1 @@
|
||||
.content{background-color:#fff;width:750rpx;padding-bottom:33rpx}.content .aggregate{display:flex;box-sizing:border-box;padding:30rpx;justify-content:flex-end;font-size:22rpx;color:#999;height:78rpx;border-bottom:1rpx solid #f2f2f2}.content .aggregate>text{color:#333;margin:0 5rpx}.content .message{display:flex;padding:0 30rpx;justify-content:space-between;font-size:26rpx;color:#333;align-items:center;height:77rpx;border-bottom:1rpx solid #f2f2f2}.content .leave{display:flex;height:77rpx;padding:0 30rpx;align-items:center}
|
||||
.content{background-color:#fff;width:750rpx;padding-bottom:33rpx}.content .aggregate{display:flex;box-sizing:border-box;padding:30rpx;justify-content:flex-end;font-size:22rpx;color:#999;height:78rpx;border-bottom:1rpx solid #f2f2f2}.content .aggregate>text{color:#333;margin:0 5rpx}.content .message{display:flex;padding:0 30rpx;justify-content:space-between;font-size:26rpx;color:#333;align-items:center;height:77rpx;border-bottom:1rpx solid #f2f2f2}.content .leave{display:flex;height:77rpx;padding:0 30rpx;align-items:center}
|
||||
|
@ -1,26 +1,26 @@
|
||||
Component({
|
||||
properties: {
|
||||
},
|
||||
data: {
|
||||
steps: [
|
||||
{
|
||||
text: '步骤一',
|
||||
desc: '描述信息'
|
||||
},
|
||||
{
|
||||
text: '步骤二',
|
||||
desc: '描述信息'
|
||||
},
|
||||
{
|
||||
text: '步骤三',
|
||||
desc: '描述信息'
|
||||
},
|
||||
{
|
||||
text: '步骤四',
|
||||
desc: '描述信息'
|
||||
}
|
||||
]
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
Component({
|
||||
properties: {
|
||||
},
|
||||
data: {
|
||||
steps: [
|
||||
{
|
||||
text: '步骤一',
|
||||
desc: '描述信息'
|
||||
},
|
||||
{
|
||||
text: '步骤二',
|
||||
desc: '描述信息'
|
||||
},
|
||||
{
|
||||
text: '步骤三',
|
||||
desc: '描述信息'
|
||||
},
|
||||
{
|
||||
text: '步骤四',
|
||||
desc: '描述信息'
|
||||
}
|
||||
]
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
})
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"van-steps": "../utils/dist/steps/index"
|
||||
}
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"van-steps": "../utils/dist/steps/index"
|
||||
}
|
||||
}
|
@ -1,17 +1,17 @@
|
||||
.logistics{
|
||||
margin-top: 20rpx;
|
||||
background-color: #fff;
|
||||
.title{
|
||||
height: 84rpx;
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
line-height: 84rpx;
|
||||
border-bottom: 2rpx solid #e5e5e5;
|
||||
padding-left: 29rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.schedule{
|
||||
width: 650rpx;
|
||||
margin-left: 50rpx;
|
||||
}
|
||||
.logistics{
|
||||
margin-top: 20rpx;
|
||||
background-color: #fff;
|
||||
.title{
|
||||
height: 84rpx;
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
line-height: 84rpx;
|
||||
border-bottom: 2rpx solid #e5e5e5;
|
||||
padding-left: 29rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.schedule{
|
||||
width: 650rpx;
|
||||
margin-left: 50rpx;
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
<view class="logistics">
|
||||
<view class="title">物流追踪</view>
|
||||
<van-steps steps="{{ steps }}" active="{{ 1 }}" direction="vertical" active-color="#47C877" class="schedule" />
|
||||
<view class="logistics">
|
||||
<view class="title">物流追踪</view>
|
||||
<van-steps steps="{{ steps }}" active="{{ 1 }}" direction="vertical" active-color="#47C877" class="schedule" />
|
||||
</view>
|
@ -1 +1 @@
|
||||
.logistics{margin-top:20rpx;background-color:#fff}.logistics .title{height:84rpx;font-size:28rpx;color:#333;line-height:84rpx;border-bottom:2rpx solid #e5e5e5;padding-left:29rpx;box-sizing:border-box}.logistics .schedule{width:650rpx;margin-left:50rpx}
|
||||
.logistics{margin-top:20rpx;background-color:#fff}.logistics .title{height:84rpx;font-size:28rpx;color:#333;line-height:84rpx;border-bottom:2rpx solid #e5e5e5;padding-left:29rpx;box-sizing:border-box}.logistics .schedule{width:650rpx;margin-left:50rpx}
|
||||
|
@ -1,8 +1,8 @@
|
||||
Component({
|
||||
properties: {
|
||||
},
|
||||
data: {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
Component({
|
||||
properties: {
|
||||
},
|
||||
data: {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
})
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"component": true
|
||||
{
|
||||
"component": true
|
||||
}
|
@ -1,35 +1,35 @@
|
||||
.orderchooseaddr {
|
||||
background-color: #fff;
|
||||
width: 750rpx;
|
||||
height: 148rpx;
|
||||
margin: 0 auto;
|
||||
border-bottom: 20rpx solid #fbfbfb;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.left {
|
||||
width: 572rpx;
|
||||
height: 80rpx;
|
||||
.userinfo {
|
||||
color: #333333;
|
||||
font-size: 26rpx;
|
||||
text-indent: 30rpx;
|
||||
margin-top: 41rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.addr {
|
||||
color: #999999;
|
||||
font-size: 24rpx;
|
||||
text-indent: 30rpx;
|
||||
margin-top: 32rpx;
|
||||
}
|
||||
}
|
||||
.right {
|
||||
width: 17rpx;
|
||||
height: 30rpx;
|
||||
background-color: #d3d3d3;
|
||||
margin: auto 0;
|
||||
margin-right: 19rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.orderchooseaddr {
|
||||
background-color: #fff;
|
||||
width: 750rpx;
|
||||
height: 148rpx;
|
||||
margin: 0 auto;
|
||||
border-bottom: 20rpx solid #fbfbfb;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.left {
|
||||
width: 572rpx;
|
||||
height: 80rpx;
|
||||
.userinfo {
|
||||
color: #333333;
|
||||
font-size: 26rpx;
|
||||
text-indent: 30rpx;
|
||||
margin-top: 41rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.addr {
|
||||
color: #999999;
|
||||
font-size: 24rpx;
|
||||
text-indent: 30rpx;
|
||||
margin-top: 32rpx;
|
||||
}
|
||||
}
|
||||
.right {
|
||||
width: 17rpx;
|
||||
height: 30rpx;
|
||||
background-color: #d3d3d3;
|
||||
margin: auto 0;
|
||||
margin-right: 19rpx;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
<view class="orderchooseaddr">
|
||||
<view class="left">
|
||||
<view class="userinfo">
|
||||
<text class="username">于于宇 15698857895</text>
|
||||
<text></text>
|
||||
</view>
|
||||
<view class="addr">中国大陆 山东省 青岛市 即墨区 纯阳路 某某某小区</view>
|
||||
</view>
|
||||
<view class="right"></view>
|
||||
<view class="orderchooseaddr">
|
||||
<view class="left">
|
||||
<view class="userinfo">
|
||||
<text class="username">于于宇 15698857895</text>
|
||||
<text></text>
|
||||
</view>
|
||||
<view class="addr">中国大陆 山东省 青岛市 即墨区 纯阳路 某某某小区</view>
|
||||
</view>
|
||||
<view class="right"></view>
|
||||
</view>
|
@ -1 +1 @@
|
||||
.orderchooseaddr{background-color:#fff;width:750rpx;height:148rpx;margin:0 auto;border-bottom:20rpx solid #fbfbfb;display:flex;justify-content:space-between}.orderchooseaddr .left{width:572rpx;height:80rpx}.orderchooseaddr .left .userinfo{color:#333333;font-size:26rpx;text-indent:30rpx;margin-top:41rpx;display:flex;justify-content:space-between}.orderchooseaddr .left .addr{color:#999999;font-size:24rpx;text-indent:30rpx;margin-top:32rpx}.orderchooseaddr .right{width:17rpx;height:30rpx;background-color:#d3d3d3;margin:auto 0;margin-right:19rpx}
|
||||
.orderchooseaddr{background-color:#fff;width:750rpx;height:148rpx;margin:0 auto;border-bottom:20rpx solid #fbfbfb;display:flex;justify-content:space-between}.orderchooseaddr .left{width:572rpx;height:80rpx}.orderchooseaddr .left .userinfo{color:#333333;font-size:26rpx;text-indent:30rpx;margin-top:41rpx;display:flex;justify-content:space-between}.orderchooseaddr .left .addr{color:#999999;font-size:24rpx;text-indent:30rpx;margin-top:32rpx}.orderchooseaddr .right{width:17rpx;height:30rpx;background-color:#d3d3d3;margin:auto 0;margin-right:19rpx}
|
||||
|
@ -1,8 +1,8 @@
|
||||
Component({
|
||||
properties: {
|
||||
},
|
||||
data: {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
Component({
|
||||
properties: {
|
||||
},
|
||||
data: {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
})
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"component": true
|
||||
{
|
||||
"component": true
|
||||
}
|
@ -1,29 +1,29 @@
|
||||
.payment {
|
||||
width: 750rpx;
|
||||
height: 98rpx;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
background-color: #fff;
|
||||
align-items: center;
|
||||
.price {
|
||||
font-size: 34rpx;
|
||||
margin-left: 74rpx;
|
||||
.title {
|
||||
color: #333;
|
||||
}
|
||||
.counts{
|
||||
color: #ff3838;
|
||||
}
|
||||
}
|
||||
.submit {
|
||||
width: 250rpx;
|
||||
height: 98rpx;
|
||||
background-color: #47c877;
|
||||
font-size: 30rpx;
|
||||
color: #fff;
|
||||
line-height: 98rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.payment {
|
||||
width: 750rpx;
|
||||
height: 98rpx;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
background-color: #fff;
|
||||
align-items: center;
|
||||
.price {
|
||||
font-size: 34rpx;
|
||||
margin-left: 74rpx;
|
||||
.title {
|
||||
color: #333;
|
||||
}
|
||||
.counts{
|
||||
color: #ff3838;
|
||||
}
|
||||
}
|
||||
.submit {
|
||||
width: 250rpx;
|
||||
height: 98rpx;
|
||||
background-color: #47c877;
|
||||
font-size: 30rpx;
|
||||
color: #fff;
|
||||
line-height: 98rpx;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
<view class="payment">
|
||||
<view class="price">
|
||||
<text class="title">总付款:</text>
|
||||
<text class="counts">¥29</text>
|
||||
</view>
|
||||
<view class="submit">立即支付</view>
|
||||
<view class="payment">
|
||||
<view class="price">
|
||||
<text class="title">总付款:</text>
|
||||
<text class="counts">¥29</text>
|
||||
</view>
|
||||
<view class="submit">立即支付</view>
|
||||
</view>
|
@ -1 +1 @@
|
||||
.payment{width:750rpx;height:98rpx;position:fixed;bottom:0;display:flex;justify-content:space-between;background-color:#fff;align-items:center}.payment .price{font-size:34rpx;margin-left:74rpx}.payment .price .title{color:#333}.payment .price .counts{color:#ff3838}.payment .submit{width:250rpx;height:98rpx;background-color:#47c877;font-size:30rpx;color:#fff;line-height:98rpx;text-align:center}
|
||||
.payment{width:750rpx;height:98rpx;position:fixed;bottom:0;display:flex;justify-content:space-between;background-color:#fff;align-items:center}.payment .price{font-size:34rpx;margin-left:74rpx}.payment .price .title{color:#333}.payment .price .counts{color:#ff3838}.payment .submit{width:250rpx;height:98rpx;background-color:#47c877;font-size:30rpx;color:#fff;line-height:98rpx;text-align:center}
|
||||
|
@ -1,8 +1,8 @@
|
||||
Component({
|
||||
properties: {
|
||||
},
|
||||
data: {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
Component({
|
||||
properties: {
|
||||
},
|
||||
data: {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
})
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"component": true
|
||||
{
|
||||
"component": true
|
||||
}
|
@ -1,22 +1,22 @@
|
||||
.hot {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
.title {
|
||||
font-size: 34rpx;
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
width: 415rpx;
|
||||
height: 61rpx;
|
||||
line-height: 61rpx;
|
||||
text-align: center;
|
||||
background-image: linear-gradient(to right, #fff, #ecfff8, #fff);
|
||||
margin-top: 53rpx;
|
||||
margin-bottom: 38rpx;
|
||||
}
|
||||
.word{
|
||||
font-size: 30rpx;
|
||||
color: #999;
|
||||
margin-bottom: 55rpx;
|
||||
}
|
||||
.hot {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
.title {
|
||||
font-size: 34rpx;
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
width: 415rpx;
|
||||
height: 61rpx;
|
||||
line-height: 61rpx;
|
||||
text-align: center;
|
||||
background-image: linear-gradient(to right, #fff, #ecfff8, #fff);
|
||||
margin-top: 53rpx;
|
||||
margin-bottom: 38rpx;
|
||||
}
|
||||
.word{
|
||||
font-size: 30rpx;
|
||||
color: #999;
|
||||
margin-bottom: 55rpx;
|
||||
}
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
<view class="hot">
|
||||
<view class="title">热门搜索</view>
|
||||
<view class="word">化妆品</view>
|
||||
<view class="word">化妆品</view>
|
||||
<view class="hot">
|
||||
<view class="title">热门搜索</view>
|
||||
<view class="word">化妆品</view>
|
||||
<view class="word">化妆品</view>
|
||||
</view>
|
@ -1 +1 @@
|
||||
.hot{display:flex;align-items:center;flex-direction:column}.hot .title{font-size:34rpx;color:#333;font-weight:bold;width:415rpx;height:61rpx;line-height:61rpx;text-align:center;background-image:linear-gradient(to right, #fff, #ecfff8, #fff);margin-top:53rpx;margin-bottom:38rpx}.hot .word{font-size:30rpx;color:#999;margin-bottom:55rpx}
|
||||
.hot{display:flex;align-items:center;flex-direction:column}.hot .title{font-size:34rpx;color:#333;font-weight:bold;width:415rpx;height:61rpx;line-height:61rpx;text-align:center;background-image:linear-gradient(to right, #fff, #ecfff8, #fff);margin-top:53rpx;margin-bottom:38rpx}.hot .word{font-size:30rpx;color:#999;margin-bottom:55rpx}
|
||||
|
@ -1,8 +1,8 @@
|
||||
Component({
|
||||
properties: {
|
||||
},
|
||||
data: {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
Component({
|
||||
properties: {
|
||||
},
|
||||
data: {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
})
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
}
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
}
|
||||
}
|
@ -1,28 +1,28 @@
|
||||
.merchandise {
|
||||
padding: 46rpx 32rpx;
|
||||
display: flex;
|
||||
border-bottom: 20rpx solid #fbfbfb;
|
||||
.image {
|
||||
width: 171rpx;
|
||||
height: 168rpx;
|
||||
background-color: #000;
|
||||
}
|
||||
.message {
|
||||
margin-left: 24rpx;
|
||||
.title {
|
||||
font-size: 26rpx;
|
||||
color: #333;
|
||||
width: 491rpx;
|
||||
margin-bottom: 9rpx;
|
||||
}
|
||||
.brief {
|
||||
font-size: 22rpx;
|
||||
color: #999;
|
||||
margin-bottom: 26rpx;
|
||||
}
|
||||
.price {
|
||||
font-size: 28rpx;
|
||||
color: #ff4e6c;
|
||||
}
|
||||
}
|
||||
.merchandise {
|
||||
padding: 46rpx 32rpx;
|
||||
display: flex;
|
||||
border-bottom: 20rpx solid #fbfbfb;
|
||||
.image {
|
||||
width: 171rpx;
|
||||
height: 168rpx;
|
||||
background-color: #000;
|
||||
}
|
||||
.message {
|
||||
margin-left: 24rpx;
|
||||
.title {
|
||||
font-size: 26rpx;
|
||||
color: #333;
|
||||
width: 491rpx;
|
||||
margin-bottom: 9rpx;
|
||||
}
|
||||
.brief {
|
||||
font-size: 22rpx;
|
||||
color: #999;
|
||||
margin-bottom: 26rpx;
|
||||
}
|
||||
.price {
|
||||
font-size: 28rpx;
|
||||
color: #ff4e6c;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
<view class="merchandise">
|
||||
<image class="image"></image>
|
||||
<view class="message">
|
||||
<view class="title">雅诗兰黛肌透修护密集精华眼膜 4对棕色瓶修护 真空眼膜</view>
|
||||
<view class="brief">肌透眼膜4片</view>
|
||||
<view class="price">¥820.00</view>
|
||||
</view>
|
||||
<view class="merchandise">
|
||||
<image class="image"></image>
|
||||
<view class="message">
|
||||
<view class="title">雅诗兰黛肌透修护密集精华眼膜 4对棕色瓶修护 真空眼膜</view>
|
||||
<view class="brief">肌透眼膜4片</view>
|
||||
<view class="price">¥820.00</view>
|
||||
</view>
|
||||
</view>
|
@ -1 +1 @@
|
||||
.merchandise{padding:46rpx 32rpx;display:flex;border-bottom:20rpx solid #fbfbfb}.merchandise .image{width:171rpx;height:168rpx;background-color:#000}.merchandise .message{margin-left:24rpx}.merchandise .message .title{font-size:26rpx;color:#333;width:491rpx;margin-bottom:9rpx}.merchandise .message .brief{font-size:22rpx;color:#999;margin-bottom:26rpx}.merchandise .message .price{font-size:28rpx;color:#ff4e6c}
|
||||
.merchandise{padding:46rpx 32rpx;display:flex;border-bottom:20rpx solid #fbfbfb}.merchandise .image{width:171rpx;height:168rpx;background-color:#000}.merchandise .message{margin-left:24rpx}.merchandise .message .title{font-size:26rpx;color:#333;width:491rpx;margin-bottom:9rpx}.merchandise .message .brief{font-size:22rpx;color:#999;margin-bottom:26rpx}.merchandise .message .price{font-size:28rpx;color:#ff4e6c}
|
||||
|
@ -1,69 +1,69 @@
|
||||
// components/shopping/shoppingitem/shoppingitem.js
|
||||
import {request} from "../../../utils/bin"
|
||||
Component({
|
||||
/**
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
shopname: String,
|
||||
shopdesc: String,
|
||||
price: Number,
|
||||
pic: String,
|
||||
gid:Number,
|
||||
num:Number,
|
||||
select:Boolean,
|
||||
index:Number
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的方法列表
|
||||
*/
|
||||
methods: {
|
||||
rm() {
|
||||
|
||||
if (this.data.num == 0) {
|
||||
|
||||
return
|
||||
} else {
|
||||
this.setData({
|
||||
num: this.data.num - 1
|
||||
})
|
||||
request({
|
||||
url:"Cart/updateNum",
|
||||
urldata:{
|
||||
id:this.data.gid,
|
||||
num:this.data.num - 1
|
||||
}
|
||||
}).then((res)=>{
|
||||
|
||||
})
|
||||
|
||||
}
|
||||
},
|
||||
add() {
|
||||
this.setData({
|
||||
num: this.data.num + 1
|
||||
})
|
||||
request({
|
||||
url:"Cart/updateNum",
|
||||
urldata:{
|
||||
id:this.data.gid,
|
||||
num:this.data.num + 1
|
||||
}
|
||||
}).then((res)=>{
|
||||
|
||||
})
|
||||
},
|
||||
sel(){
|
||||
this.triggerEvent('sel', {index:this.data.index,select:this.data.select})
|
||||
}
|
||||
|
||||
}
|
||||
// components/shopping/shoppingitem/shoppingitem.js
|
||||
import {request} from "../../../utils/bin"
|
||||
Component({
|
||||
/**
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
shopname: String,
|
||||
shopdesc: String,
|
||||
price: Number,
|
||||
pic: String,
|
||||
gid:Number,
|
||||
num:Number,
|
||||
select:Boolean,
|
||||
index:Number
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的方法列表
|
||||
*/
|
||||
methods: {
|
||||
rm() {
|
||||
|
||||
if (this.data.num == 0) {
|
||||
|
||||
return
|
||||
} else {
|
||||
this.setData({
|
||||
num: this.data.num - 1
|
||||
})
|
||||
request({
|
||||
url:"Cart/updateNum",
|
||||
urldata:{
|
||||
id:this.data.gid,
|
||||
num:this.data.num - 1
|
||||
}
|
||||
}).then((res)=>{
|
||||
|
||||
})
|
||||
|
||||
}
|
||||
},
|
||||
add() {
|
||||
this.setData({
|
||||
num: this.data.num + 1
|
||||
})
|
||||
request({
|
||||
url:"Cart/updateNum",
|
||||
urldata:{
|
||||
id:this.data.gid,
|
||||
num:this.data.num + 1
|
||||
}
|
||||
}).then((res)=>{
|
||||
|
||||
})
|
||||
},
|
||||
sel(){
|
||||
this.triggerEvent('sel', {index:this.data.index,select:this.data.select})
|
||||
}
|
||||
|
||||
}
|
||||
})
|
@ -1,16 +1,16 @@
|
||||
<view class="shoppingitem">
|
||||
<view class="select {{select ? 'selects':''}}" bind:tap="sel"></view>
|
||||
<view class="pic">
|
||||
<image src="{{pic}}"></image>
|
||||
</view>
|
||||
<view class="shopinfo">
|
||||
<view class="shopname">{{shopname}}</view>
|
||||
<view class="shopdesc">{{shopdesc}}</view>
|
||||
<view class="price">${{price}}</view>
|
||||
</view>
|
||||
<view class="numberset">
|
||||
<view class="reverse" bind:tap="rm">-</view>
|
||||
<view class="num">{{num}}</view>
|
||||
<view class="add" bind:tap="add">+</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="shoppingitem">
|
||||
<view class="select {{select ? 'selects':''}}" bind:tap="sel"></view>
|
||||
<view class="pic">
|
||||
<image src="{{pic}}"></image>
|
||||
</view>
|
||||
<view class="shopinfo">
|
||||
<view class="shopname">{{shopname}}</view>
|
||||
<view class="shopdesc">{{shopdesc}}</view>
|
||||
<view class="price">${{price}}</view>
|
||||
</view>
|
||||
<view class="numberset">
|
||||
<view class="reverse" bind:tap="rm">-</view>
|
||||
<view class="num">{{num}}</view>
|
||||
<view class="add" bind:tap="add">+</view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -1,98 +1,98 @@
|
||||
.shoppingitem {
|
||||
width: 639rpx;
|
||||
height: 186rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.select {
|
||||
width: 26rpx;
|
||||
height: 26rpx;
|
||||
background: rgba(234, 234, 234, 1);
|
||||
border-radius: 50%;
|
||||
margin: auto 0;
|
||||
}
|
||||
.selects{
|
||||
background-color: #45C778;
|
||||
}
|
||||
.pic {
|
||||
/* width: 222rpx;
|
||||
height: 222rpx; */
|
||||
width: 186rpx;
|
||||
height: 186rpx;
|
||||
background-color: bisque;
|
||||
}
|
||||
|
||||
.pic>image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.shopinfo {
|
||||
width: 186rpx;
|
||||
}
|
||||
|
||||
.shopname {
|
||||
color: #333333;
|
||||
font-size: 26rpx;
|
||||
font-weight: bold;
|
||||
margin-bottom: 18rpx;
|
||||
margin-top: 20rpx;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
|
||||
display: -webkit-box;
|
||||
|
||||
-webkit-box-orient: vertical;
|
||||
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
|
||||
.shopdesc {
|
||||
color: #666666;
|
||||
font-size: 22rpx;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
|
||||
.price {
|
||||
color: #D1D1D1;
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.numberset {
|
||||
width: 85rpx;
|
||||
height: 186rpx;
|
||||
border: 1px solid rgba(233, 233, 233, 1);
|
||||
border-radius: 10px;
|
||||
margin-top: 11rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.reverse {
|
||||
width: 23rpx;
|
||||
height: 23rpx;
|
||||
/* background-color: #97DFB4; */
|
||||
margin: 0 auto;
|
||||
margin-top: 20rpx;
|
||||
line-height: 23rpx;
|
||||
font-size: 46rpx;
|
||||
}
|
||||
|
||||
.num {
|
||||
color: #242424;
|
||||
font-size: 30rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.add {
|
||||
width: 23rpx;
|
||||
height: 23rpx;
|
||||
/* background-color: #242424; */
|
||||
margin: 0 auto;
|
||||
margin-bottom: 17rpx;
|
||||
line-height: 23rpx;
|
||||
.shoppingitem {
|
||||
width: 639rpx;
|
||||
height: 186rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.select {
|
||||
width: 26rpx;
|
||||
height: 26rpx;
|
||||
background: rgba(234, 234, 234, 1);
|
||||
border-radius: 50%;
|
||||
margin: auto 0;
|
||||
}
|
||||
.selects{
|
||||
background-color: #45C778;
|
||||
}
|
||||
.pic {
|
||||
/* width: 222rpx;
|
||||
height: 222rpx; */
|
||||
width: 186rpx;
|
||||
height: 186rpx;
|
||||
background-color: bisque;
|
||||
}
|
||||
|
||||
.pic>image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.shopinfo {
|
||||
width: 186rpx;
|
||||
}
|
||||
|
||||
.shopname {
|
||||
color: #333333;
|
||||
font-size: 26rpx;
|
||||
font-weight: bold;
|
||||
margin-bottom: 18rpx;
|
||||
margin-top: 20rpx;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
|
||||
display: -webkit-box;
|
||||
|
||||
-webkit-box-orient: vertical;
|
||||
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
|
||||
.shopdesc {
|
||||
color: #666666;
|
||||
font-size: 22rpx;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
|
||||
.price {
|
||||
color: #D1D1D1;
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.numberset {
|
||||
width: 85rpx;
|
||||
height: 186rpx;
|
||||
border: 1px solid rgba(233, 233, 233, 1);
|
||||
border-radius: 10px;
|
||||
margin-top: 11rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.reverse {
|
||||
width: 23rpx;
|
||||
height: 23rpx;
|
||||
/* background-color: #97DFB4; */
|
||||
margin: 0 auto;
|
||||
margin-top: 20rpx;
|
||||
line-height: 23rpx;
|
||||
font-size: 46rpx;
|
||||
}
|
||||
|
||||
.num {
|
||||
color: #242424;
|
||||
font-size: 30rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.add {
|
||||
width: 23rpx;
|
||||
height: 23rpx;
|
||||
/* background-color: #242424; */
|
||||
margin: 0 auto;
|
||||
margin-bottom: 17rpx;
|
||||
line-height: 23rpx;
|
||||
}
|
@ -1,70 +1,70 @@
|
||||
.box {
|
||||
width: 690rpx;
|
||||
margin: 0 auto;
|
||||
padding-bottom: 41rpx;
|
||||
border-bottom: 2rpx solid #EEEEEE;
|
||||
.img {
|
||||
width: 40rpx;
|
||||
height: 39rpx;
|
||||
background-color: #999999;
|
||||
float: right;
|
||||
}
|
||||
.yongjintop {
|
||||
width: 317rpx;
|
||||
// height: 196rpx;
|
||||
margin-top: 71rpx;
|
||||
margin-left: 30rpx;
|
||||
display: flex;
|
||||
.photo {
|
||||
width: 130rpx;
|
||||
height: 130rpx;
|
||||
background-color: gold;
|
||||
margin-bottom: 52rpx;
|
||||
border-radius: 90%;
|
||||
}
|
||||
.tel {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
margin-top: 33rpx;
|
||||
margin-left: 35rpx;
|
||||
.mingpian {
|
||||
font-size: 24rpx;
|
||||
color: #999999;
|
||||
margin-top: 18rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mid {
|
||||
width: 100%;
|
||||
height: 175rpx;
|
||||
border-bottom: 20rpx solid #FBFBFB;
|
||||
// justify-content: space-around;
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
text-align: center;
|
||||
.midbox {
|
||||
width: 478rpx;
|
||||
height: 175rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.way {
|
||||
margin-top: 46rpx;
|
||||
margin-bottom: 14rpx;
|
||||
}
|
||||
.money {
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.money1 {
|
||||
color: #F81F1F;
|
||||
}
|
||||
.line {
|
||||
width: 2rpx;
|
||||
height: 60rpx;
|
||||
margin: auto 0;
|
||||
background-color: #EEEEEE;
|
||||
}
|
||||
.box {
|
||||
width: 690rpx;
|
||||
margin: 0 auto;
|
||||
padding-bottom: 41rpx;
|
||||
border-bottom: 2rpx solid #EEEEEE;
|
||||
.img {
|
||||
width: 40rpx;
|
||||
height: 39rpx;
|
||||
background-color: #999999;
|
||||
float: right;
|
||||
}
|
||||
.yongjintop {
|
||||
width: 317rpx;
|
||||
// height: 196rpx;
|
||||
margin-top: 71rpx;
|
||||
margin-left: 30rpx;
|
||||
display: flex;
|
||||
.photo {
|
||||
width: 130rpx;
|
||||
height: 130rpx;
|
||||
background-color: gold;
|
||||
margin-bottom: 52rpx;
|
||||
border-radius: 90%;
|
||||
}
|
||||
.tel {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
margin-top: 33rpx;
|
||||
margin-left: 35rpx;
|
||||
.mingpian {
|
||||
font-size: 24rpx;
|
||||
color: #999999;
|
||||
margin-top: 18rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mid {
|
||||
width: 100%;
|
||||
height: 175rpx;
|
||||
border-bottom: 20rpx solid #FBFBFB;
|
||||
// justify-content: space-around;
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
text-align: center;
|
||||
.midbox {
|
||||
width: 478rpx;
|
||||
height: 175rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.way {
|
||||
margin-top: 46rpx;
|
||||
margin-bottom: 14rpx;
|
||||
}
|
||||
.money {
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.money1 {
|
||||
color: #F81F1F;
|
||||
}
|
||||
.line {
|
||||
width: 2rpx;
|
||||
height: 60rpx;
|
||||
margin: auto 0;
|
||||
background-color: #EEEEEE;
|
||||
}
|
||||
}
|
@ -1,30 +1,30 @@
|
||||
<view class="box">
|
||||
<view class="img"></view>
|
||||
<view class="yongjintop">
|
||||
<image class="photo"></image>
|
||||
<view class="tel">
|
||||
<view>156***578</view>
|
||||
<view class="mingpian">我的名片</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="mid">
|
||||
<view class="midbox">
|
||||
<view>
|
||||
<view class="way">昨日收益</view>
|
||||
<view class="money">
|
||||
<text class="money1">657.00</text>
|
||||
<text>RMB</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="line"></view>
|
||||
<view>
|
||||
<view class="way">昨日收益</view>
|
||||
<view class="money">
|
||||
<text class="money1">657.00</text>
|
||||
<text>RMB</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="box">
|
||||
<view class="img"></view>
|
||||
<view class="yongjintop">
|
||||
<image class="photo"></image>
|
||||
<view class="tel">
|
||||
<view>156***578</view>
|
||||
<view class="mingpian">我的名片</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="mid">
|
||||
<view class="midbox">
|
||||
<view>
|
||||
<view class="way">昨日收益</view>
|
||||
<view class="money">
|
||||
<text class="money1">657.00</text>
|
||||
<text>RMB</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="line"></view>
|
||||
<view>
|
||||
<view class="way">昨日收益</view>
|
||||
<view class="money">
|
||||
<text class="money1">657.00</text>
|
||||
<text>RMB</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
@ -1,56 +1,56 @@
|
||||
.box {
|
||||
width: 690rpx;
|
||||
margin: 0 auto;
|
||||
padding-bottom: 41rpx;
|
||||
border-bottom: 2rpx solid #EEEEEE;
|
||||
.yongjintop {
|
||||
width: 152rpx;
|
||||
height: 196rpx;
|
||||
margin: 0 auto;
|
||||
margin-top: 40rpx;
|
||||
.photo {
|
||||
width: 130rpx;
|
||||
height: 130rpx;
|
||||
background-color: gold;
|
||||
margin-bottom: 44rpx;
|
||||
border-radius: 90%;
|
||||
}
|
||||
.tel {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mid {
|
||||
width: 100%;
|
||||
height: 175rpx;
|
||||
border-bottom: 20rpx solid #FBFBFB;
|
||||
// justify-content: space-around;
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
text-align: center;
|
||||
.midbox {
|
||||
width: 478rpx;
|
||||
height: 175rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.way {
|
||||
margin-top: 46rpx;
|
||||
margin-bottom: 14rpx;
|
||||
}
|
||||
.money {
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.money1 {
|
||||
color: #F81F1F;
|
||||
}
|
||||
.line {
|
||||
width: 2rpx;
|
||||
height: 60rpx;
|
||||
margin: auto 0;
|
||||
background-color: #EEEEEE;
|
||||
}
|
||||
.box {
|
||||
width: 690rpx;
|
||||
margin: 0 auto;
|
||||
padding-bottom: 41rpx;
|
||||
border-bottom: 2rpx solid #EEEEEE;
|
||||
.yongjintop {
|
||||
width: 152rpx;
|
||||
height: 196rpx;
|
||||
margin: 0 auto;
|
||||
margin-top: 40rpx;
|
||||
.photo {
|
||||
width: 130rpx;
|
||||
height: 130rpx;
|
||||
background-color: gold;
|
||||
margin-bottom: 44rpx;
|
||||
border-radius: 90%;
|
||||
}
|
||||
.tel {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mid {
|
||||
width: 100%;
|
||||
height: 175rpx;
|
||||
border-bottom: 20rpx solid #FBFBFB;
|
||||
// justify-content: space-around;
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
text-align: center;
|
||||
.midbox {
|
||||
width: 478rpx;
|
||||
height: 175rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.way {
|
||||
margin-top: 46rpx;
|
||||
margin-bottom: 14rpx;
|
||||
}
|
||||
.money {
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.money1 {
|
||||
color: #F81F1F;
|
||||
}
|
||||
.line {
|
||||
width: 2rpx;
|
||||
height: 60rpx;
|
||||
margin: auto 0;
|
||||
background-color: #EEEEEE;
|
||||
}
|
||||
}
|
@ -1,26 +1,26 @@
|
||||
<view class="box">
|
||||
<view class="yongjintop">
|
||||
<image class="photo"></image>
|
||||
<view class="tel">156***578</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="mid">
|
||||
<view class="midbox">
|
||||
<view>
|
||||
<view class="way">昨日收益</view>
|
||||
<view class="money">
|
||||
<text class="money1">657.00</text>
|
||||
<text>RMB</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="line"></view>
|
||||
<view>
|
||||
<view class="way">昨日收益</view>
|
||||
<view class="money">
|
||||
<text class="money1">657.00</text>
|
||||
<text>RMB</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="box">
|
||||
<view class="yongjintop">
|
||||
<image class="photo"></image>
|
||||
<view class="tel">156***578</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="mid">
|
||||
<view class="midbox">
|
||||
<view>
|
||||
<view class="way">昨日收益</view>
|
||||
<view class="money">
|
||||
<text class="money1">657.00</text>
|
||||
<text>RMB</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="line"></view>
|
||||
<view>
|
||||
<view class="way">昨日收益</view>
|
||||
<view class="money">
|
||||
<text class="money1">657.00</text>
|
||||
<text>RMB</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
@ -1,23 +1,23 @@
|
||||
.yuedetail {
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
border-bottom: 2rpx solid #EEEEEE;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.left {
|
||||
font-size: 28rpx;
|
||||
margin-left: 30rpx;
|
||||
.date {
|
||||
color: #666666;
|
||||
}
|
||||
.time {
|
||||
color: #999999;
|
||||
margin-top: 5rpx;
|
||||
}
|
||||
}
|
||||
.right {
|
||||
color: #333333;
|
||||
font-size: 36rpx;
|
||||
margin-right: 30rpx;
|
||||
}
|
||||
.yuedetail {
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
border-bottom: 2rpx solid #EEEEEE;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.left {
|
||||
font-size: 28rpx;
|
||||
margin-left: 30rpx;
|
||||
.date {
|
||||
color: #666666;
|
||||
}
|
||||
.time {
|
||||
color: #999999;
|
||||
margin-top: 5rpx;
|
||||
}
|
||||
}
|
||||
.right {
|
||||
color: #333333;
|
||||
font-size: 36rpx;
|
||||
margin-right: 30rpx;
|
||||
}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
.yuetitle {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
font-weight: bold;
|
||||
margin-left: 31rpx;
|
||||
.yuetitle {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
font-weight: bold;
|
||||
margin-left: 31rpx;
|
||||
}
|
@ -1,23 +1,23 @@
|
||||
.yuetop {
|
||||
width: 690rpx;
|
||||
// height: 189rpx;
|
||||
margin: 0 auto;
|
||||
border-bottom: 2rpx solid #EEEEEE;
|
||||
.all {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
padding-top: 63rpx;
|
||||
padding-bottom: 25rpx;
|
||||
}
|
||||
.money {
|
||||
color: #333333;
|
||||
font-size: 48rpx;
|
||||
font-weight: 500;
|
||||
padding-bottom: 37rpx;
|
||||
.chong {
|
||||
color: #09BB07;
|
||||
font-size: 26rpx;
|
||||
margin-left: 35rpx;
|
||||
}
|
||||
}
|
||||
.yuetop {
|
||||
width: 690rpx;
|
||||
// height: 189rpx;
|
||||
margin: 0 auto;
|
||||
border-bottom: 2rpx solid #EEEEEE;
|
||||
.all {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
padding-top: 63rpx;
|
||||
padding-bottom: 25rpx;
|
||||
}
|
||||
.money {
|
||||
color: #333333;
|
||||
font-size: 48rpx;
|
||||
font-weight: 500;
|
||||
padding-bottom: 37rpx;
|
||||
.chong {
|
||||
color: #09BB07;
|
||||
font-size: 26rpx;
|
||||
margin-left: 35rpx;
|
||||
}
|
||||
}
|
||||
}
|
62
doc/bin.md
62
doc/bin.md
@ -1,31 +1,31 @@
|
||||
# bin.js
|
||||
## 引入方式
|
||||
模块导入
|
||||
## request 方法
|
||||
对于wx.request()的简单封装
|
||||
request(object)
|
||||
返回值类型 promise
|
||||
除url必须 其余都为可选 详细参数查阅 [微信开发者文档](https://developers.weixin.qq.com/miniprogram/dev/api/network/request/wx.request.html)
|
||||
```
|
||||
object
|
||||
{
|
||||
url,访问地址 必须
|
||||
method,请求方式
|
||||
header,附加header头
|
||||
dataType,返回类型
|
||||
responseType,类型
|
||||
complete 成功失败都执行的回调函数
|
||||
}
|
||||
```
|
||||
```
|
||||
request({
|
||||
url:"https://api.luyaun.tk/getlist",
|
||||
method:"GET"
|
||||
}).then((res)=>{
|
||||
请求成功执行方法
|
||||
},(rej)=>{
|
||||
请求失败执行方法
|
||||
}).catch((ree)=>{
|
||||
执行错误时调用方法
|
||||
})
|
||||
```
|
||||
# bin.js
|
||||
## 引入方式
|
||||
模块导入
|
||||
## request 方法
|
||||
对于wx.request()的简单封装
|
||||
request(object)
|
||||
返回值类型 promise
|
||||
除url必须 其余都为可选 详细参数查阅 [微信开发者文档](https://developers.weixin.qq.com/miniprogram/dev/api/network/request/wx.request.html)
|
||||
```
|
||||
object
|
||||
{
|
||||
url,访问地址 必须
|
||||
method,请求方式
|
||||
header,附加header头
|
||||
dataType,返回类型
|
||||
responseType,类型
|
||||
complete 成功失败都执行的回调函数
|
||||
}
|
||||
```
|
||||
```
|
||||
request({
|
||||
url:"https://api.luyaun.tk/getlist",
|
||||
method:"GET"
|
||||
}).then((res)=>{
|
||||
请求成功执行方法
|
||||
},(rej)=>{
|
||||
请求失败执行方法
|
||||
}).catch((ree)=>{
|
||||
执行错误时调用方法
|
||||
})
|
||||
```
|
||||
|
@ -1,66 +1,66 @@
|
||||
// pages/accomplish/accomplish.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad: function (options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage: function () {
|
||||
|
||||
}
|
||||
// pages/accomplish/accomplish.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad: function (options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage: function () {
|
||||
|
||||
}
|
||||
})
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"content":"../components/particulars/content/index",
|
||||
"orderchooseaddr":"../components/particulars/orderchooseaddr/index",
|
||||
"logistics": "../components/particulars/logistics/index"
|
||||
}
|
||||
{
|
||||
"usingComponents": {
|
||||
"content":"../components/particulars/content/index",
|
||||
"orderchooseaddr":"../components/particulars/orderchooseaddr/index",
|
||||
"logistics": "../components/particulars/logistics/index"
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user