vue-waterfall2 实现瀑布流,及总结的问题

news2024/10/7 6:42:22

注意:引入需要在主界面引入,直接在组件中引用会有问题

1.安装 npm install vue-waterfall2@1.8.20 --save    (提示:一定要安装1.8.20,最新版会有一部分问题)

2.打开main.js文件

import waterfall from 'vue-waterfall2'

Vue.use(waterfall)

3.components新建 load.vue  (复制粘贴)

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93

94

95

96

97

98

99

100

101

102

103

104

105

106

107

108

109

110

111

112

113

114

115

116

<style scoped>

.loader-layer {

  position: fixed;

  left: 0;

  top: 0;

  right: 0;

  bottom: 0;

  background: white;

  transition: all 0.6s;

  opacity: 0;

  -webkit-opacity: 0;

  -o-opacity: 0;

  -ms-opacity: 0;

  -moz-opacity: 0;

  visibility: hidden;

  filter: alpha(opacity=0);

}

.loader-layer.active {

  visibility: visible;

  opacity: 1;

  -webkit-opacity: 1;

  -o-opacity: 1;

  -ms-opacity: 1;

  -moz-opacity: 1;

  filter: alpha(opacity=100);

}

.spinner {

  width: 120px;

  height: 120px;

  text-align: center;

  line-height: 120px;

  position: absolute;

  left: 50%;

  top: 50%;

  transform: translate(-50%, -50%);

  -webkit-transform: translate(-50%, -50%);

  -o-transform: translate(-50%, -50%);

  -ms-transform: translate(-50%, -50%);

  -moz-transform: translate(-50%, -50%);

  white-space: nowrap;

  overflow: hidden;

}

.double-bounce1,

.double-bounce2 {

  width: 100%;

  height: 100%;

  border-radius: 50%;

  background-color: #1abc9c;

  opacity: 0.6;

  position: absolute;

  top: 0;

  left: 0;

  -webkit-animation: bounce 2s infinite ease-in-out;

  animation: bounce 2s infinite ease-in-out;

}

.double-bounce2 {

  -webkit-animation-delay: -1s;

  animation-delay: -1s;

}

@-webkit-keyframes bounce {

  0%,

  100% {

    -webkit-transform: scale(0);

  }

  50% {

    -webkit-transform: scale(1);

  }

}

@keyframes bounce {

  0%,

  100% {

    transform: scale(0);

    -webkit-transform: scale(0);

  }

  50% {

    transform: scale(1);

    -webkit-transform: scale(1);

  }

}

@keyframes loading {

  from {

    opacity: 0;

  }

  to {

    opacity: 1;

  }

}

</style>

<template>

  <div class="loader-layer"

       :class="show?'active':''">

    <div class="spinner">

      <div class="double-bounce1"></div>

      <div class="double-bounce2"></div>loading...

    </div>

  </div>

</template>

<script>

export default {

  props: ["show"]

};

</script>

  

3.新建一个.vue的文件(复制粘贴)

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93

94

95

96

97

98

99

100

101

102

103

104

105

106

107

108

109

110

111

112

113

114

115

116

117

118

119

120

121

122

123

124

125

126

127

128

129

130

131

132

133

134

135

136

137

138

139

140

141

142

143

144

145

146

147

148

149

150

151

152

153

154

155

156

157

158

159

160

161

162

163

164

165

166

167

168

169

170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

201

202

203

204

205

206

207

208

209

210

211

212

213

214

215

216

217

218

219

220

221

222

223

224

225

226

227

228

229

230

231

232

233

234

235

236

237

238

239

240

241

242

243

244

245

246

247

248

249

250

251

252

253

254

255

256

257

258

259

260

261

262

263

264

265

266

267

268

269

270

271

272

273

274

275

276

277

278

279

280

281

282

283

284

285

286

287

288

289

290

291

292

293

294

295

296

297

298

299

300

301

302

303

304

305

306

307

308

309

310

311

312

313

