article.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823
  1. <template>
  2. <view class="content">
  3. <header-title :title="'网站'+$test.$test"></header-title>
  4. <view class="main">
  5. <form @submit="Submit">
  6. <view class="box-pack-between ft32 item flex-y-center">
  7. <text class="item_name">网站链接 <text style="color:red">*</text></text>
  8. <block v-if="card_num">
  9. <view class="content">{{info.url}}</view>
  10. <input style="display: none;" type="text" name="url" :value="info.url" />
  11. </block>
  12. <input type="text" v-else name="url" :value="info.url" maxlength="5000" placeholder="请填写网站链接" />
  13. </view>
  14. <!-- <block v-if="moshi==2"> -->
  15. <FlowPool :thismoshi="moshi" :rule_arr_val="ruleArr" :this_moshi_type="moshi_type" :list_way="list_way" @ondel="binddel"
  16. @oncheck="bindcheck" @onTime='bindtime' @confirm="bindConfirm" @bindlevel="bindlevel"></FlowPool>
  17. <!-- </block> -->
  18. <view v-if="moshi==1">
  19. <view class="box-pack-between ft32 item">
  20. <text>{{$test.$test}}场景</text>
  21. <view class="add-home flex-center ft24">
  22. <picker @change="bindPickerChange" :value="index" :range-key="'name'" :range="allwayList">
  23. 添加
  24. </picker>
  25. </view>
  26. </view>
  27. <view class="item-bg" v-if="arr.length>0">
  28. <view class="box-pack-between mar64 flex-y-center" v-for="(item,index) of arr" :key='index'>
  29. <view class="flex-y-center flex-grow-1 pdr-20">
  30. <text style="margin-right: 10rpx;">{{item.name}}</text>
  31. <input class="flex-grow-1" type="text" @input="getScene" :data-index="index"
  32. placeholder="请填写链接或内容" :value="item.way_power"
  33. maxlength="5000" />
  34. </view>
  35. <image class="item-del" @click="delScene" :data-index='index' src="../../static/images/del.png" mode=""></image>
  36. </view>
  37. </view>
  38. </view>
  39. <view class="">
  40. <view class="box-pack-between ft32 item">
  41. <text>配置中转页</text>
  42. <view class="flex-center ft24">
  43. <switch :checked="mid_state==1?true:false" name="mid_state" @change="switch1" style="transform:scale(0.7)" />
  44. </view>
  45. </view>
  46. <view class="item-bg" v-if="mid_state==1?true:false">
  47. <view class="box-pack-between mgr57">
  48. <view class="flex-row">
  49. <text class="item-bg-32">中转页标题</text>
  50. <input type="text" :value="info.mid_title" name="mid_title" placeholder="请填写中转页标题" />
  51. </view>
  52. </view>
  53. <view class="box-pack-between mgr57">
  54. <text class="item-bg-32">广告方式</text>
  55. <picker @change="bindPickerAdvertising" :range-key="'name'" :range="Advertising">
  56. <text>{{Advertising[Adver_index].name}} <text class="iconfont icon-prev"></text></text>
  57. </picker>
  58. </view>
  59. <view class="box-pack-between flex-y-center" v-if="Advertising[Adver_index].name=='自定义引导页'">
  60. <text class="item-bg-32">广告引导页</text>
  61. <image @click="ChooseImage" :data-type="1" v-if="mid_img" class="upimg" :data-url="Advertising[Adver_index].url"
  62. :src="URL+''+mid_img"></image>
  63. <image @click="ChooseImage" :data-type="1" v-else class="upimg" src="../../static/images/upimg.png" mode=""></image>
  64. </view>
  65. <view class="box-pack-between flex-y-center" v-else-if="Advertising[Adver_index].name=='安全认证'">
  66. <text class="item-bg-32">广告引导页</text>
  67. <image mode="aspectFill" data-url="../../merchant/static/images/ali_ua.png" class="upimg" src="../../merchant/static/images/ali_ua.png"></image>
  68. <image mode="aspectFill" data-url="../../merchant/static/images/wx_ua.png" class="upimg" src="../../merchant/static/images/wx_ua.png"></image>
  69. <image mode="aspectFill" data-url="../../merchant/static/images/web_ua.png" class="upimg" src="../../merchant/static/images/web_ua.png"></image>
  70. </view>
  71. <view class="box-pack-between flex-y-center" v-else>
  72. <text class="item-bg-32">广告引导页</text>
  73. <image @click="Choose_img" mode="aspectFill" :data-url="URL+Advertising[Adver_index].url" class="upimg" :src="URL+Advertising[Adver_index].url"></image>
  74. </view>
  75. </view>
  76. <text style="padding:0 40rpx;font-size: 12px;color: #999;">ps:如遇到无法访问的网站链接,请配置中转页</text>
  77. </view>
  78. <block v-if="mid_state==1?false:true">
  79. <view class="box-pack-between ft32 item">
  80. <text>开启遮盖指引</text>
  81. <view class="flex-center ft24">
  82. <switch :checked="hj_state==1?true:false" @change="switch5" name="hj_state" style="transform:scale(0.7)" />
  83. </view>
  84. </view>
  85. <view class="box-pack-between" v-if="hj_state==1?true:false" style="padding: 0 50rpx;">
  86. <text></text>
  87. <view class="flex">
  88. <view class="look-icon-right" @click="bindhj(index)" v-for="(item,index) of model" :key='index'>
  89. <view class="por">
  90. <image @click="Choose_img" class="look-icon" :src="item.img" mode=""></image>
  91. <image class="look-jiao" v-if="item.checked" src="../../static/images/jiao.png" mode=""></image>
  92. </view>
  93. <view class="mr-top24">
  94. {{item.name}}
  95. </view>
  96. </view>
  97. </view>
  98. </view>
  99. </block>
  100. <view>
  101. <view class="box-pack-between ft32 item">
  102. <text>配置微信文章分享</text>
  103. <view class=" flex-center ft24">
  104. <switch name="wx_state" :checked="wx_state==1?true:false" @change="switch2" style="transform:scale(0.7)" />
  105. </view>
  106. </view>
  107. <view class="item-bg" v-if="wx_state==1">
  108. <view class="box-pack-between mgr57">
  109. <view class="flex-row">
  110. <text class="item-bg-32">分享标题</text>
  111. <input type="text" name="wx_title" placeholder="请填写分享标题" :value="info.wx_title" />
  112. </view>
  113. </view>
  114. <view class=" flex-row mgr57">
  115. <text class="item-bg-32">分享描述</text>
  116. <input type="text" name="wx_desc" placeholder="请填写分享描述" :value="info.wx_desc" />
  117. </view>
  118. <view class="box-pack-between flex-y-center">
  119. <text class="item-bg-32">分享图标</text>
  120. <!-- <block v-if="wximg_url">
  121. <image @click="ChooseImage" :data-type="2" class="upimg" :src="wximg_url" mode="">
  122. </image>
  123. </block> -->
  124. <!-- <block v-else> -->
  125. <image v-if="wx_img" @click="ChooseImage" :data-type="2" class="upimg" :src="URL+wx_img" mode="">
  126. </image>
  127. <image v-else @click="ChooseImage" :data-type="2" class="upimg" src="../../static/images/upimg.png" mode="">
  128. </image>
  129. <!-- </block> -->
  130. </view>
  131. </view>
  132. </view>
  133. <view class="box-pack-between ft32 descp ">
  134. <textarea :value="info.description" placeholder-class="desc-placeholder" maxlength="200" :placeholder="$test.$test+'备注'"
  135. name='description' />
  136. </view>
  137. <!-- is_exchange Y是添加N是不 -->
  138. <view class="box-pack-between ft32 item">
  139. <view class="flex-center">
  140. <text>加入换量记录池</text>
  141. </view>
  142. <view class=" flex-center ft24">
  143. <switch name="is_exchange" :checked="is_exchange=='Y'?true:false" style="transform:scale(0.7)" />
  144. </view>
  145. </view>
  146. <view class="hg200rpx"></view>
  147. <view class="bottom-bar">
  148. <block v-if="card_num">
  149. <button form-type="submit" data-status="2" class="btn2 flex-center">
  150. 确定修改
  151. </button>
  152. </block>
  153. <block v-else>
  154. <!--<button form-type="submit" data-status="1" class="btn1 flex-center">
  155. 绑定二维码
  156. </button> -->
  157. <button form-type="submit" data-status="2" class="btn1 flex-center">
  158. <!-- 生成二维码 -->
  159. 网站{{$test.$test}}
  160. </button>
  161. </block>
  162. </view>
  163. </form>
  164. </view>
  165. </view>
  166. </template>
  167. <script>
  168. import headerTitle from '@/components/header/header-title.vue';
  169. import FlowPool from '@/components/flow-pool/flow-pool.vue';
  170. // #ifdef H5
  171. // import getWXSign from "@/static/js/config.js";
  172. // #endif
  173. export default {
  174. components: {
  175. headerTitle,
  176. FlowPool,
  177. },
  178. data() {
  179. return {
  180. $test:this.$test.$test,
  181. model:[
  182. {
  183. img:"https://empwment.zx-xcx.com/forward/img/look1.png",
  184. name:"页面遮盖层模式",
  185. checked:true,
  186. },{
  187. img:"https://empwment.zx-xcx.com/forward/img/look2.png",
  188. name:"查看更多模式",
  189. checked:false,
  190. },
  191. ],
  192. hj_index:0,
  193. hj_type:1,
  194. allwayList: [],
  195. arr: [],
  196. index: 0,
  197. result: "",
  198. // is_mid: false,
  199. mid_img: "",
  200. mid_state: 2,
  201. info: {},
  202. URL: getApp().globalData.URL,
  203. card_num: "",
  204. Advertising: [],
  205. Adver_index: 0,
  206. mid_type: '',
  207. hj_state: 2,
  208. wx_state: 1,
  209. wx_img: "",
  210. // wximg_url:"",
  211. description:"",
  212. is_exchange:'N',
  213. moshi:1,
  214. moshi_type:2,
  215. list_way:[],
  216. ruleArr:[],
  217. powerpool_id:"",
  218. level_arr:[1,2,3],
  219. level:"",
  220. rule:"",
  221. }
  222. },
  223. onLoad(e) {
  224. uni.removeStorageSync("list_way");
  225. this.level=this.level_arr.join(",");
  226. this.card_num = e.card_num;
  227. if (!this.card_num) {
  228. this.allmuban();
  229. }
  230. uni.setNavigationBarTitle({
  231. title:`网站${this.$test.$test}`
  232. })
  233. this.allways();
  234. },
  235. onShow() {
  236. if(uni.getStorageSync("list_way")){
  237. this.list_way=uni.getStorageSync("list_way");
  238. if(this.way_index==3){
  239. for(let i of this.list_way){
  240. if(i.checked){
  241. this.powerpool_id=i.id
  242. }
  243. }
  244. }
  245. }
  246. },
  247. methods: {
  248. // 流量池
  249. bindcheck(index) {
  250. uni.removeStorageSync("list_way");
  251. this.moshi = index;
  252. },
  253. binddel(index){
  254. this.list_way.splice(index, 1);
  255. },
  256. bindtime(index) {
  257. console.log("000",index)
  258. this.list_way=[];
  259. uni.removeStorageSync("list_way");
  260. this.moshi_type=index==1?1:2;
  261. this.way_index=index;
  262. if(index==1){
  263. uni.navigateTo({
  264. url: "../public/index"
  265. })
  266. }
  267. // 默认流量池
  268. if(index==3){
  269. uni.navigateTo({
  270. url: "../public/index?type=2"
  271. })
  272. }
  273. },
  274. // 获取时间
  275. bindConfirm(rule){
  276. console.log(rule,"aff")
  277. this.rule=rule;
  278. },
  279. bindlevel(e){
  280. console.log(e,"bindlevel")
  281. var level=[];
  282. for(var i of e){
  283. level.push(i.level)
  284. }
  285. this.level=level.join(",");
  286. },
  287. // 流量池end
  288. bindhj(index){
  289. for(var i of this.model){
  290. i.checked=false;
  291. }
  292. this.model[index].checked=true;
  293. this.hj_index=index;
  294. },
  295. allmuban() {
  296. this.request({
  297. url: "funeng/allmuban",
  298. }).then(res => {
  299. console.log(res, "res")
  300. if (res.code === '200') {
  301. res.data.push({
  302. name: "自定义引导页",
  303. id: "0"
  304. });
  305. if (this.card_num) {
  306. for (let i in res.data) {
  307. if (res.data[i].id == this.mid_type) {
  308. this.Adver_index = i;
  309. }
  310. }
  311. }
  312. this.Advertising = res.data;
  313. }
  314. }).catch((res) => {});
  315. },
  316. bindPickerAdvertising(e) {
  317. this.Adver_index = e.detail.value;
  318. this.mid_img = "";
  319. },
  320. Choose_img(e) {
  321. var url = e.currentTarget.dataset.url
  322. // 预览图片
  323. uni.previewImage({
  324. urls: [url],
  325. })
  326. },
  327. ChooseImage(e) {
  328. let type = e.currentTarget.dataset.type;
  329. uni.chooseImage({
  330. count: 1, //默认9
  331. sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
  332. sourceType: ['album'], //从相册选择
  333. success: (res) => {
  334. console.log(res)
  335. var tempFilesSize = res.tempFiles[0].size;//获取图片的大小,单位B
  336. if(type==2&&tempFilesSize>1000000){ //图片小于或者等于2M时 可以执行获取图片
  337. uni.showToast({
  338. title:'上传图片不能大于1M!', //标题
  339. icon:'none' //图标 none不使用图标,详情看官方文档
  340. })
  341. return
  342. }
  343. var path;
  344. // #ifdef MP-WEIXIN
  345. path = res.tempFiles[0].path;
  346. // #endif
  347. // #ifdef H5
  348. path = res.tempFiles[0].name;
  349. // #endif
  350. var formatImage = path.split(".")[(path.split(".")).length - 1];
  351. if (type == 2) {
  352. if (formatImage != "png" && formatImage != "jpg" && formatImage != "jpeg") {
  353. uni.showToast({
  354. title: '只能上传png、jpg、jpeg格式',
  355. icon: 'none',
  356. duration: 2000,
  357. mask: true,
  358. })
  359. return
  360. }
  361. }
  362. res.tempFilePaths.forEach((v, i) => {
  363. // console.log(v)
  364. this.Upload({
  365. url: "Spread/upload_img",
  366. data: {
  367. url: v,
  368. type: 0,
  369. token: uni.getStorageSync("token"),
  370. }
  371. }).then(res => {
  372. console.log(res, "res")
  373. type == 1 ? (
  374. this.mid_img = res.file,
  375. this.url = res.url
  376. ) : (
  377. this.wx_img = res.file
  378. )
  379. }).catch(err => {
  380. uni.showToast({
  381. title: err.message,
  382. icon: 'none'
  383. })
  384. });
  385. })
  386. },
  387. });
  388. },
  389. getScene(e) {
  390. var index = e.currentTarget.dataset.index;
  391. this.arr[index].way_power = e.detail.value
  392. },
  393. delScene(e) {
  394. var index = e.currentTarget.dataset.index;
  395. this.arr.splice(index, 1)
  396. },
  397. bindPickerChange(e) {
  398. if (this.arr.length > 0) {
  399. for (let i of this.arr) {
  400. if (i.id == this.allwayList[e.target.value].id) {
  401. uni.showToast({
  402. title: "场景重复",
  403. icon: 'none'
  404. })
  405. return
  406. }
  407. }
  408. }
  409. this.arr.push({
  410. id: this.allwayList[e.target.value].id,
  411. name: this.allwayList[e.target.value].name,
  412. super_id: this.allwayList[e.target.value].super_id,
  413. });
  414. },
  415. // 编辑修改返回的内容
  416. allways() {
  417. this.request({
  418. url: "funeng/allways",
  419. data: {},
  420. }).then(res => {
  421. console.log(res, "res")
  422. if (res.code === '200') {
  423. this.allwayList = res.data;
  424. this.arr.push({
  425. id: res.data[0].id,
  426. name: res.data[0].name,
  427. super_id: res.data[0].super_id,
  428. });
  429. if (this.card_num) {
  430. this.edit_detail();
  431. }
  432. }
  433. }).catch((res) => {});
  434. },
  435. edit_detail(e) {
  436. this.request({
  437. url: "funeng/edit_detail",
  438. data: {
  439. card_num: this.card_num,
  440. },
  441. }).then(res => {
  442. console.log(res, "res")
  443. if (res.code === '200') {
  444. this.hj_state = res.data.hj_state;
  445. this.info = res.data;
  446. this.mid_img = res.data.mid_img;
  447. this.arr = res.data.funeng;
  448. this.mid_type = res.data.mid_type;
  449. this.mid_state = res.data.mid_state;
  450. this.wx_state = res.data.wx_state;
  451. this.wx_img = res.data.wx_img;
  452. // if (!res.data.wx_title) {
  453. // this.Crawler(res.data.url);
  454. // }
  455. this.hj_index=res.data.hj_type-1;
  456. for(var i in this.model){
  457. this.model[i].checked=false;
  458. if(i== (res.data.hj_type-1)){
  459. this.model[i].checked=true;
  460. }
  461. }
  462. this.is_exchange=res.data.is_exchange;
  463. this.moshi = res.data.moshi;
  464. this.moshi_type=res.data.moshi_type;
  465. this.ruleArr=res.data.rule_arr;
  466. if(this.moshi==2){
  467. if(this.moshi_type==2){
  468. var a = []
  469. for(let i of res.data.rule_arr){
  470. a.push(i.type)
  471. }
  472. // 去除重复的数
  473. var b = []
  474. for (var i = 0; i < a.length; i++) {
  475. if (b.indexOf(a[i]) === -1) {
  476. b.push(a[i])
  477. }
  478. }
  479. this.level=b.join(",");
  480. this.powerpool_id=res.data.powerpool_id;
  481. }
  482. for(let i of res.data.powerpool){
  483. i.checked=true;
  484. }
  485. this.list_way=res.data.powerpool;
  486. }
  487. this.allmuban();
  488. }
  489. }).catch((res) => {});
  490. },
  491. // Crawler(url){
  492. // this.request({
  493. // url:"Exchange/Crawler",
  494. // data: {
  495. // url:url,
  496. // token: uni.getStorageSync("token"),
  497. // },
  498. // method:"GET",
  499. // }).then(res => {
  500. // console.log(res, "res")
  501. // if (res.code === '200') {
  502. // this.info.wx_title=res.data.title;
  503. // this.info.wx_desc= res.data.desc;
  504. // this.wximg_url = res.data.img;
  505. // }
  506. // });
  507. // },
  508. switch1(e) {
  509. this.mid_state = e.target.value?1:2;
  510. },
  511. switch2(e) {
  512. this.wx_state = e.target.value ? 1 : 0;
  513. },
  514. switch4(e){
  515. this.wx_state = e.target.value ? 1 : 0;
  516. },
  517. switch5(e){
  518. this.hj_state = e.target.value?1:2;
  519. },
  520. Submit(e) {
  521. let arr = this.arr,
  522. way_id = [],
  523. way_power = [];
  524. for (let i of arr) {
  525. way_id.push(i.id);
  526. way_power.push(i.way_power)
  527. }
  528. if (way_id.length <= 0) {
  529. uni.showToast({
  530. title: "场景为空",
  531. icon: 'none'
  532. })
  533. return
  534. }
  535. // if (e.detail.value.wx_state==1&&!e.detail.value.wx_title) {
  536. // uni.showToast({
  537. // title: "分享标题不能为空",
  538. // icon: 'none'
  539. // })
  540. // return
  541. // }
  542. let str = e.detail.value.url;
  543. str = ltrim(str);
  544. //去左空格;
  545. function ltrim(s) {
  546. return s.replace(/(^\s*)/g, "");
  547. }
  548. if (str.substr(0, 4) != "http") {
  549. uni.showToast({
  550. title: "请填写http开头的合法链接",
  551. icon: 'none'
  552. })
  553. return
  554. }
  555. var powerpool_id ="";
  556. if(this.moshi_type==1){
  557. var powerpool_arr = [];
  558. for (let i of this.list_way) {
  559. if (i.checked) {
  560. powerpool_arr.push(i.id);
  561. }
  562. }
  563. powerpool_id=powerpool_arr.join(",");
  564. }else{
  565. powerpool_id=this.powerpool_id;
  566. }
  567. let data = {
  568. hj_type:this.hj_index+1, // 1默认2其他
  569. token: uni.getStorageSync("token"),
  570. type: 3,
  571. url: e.detail.value.url,
  572. way_id: way_id.join(","),
  573. way_power: way_power.join(","),
  574. save_type: 2,
  575. qrcode: this.result,
  576. hj_state: e.detail.value.hj_state ? 1 : 2, //1开启2不开启
  577. mid_state: e.detail.value.mid_state ? 1 : 2,
  578. description:e.detail.value.description,
  579. mid_title: e.detail.value.mid_title,
  580. mid_type:this.Advertising[this.Adver_index].id,
  581. mid_img: this.Advertising[this.Adver_index].id == "0" ? this.mid_img : this.Advertising[this.Adver_index].thumb,
  582. wx_state: e.detail.value.wx_state ? 1 : 2,
  583. wx_title:e.detail.value.wx_state ? e.detail.value.wx_title :
  584. "",
  585. wx_desc:e.detail.value.wx_state? e.detail.value.wx_desc:"",
  586. wx_img:e.detail.value.wx_state? this.wx_img:"",
  587. is_exchange:e.detail.value.is_exchange?'Y':'N',
  588. moshi:this.moshi,
  589. moshi_type:this.moshi_type,
  590. powerpool_id:powerpool_id,
  591. level:this.level,
  592. rule:this.rule,
  593. }
  594. let url;
  595. this.card_num ? (data.code = this.info.code, url = "funeng/save_edit") : url = "funeng/weixin";
  596. this.request({
  597. url,
  598. data,
  599. }).then(res => {
  600. console.log(res, "res")
  601. if (res.code === '200') {
  602. this.card_num ? (
  603. uni.showToast({
  604. title: "设置成功",
  605. icon: 'none'
  606. }),
  607. setTimeout(() => {
  608. uni.navigateBack({
  609. delta: 1
  610. })
  611. }, 2e3)
  612. ) : (
  613. uni.showToast({
  614. title: "生成成功",
  615. icon: 'none'
  616. }),
  617. uni.redirectTo({
  618. url: "code?type=3" + '&card_num=' + res.data.card_num
  619. })
  620. )
  621. }
  622. }).catch((res) => {
  623. uni.showToast({
  624. title: res.message,
  625. icon: 'none'
  626. })
  627. });
  628. }
  629. }
  630. }
  631. </script>
  632. <style>
  633. .item_name {
  634. -webkit-box-flex: 0;
  635. -webkit-flex: none;
  636. flex: none;
  637. width: 176rpx;
  638. }
  639. .content {
  640. word-wrap: break-word;
  641. word-break: break-all;
  642. }
  643. .pdr-20 {
  644. padding-right: 20rpx;
  645. }
  646. .item {
  647. padding: 32rpx 40rpx;
  648. }
  649. .item input {
  650. text-align: right;
  651. }
  652. .upimg {
  653. width: 126rpx;
  654. height: 126rpx;
  655. }
  656. .add-home {
  657. color: #FFFFFF;
  658. width: 126rpx;
  659. height: 54rpx;
  660. background: linear-gradient(315deg, #3387ff 2%, #569bff 99%);
  661. border-radius: 8rpx;
  662. box-shadow: 0px 0px 8rpx 0px rgba(51, 135, 255, 0.2);
  663. }
  664. .item-bg {
  665. width: 670rpx;
  666. /* height: 298rpx; */
  667. background: #f6f8fe;
  668. border-radius: 12rpx;
  669. margin: 0 auto;
  670. font-size: 28rpx;
  671. font-family: PingFang SC, PingFang SC-Regular;
  672. font-weight: 400;
  673. color: #333333;
  674. padding: 36rpx 32rpx;
  675. }
  676. .item-del {
  677. width: 40rpx;
  678. height: 40rpx;
  679. }
  680. .item-bg-32 {
  681. margin-right: 32rpx;
  682. }
  683. .mgr57 {
  684. margin-bottom: 57rpx;
  685. }
  686. .hg200rpx {
  687. height: 100rpx;
  688. }
  689. .mar64 {
  690. margin-bottom: 64rpx;
  691. }
  692. .item-bg .mar64:last-child {
  693. margin-bottom: 0rpx;
  694. }
  695. .look-icon{
  696. width: 200rpx;
  697. height: 300rpx;
  698. display: block;
  699. }
  700. .por{
  701. position: relative;
  702. }
  703. .look-icon-left{
  704. font-size: 26rpx;
  705. text-align: center;
  706. }
  707. .look-icon-right{
  708. font-size: 26rpx;
  709. margin-left: 20rpx;
  710. text-align: center;
  711. }
  712. .mr-top24{
  713. margin-top: 24rpx;
  714. color: #999;
  715. }
  716. .look-jiao{
  717. width: 50rpx;
  718. height: 50rpx;
  719. position: absolute;
  720. bottom: 0;
  721. right: 0;
  722. }
  723. </style>