|
@@ -9,7 +9,7 @@
|
|
|
>
|
|
|
<image
|
|
|
mode="aspectFill"
|
|
|
- src="https://cdn.uviewui.com/uview/common/logo.png"
|
|
|
+ src="../../static/sailun/xiaoxi.png"
|
|
|
/>
|
|
|
<!-- 此层wrap在此为必写的,否则可能会出现标题定位错误 -->
|
|
|
<view class="title-wrap">
|
|
@@ -149,15 +149,7 @@ export default {
|
|
|
// 如果打开一个的时候,不需要关闭其他,则无需实现本方法
|
|
|
open(index) {
|
|
|
console.log(index);
|
|
|
- // console.log(this.orderList[index].show)
|
|
|
- // 先将正在被操作的swipeAction标记为打开状态,否则由于props的特性限制,
|
|
|
- // 原本为'false',再次设置为'false'会无效
|
|
|
- // this.orderList[index].show = true;
|
|
|
console.log(this.orderList[index].show);
|
|
|
- // this.orderList.map((val, idx) => {
|
|
|
- // console.log(index)
|
|
|
- // console.log(idx)
|
|
|
- // if (index != idx) this.orderList[index].show = false;
|
|
|
this.orderList[index].show = true;
|
|
|
this.orderList.map((val, idx) => {
|
|
|
if (index != idx) this.orderList[idx].show = false;
|