314

315

316

317

318

319

320

321

322

323

324

325

326

327

328

329

330

331

332

333

334

335

336

337

338

339

340

341

342

343

344

345

346

347

348

349

350

351

352

353

354

355

356

357

358

359

360

361

362

363

364

365

366

367

368

369

370

371

372

373

374

375

376

377

378

379

380

381

382

383

384

385

386

387

388

389

390

391

392

393

394

395

396

397

398

399

400

401

402

403

404

405

406

407

408

409

410

411

412

413

414

415

416

417

418

419

420

421

422

423

424

425

426

427

428

429

430

431

432

433

434

435

436

437

438

439

440

441

442

443

444

445

446

447

448

449

450

451

452

453

454

455

456

457

458

459

460

461

462

463

464

465

466

467

468

469

470

471

<style  lang="scss" scoped>

.container-water-fall {

  // padding: 0 28px;

  box-sizing: border-box;

  &.water-content {

    margin: 0 15px;

  }

  h4 {

    padding-top: 56px;

    padding-bottom: 28px;

    font-family: PingFangSC-Medium;

    font-size: 36px;

    color: #000000;

    letter-spacing: 1px;

    text-align: justify;

  }

  button {

    background-color: #ff0;

    color: #24292e;

    border: 1px solid rgba(27, 31, 35, 0.2);

    border-radius: 0.25em;

    width: 100px;

    line-height: 26px;

    font-size: 13px;

    margin: 4px 0;

    margin-right: 4px;

    cursor: pointer;

    outline: none;

    &.blue-light {

      background: #27fbc2;

    }

  }

  button:hover {

    background-image: linear-gradient(-180deg, #fafbfc, #ccc 90%);

  }

  .cell-item {

    width: 100%;

    background: #ffffff;

    overflow: hidden;

    box-sizing: border-box;

    border-radius: 6px;

    margin-top: 10px;

    img {

      // border-radius: 12px 12px 0 0;

      width: 100%;

      height: auto;

      display: block;

    }

    .item-body {

      // border: 1px solid #F0F0F0;

      padding: 12px;

      .item-desc {

        font-size: 15px;

        color: #333333;

        line-height: 15px;

        font-weight: bold;

      }

      .item-footer {

        margin-top: 22px;

        position: relative;

        display: flex;

        align-items: center;

        .avatar {

          width: 44px;

          height: 44px;

          border-radius: 50%;

          background-repeat: no-repeat;

          background-size: contain;

        }

        .name {

          max-width: 150px;

          margin-left: 10px;

          font-size: 14px;

          color: #999999;

        }

        .like {

          position: absolute;

          right: 0;

          display: flex;

          align-items: center;

          &.active {

            i {

            }

            .like-total {

              color: #ff4479;

            }

          }

          i {

            width: 28px;

            display: block;

          }

          .like-total {

            margin-left: 10px;

            font-size: 12px;

            color: #999999;

          }

        }

      }

    }

  }

}

.githubdata {

  float: right;

  margin-right: 90px;

  img {

    width: 14px;

    // height: 16px;

  }

}

</style>

<template>

  <div class="container-water-fall water-content">

    <waterfall :col="col"

               :data="data"

               @loadmore="loadmore">

      <template>

        <div class="cell-item"

             v-for="(item,index) in data"

             :key="index">

          <img v-if="item.img"

               :src="item.img"

               alt="加载错误">

          <div class="item-body">

            <div class="item-desc">{{item.title}}</div>

            <div class="item-footer">

              <div v-if="item.avatar"

                   class="avatar"

                   :style="{backgroundImage : `url(${item.avatar})` }"></div>

              <div class="name">{{item.user}}</div>

              <div class="like"

                   :class="item.liked?'active':''">

                <i></i>

                <div class="like-total">{{item.like}}</div>

              </div>

            </div>

          </div>

        </div>

      </template>

    </waterfall>

    <loading :show="loading" />

  </div>

</template>

<script>

/*

  注意:

  1.itemWidth需要与gutterWidth一起使用才会生效,否则会进行自适应宽度

  2.使用了waterfall的组件不允许使用scoped,否则样式会有问题

*/

import loading from "@/components/load";

export default {

  props: {

    title: String

  },

  components: {

    loading

  },

  data() {

    return {

      data: [],

      col: 2,

      loading: false,

      gitHubData: {},

      originData: [

        {

          img:

            "https://image.watsons.com.cn//upload/8a316140.png?w=377&h=451&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "最近浴室新宠,日系神仙好物了解一下~",

          user: "www",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/083767f0.JPG?w=828&h=620&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "150元搞定全套护肤品,这些护肤好物必须交出来!",

          user: "迷人的小妖精迷人的小妖精",

          like: "952"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/02a4f38d.jpg?w=1067&h=1067&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "最近浴室新宠,日系神仙好物了解一下~",

          user: "迷人的小妖精迷人的小妖精",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/589585c1.jpeg?x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "150元搞定全套护肤品,这些护肤好物必须交出来!",

          user: "迷人的小妖精迷人的小妖精",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/d862d932.jpg?w=1080&h=1440&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "最近浴室新宠,日系神仙好物了解一下~",

          user: "迷人的小妖精迷人的小妖精",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/eb4fb58f.jpg?w=1080&h=1080&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "150元搞定全套护肤品,这些护肤好物必须交出来!",

          user: "迷人的小妖精迷人的小妖精",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/71d19462.jpg?x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title:

            "贵妇级好用的水乳有哪些呢?千万不要去乱尝试贵妇级好用的水乳有哪些呢?",

          user: "迷人的小妖精迷人的小妖精",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/415f984f.jpeg?w=828&h=1104&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "千万不要去乱尝试贵妇级好用的水乳有哪些呢?千万不要去乱尝试",

          user: "迷人的小妖精迷人的小妖精",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/5c3e51e4.jpg?w=720&h=960&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "夏天用这款姨妈巾,让你体验真正的清爽",

          user: "迷人的小妖精迷人的小妖精",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/92761043.JPG?w=1000&h=999&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "最近浴室新宠,日系神仙好物了解一下~",

          user: "迷人的小妖精迷人的小妖精123",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/da61c0f5.jpg?w=959&h=958&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "千万不要去乱尝试贵妇级好用的水乳有哪些呢?千万不要去乱尝试",

          user: "迷人的小妖精迷人的小妖精",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/fcd68df4.jpg?w=1080&h=1080&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "最近浴室新宠,日系神仙好物了解一下~",

          user: "迷人的小妖精迷人的小妖精",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/bef41e67.JPG?w=712&h=534&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "夏天用这款姨妈巾,让你体验真正的清爽",

          user: "迷人的小妖精迷人的小妖精",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/25ab20fe.JPG?w=1000&h=1200&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "150元搞定全套护肤品,这些护肤好物必须交出来!",

          user: "迷人的小妖精迷人的小妖精123",

          like: "953"

        },

        {

          img:

            "https://ci.xiaohongshu.com/eb971d00-05ab-5b2a-ba03-52d8f544c42b?imageView2/2/w/400/q/50/format/jpg",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "最近浴室新宠,日系神仙好物了解一下~",

          user: "迷人的小妖精迷人的小妖精",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/4a3c1788.jpg?w=823&h=1000&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "夏天用这款姨妈巾,让你体验真正的清爽",

          user: "迷人的小妖精迷人的小妖精",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/0a89e6b7.jpg?w=1080&h=1920&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "千万不要去乱尝试贵妇级好用的水乳有哪些呢?千万不要去乱尝试",

          user: "迷人的小妖精迷人的小妖精",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/99253111.jpg?w=1080&h=1920&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "150元搞定全套护肤品,这些护肤好物必须交出来!",

          user: "迷人的小妖精迷人的小妖精123",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/13afe9a7.jpg?x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title:

            "贵妇级好用的水乳有哪些呢?千万不要去乱尝试贵妇级好用的水乳有哪些呢?千万不要去乱尝试贵妇级好用的水乳有哪些呢?千万不要去乱尝试",

          user: "迷人的小妖精迷人的小妖精",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/98c7c4c3.jpg?w=1210&h=1210&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "150元搞定全套护肤品,这些护肤好物必须交出来!",

          user: "迷人的小妖精迷人的小妖精",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/54c5d7b4.jpg?w=828&h=991&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "150元搞定全套护肤品,这些护肤好物必须交出来!",

          user: "迷人的小妖精迷人的小妖精",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/71d19462.jpg?x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "夏天用这款姨妈巾,让你体验真正的清爽",

          user: "迷人的小妖精迷人的小妖精123",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/642cb83c.jpeg?w=1080&h=1080&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "150元搞定全套护肤品,这些护肤好物必须交出来!",

          user: "迷人的小妖精迷人的小妖精",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/31e42833.jpg?w=750&h=750&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "150元搞定全套护肤品,这些护肤好物必须交出来!",

          user: "迷人的小妖精迷人的小妖精",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/92761043.JPG?w=1000&h=999&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "夏天用这款姨妈巾,让你体验真正的清爽",

          user: "迷人的小妖精迷人的小妖精",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/60cc9b8e.jpg?w=991&h=744&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "150元搞定全套护肤品,这些护肤好物必须交出来!",

          user: "迷人的小妖精迷人的小妖精123",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/b709ed72.jpg?w=552&h=414&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "最近浴室新宠,日系神仙好物了解一下~",

          user: "迷人的小妖精迷人的小妖精",

          like: "953"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/137b50b0.jpg?x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "夏天用这款姨妈巾,让你体验真正的清爽",

          user: "迷人的小妖精迷人的小妖精",

          like: "952"

        },

        {

          img:

            "https://image.watsons.com.cn//upload/31e42833.jpg?w=750&h=750&x-oss-process=image/resize,w_1080",

          avatar:

            "https://img.xiaohongshu.com/avatar/5b7d198a7e6e15000155f7c9.jpg@80w_80h_90q_1e_1c_1x.jpg",

          title: "最近浴室新宠,日系神仙好物了解一下~",

          user: "迷人的小妖精迷人的小妖精",

          like: "953"

        }

      ]

    };

  },

  computed: {

    itemWidth() {

      return 133 * 0.5 * (document.documentElement.clientWidth / 375);

    },

    gutterWidth() {

      return 10 * 0.5 * (document.documentElement.clientWidth / 375);

    }

  },

  methods: {

    toGitHub() {

      window.open(

        "https://github.com/Rise-Devin/vue-waterfall2/blob/master/README.md",

        "_blank"

      );

    },

    reset() {

      this.data = [];

    },

    switchCol(col) {

      this.col = col;

    },

    loadmore() {

      console.log(9999)

      this.loading = true;

      setTimeout(() => {

        this.data = this.data.concat(this.originData, this.originData);

        this.loading = false;

      }, 1000);

    }

  },

  mounted() {

    console.log('cascadeShow')

    this.data = this.originData;

  }

};

</script>

总结问题:

1. 本人下载vue-waterfall2  @1.9.0版本,插件设定了高度,导致插件内容可以滚动,如果在插件上面加入banner或者其他内容,不会随着屏幕的滚动而滚动,

2. body ,head {

  height: 100%;

}

body,head 高度100%,会导致页面滑动到最后的时候监听不到滚动底部的事件,一定要保证页面css样式不能冲突

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1234241.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

python 实现等声值线图绘制

今天讲一类环评项目的噪声预测 - 风电 风机噪声作为面源目前难有成熟的模型进行预测。根据国内外的研究&#xff0c;都是根据与风机中心的位置进行分级预测。 翟国庆等利用美国航天航空局&#xff08;NASA&#xff09;研发的风电机组噪声预测模型&#xff08;以下简称 NASA”…

数字化转型导师坚鹏:数字化时代银行网点厅堂营销5大重点分析

数字化时代银行网点厅堂营销存在以下5大重点&#xff1a; 1、厅堂宣传。应以主推产品作为厅堂宣传的宣传重点&#xff0c;结合视频宣传、平面物料、互动机具、陈列物料等多维度&#xff0c;开展有序重复展示&#xff0c;进而加大吸引客户关注度。 2、产品推荐。在识别出中高端…

基于混沌博弈算法优化概率神经网络PNN的分类预测 - 附代码

基于混沌博弈算法优化概率神经网络PNN的分类预测 - 附代码 文章目录 基于混沌博弈算法优化概率神经网络PNN的分类预测 - 附代码1.PNN网络概述2.变压器故障诊街系统相关背景2.1 模型建立 3.基于混沌博弈优化的PNN网络5.测试结果6.参考文献7.Matlab代码 摘要&#xff1a;针对PNN神…

亚马逊美国站买家号注册流程

注册亚马逊美国站买家号一般用邮箱及手机号注册就可以了&#xff0c;具体操作如下&#xff1a; 1、在浏览器里面输入亚马逊美国站的官网地址。 2、点击注册&#xff0c;输入姓名、邮箱或手机号、密码&#xff0c;然后进行验证邮箱或者手机号。如果是用的邮箱进行注册验证&…

MyBatis Generator 插件 详解自动生成代码

MyBatis Generator&#xff08;MBG&#xff09;是MyBatis和iBATIS的代码生成器。可以生成简单CRUD操作的XML配置文件、Mapper文件(DAO接口)、实体类。实际开发中能够有效减少程序员的工作量&#xff0c;甚至不用程序员手动写sql。 它将为所有版本的MyBatis以及版本2.2.0之后的i…

2024年测试工程师必看比列之Unittest单元测试框架-知识点总结

unittest单元测试框架 1.导入unittest包 2.创建类的时候要继承与unittest.TestCase类 2.1&#xff0c;setUp方法是在类中测试执行前的初始化工作 2.2&#xff0c;tearDown方法是在类中测试执行后的清除工作 2.3&#xff0c;测试用例函数以test开头的方法是普通的测试用例方法&…

嵌入式Linux学习(1)——经典CAN介绍(上)

目录 一. CAN与ISO-OSI Model 二. CAN通信 2.1 接线方式 2.1.1 闭环网络 2.1.2 开环网络 2.2 收发流程 2.2.1 发送 2.2.2 接收 三. CAN BUS访问与仲裁 3.1 “线与”机制​ 3.2 仲裁机制 REF CAN&#xff08;Controller Area Network&#xff09;总线协议是由 BOSC…

uniapp中swiper 轮播带左右箭头,点击切换轮播效果demo(整理)

可以点击箭头左右切换-进行轮播 <template><view class"swiper-container"><swiper class"swiper" :current"currentIndex" :autoplay"true" interval"9000" circular indicator-dotschange"handleSw…

CVE-2023-0179提权利用

前言 在CVE-2023-0179-Nftables整型溢出中&#xff0c;分析了漏洞的成因&#xff0c;接下来分析漏洞的利用。 漏洞利用 根据漏洞成因可以知道&#xff0c;payload_eval_copy_vlan函数存在整型溢出&#xff0c;导致我们将vlan头部结构拷贝到寄存器&#xff08;NFT_REG32_00-N…

ASO优化之关于iOS的A/B测试

ASO优化的一个重要方面在于运行A/B测试&#xff0c;主要围绕应用图标、屏幕截图和预览视频&#xff0c;从而来完善应用程序的视觉元素和元数据。 1、A/B测试的时间安排。 启动测试之前&#xff0c;需要经过Apple的审核流程。如果我们的预览资源被拒绝&#xff0c;需要调整并重…

java中,通过替换word模板中的关键字后输出一个新文档

一、要用到的jar包 我已上传了相关的jar包&#xff0c;需要的可以通过以下链接直接下载&#xff1a; https://download.csdn.net/download/qq_27387133/88558034 具体jar包截图&#xff1a; 二、实现的代码 注意&#xff1a;文件要用docx格式!!! word变量替换的方法&#…

Altium Designer学习笔记3

原理图生成PCB&#xff1a; 然后是手动布局&#xff1a; 可以看到先没有交叉。 最终再走线。 另外&#xff0c;了解下这个封装的一些概念。

MAVEN——PACKAGE、INSTALL、DEPLOY的联系与区别

我们在用maven构建java项目时&#xff0c;最常用的打包命令有mvn package、mvn install、deploy&#xff0c;这三个命令都可完成打jar包或war&#xff08;当然也可以是其它形式的包&#xff09;的功能&#xff0c;但这三个命令还是有区别的。下面通过分别执行这三个命令的输出结…

抖音短视频如何变成gif图?分享这一招就够了

现在抖音已经是每个人手机必备的消遣时间的软件了&#xff0c;各种各样的视频搞笑有趣。当我们想要将这些搞笑的视频画面提取出来做成gif图片的时候应该怎么办呢&#xff1f;很简单&#xff0c;使用在线制作GIF&#xff08;https://www.gif.cn/&#xff09;工具-GIF中文网&…

【数据结构初阶(3)】双向带头结点循环链表

文章目录 Ⅰ 概念及结构Ⅱ 基本操作实现1. 结点的定义2. 创建头节点3. 创建新结点4. 双向链表销毁5. 双向链表打印6. 双向链表尾插7. 双向链表尾删8. 双向链表头插9. 双向链表头删10. 双向链表查找11. 在指定 pos 位置前插入新结点12. 删除指定 pos 位置的结点 Ⅲ 十分钟手搓链…

架构探索之路-第一站-clickhouse | 京东云技术团队

一、前言 架构, 软件开发中最熟悉不过的名词, 遍布在我们的日常开发工作中, 大到项目整体, 小到功能组件, 想要实现高性能、高扩展、高可用的目标都需要优秀架构理念辅助. 所以本人尝试编写架构系列文章, 去剖析市面上那些经典优秀的开源项目, 学习优秀的架构理念来积累架构设…

Adobe 2022,2023,2024永久安装包全家桶下载网盘下载和最全的安装教程!

收集整理&#xff1a;Adobe合集 最新:已更新到2024 资源包含&#xff1a;AE Adobe AE2022是一个非常强大的视频制作和后期制作软件&#xff0c;它可以让您制作出非常出色的电影特效、动画和其他非常优秀的视频作品。为了更好地使用这款软件&#xff0c;我们需要一些比较全面…

TeXLive 2023安装教程

TeXLive 2023安装教程 本文介绍最新TeX发行版——TeXLive 2023的安装步骤。如果你想用LaTeX进行写作&#xff0c;那么需要搭建LaTeX环境&#xff1a;可以选择下面两种方案之一进行安装&#xff1a;(1)TeXLive 2023TeXStudio或者(2)TeXLive 2023WinEdt 11。其中TeXLive 2023是由…

网络连接Android设备

参考&#xff1a;https://blog.csdn.net/qq_37858386/article/details/123755700 二、网络adb调试开启步骤 1、把Android平板或者手机WiFi连接到跟PC机子同一个网段的网络&#xff0c;在设置-系统-关于-状态 下面查看设备IP,然后查看PC是否可以ping通手机的设备的IP。 2、先…

智慧箱变动环辅控系统

智慧箱变动环辅控系统是一种集监控、管理、控制于一体的智能化系统。依托电易云-智慧电力物联网&#xff0c;以箱式变电站为管理对象&#xff0c;加装箱变网关&#xff0c;它主要用于对箱变环境进行实时监测和控制&#xff0c;以确保箱变的正常运行和安全性。 具体来说&#xf…