Browse Source

优化细节

zyh
gaoxs 5 years ago
parent
commit
d8f92720d2
  1. 2
      assets/css/style.css
  2. 2
      assets/css/style.css.map
  3. 3
      assets/css/style.less
  4. 1
      pages/activity/GoodsSeckill/index.vue
  5. 1
      pages/order/MyOrder/index.vue
  6. 39
      pages/order/OrderDetails/index.vue
  7. 2
      pages/orderAdmin/OrderIndex/index.vue
  8. 4
      pages/user/UserAccount/index.vue
  9. 18
      pages/user/address/AddAddress/index.vue

2
assets/css/style.css

File diff suppressed because one or more lines are too long

2
assets/css/style.css.map

File diff suppressed because one or more lines are too long

3
assets/css/style.less

@ -1,3 +1,6 @@
page {
background: #f5f5f5;
}
.newsList .newsSwitch .van-hairline--top-bottom::after {
border: 0;
}

1
pages/activity/GoodsSeckill/index.vue

@ -177,6 +177,7 @@ export default {
that.status = false;
that.active = index;
that.datatime = that.timeList[that.active].stop;
this.seckillList=[]
that.getSeckillList();
},
getSeckillList: function() {

1
pages/order/MyOrder/index.vue

@ -320,6 +320,7 @@ export default {
</script>
<style scoped lang="less">
.noCart {
margin-top: 0.17 * 100rpx;
padding-top: 0.1 * 100rpx;

39
pages/order/OrderDetails/index.vue

@ -311,28 +311,6 @@
</view>
</view>
</template>
<script>
export default {
methods: {
goGoodsReturn(orderInfo) {
this.$yrouter.push({
path: "/pages/order/GoodsReturn/index",
query: {
id: orderInfo.orderId
}
});
},
goGroupRule(orderInfo) {
this.$yrouter.push({
path: "/pages/activity/GroupRule/index",
query: {
id: orderInfo.pinkId
}
});
}
}
};
</script>
<style scoped lang="less">
.geoPage {
position: fixed;
@ -527,6 +505,23 @@ export default {
},
methods: {
copyClipboard,
goGoodsReturn(orderInfo) {
this.$yrouter.push({
path: "/pages/order/GoodsReturn/index",
query: {
id: orderInfo.orderId
}
});
},
goGroupRule(orderInfo) {
console.log(orderInfo)
this.$yrouter.push({
path: "/pages/activity/GroupRule/index",
query: {
id: orderInfo.pinkId
}
});
},
showChang: function() {
//
if (isWeixin()) {

2
pages/orderAdmin/OrderIndex/index.vue

@ -17,7 +17,7 @@
<view class="num">{{ census.orderCount.evaluatedCount }}</view>
<view>待评价</view>
</view>
<view class="item" @click="goAdminOrderList(3)">
<view class="item" @click="goAdminOrderList(4)">
<view class="num">{{ census.orderCount.refundCount }}</view>
<view>退款</view>
</view>

4
pages/user/UserAccount/index.vue

@ -62,8 +62,8 @@ export default {
this.getActivity();
},
methods: {
goUserBill(id) {
this.$yrouter.push({ path: "/pages/user/UserBill/index", query: { id } });
goUserBill(types) {
this.$yrouter.push({ path: "/pages/user/UserBill/index", query: { types } });
},
getIndex: function() {
let that = this;

18
pages/user/address/AddAddress/index.vue

@ -107,18 +107,28 @@ export default {
},
openAddres2() {
// label
if (this.address.province) {
// city
let str = "市";
let city = this.address.city;
if (this.address.province.indexOf(str) != -1) {
city = "市辖区";
}
var index = this.$refs.simpleAddress.queryIndex(
[this.address.province, this.address.city, this.address.district],
[this.address.province, city, this.address.district],
"label"
);
console.log(index);
this.cityPickerValueDefault = index.index;
}
this.$refs.simpleAddress.open();
// var index = this.$refs.simpleAddress.queryIndex(
// [13, 1302, 130203],
// "value"
// );
// this.cityPickerValueDefault = index.index;
// this.$refs.simpleAddress.open();
},
openAddres3() {
// value

Loading…
Cancel
Save